- Welcome to the Len'en Wiki!
- The 2025 Len'en Popularity Poll is under way! Please vote!
- False World is coming soon!
- The wiki collaborates with the Len'en Discord Server and the UWoM forum, feel free to join them!
- Please read our Guidelines before you edit pages.
- If you've got any suggestions, please leave a message on the Len'en Wiki Talk Page.
Help:JavaScript
This is a ShoutWiki help page, hosted at ShoutWiki Hub. If you want to suggest changes, leave a message on its talk page. If you want to replace this page with a custom help page for your wiki, click the create button above.
JavaScript allows site administrators to customize a wiki, or other website, in many ways. JavaScript code cannot be directly embedded into a page (<script type="text/javascript"><!-- ... --></script>
), but instead an admin must define per-page specific JS at either on MediaWiki:Common.js or on MediaWiki:Skinname.js (replacing skinname with the current skin's name, e.g Monobook is MediaWiki:Monobook.css). It is usually best to use Common.js, as any JavaScript in that page will be applied no matter what skin a person is using.
Many default features are JavaScript based, such as the pop-up login window, dismiss button on site-wide notice, search suggestions, edit toolbar on edit view and so on.
The JavaScript in MediaWiki:Global.js is the global JavaScript for all ShoutWiki sites on every page load, no matter what skin is used. MediaWiki:Global.js can only be edited by ShoutWiki Staff.
If you need help in using JavaScript with your wiki site, please contact ShoutWiki's Customer Support Team.
See also
- Help:CSS
- Wikipedia's article about JavaScript
- Technical manual about JavaScript in MediaWiki software