User talk:JPxG/Archive22
This is an archive of past discussions with User:JPxG. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
" Replace redirected template (Template:Pageviews -> Template:Annual readership)"
Why? normally redirects aren't bypassed * Pppery * it has begun... 04:23, 6 November 2022 (UTC)
- @Pppery: I was going to put an extremely simple template together at the title of the redirect, so I retargeted the incoming links. Upon trying to write my extremely simple template I have discovered that I am probably separated from it by a few dozen hours of learning Lua. So it goes, I suppose. jp×g 05:06, 6 November 2022 (UTC)
- And this is why we sandbox first ;-) Primefac (talk) 12:03, 7 November 2022 (UTC)
Signpost pages are now categorised by status
It's actually really trivial because we already sort them, just needed to add something to put them into categories. https://en.wikipedia.org/enwiki/w/index.php?title=Template%3ASignpost_draft&type=revision&diff=1120601155&oldid=1120432276 There. Change the category names to whatever you want. D'ye want any other statuses? It currently sorts them as either Category:Wikipedia Signpost articles not yet ready for copyediting, Category:Wikipedia Signpost articles ready for copyediting, or Category:Wikipedia Signpost articles that have been copyedited. I've filtered the first of those categories to only include - well, it's technical how I did it, but basically it checks for "Next issue" in the page name, which removes a bunch of sandbox articles, templates, and long-dead article drafts from old incarnations of the Newsroom.
I haven't made the category pages yet, as there's not much point until they're renamed how you want. MAKE SURE to include {{Possibly empty category}} in the category pages or expect them to be deleted.
Sometimes I forget that I'm one of the only Wikipedians old enough to remember how to do these things. Adam Cuerden (talk)Has about 8.2% of all FPs. Currently celebrating his 600th FP! 21:18, 7 November 2022 (UTC)
- For the record, by the way, if something has a template that gets filled out to show status or to do something, it can probably be categorised by that status using similar techniques to this. Just need to put the desired category into the right "if" (or "yesno" in this case). Also useful for statistics. If, for example, you wanted to know if people were using the fullwidth=yes option, well, you could just add a temporary category (wouldn't even need to make the page for that category, really), give it a couple days to transclude to everything, get the numbers, and then delete the code putting it into the category Adam Cuerden (talk)Has about 8.2% of all FPs. Currently celebrating his 600th FP! 02:45, 8 November 2022 (UTC)