r106691 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106690‎ | r106691 | r106692 >
Date:20:36, 19 December 2011
Author:raymond
Status:ok
Tags:
Comment:
r106682: Consistency tweaks in preparation for adding extension to translatewiki.net:
Prefix message keys with the extension name to avoid key conflicts with core and/or other extensions
Modified paths:
  • /trunk/extensions/SolrStore/SolrStore.i18n.php (modified) (history)
  • /trunk/extensions/SolrStore/SpecialSolrSearch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SolrStore/SolrStore.i18n.php
@@ -11,23 +11,23 @@
1212 $messages['en'] = array(
1313 'solrstore-desc' => 'Search semantic properties with the power of a fulltext search engine',
1414 'solrsearch' => 'SolrSearch',
15 - 'searchFieldSets' => 'SolrSearch',
16 - 'searchFieldSets-select' => 'Please select a SearchSet',
17 - 'searchFieldSets-title' => 'SolrSearch: SearchSet select',
 15+ 'solrstore-searchFieldSets' => 'SolrSearch',
 16+ 'solrstore-searchFieldSets-select' => 'Please select a SearchSet',
 17+ 'solrstore-searchFieldSets-title' => 'SolrSearch: SearchSet select',
1818 );
1919
2020 $messages['qqq'] = array(
2121 'solrconnector-desc' => '{{desc}}',
2222 'solrsearch' => 'The title of the Special:SolrSearch page as appearing in Special:SpecialPages. Should probably the same as message \'\'searchFieldSets\'\'',
23 - 'searchFieldSets' => 'The pagetitle (heading) of the Special:SolrSearch page',
24 - 'searchFieldSets-select' => 'A message',
25 - 'searchFieldSets-title' => 'The title of the Special:SolrSearch page',
 23+ 'solrstore-searchFieldSets' => 'The pagetitle (heading) of the Special:SolrSearch page',
 24+ 'solrstore-searchFieldSets-select' => 'A message',
 25+ 'solrstore-searchFieldSets-title' => 'The title of the Special:SolrSearch page',
2626 );
2727
2828 $messages['de'] = array(
2929 'solrsearch' => 'SolrSuche',
30 - 'searchFieldSets' => 'SolrSuche',
31 - 'searchFieldSets-select' => 'Bitte wähle ein SearchSet aus',
32 - 'searchFieldSets-title' => 'SolrSearch: SearchSet Auswahl',
 30+ 'solrstore-searchFieldSets' => 'SolrSuche',
 31+ 'solrstore-searchFieldSets-select' => 'Bitte wähle ein SearchSet aus',
 32+ 'solrstore-searchFieldSets-title' => 'SolrSearch: SearchSet Auswahl',
3333 );
3434
Index: trunk/extensions/SolrStore/SpecialSolrSearch.php
@@ -88,12 +88,12 @@
8989 $sk = $wgUser->getSkin();
9090
9191
92 - $wgOut->setPageTitle( wfMsg( 'searchFieldSets' ) );
93 - $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'searchFieldSets-title', 'SolrSearch: Select FieldSet' ) ) );
 92+ $wgOut->setPageTitle( wfMsg( 'solrstore-searchFieldSets' ) );
 93+ $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'solrstore-searchFieldSets-title', 'SolrSearch: Select FieldSet' ) ) );
9494
9595 $wgOut->setArticleRelated( false );
9696 $wgOut->addHtml( '<div class="solrsearch-fieldset">' );
97 - $wgOut->addHtml( wfMsg( 'searchFieldSets-select' ) );
 97+ $wgOut->addHtml( wfMsg( 'solrstore-searchFieldSets-select' ) );
9898 $wgOut->addHtml( '<ul>' );
9999
100100 // TODO: If no SearchSets exist, provide a shot Manual how to create some!

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106682stylize; insert messages for qqqfoxtrott20:11, 19 December 2011

Status & tagging log