From 6ec9533b70bcabe5a7d6fe6b8fa2b7dc037fb1aa Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 15 May 2006 01:11:06 +0000 Subject: [PATCH] Rename conflicting metadata help message to "metadata_help" (was "metadata") and treat it as wiki text; effectively renders bug 5953 a non-issue --- RELEASE-NOTES | 2 ++ includes/EditPage.php | 3 +-- languages/Messages.php | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e153091aef..68966d73bf 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -269,6 +269,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 5950) Improvements to French localisation * (bug 5805) {{plural:}} support for counters in some special pages * (bug 5952) Improvement to German localisation (de) +* Rename conflicting metadata help message to "metadata_help" (was "metadata") + and treat it as wiki text == Compatibility == diff --git a/includes/EditPage.php b/includes/EditPage.php index abb5e16f8d..a8a72853ef 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -944,8 +944,7 @@ class EditPage { if ( $wgUseMetadataEdit ) { $metadata = $this->mMetaData ; $metadata = htmlspecialchars( $wgContLang->recodeForEdit( $metadata ) ) ; - $helppage = Title::newFromText( wfMsg( "metadata_page" ) ) ; - $top = wfMsg( 'metadata', $helppage->getLocalURL() ); + $top = wfMsgWikiHtml( 'metadata_help' ); $metadata = $top . "" ; } else $metadata = "" ; diff --git a/languages/Messages.php b/languages/Messages.php index 0ee59fc2fa..51cbc6bbe4 100644 --- a/languages/Messages.php +++ b/languages/Messages.php @@ -117,7 +117,7 @@ parent class in order maintain consistency across languages. 'linkprefix' => '/^(.*?)([a-zA-Z\x80-\xff]+)$/sD', 'mainpage' => 'Main Page', 'mainpagetext' => "'''MediaWiki has been successfully installed.'''", -'mainpagedocfooter' => "Consult the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for information on using the wiki software. +'mainpagedocfooter' => "Consult the [http://meta.wikipedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. == Getting started == @@ -157,8 +157,7 @@ parent class in order maintain consistency across languages. 'navigation' => 'Navigation', # Metadata in edit box -'metadata' => 'Metadata (for an explanation see here)', -'metadata_page' => 'Wikipedia:Metadata', +'metadata_help' => 'Metadata (see [[{{ns:project}}:Metadata]] for an explanation):', 'currentevents' => 'Current events', 'currentevents-url' => 'Current events', -- 2.20.1