r108195 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108194‎ | r108195 | r108196 >
Date:06:56, 6 January 2012
Author:santhosh
Status:ok
Tags:i18nreview 
Comment:
Correction in the test comment, followup r107824
Modified paths:
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.jqueryMsg.test.js (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.jqueryMsg.test.js
@@ -28,7 +28,7 @@
2929 equal( parser( 'gender-msg', 'Bob', 'male' ) , 'Bob reverted his last edit', 'Gender masculine' );
3030 equal( parser( 'gender-msg', 'Bob', user ) , 'Bob reverted his last edit', 'Gender masculine' );
3131 user.options.set( 'gender', 'unknown' );
32 - equal( parser( 'gender-msg', 'They', user ) , 'They reverted their last edit', 'Gender masculine' );
 32+ equal( parser( 'gender-msg', 'They', user ) , 'They reverted their last edit', 'Gender neutral or unknown' );
3333 equal( parser( 'gender-msg', 'Alice', 'female' ) , 'Alice reverted her last edit', 'Gender feminine' );
3434 equal( parser( 'gender-msg', 'User' ) , 'User reverted their last edit', 'Gender neutral' );
3535 equal( parser( 'gender-msg', 'User', 'unknown' ) , 'User reverted their last edit', 'Gender neutral' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107824Parser can take mw.user too along with male, female for {{gender:$1|..}}...santhosh12:21, 2 January 2012

Status & tagging log