* @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
-( function ( $, mw ) {
+( function () {
/**
* Creates a mw.widgets.TitleOptionWidget object.
if ( !config.showImages ) {
icon = null;
} else if ( config.missing ) {
- icon = 'page-not-found';
+ icon = 'articleNotFound';
} else if ( config.redirect ) {
- icon = 'page-redirect';
+ icon = 'articleRedirect';
} else if ( config.disambiguation ) {
- icon = 'page-disambiguation';
+ icon = 'articleDisambiguation';
} else {
- icon = 'page-existing';
+ icon = 'article';
}
// Config initialization
OO.inheritClass( mw.widgets.TitleOptionWidget, OO.ui.MenuOptionWidget );
-}( jQuery, mediaWiki ) );
+}() );