From: Alexandre Emsenhuber Date: Tue, 4 Jan 2011 15:02:54 +0000 (+0000) Subject: Use $this->mTitle instead of $wgArticle->getTitle() X-Git-Tag: 1.31.0-rc.0~32823 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=bcb833d939e233163e754c803775afaf015dedc7;p=lhc%2Fweb%2Fwiklou.git Use $this->mTitle instead of $wgArticle->getTitle() --- diff --git a/includes/Skin.php b/includes/Skin.php index f94903c84c..8d12aa1c4b 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1566,9 +1566,7 @@ class Skin extends Linker { // Allow for site and per-namespace customization of copyright notice. $forContent = true; - if ( isset( $wgArticle ) ) { - wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link, &$forContent ) ); - } + wfRunHooks( 'SkinCopyrightFooter', array( $this->mTitle, $type, &$msg, &$link, &$forContent ) ); if ( $forContent ) { $out .= wfMsgForContent( $msg, $link );