Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5968402
ext.GlobalPreferences.local.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
ext.GlobalPreferences.local.js
View Options
(
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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment