$msg = 'copyright';
}
- $out = '';
-
if ( $wgRightsPage ) {
$title = Title::newFromText( $wgRightsPage );
$link = Linker::linkKnown( $title, $wgRightsText );
$link = $wgRightsText;
} else {
# Give up now
- return $out;
+ return '';
}
// Allow for site and per-namespace customization of copyright notice.
wfRunHooks( 'SkinCopyrightFooter', array( $this->getTitle(), $type, &$msg, &$link, &$forContent ) );
if ( $forContent ) {
- $out .= wfMsgForContent( $msg, $link );
+ return wfMsgForContent( $msg, $link );
} else {
- $out .= wfMsg( $msg, $link );
+ return wfMsg( $msg, $link );
}
-
- return $out;
}
function getCopyrightIcon() {