mw.page.ajaxCategories = new mw.ajaxCategories();
jQuery( document ).ready( function(){
- // Seperate function for call to prevent jQuery
+ // Separate function for call to prevent jQuery
// from executing it in the document context.
mw.page.ajaxCategories.setup();
} );
* @return {jQuery}
*/
createCatLink: function( cat ) {
- // User can implicitely state a sort key.
+ // User can implicitly state a sort key.
// Remove before display.
// strip out bad characters
cat = clean( cat.replace( /\|.*/, '' ) );
},
/**
- * Execute or queue an category add.
+ * Execute or queue a category add.
* @param $link {jQuery}
* @param category
* @param noAppend
},
/**
- * Execute or queue an category edit.
+ * Execute or queue a category edit.
* @param $link {jQuery}
* @param category
* @param categoryNew
},
/**
- * Execute or queue an category delete.
+ * Execute or queue a category delete.
*
* @param $link {jQuery}
* @param category
$( 'input[placeholder]' ).placeholder();
}
- /* Enable makeCollapse */
+ /* Enable makeCollapsible */
$( '.mw-collapsible' ).makeCollapsible();
/* Lazy load jquery.tablesorter */
if ( this.initialised === false ) {
this.initialised = true;
- // Folllowing the initialisation after the DOM is ready
+ // Following the initialisation after the DOM is ready
$(document).ready( function() {
/* Set up $.messageBox */