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:
80ac508
)
Remove call to deprecated function Linker::makeKnownLink from function specialLink.
author
Platonides
<platonides@users.mediawiki.org>
Fri, 3 Sep 2010 21:53:02 +0000
(21:53 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Fri, 3 Sep 2010 21:53:02 +0000
(21:53 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
00ae033
..
b0779ce
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-774,12
+774,9
@@
class Linker {
* Usage example: $skin->specialLink( 'recentchanges' )
*/
function specialLink( $name, $key = '' ) {
- global $wgContLang;
-
if ( $key == '' ) { $key = strtolower( $name ); }
- $pn = $wgContLang->ucfirst( $name );
- return $this->makeKnownLink( $wgContLang->specialPage( $pn ),
- wfMsg( $key ) );
+
+ return $this->link( SpecialPage::getTitleFor( $name ) , wfMsg( $key ), array(), array(), array( 'known', 'noclasses' ) );
}
/**