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:
168afc0
)
The class is named Revision, no need to shout its name :)
author
Platonides
<platonides@gmail.com>
Fri, 26 Oct 2012 21:41:24 +0000
(23:41 +0200)
committer
Platonides
<platonides@gmail.com>
Fri, 26 Oct 2012 21:41:24 +0000
(23:41 +0200)
Remove a couple of unused globals.
Change-Id: I750536bc05ed7a5433840b916b17df93d30da5bf
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;
}