r94247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94246‎ | r94247 | r94248 >
Date:14:47, 11 August 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix a few comment typos noticed when doing JS review
Modified paths:
  • /trunk/phase3/resources/mediawiki.page/mediawiki.page.ajaxCategories.init.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.page/mediawiki.page.ajaxCategories.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.page/mediawiki.page.ready.js (modified) (history)
  • /trunk/phase3/resources/mediawiki/mediawiki.util.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki/mediawiki.util.js
@@ -15,7 +15,7 @@
1616 if ( this.initialised === false ) {
1717 this.initialised = true;
1818
19 - // Folllowing the initialisation after the DOM is ready
 19+ // Following the initialisation after the DOM is ready
2020 $(document).ready( function() {
2121
2222 /* Set up $.messageBox */
Index: trunk/phase3/resources/mediawiki.page/mediawiki.page.ajaxCategories.js
@@ -446,7 +446,7 @@
447447 * @return {jQuery}
448448 */
449449 createCatLink: function( cat ) {
450 - // User can implicitely state a sort key.
 450+ // User can implicitly state a sort key.
451451 // Remove before display.
452452 // strip out bad characters
453453 cat = clean( cat.replace( /\|.*/, '' ) );
@@ -517,7 +517,7 @@
518518 },
519519
520520 /**
521 - * Execute or queue an category add.
 521+ * Execute or queue a category add.
522522 * @param $link {jQuery}
523523 * @param category
524524 * @param noAppend
@@ -594,7 +594,7 @@
595595 },
596596
597597 /**
598 - * Execute or queue an category edit.
 598+ * Execute or queue a category edit.
599599 * @param $link {jQuery}
600600 * @param category
601601 * @param categoryNew
@@ -771,7 +771,7 @@
772772 },
773773
774774 /**
775 - * Execute or queue an category delete.
 775+ * Execute or queue a category delete.
776776 *
777777 * @param $link {jQuery}
778778 * @param category
Index: trunk/phase3/resources/mediawiki.page/mediawiki.page.ajaxCategories.init.js
@@ -1,6 +1,6 @@
22 mw.page.ajaxCategories = new mw.ajaxCategories();
33 jQuery( document ).ready( function(){
4 - // Seperate function for call to prevent jQuery
 4+ // Separate function for call to prevent jQuery
55 // from executing it in the document context.
66 mw.page.ajaxCategories.setup();
77 } );
Index: trunk/phase3/resources/mediawiki.page/mediawiki.page.ready.js
@@ -5,7 +5,7 @@
66 $( 'input[placeholder]' ).placeholder();
77 }
88
9 - /* Enable makeCollapse */
 9+ /* Enable makeCollapsible */
1010 $( '.mw-collapsible' ).makeCollapsible();
1111
1212 /* Lazy load jquery.tablesorter */

Status & tagging log