r79584 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79583‎ | r79584 | r79585 >
Date:15:02, 4 January 2011
Author:ialex
Status:ok
Tags:
Comment:
Use $this->mTitle instead of $wgArticle->getTitle()
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -1566,9 +1566,7 @@
15671567 // Allow for site and per-namespace customization of copyright notice.
15681568 $forContent = true;
15691569
1570 - if ( isset( $wgArticle ) ) {
1571 - wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link, &$forContent ) );
1572 - }
 1570+ wfRunHooks( 'SkinCopyrightFooter', array( $this->mTitle, $type, &$msg, &$link, &$forContent ) );
15731571
15741572 if ( $forContent ) {
15751573 $out .= wfMsgForContent( $msg, $link );

Status & tagging log