[09:38:56] Would it be possible to get access to the PageTriage toolset on en.wikipedia.beta.wmflabs.org ? [09:51:22] Why is https://en.wikipedia.org/wiki/User:RhinosF1_(Test)/common.js not running [10:02:22] rhinosf1: Why "importScript"? Where does that idea come from? [10:04:03] rhinosf1: which docs made you think that "importScript" exists? [10:04:11] https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#MediaWiki_1.29 [10:04:52] Would it possible to get access to the PageTriqge toolset on en.wikipedia.beta.wmflabs.org ? [10:05:08] *PageTriage [10:07:52] FR30799386, what do you mean by "toolset"? [10:08:45] Like the toolbar and the review buttons [10:08:54] For testing purposes [10:16:58] (Heck, I cannot even remember how to get that horrible toolbar displayed on en.wikipedia.org itself :) [10:18:17] en.wikipedia.beta.wmflabs.org should be configured like en.wikipedia.org. In theory. [12:39:56] andre_ sorry about that - https://en.wikipedia.org/wiki/User:RhinosF1_(Test)/common.js still not working - Docs for importScript are https://en.wikipedia.org/wiki/Template:Import_script [12:45:12] ^^^ Fixed [14:07:44] Anyone good with scripts? [14:19:30] rhinosf1: Not really good at it but I have created some scripts [14:23:11] FR30799386 - I've made a status script (https://github.com/RhinosF1/StatusChanger/blob/RhinosF1-issue-17/StatusChanger.js) and like for the sleeping one where the word in the edit summary is asleep, I wanted to do that for other options but I can't get that to work. [14:34:46] Does it at all work ? [14:35:23] In its current state it should not work at all [14:35:42] No, not a thing works. Why? [14:35:57] ^^ FR30799386 [14:44:31] Rhinosf1 do you have some programming knowledge ? [14:45:34] You should have declared the variable message and then used the if else structure to fill it in [14:49:06] FR30799386 - Some but mainly python. It's a copied version of another script. I'll try and fix shortly unless you want to do a pull request. [14:49:28] I didn't properly read what was going on [14:57:47] FR30799386 - https://github.com/RhinosF1/StatusChanger/pull/19 does this work, feel free to approve changes etc. on github. [15:24:36] https://en.m.wikipedia.org/wiki/User:FR30799386/test.js should be roughly what you want.... [15:24:46] rhinosf1 [15:26:07] I'll push it as a PR now. [15:30:12] https://github.com/RhinosF1/StatusChanger/pull/20 - pushing that now FR30799386 - you mind deleting the on-wiki test you created. [15:32:31] One sec, copy it over now [15:32:42] The last one had some bugs [15:35:04] Yep, thats worked FR30799386