r83836 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83835‎ | r83836 | r83837 >
Date:17:28, 13 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fixup a couple more hardcoded module prefixes in help
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryCategoryMembers.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryExtLinksUsage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php
@@ -325,7 +325,7 @@
326326 if ( $wgMiserMode ) {
327327 $desc['namespace'] = array(
328328 $desc['namespace'],
329 - 'NOTE: Due to $wgMiserMode, using this may result in fewer than "limit" results',
 329+ "NOTE: Due to \$wgMiserMode, using this may result in fewer than \"{$p}limit\" results",
330330 'returned before continuing; in extreme cases, zero results may be returned.',
331331 "Note that you can use {$p}type=subcat or {$p}type=file instead of {$p}namespace=14 or 6.",
332332 );
Index: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php
@@ -227,7 +227,7 @@
228228 if ( $wgMiserMode ) {
229229 $desc['namespace'] = array(
230230 $desc['namespace'],
231 - 'NOTE: Due to $wgMiserMode, using this may result in fewer than "limit" results',
 231+ "NOTE: Due to \$wgMiserMode, using this may result in fewer than \"{$p}limit\" results",
232232 'returned before continuing; in extreme cases, zero results may be returned',
233233 );
234234 }

Status & tagging log