inexistent -> nonexistent
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:55:13 +0000 (18:55 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 5 Oct 2011 18:55:13 +0000 (18:55 +0000)
* Follows-up r98366

resources/mediawiki/mediawiki.Title.js
tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js
tests/qunit/suites/resources/mediawiki/mediawiki.test.js

index 83f18e2..8d7996c 100644 (file)
@@ -198,7 +198,7 @@ var Title = function( title, namespace ) {
                pages: {},
                /**
                 * @example Declare existing titles: Title.exist.set(['User:John_Doe', ...]);
-                * @example Declare titles inexistent: Title.exist.set(['File:Foo_bar.jpg', ...], false);
+                * @example Declare titles nonexistent: Title.exist.set(['File:Foo_bar.jpg', ...], false);
                 * @param titles {String|Array} Title(s) in strict prefixedDb title form.
                 * @param state {Boolean} (optional) State of the given titles. Defaults to true.
                 * @return {Boolean}
index 8fb7c62..6f934ca 100644 (file)
@@ -181,7 +181,7 @@ test( 'Exists', function() {
        title = new mw.Title( 'Project:Sandbox rules' );
        assertTrue( title.exists(), 'Return true for page titles marked as existing' );
        title = new mw.Title( 'Foobar' );
-       assertFalse( title.exists(), 'Return false for page titles marked as inexistent' );
+       assertFalse( title.exists(), 'Return false for page titles marked as nonexistent' );
 
 });
 
index 8197122..c20dcf0 100644 (file)
@@ -111,7 +111,7 @@ test( 'mw.message & mw.messages', function() {
        strictEqual( hello.exists(), true, 'Message.exists returns true for existing messages' );
 
        var goodbye = mw.message( 'goodbye' );
-       strictEqual( goodbye.exists(), false, 'Message.exists returns false for inexistent messages' );
+       strictEqual( goodbye.exists(), false, 'Message.exists returns false for nonexistent messages' );
 
        equal( goodbye.plain(), '<goodbye>', 'Message.toString returns plain <key> if format is "plain" and key does not exist' );
        // bug 30684
@@ -124,7 +124,7 @@ test( 'mw.msg', function() {
        ok( mw.messages.set( 'hello', 'Hello <b>awesome</b> world' ), 'mw.messages.set: Register' );
 
        equal( mw.msg( 'hello' ), 'Hello <b>awesome</b> world', 'Gets message with default options (existing message)' );
-       equal( mw.msg( 'goodbye' ), '<goodbye>', 'Gets message with default options (inexistent message)' );
+       equal( mw.msg( 'goodbye' ), '<goodbye>', 'Gets message with default options (nonexistent message)' );
 });
 
 test( 'mw.loader', function() {