Follow-up r82310 CR: Adding comment about document ready (since it uses jQuery and...
authorKrinkle <krinkle@users.mediawiki.org>
Mon, 14 Mar 2011 18:11:19 +0000 (18:11 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Mon, 14 Mar 2011 18:11:19 +0000 (18:11 +0000)
resources/mediawiki.util/mediawiki.util.js

index 17d3eb2..16e2aed 100644 (file)
 
                /**
                 * Checks wether the current page is the wiki's main page.
+                * This function requires the document to be ready!
                 *
                 * @param alsoRelated Boolean value, if true this function also returns true if the current page is
-                * in a different namespace page of the main page rather than the main page itself (eg. talk page)
+                * in an associated namespace page of the main page rather than the main page itself (eg. talk page)
                 * @return Boolean
                 */
                'isMainPage' : function( alsoRelated ) {