Template talk:Editnotices/Group/Wikipedia:Reliable sources/Perennial sources
Latest comment: 8 months ago by Aaron Liu in topic Template-protected edit request on 18 December 2024
Template-protected edit request on 18 December 2024
editThis edit request to Template:Editnotices/Page/Wikipedia:Reliable sources/Perennial sources has been answered. Set the |answered= parameter to no to reactivate your request. |
Move this page to TM:Editnotices/Group/Wikipedia:Reliable sources/Perennial sources and create the relevant parent-page editnotices with {{editnotice subpages}}.
Also, I want to ask: Is there a way for subpages under Wikipedia:Reliable sources/Perennial sources/Templates to not display the editnotice? If not, will this editnotice display on subpages of Wikipedia:Reliable sources/Perennial sources' templates? I intend to move the templates under one of those after this edit request is completed. Thank you. Aaron Liu (talk) 21:12, 18 December 2024 (UTC)
- Yes, there is a way. SilverLocust demonstrated it to me at Wikipedia talk:Editnotice/Archive 6 § Excluding some subpages from a group editnotice. In a nutshell, when an editnotice is shown, {{FULLPAGENAME}} is the name of the page it's shown above, so we can conditionally display the editnotice depending on its value. jlwoodwa (talk) 23:03, 18 December 2024 (UTC)
- Looking at Special:PrefixIndex/Wikipedia:Reliable sources/Perennial sources, I think the intent is for the editnotice to be shown only for titles of the form
Wikipedia:Reliable sources/Perennial sources(/\d+)?
. Is that correct? jlwoodwa (talk) 23:09, 18 December 2024 (UTC)
Extended content
|
---|
- Aaron Liu (talk) 01:06, 21 December 2024 (UTC)
- @Jlwoodwa Thanks for the move, looks like it's working! Could you add the text inside the ëxtended content" box now? Thanks! Aaron Liu (talk) 22:29, 22 December 2024 (UTC)
- @Aaron Liu: Done. Does everything look correct now? jlwoodwa (talk) 22:39, 22 December 2024 (UTC)
- Somehow, even though I didn't change the "inclusion criteria" part, it's now broken (see for yourself). Selective tranclusion works when viewing this template directly, it works when selectively transcluding within the same page (example in the sandbox), and it previously worked in the displayed editnotice – but it's not working now. I'm baffled. jlwoodwa (talk) 23:05, 22 December 2024 (UTC)
- Just in case, I reverted the changes I made after the move, but nothing was different. The issue here must have been caused by the page move. jlwoodwa (talk) 23:10, 22 December 2024 (UTC)
- Thanks to Izno's help on Discord, I think I've worked out that this is a WP:PEIS issue – subpage group notices require the use of {{editnotice subpages}}, and this extra layer of transclusion doubles the post-expand include size. Combined with the fact that selective transclusions are just as expensive as transcluding the entire page, and considering why RSP is being split in the first place, I'm no longer surprised that this would cause issues. For now I've just copied the text of Wikipedia:Reliable sources/Perennial sources § Inclusion criteria directly into this editnotice. This would require updating it each time the original text is edited though, so maybe a better solution would be to move it into a subpage of RSP, and transclude it both there and in this editnotice. jlwoodwa (talk) 23:46, 22 December 2024 (UTC)
- Lol, that's funny. I wonder if there hasn't been a previous Phab task filed about making only the sections transcluded by section-h count towards the PEIS. Thanks again! Aaron Liu (talk) 01:00, 23 December 2024 (UTC)
- @Jlwoodwa I meant to put the contents of the collapsed box and not the box itself inside and appended to the "Instructions" box lol. Aaron Liu (talk) 01:01, 23 December 2024 (UTC)
- Oh yeah, I did wonder why you (apparently) wanted that box there. Did I get it right this time? jlwoodwa (talk) 03:55, 23 December 2024 (UTC)
- Yep, thanks again! Aaron Liu (talk) 15:26, 23 December 2024 (UTC)
- Oh yeah, I did wonder why you (apparently) wanted that box there. Did I get it right this time? jlwoodwa (talk) 03:55, 23 December 2024 (UTC)
- @Aaron Liu: Done. Does everything look correct now? jlwoodwa (talk) 22:39, 22 December 2024 (UTC)
- @Jlwoodwa Thanks for the move, looks like it's working! Could you add the text inside the ëxtended content" box now? Thanks! Aaron Liu (talk) 22:29, 22 December 2024 (UTC)
- Aaron Liu (talk) 01:06, 21 December 2024 (UTC)