From bcb833d939e233163e754c803775afaf015dedc7 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 4 Jan 2011 15:02:54 +0000 Subject: [PATCH] Use $this->mTitle instead of $wgArticle->getTitle() --- includes/Skin.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 ); -- 2.20.1