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:
d9c3c58
)
Reverted r46706, misses essential updates, the feature can easily be implemented...
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 19 May 2009 08:01:36 +0000
(08:01 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 19 May 2009 08:01:36 +0000
(08:01 +0000)
includes/LinksUpdate.php
patch
|
blob
|
history
diff --git
a/includes/LinksUpdate.php
b/includes/LinksUpdate.php
index
d1ac429
..
caacb49
100644
(file)
--- a/
includes/LinksUpdate.php
+++ b/
includes/LinksUpdate.php
@@
-432,14
+432,6
@@
class LinksUpdate {
foreach ( $diffs as $name => $sortkey ) {
$nt = Title::makeTitleSafe( NS_CATEGORY, $name );
$wgContLang->findVariantLink( $name, $nt, true );
- // for category redirection
- if ( $nt->isRedirect() ) {
- $at = new Article( $nt );
- $nt = $at->getRedirectTarget();
- // we only redirect a category to another category
- if ( $nt->getNamespace() == NS_CATEGORY )
- $name = $nt->getText();
- }
$arr[] = array(
'cl_from' => $this->mId,
'cl_to' => $name,