r50101 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50100‎ | r50101 | r50102 >
Date:08:16, 1 May 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Follow-up for r49636. *blush*
* Replace non-existing method with proper wfMsgExt
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_CreateProperty.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_CreateProperty.php
@@ -47,7 +47,7 @@
4848 global $sfgListSeparator;
4949 $allowed_values_str = str_replace("\\$sfgListSeparator", "\a", $allowed_values_str);
5050 $allowed_values_array = explode($sfgListSeparator, $allowed_values_str);
51 - $text .= "\n\n" . wfMsgExtForContent('sf_property_allowedvals', 'parsemag', count( $allowed_values_array ) );
 51+ $text .= "\n\n" . wfMsgExt('sf_property_allowedvals', array( 'parsemag', 'content' ), count( $allowed_values_array ) );
5252 foreach ($allowed_values_array as $i => $value) {
5353 // replace beep back with comma, trim
5454 $value = str_replace("\a", $sfgListSeparator, trim($value));

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49636Allow plural in 'sf_property_allowedvals'siebrand21:47, 18 April 2009

Status & tagging log