* What awful spaghetti code!
This commit is contained in:
parent
4e960ebdc3
commit
c15f48d587
1 changed files with 3 additions and 4 deletions
|
|
@ -105,11 +105,10 @@ function getMPL ( $x ) {
|
|||
|
||||
|
||||
function getMaintenancePageBacklink( $subfunction ) {
|
||||
global $wgUser , $wgContLang;
|
||||
$sk = $wgUser->getSkin() ;
|
||||
$ns = $wgContLang->getNamespaces() ;
|
||||
global $wgUser, $wgContLang;
|
||||
$sk = $wgUser->getSkin();
|
||||
$r = $sk->makeKnownLink (
|
||||
$ns[-1].':Maintenance',
|
||||
$wgContLang->getNsText( NS_SPECIAL ) . ':Maintenance',
|
||||
wfMsg( 'maintenancebacklink' ) ) ;
|
||||
$t = wfMsg ( $subfunction ) ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue