Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1566,9 +1566,7 @@ |
1567 | 1567 | // Allow for site and per-namespace customization of copyright notice. |
1568 | 1568 | $forContent = true; |
1569 | 1569 | |
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 ) ); |
1573 | 1571 | |
1574 | 1572 | if ( $forContent ) { |
1575 | 1573 | $out .= wfMsgForContent( $msg, $link ); |