Bgbot — a MediaWiki robot Code
Status: Beta
Brought to you by:
bmanolov
changed | /trunk/bgbot.php |
--- a/trunk/bgbot.php +++ b/trunk/bgbot.php @@ -187,6 +187,8 @@ $r = array($this->sites[$wiki], $this->special_nss[$wiki]); $url = str_replace( $s, $r, $this->move_url ); + $page = str_replace(' ', '_', $page); + $new_page = str_replace('_', ' ', $new_page); $vars = array( 'wpOldTitle' => $page, 'wpNewTitle' => $new_page,