Template talk:Editnotices/Page/Wikipedia talk:Access to nonpublic information

Edit request, 4 January 2017

edit

Please place the following edit notice on all pages in Category:Wikipedia information pages (or, equivalently, all pages with template {{information page}}):

Thank you, —swpbT 16:08, 4 January 2017 (UTC)Reply

  Not done for now: @Swpb: It would probably be best to have a discussion about this at WT:Project namespace, as the section this template links to is part of that guideline (i.e. Wikipedia:Project namespace#Wikipedia how-to and information pages). Furthermore, this would be better implemented as a template transclusion, so all the pages don't need edited if there is a desire to change the edit notice. — Godsy (TALKCONT) 19:47, 4 January 2017 (UTC)Reply
I meant for it to be transcluded. —swpbT 19:53, 4 January 2017 (UTC)Reply

Proposed the above request here; proposal has received no opposition after 7 days. Please implement. Thanks, —swpbT 20:55, 11 January 2017 (UTC)Reply

This request is in the incorrect place. Creating Template:Editnotices/Page/Template:infotalk editintro (should be Template talk:Editnotices/Page/Template:Infotalk editintro) would create an editnotice for {{Infotalk editintro}}, which does not exist and is not the desired result. I will look into doing this later. — JJMC89(T·C) 00:00, 12 January 2017 (UTC)Reply
To editor JJMC89: I'll happily re-add the request in the right place if necessary, if you can tell me where that would be – the instructions on Wikipedia:Editnotice##Other_namespaces don't cover this scenario. —swpbT 19:31, 12 January 2017 (UTC)Reply
@Swpb: There isn't really a good place, so I just moved it to the talk page of one of the edit notices. I've deployed {{Wikipedia information pages talk page editnotice}} for the talk pages of the Wikipedia and Help pages in Category:Wikipedia information pages. If you would like it added to any others, let me know. — JJMC89(T·C) 02:59, 13 January 2017 (UTC)Reply
To editor JJMC89: Thanks! It looks like you manually deployed it on each page in the category; is there a way for it to automatically appear on new pages in that category, like {{Disambig editintro}} does on dab pages? —swpbT 18:54, 13 January 2017 (UTC)Reply
@Swpb: That requires Javascript (search for Magic editintros). Since this is for the talk pages instead of the pages that are in the category, I don't know if it is possible. @Enterprisey and MusikAnimal: Do you know if it possible? — JJMC89(T·C) 19:04, 13 January 2017 (UTC)Reply
JJMC89, yes, it is possible. See script at User:Enterprisey/magic-talk-editnotices.js, which I just wrote. Seems to be working fine. Enterprisey (talk!) 20:32, 13 January 2017 (UTC)Reply
Thanks Enterprisey! It will also need to work for ns13 (Help talk). @Swpb: A modified version of Enterprisey's script could be added to MediaWiki:Common.js (You can propose it at MediaWiki talk:Common.js.) or as a (hidden?) gadget. — JJMC89(T·C) 20:48, 13 January 2017 (UTC)Reply
Done. (Apparently wgTitle works for Help talk pages, too - didn't know that.) Also, a gadget might be better, because we'd then have the option of disabling it. Enterprisey (talk!) 20:52, 13 January 2017 (UTC)Reply
@Enterprisey: It works for Help talk pages that have a corresponding Wikipedia page in the category but not the others (e.g. Help talk:Page name but not Help talk:Arabic). — JJMC89(T·C) 23:46, 13 January 2017 (UTC)Reply
Oops! You're right. Fixed. Enterprisey (talk!) 01:51, 14 January 2017 (UTC)Reply

@Enterprisey: I created a new info page (Wikipedia:Consensus dos and don'ts), and the notice doesn't appear on editing the talk page. Do I just need to wait for some cache somewhere to refresh, or is something not working? Thanks! —swpbT 16:55, 17 January 2017 (UTC)Reply

swpb, it's working for me - you could try clearing your cache. If that still doesn't work, try opening your console and telling me if a message that says "Detected that we're on the talk page of a page in Category:Wikipedia information pages." appears there. Hope this helps! Enterprisey (talk!) 19:24, 17 January 2017 (UTC)Reply
@Enterprisey:: No difference with refreshing cache, and I don't see that message in the console (tried Chrome, firefox, and IE). —swpbT 19:52, 17 January 2017 (UTC)Reply
swpb, oh, I see why. Your common.js file doesn't contain the script. You'll need to either get ScriptInstaller then hit the "Install" link at the top of my script, or just import User:Enterprisey/magic-talk-editnotices.js using importScript. Enterprisey (talk!) 19:39, 19 January 2017 (UTC)Reply
@Enterprisey: Oh, I thought you'd added to MediaWiki:Common.js so everyone would see it. Since no one objected to the original proposal, can we go ahead and do that? —swpbT 19:59, 19 January 2017 (UTC)Reply
JJMC89, any thoughts? Enterprisey (talk!) 20:16, 19 January 2017 (UTC)Reply
I don't have any objections. You will need to propose it at the talk page. — JJMC89(T·C) 20:18, 19 January 2017 (UTC)Reply
Does it really need to go through another proposal waiting period? We're talking about enabling a behavior that was (I thought) implicit in the original template proposal, which went unopposed. —swpbT 20:27, 19 January 2017 (UTC)Reply
An admin must add it. Enterprisey and I are not admins. — JJMC89(T·C) 22:37, 19 January 2017 (UTC)Reply