Fandom Developers Wiki
mNo edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 3: Line 3:
 
:You can either import the script through the importArticles function in Common.js (which will require the edit to be "verified"), or you can just add an import into the ImportJS page and bypass verification.
 
:You can either import the script through the importArticles function in Common.js (which will require the edit to be "verified"), or you can just add an import into the ImportJS page and bypass verification.
 
:After that, you can either copy the template, or simply use the configuration option (which would require editing common.js and having the edit "verified"). '''''[[User:SuperSajuuk|Sa]][[User talk:SuperSajuuk|ju]][[Special:Contributions/SuperSajuuk|uk]]''''' 10:26, August 3, 2016 (UTC)
 
:After that, you can either copy the template, or simply use the configuration option (which would require editing common.js and having the edit "verified"). '''''[[User:SuperSajuuk|Sa]][[User talk:SuperSajuuk|ju]][[Special:Contributions/SuperSajuuk|uk]]''''' 10:26, August 3, 2016 (UTC)
  +
  +
== Load order ==
  +
The script does not load the sidebar module in a consistent place - if the sidebar loads slightly slower than normal then it will be the first module in the sidebar rather than the last. Is it possible to fix this to be consistent? {{User:Cqm/Signature|08:20, 18 Nov 2016 (UTC)}}

Revision as of 08:20, 18 November 2016

Instructions

Can someone please simplify how to add this? It's very confusing, especially with where you should put each piece of code and what you should put in. (dev:DiscordIntegrator/code.js vs the importArticles thing). --Squirrel719 (talk) 09:00, August 3, 2016 (UTC)

You can either import the script through the importArticles function in Common.js (which will require the edit to be "verified"), or you can just add an import into the ImportJS page and bypass verification.
After that, you can either copy the template, or simply use the configuration option (which would require editing common.js and having the edit "verified"). Sajuuk 10:26, August 3, 2016 (UTC)

Load order

The script does not load the sidebar module in a consistent place - if the sidebar loads slightly slower than normal then it will be the first module in the sidebar rather than the last. Is it possible to fix this to be consistent? cqm 08:20, 18 Nov 2016 (UTC)