r99029 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99028‎ | r99029 | r99030 >
Date:18:55, 5 October 2011
Author:krinkle
Status:ok
Tags:
Comment:
inexistent -> nonexistent
* Follows-up r98366
Modified paths:
  • /trunk/phase3/resources/mediawiki/mediawiki.Title.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js
@@ -181,7 +181,7 @@
182182 title = new mw.Title( 'Project:Sandbox rules' );
183183 assertTrue( title.exists(), 'Return true for page titles marked as existing' );
184184 title = new mw.Title( 'Foobar' );
185 - assertFalse( title.exists(), 'Return false for page titles marked as inexistent' );
 185+ assertFalse( title.exists(), 'Return false for page titles marked as nonexistent' );
186186
187187 });
188188
Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js
@@ -111,7 +111,7 @@
112112 strictEqual( hello.exists(), true, 'Message.exists returns true for existing messages' );
113113
114114 var goodbye = mw.message( 'goodbye' );
115 - strictEqual( goodbye.exists(), false, 'Message.exists returns false for inexistent messages' );
 115+ strictEqual( goodbye.exists(), false, 'Message.exists returns false for nonexistent messages' );
116116
117117 equal( goodbye.plain(), '<goodbye>', 'Message.toString returns plain <key> if format is "plain" and key does not exist' );
118118 // bug 30684
@@ -124,7 +124,7 @@
125125 ok( mw.messages.set( 'hello', 'Hello <b>awesome</b> world' ), 'mw.messages.set: Register' );
126126
127127 equal( mw.msg( 'hello' ), 'Hello <b>awesome</b> world', 'Gets message with default options (existing message)' );
128 - equal( mw.msg( 'goodbye' ), '<goodbye>', 'Gets message with default options (inexistent message)' );
 128+ equal( mw.msg( 'goodbye' ), '<goodbye>', 'Gets message with default options (nonexistent message)' );
129129 });
130130
131131 test( 'mw.loader', function() {
Index: trunk/phase3/resources/mediawiki/mediawiki.Title.js
@@ -198,7 +198,7 @@
199199 pages: {},
200200 /**
201201 * @example Declare existing titles: Title.exist.set(['User:John_Doe', ...]);
202 - * @example Declare titles inexistent: Title.exist.set(['File:Foo_bar.jpg', ...], false);
 202+ * @example Declare titles nonexistent: Title.exist.set(['File:Foo_bar.jpg', ...], false);
203203 * @param titles {String|Array} Title(s) in strict prefixedDb title form.
204204 * @param state {Boolean} (optional) State of the given titles. Defaults to true.
205205 * @return {Boolean}

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98366inexisting -> inexistent (typo)...krinkle20:33, 28 September 2011

Status & tagging log