Page MenuHomeWickedGov Phorge

ext.GlobalPreferences.local.js
No OneTemporary

Size
519 B
Referenced Files
None
Subscribers
None

ext.GlobalPreferences.local.js

( function () {
'use strict';
/**
* Alter the search index to add local exception fields (T332851).
*
* @param {string} index Search index
*/
mw.hook( 'prefs.search.buildIndex' ).add( function ( index ) {
Object.keys( index ).forEach( function ( key ) {
index[ key ].forEach( function ( item ) {
var $localException = item.$field.next( '.mw-globalprefs-local-exception' );
if ( $localException.length ) {
item.$field = item.$field.add( $localException );
}
} );
} );
} );
}() );

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 13:02 (2 d, 8 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
51/9f/39d3a9d6a115137610ee300fd434
Default Alt Text
ext.GlobalPreferences.local.js (519 B)

Event Timeline