“I want more... Operator, please hurry! This story is getting quite good!”
This article is a stub. You can help WARFRAME Wiki by adding a sentence or two.
JavaScript is used to run client-side scripts to enhance website readability and deliver advanced features otherwise not possible with static pages (e.g. interactive calculators). Custom scripts written by wiki admins can be found in the MediaWiki namespace.
JavaScript Pages[]
- MediaWiki:Archived.js
- MediaWiki:Calculator.js
- MediaWiki:Chat.js
- MediaWiki:Chat.js/ChatHacks.js
- MediaWiki:Chat.js/load.js
- MediaWiki:Chat.js/options.js
- MediaWiki:Chat.js/searchbar.js
- MediaWiki:CollapseExpandButtons.js
- MediaWiki:Common.js
- MediaWiki:Common.js/SubNav.js
- MediaWiki:Common.js/b5-MouseCollapsible.js
- MediaWiki:Common.js/userRightsIcons.js
- MediaWiki:CountDown.js
- MediaWiki:CountDownGrineer.js
- MediaWiki:CountDowndi.js
- MediaWiki:CountDownred.js
- MediaWiki:Countdown.js
- MediaWiki:CustomDiscordWidget.js
- MediaWiki:CustomUCPFeatures.js
- MediaWiki:Desmos.js
- MediaWiki:EnemyInfoboxSlider.js
- MediaWiki:I18nEdit.js
- MediaWiki:ImageTooltip.js
- MediaWiki:LimitedEventCall.js
- MediaWiki:Mainpage.js
- MediaWiki:Maximization.js
- MediaWiki:Mbox.js
- MediaWiki:NightwaveActs.js
- MediaWiki:OggPlayer.js
- MediaWiki:RelicTable.js
- MediaWiki:Rotate-c.js
- MediaWiki:Tooltips.js
- MediaWiki:Wikia.js
Loading Scripts[]
Scripts can be imported on the wiki through MediaWiki:ImportJS (site-wide, applies to both logged-in and anon users) or through the user's /common.js
subpage (only applies to the user).
Resources:
- https://dev.fandom.com/wiki/Installation - for importing JavaScript and CSS
Resources[]
Note that Fandom uses ES3 syntax and modern features such as Sets, Maps, Promises, etc.
- JavaScript Cookbook on Fandom Developers Wiki
- https://dev.fandom.com/wiki/MediaWiki:BannerNotification.js - Example of code that attempts to simulate object oriented programming
- https://www.mediawiki.org/wiki/OOUI - Library for making responsive UI elements
- See https://runescape.wiki/w/MediaWiki:Gadget-bestiary-core.js and https://runescape.wiki/w/Bestiary for an example of implementation
- https://dev.fandom.com/wiki/Dev_Wiki:UCP - UCP compatibility status for Fandom dev scripts
- https://community.fandom.com/wiki/Help:JavaScript_review_process
- https://www.mediawiki.org/wiki/Security_for_developers
Debugging[]
?useuserjs=0 to end of URL to temporarily disable personal JS ?useusercss=0 to temporarily disable personal CSS ?useusercss=0&useuserjs=0 for both