Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1467,7 +1467,8 @@ |
1468 | 1468 | return $out; |
1469 | 1469 | } |
1470 | 1470 | // Allow for site and per-namespace customization of copyright notice. |
1471 | | - wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link ) ); |
| 1471 | + if( isset($wgArticle) ) |
| 1472 | + wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link ) ); |
1472 | 1473 | |
1473 | 1474 | $out .= wfMsgForContent( $msg, $link ); |
1474 | 1475 | return $out; |