[08:31:19] [telegram] UndpSAWiki [08:31:19] [telegram] http://undpsa.un.org.za/mywiki/index.php?title=Main_Page [08:31:41] [telegram] I've set up this. [08:31:53] [telegram] But it's not secured. [08:32:43] [telegram] Anyone link where I can read on how to secure it and only allow staff to edit after I've given them permission? [08:33:35] [telegram] Advantages and Disadvantages - WikiEducator [08:33:36] [telegram] https://wikieducator.org/Wikieducator_tutorial/What_is_a_wiki/Advantages_and_disadvantages [08:33:51] [telegram] I want it to be like this. (re @Bobby: Advantages and Disadvantages - WikiEducator [08:33:52] [telegram] https://wikieducator.org/Wikieducator_tutorial/What_is_a_wiki/Advantages_and_disadvantages) [09:39:13] [telegram] https://www.mediawiki.org/wiki/Manual:User_rights (re @Bobby: Anyone link where I can read on how to secure it and only allow staff to edit after I've given them permission?) [09:41:01] [telegram] https://www.mediawiki.org/wiki/Topic:Qze6kq10vmlg1vd9 (re @Bobby: But it's not secured.) [09:48:32] [telegram] I wanted to use some JavaScript to insert predefined wikitext into the WP editor (at the cursor position), but the difficulty is that I want it to work with the New Wikitext Editor. Does anyone know a good example of a working script doing something like that? The scripts I know are all designed for the traditional editor … [09:52:43] [telegram] I would do that with the API. [09:52:44] [telegram] Why does it not work with New Wikitext? [11:50:26] [telegram] I’ll have to check that, thanks! Might have been a wrong assumption based on very old user scripts … [12:08:51] [telegram] I use pywikibot to edit pages with the API. That means a lot of programming, and maximum flexibility.... [12:14:56] [telegram] How would a Python script help with inserting something on cursor position? Looks like two unrelated tasks/usecases [12:15:54] [telegram] > New Wikitext Editor [12:15:55] [telegram] it is the 2017 one? [12:16:35] [telegram] For most of my time the "new" one was the one in Vector as opposed to the one in Monobook :) [12:32:10] [telegram] Yeah, I’m not intending to do bot edits, so the API method might be a little too much effort, as far as I understand it. Basically, I was looking for something to replace old scripts with things like insertTags() (which is a very old method, I know); those do definitely not work in NWE. [12:32:52] [telegram] Yes, it’s usually called NWE now! (re @Thecladis: > New Wikitext Editor [12:32:53] [telegram] it is the 2017 one?) [12:34:21] [telegram] It's often called "2017 editor" or something along these lines. [12:34:22] [telegram] For the vector one there is a clear documentation with code examples, so far I have only found a page about the 2017 editor per se, but not how to hack it