Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | title = new mw.Title( 'Project:Sandbox rules' ); |
183 | 183 | assertTrue( title.exists(), 'Return true for page titles marked as existing' ); |
184 | 184 | 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' ); |
186 | 186 | |
187 | 187 | }); |
188 | 188 | |
Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js |
— | — | @@ -111,7 +111,7 @@ |
112 | 112 | strictEqual( hello.exists(), true, 'Message.exists returns true for existing messages' ); |
113 | 113 | |
114 | 114 | 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' ); |
116 | 116 | |
117 | 117 | equal( goodbye.plain(), '<goodbye>', 'Message.toString returns plain <key> if format is "plain" and key does not exist' ); |
118 | 118 | // bug 30684 |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | ok( mw.messages.set( 'hello', 'Hello <b>awesome</b> world' ), 'mw.messages.set: Register' ); |
126 | 126 | |
127 | 127 | 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)' ); |
129 | 129 | }); |
130 | 130 | |
131 | 131 | test( 'mw.loader', function() { |
Index: trunk/phase3/resources/mediawiki/mediawiki.Title.js |
— | — | @@ -198,7 +198,7 @@ |
199 | 199 | pages: {}, |
200 | 200 | /** |
201 | 201 | * @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); |
203 | 203 | * @param titles {String|Array} Title(s) in strict prefixedDb title form. |
204 | 204 | * @param state {Boolean} (optional) State of the given titles. Defaults to true. |
205 | 205 | * @return {Boolean} |