Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
epicEFI Wiki
Search
Search
Appearance
Log in
Personal tools
Log in
MediaWiki:Common.js: Difference between revisions
Message
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Printable version
Permanent link
Page information
Appearance
move to sidebar
hide
Help
From epicEFI Wiki
← Older edit
Newer edit →
Revision as of 19:44, 10 January 2026
view source
Ogalic
(
talk
|
contribs
)
Bureaucrats
,
Interface administrators
,
Administrators
320
edits
No edit summary
← Older edit
Revision as of 19:46, 10 January 2026
view source
Ogalic
(
talk
|
contribs
)
Bureaucrats
,
Interface administrators
,
Administrators
320
edits
Blanked the page
Newer edit →
Line 1:
Line 1:
function testHook() {
let elements = document.getElementsByClassName("vector-toc-list-item-expanded");
for (let i = 0; i < elements.length; i++) {
console.log(elements[i].classList.remove("vector-toc-list-item-expanded"));
}
debugger;
};
mw.hook( 'vector-toc.onload' ).fire(testHook());
Revision as of 19:46, 10 January 2026
Search
Search
MediaWiki:Common.js: Difference between revisions
Add topic