r46192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46191‎ | r46192 | r46193 >
Date:11:22, 25 January 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Move break from message 'ow_collection_added' to code
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php (modified) (history)
  • /trunk/extensions/Wikidata/SpecialLanguages.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/SpecialLanguages.i18n.php
@@ -133,7 +133,7 @@
134134 'ow_needs_xlation_no_dest_lang' => 'Please specify a destination language.',
135135 'ow_show' => 'Show',
136136 'ow_create' => 'Create',
137 - 'ow_collection_added' => '<strong>Collection $1 added.</strong><br />'
 137+ 'ow_collection_added' => '<strong>Collection $1 added.</strong>'
138138 );
139139
140140 /** Message documentation (Message documentation)
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialAddCollection.php
@@ -39,7 +39,7 @@
4040 $collectionName = $wgRequest->getText('collection');
4141 startNewTransaction($wgUser->getID(), wfGetIP(), 'Add collection ' . $collectionName);
4242 bootstrapCollection($collectionName,$wgRequest->getText('language'),$wgRequest->getText('type'), $dc);
43 - $wgOut->addHTML(wfMsg('ow_collection_added', $collectionName));
 43+ $wgOut->addHTML(wfMsg('ow_collection_added', $collectionName) . "<br />" );
4444 }
4545 $datasets=wdGetDatasets();
4646 $datasetarray['']=wfMsgSc("none_selected");

Status & tagging log