dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5c34a2c
)
Merge "The class is named Revision, no need to shout its name :) Remove a couple...
author
IAlex
<ialex.wiki@gmail.com>
Sat, 27 Oct 2012 06:10:18 +0000
(06:10 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 27 Oct 2012 06:10:18 +0000
(06:10 +0000)
maintenance/refreshLinks.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
535808d
..
9ba8682
100644
(file)
--- a/
maintenance/refreshLinks.php
+++ b/
maintenance/refreshLinks.php
@@
-206,8
+206,6
@@
class RefreshLinks extends Maintenance {
* @param $id int The page_id
*/
public static function fixLinksFromArticle( $id ) {
- global $wgParser, $wgContLang;
-
$page = WikiPage::newFromID( $id );
LinkCache::singleton()->clear();
@@
-216,7
+214,7
@@
class RefreshLinks extends Maintenance {
return;
}
- $content = $page->getContent( R
EVISION
::RAW );
+ $content = $page->getContent( R
evision
::RAW );
if ( null === false ) {
return;
}