From ea98b0188adef1048fc916cf865588b284fdd999 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Fri, 18 Mar 2005 14:13:58 +0000 Subject: [PATCH] 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. --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1