Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408714
foreground.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
508 B
Subscribers
None
foreground.js
View Options
jQuery
(
document
).
ready
(
function
()
{
jQuery
(
document
).
foundation
();
// Split the namespace title into a title and a label
var
$title
=
jQuery
(
"h2.title:contains(':')"
).
not
(
":contains('\"')"
).
not
(
":contains('as of')"
).
text
().
split
(
":"
);
jQuery
(
"h2.title:contains(':')"
).
not
(
":contains('\"')"
).
not
(
":contains('as of')"
).
html
(
'<small class="label">'
+
$title
[
0
]
+
'</small><span>'
+
$title
[
1
]
+
'</span>'
);
// Turn categories into labels
jQuery
(
'#mw-normal-catlinks ul li a'
).
addClass
(
'label'
);
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 10, 9:27 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46828
Default Alt Text
foreground.js (508 B)
Attached To
rKIBA kiba-one
Event Timeline
Log In to Comment