dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6adbb42
)
tweak namespace
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 2 Oct 2005 06:46:11 +0000
(06:46 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 2 Oct 2005 06:46:11 +0000
(06:46 +0000)
maintenance/cleanupTitles.php
patch
|
blob
|
history
diff --git
a/maintenance/cleanupTitles.php
b/maintenance/cleanupTitles.php
index
d913bdb
..
0b945d5
100644
(file)
--- a/
maintenance/cleanupTitles.php
+++ b/
maintenance/cleanupTitles.php
@@
-43,7
+43,8
@@
class TitleCleanup extends FiveUpgrade {
}
function cleanup() {
- $this->runTable( 'page', 'WHERE page_namespace=0',
+ $this->runTable( 'page',
+ '', //'WHERE page_namespace=0',
array( &$this, 'processPage' ) );
}
@@
-108,6
+109,7
@@
class TitleCleanup extends FiveUpgrade {
$display = $current->getPrefixedText();
$verified = UtfNormal::cleanUp( $display );
+
$title = Title::newFromText( $verified );
if( is_null( $title ) ) {