From: Erik Moeller Date: Fri, 18 Mar 2005 14:13:58 +0000 (+0000) Subject: use wfMsgForContent for copyright policy link on edit page since it is X-Git-Tag: 1.5.0alpha1~583 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=ea98b0188adef1048fc916cf865588b284fdd999;p=lhc%2Fweb%2Fwiklou.git use wfMsgForContent for copyright policy link on edit page since it is probably going to point to the same page regardless of user language preference (is also used in other calls). Note that many language files don't use the proper format and instead have the license hardcoded, so this won't have any effect on them. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 36a6d01b3b..9b94ed5766 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -521,7 +521,7 @@ class EditPage { global $wgRightsText; $copywarn = "
\n" . wfMsg( $wgRightsText ? 'copyrightwarning' : 'copyrightwarning2', - '[[' . wfMsg( 'copyrightpage' ) . ']]', + '[[' . wfMsgForContent( 'copyrightpage' ) . ']]', $wgRightsText ) . "\n
"; if( $wgUser->getOption('showtoolbar') and !$isCssJsSubpage ) {