Wikibooks:Reading room/Proposals
Appearance
Latest comment: 13 days ago by Codename Noreste in topic New gadget to browse subpages
| Discussions | Assistance | Requests |
|---|---|---|
| General | Proposals | Projects | Featured books | Administrative | Technical | Deletion | Undeletion | Import | Upload | Permissions |
Welcome to the Proposals reading room. On this page, Wikibookians are free to talk about suggestions for improving Wikibooks.
New gadget to browse subpages
[edit | edit source]Hi all! I developed a gadget to easily browse subpages through a collapsible menu, that I think might be useful in Wikibooks. Here's a little demo video:
To test it yourself, add the following to your common.js:
mw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-Subpages' );
If you find it useful, I can enable it as a gadget to make it generally available from the preferences. Thoughts? Cheers! Sophivorus (discuss • contribs) 16:02, 2 July 2026 (UTC)
- Wikibooks relies heavily on subpages, so this is a nice addition. Merci. ―Justin (koavf)❤T☮C☺M☯ 16:43, 2 July 2026 (UTC)
- This could be extremely useful for books here!! I'll note, though, that it doesn't work quite right with the vector legacy skin (what I use). —Kittycataclysm (discuss • contribs) 01:20, 3 July 2026 (UTC)
- @Sophivorus I will be the one in charge installing this as a gadget since there is no objection, but what dependecies does this gadget need to use? You might also want to read Kittycataclysm's suggestion above. Muchos saludos. Codename Noreste (discuss • contribs) 23:08, 9 July 2026 (UTC)
- @Codename Noreste Hi! I just fixed the issue with Vector legacy and also for other skins. Regarding dependencies, this gadget requires
mediawiki.apiand@wikimedia/codex. If you want to take care of the installation, please do not copy-paste the source code, but rather load the global version usingmw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-Subpages' );, like other global gadgets. Thanks! Sophivorus (discuss • contribs) 14:22, 22 July 2026 (UTC)- I put the code on the gadgets definition page @Sophivorus, but feel free to fix what I placed. Codename Noreste (discuss • contribs) 21:45, 22 July 2026 (UTC)
- @Codename Noreste Hi! I just fixed the issue with Vector legacy and also for other skins. Regarding dependencies, this gadget requires
