User talk:Josephgbr
Wiki Monkey
Hi, regarding [1], if you're still interested it didn't load because version 5.0.2 is obsolete and not compatible with the current MediaWiki version. You could try to install the current 5.1.2 version:
mw.loader.load('https://rawcdn.githack.com/kynikos/wiki-monkey/v5.1.2/dist/WikiMonkey-ArchWiki.min.js');
-- Kynikos (talk) 15:56, 15 April 2020 (UTC)
- Hi there. Thanks for the info. I copied the code and did not have enough time to try to figure out why the mw API failed. I should have notice the version had to be updated though.
- Since we are here, I have two doubts regarding the code in the above diff, if you can help me: 1) Does loading both wikiEdDiff and Wiki Monkey allow me to use both, or Wiki Monkey replaces the first one as it was called last?; 2) How does update_check_wdays work?
- -- Josephgbr (talk) 17:02, 15 April 2020 (UTC)
- 1) Yes you can use both: mw.loader.load(script) simply loads the referenced
script
asynchronously each time it is invoked, it doesn't override previous calls. - 2)
update_check_wdays
is documented in the upstream wiki: you don't really need to specify it, it's an Array of numbers to determine which days of the week (from 0=Sunday to 6=Saturday) Wiki Monkey should check (once per day) whether there are new versions available; by default it checks once every Saturday or if more than 7 days have passed since the last check, which should be more than enough in most cases. - -- Kynikos (talk) 13:49, 17 April 2020 (UTC)
- 1) Yes you can use both: mw.loader.load(script) simply loads the referenced