r101368 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101367‎ | r101368 | r101369 >
Date:17:11, 31 October 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/AbuseFilter/AbuseFilter.i18n.php (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/Narayam/Narayam.hooks.php (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/Narayam/js/ext.narayam.core.js (modified) (history)
  • /branches/wmf/1.18wmf1/languages/messages/MessagesStq.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/languages/messages/MessagesStq.php
@@ -36,6 +36,11 @@
3737 NS_CATEGORY_TALK => 'Kategorie_Diskussion',
3838 );
3939
 40+$namespaceGenderAliases = array(
 41+ NS_USER => array( 'male' => 'Benutser', 'female' => 'Benutserske' ),
 42+ NS_USER_TALK => array( 'male' => 'Benutser_Diskussion', 'female' => 'Benutserske_Diskussion' ),
 43+);
 44+
4045 $messages = array(
4146 # User preference toggles
4247 'tog-underline' => 'Ferwiese unnerstriekje:',
Index: branches/wmf/1.18wmf1/extensions/AbuseFilter/AbuseFilter.i18n.php
@@ -176,7 +176,7 @@
177177 [[Special:AbuseFilter/history/$2|Return to this filter's history]].",
178178 'abusefilter-edit-status-label' => 'Statistics:',
179179 'abusefilter-edit-status' => 'Of the last $1 {{PLURAL:$1|action|actions}}, this filter has matched $2 ($3%).
180 -On average, its run time is $4ms, and it consumes $5 {{PLURAL:$5|condition|conditions}} of the condition limit.',
 180+On average, its run time is $4 ms, and it consumes $5 {{PLURAL:$5|condition|conditions}} of the condition limit.',
181181 'abusefilter-edit-throttled' => "'''Warning''': This filter was automatically disabled as a safety measure.
182182 It reached the limit of matching more than $1% of actions.",
183183 'abusefilter-edit-new' => 'New filter',
Index: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.hooks.php
@@ -48,6 +48,7 @@
4949
5050 $vars['wgNarayamAvailableSchemes'] = self::getSchemes(); // Note: scheme names must be keys, not values
5151
 52+ $vars['wgNarayamHelpPage'] = wfMsgForContent( 'narayam-help-page' );
5253 return true;
5354 }
5455
Index: branches/wmf/1.18wmf1/extensions/Narayam/js/ext.narayam.core.js
@@ -501,7 +501,7 @@
502502 .prepend( $checkbox )
503503 .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) );
504504
505 - var helppage = mw.msg( 'narayam-help-page' );
 505+ var helppage = mw.config.get( 'wgNarayamHelpPage' );
506506 if ( helppage ) {
507507 $narayamMenuItems.append( $( '<li class="narayam-help-link" />')
508508 .append(
@@ -509,7 +509,7 @@
510510 .text( mw.msg( 'narayam-help' ) )
511511 .attr(
512512 'href',
513 - mw.util.wikiGetlink( mw.msg( 'narayam-help-page' ) )
 513+ mw.util.wikiGetlink( helppage )
514514 )
515515 )
516516 );
Index: branches/wmf/1.18wmf1/extensions/Narayam/Narayam.php
@@ -141,7 +141,6 @@
142142 'narayam-menu',
143143 'narayam-menu-tooltip',
144144 'narayam-help',
145 - 'narayam-help-page',
146145 'narayam-toggle-ime',
147146 ),
148147 'dependencies' => array( 'mediawiki.util', 'jquery.textSelection' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100603(bug 31915) Narayam help page should be in content languagerobin13:16, 24 October 2011
r100830(follow-up r100603) re-use variablerobin17:40, 26 October 2011
r101123Followup r100603. Remove narayam-help-page from wgResourceModules loading.santhosh08:44, 28 October 2011
r101256Add space between number and unit. Spotted by Urhixidur.siebrand11:54, 29 October 2011
r101320Add namespace gender aliases for 'stq'...raymond22:23, 30 October 2011

Status & tagging log