Wikipedia:Village pump (technical)

 Policy Technical Proposals Idea lab WMF Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk. Discussions are automatically archived after remaining inactive for five days.

Frequently asked questions (FAQ) (see also: Wikipedia:FAQ/Technical)
Click "[show]" next to each point to see more details.
If something looks wrong, purge the server's cache, then bypass your browser's cache.
This tends to solve most issues, including improper display of images, user-preferences not loading, and old versions of pages being shown.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. See task 3864. There is an accesskey property on it (default to accesskey="f" in English). Logged-in users can enable the "Focus the cursor in the search bar on loading the Main Page" gadget in their preferences.
No, we will not add a spell-checker, or spell-checking bot.
You can use a web browser such as Firefox, which has a spell checker.
If you have problems making your fancy signature work, check Help:How to fix your signature.
If you changed to another skin and cannot change back, use this link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, try purging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls block URLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
For server or network status, please see Wikimedia Metrics. If you cannot reach Wikipedia services see Reporting a connectivity issue
« Archives, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194

Template appearance on different screens/browsersEdit

Hi all, a favour if you could...can you go look at the timeline template I've fitted in here and say what you think of it? I'm not sure it's appearing properly, but I have a curious combination of an extra-wide screen and an extra-old browser, so can't rely on my own eyes (or, frankly, technical abilities in the first place!) All the best for the new year, SN54129 19:22, 9 January 2022 (UTC)

In my browser, all of the text is overlapping, so it is completely unreadable. Since the timeline is all one color and repeats/summarizes what is in the table, I would scrap it (even though you put a lot of work into it) and focus on improving the table. – Jonesey95 (talk) 20:32, 9 January 2022 (UTC)
I tried many combinations of browsers, window sizes, zoom levels, desktop/mobile and an iPhone. All of them have lots of overlapping unreadable text. PrimeHunter (talk) 21:05, 9 January 2022 (UTC)
@Serial Number 54129: see File:BadTimeline-Capture.PNG - please remove this from the article as-is, it is completely illegible. — xaosflux Talk 21:10, 9 January 2022 (UTC)
Purge this, with fire. --Redrose64 🌹 (talk) 22:37, 9 January 2022 (UTC)
And alacrity. Has now been removed, since SN54129 is hors de combat (or, um sleeping). — JohnFromPinckney (talk / edits) 02:45, 10 January 2022 (UTC)
The timeline is mostly readable for me, the only overlapping text I see is the reference #s. But in Timeless it pushes the table content all the way down until after the timeline finishes. Legoktm (talk) 06:03, 14 January 2022 (UTC)

IPv6 similaritiesEdit

I was under the impression that with dynamic IP addresses under IPv6, the first eight bytes were constant and the last eight would vary. Now take a look at these four edits - at first I thought that they were all the same IP because the last four bytes are clearly the same. I guess that :: is short for :0:0:. But the IPs differ although they're clearly the same person making them, one edit per IP address, all within the same minute; and the byte that varies is in the upper half of the address. How does dynamic IPv6 work again? --Redrose64 🌹 (talk) 22:03, 10 January 2022 (UTC)

The same as dynamic IPv4, it's just that (indeed) the WP:/64 address (the top 8 bytes) is the most common variance point for a single user. Some networks however, do other things, for which you can :|. Izno (talk) 22:28, 10 January 2022 (UTC)
@Izno: can you give me an example of using :|? Is there any way of knowing when to use it? Thanks. Doug Weller talk 08:15, 11 January 2022 (UTC)
Doug Weller That is a flat face, not anything technical. :D Izno (talk) 08:50, 11 January 2022 (UTC)
The bottom 32 bits spell faceb00c (i.e. facebook). That's got to be spoofed. -- RoySmith (talk) 05:10, 11 January 2022 (UTC)
Heh, check this out: -- RoySmith (talk) 05:12, 11 January 2022 (UTC)
Those IPs all belong to Facebook/Meta, it's a pretty nice trick. Legoktm (talk) 00:39, 13 January 2022 (UTC)
So, does this means that it's some sort of proxy, like Tor? Should we disallow such IPs from editing? --Redrose64 🌹 (talk) 16:51, 13 January 2022 (UTC)
These are often related to, and they've been discussed in the ANI archives. This /32 also has a block log. I'd say no to your questions, it's a bit like asking if a cheap or free ISP is a proxy. But I'm of the school which says blocks should be proportionate to any disruption. Is this /32 currently disruptive or full of socks? I don't know I haven't really looked. -- zzuuzz (talk) 17:49, 13 January 2022 (UTC)

Email notificationsEdit

Hello! Can someone tell me the right TranslateWiki place where most of email notification elements like subject, body, etc, are configured? - Klein Muçi (talk) 12:55, 11 January 2022 (UTC)

Do you mean texts displayed at Special:EmailUser/Klein Muçi, at Special:Notifications when you get mail, in actual emails you may receive automatically for certain events, or when other users mail you, or all of the above, or something else? Do you actually want TranslateWiki: links or just the name of MediaWiki messages like MediaWiki:Emailpagetext which can be customized locally? PrimeHunter (talk) 13:15, 11 January 2022 (UTC)
Many messages can be found by entering "Email" at Special:AllMessages. See also WP:QQX. PrimeHunter (talk) 13:20, 11 January 2022 (UTC)
@PrimeHunter, thank you very much for your so detailed information! I mean actual notifications I receive by emails in regard to things that happen here. Mentions, reverts, etc. I want to translate the messages at TranslateWiki for my homewiki (Sq-Albanian) because the current messages have typos and other similar problems. I searched on TranslateWiki but wasn't able to find them and I can't use the QQX trick given that it's not part of the Wiki per se. - Klein Muçi (talk) 14:15, 11 January 2022 (UTC)
Could you past the mail body text here (redact anything private) for reference? — xaosflux Talk 14:20, 11 January 2022 (UTC) (talk) 14:21, 11 January 2022 (UTC)
@Xaosflux: Redaktimi juaj u kthyen në Wikipedia - This is the header of an email I got because of my changes were reverted. It's grammatically wrong. It needs to be "Redaktimi juaj u kthye në Wikipedia". Similar to that, there are some other changes that need to be done.
@SD0001, I have yet to check carefully the JSON page you sent me at the time of writing this message. - Klein Muçi (talk) 14:28, 11 January 2022 (UTC)
That's notification-reverted-email-subject2 from the sq json fileSD0001 (talk) 14:33, 11 January 2022 (UTC)
@SD0001, I was able to find the correct message using your GitHub page. Any chance I can open a "list" of all the messages related to that on TranslateWiki somehow? So I have them all in front of me, see what's wrong, if anything, and translate/correct them in a row? - Klein Muçi (talk) 14:35, 11 January 2022 (UTC)
@SD0001, yes. That "list" will do. Thank you! :) - Klein Muçi (talk) 14:37, 11 January 2022 (UTC)
The sq message is at translatewiki:MediaWiki:Notification-reverted-email-subject2/sq. You can also search a string at without knowing where the message belongs. Some characters are encoded and it shows the source text of the message like the JSON page. PrimeHunter (talk) 14:47, 11 January 2022 (UTC)
Pinging Amire80... Whatamidoing (WMF) (talk) 23:21, 14 January 2022 (UTC)

Proposed Google Summer of Code project: expanding citationsEdit

Google Summer of Code (GSoC) is when students get paid to work on certain software projects over the summer. Usually there are Wikipedia-related projects. Maybe we could propose a project in which a student works on our community's citation expanding tools (reFill, Citation bot, etc). They could be better. We could fix the tools up and/or start a new one. This could help with Citation bot's limited capacity or with the need to bother maintainers when websites get mis-parsed (see also lottery factor). Please let me know what you think. I will default to submitting the proposal if nobody responds. There's also a related Community Wishlist entry, but to be frank, this has a higher (but still tiny) chance of getting approved; as with the wishlist, the more editors who support this, the better a chance it has. Again, your thoughts are appreciated and I'd be happy to answer questions. (I will ping some editors who work in this area.) Enterprisey (talk!) 07:58, 12 January 2022 (UTC)

Yes please - ping me if you need any assistance. firefly ( t · c ) 09:24, 12 January 2022 (UTC)
Support Even for GA getting the cites right is tedious, and it is one of the reasons I gave up trying to get a FA. Far more automation is needed. Chidgk1 (talk) 10:10, 13 January 2022 (UTC)
  • Not sure what GSOC can do with respect to increased Citation bot's capacity. GSOC students can't allocate toolserver resources after all. Headbomb {t · c · p · b} 10:17, 13 January 2022 (UTC)
What exactly is the "limited capacity" issue? If the default allocations offered by Toolforge are not enough, has a request for a Cloud Services instance been made? I've seen a lot of trivial/superficial project requests being accepted, I believe this would be accepted easily. Is there any development work needing to be done, such as adding new features? GSoC students will have no interest in continuing maintenance after their 2/3-month project period gets over, so I don't see how this addresses the bus factor. – SD0001 (talk) 14:55, 13 January 2022 (UTC)
The bot's running at full capacity, and there are timeout issues when there's a backlog of jobs. @AManWithNoPlan: would be able to tell you the details of the issue. Headbomb {t · c · p · b} 16:03, 13 January 2022 (UTC)
It might just need someone who understands PHP config files or it might need some serious re-working. Hard to tell exactly. It is problem with limited number of runs being able to run at one time. AManWithNoPlan (talk) 16:07, 13 January 2022 (UTC)
Some more details of the issue would be helpful, along with pointers to what the problematic code is (or suspected to be). Any quota increase request would easily be approved, whether on Toolforge or in a separate Cloud VPS instance. Legoktm (talk) 05:58, 14 January 2022 (UTC)
  • If the quota is the only change needed, that's great. For the code, I still think having one bot that uses the Citoid database (as TheDJ suggested) supplemented with whatever the current bots use is the way to go. It should also be flexible enough to be run from an editor's computer, by itself on toolforge, or as a central toolforge tool. So that's at least two features. For the bus factor, the students may leave but the mentors will retain knowledge of the development work (and my bad for not mentioning that). Enterprisey (talk!) 06:13, 15 January 2022 (UTC)

Glossary of engineeringEdit

Could someone with the technical expertise please restore the glossary of engineering back to its un-split version per discussion on talk page? — Preceding unsigned comment added by 2600:387:0:80D:0:0:0:5E (talk) 12:33, 13 January 2022 (UTC)

I would oppose that per WP:SIZE. Even at 270k per page as it is now it is too large. Izno (talk) 18:52, 13 January 2022 (UTC)

No links to user pages in old page historiesEdit

Why is there no link to Larry Sanger's user page in the first entry of User-friendly? Kleinpecan (talk) 19:42, 13 January 2022 (UTC)

@Kleinpecan: that, like many very very old edits, were recovered and/or imported; that one was via an import (Special:Redirect/logid/26539837) from this nostwiki page). — xaosflux Talk 19:55, 13 January 2022 (UTC)
@Kleinpecan and Xaosflux: Nope, if that edit had been imported from the Nostalgia Wikipedia, it wouldn't have had that problem, because the import tool would've fixed it. The problem is the underline in Larry's username, which was OK in UseModWiki and Phase II software but not now. There's a very long-standing bug about these usernames and how edits made with them cannot be accessed in a user's contributions list at T2323 (previously known as bug 323; see below), and Larry Sanger (or Larry_Sanger if you prefer) is just the most high-profile victim. It's only because of the current migration of user data to an actor table that we have the additional problem that the username links don't appear, because the user ID of these edits is 0. Apparently all the relevant database fields are supposed to be fixed eventually once the migration is complete, but for now we have User:Nemo bis/Bug 323 revisions. Edited to add: hmmm, [this edit is listed at User:Nemo bis/Bug 323 revisions/positive rev user but now appears correctly. Graham87 06:53, 14 January 2022 (UTC)

Problems with speedy deletion category countsEdit


Hello, Village Pump folks,

Currently, and for the past few hours, the speedy deletion categories are showing incorrect numbers for the contents in the categories. Sometimes the numbers are incorrect, other times there are numbers even though the categories are empty. This doesn't change even when you take the option to purge the pages, which in the past was effective in updating the counts. Look at Category:Candidates for speedy deletion as abandoned drafts or AfC submissions, for example, and look at the right-hand list of categories. It gives a total of over 50 pages that have been tagged for speedy deletion but this is in no way an accurate number of pages if you go through the various categories.

I know there have been problems in the past with pages not showing up in category counts that has a priority which is way on the back, back burner for the WMF but the speedy deletion categories have been reliable for a long time so this is a new problem here. Thanks for any help you can provide. Liz Read! Talk! 03:22, 14 January 2022 (UTC)

:Now I'm finding editor contribution pages that are not updating even though I can see edits they have made on to articles but they have no contributions since yesterday that appear. What's up? Liz Read! Talk! 04:47, 14 January 2022 (UTC)

Now the count for pages tagged for speedy deletion is 165! This is impossible since many CSD categories are empty. The counts are all off. Liz Read! Talk! 05:36, 14 January 2022 (UTC)
@Liz: I left a comment on T293958#7621679 about the issues with category counts not updating properly. Can you clarify a bit more about the issue with Special:Contributions? You're seeing edits in article history by those users but it's not showing up when you visit their contributions? Can you provide an example? Legoktm (talk) 05:53, 14 January 2022 (UTC)
Thanks for looking into the category counts. I was incorrect about the contributor logs, it was an editor who is tagging a lot of pages for deletion tonight and when I looked at their Contributions, it looked like they hadn't been active since yesterday. I just needed to look at their Deleted Contributions and, for some reason, I was looking at their Contributions and their Log and not that. So, I've struck that comment and am kicking myself for not realizing this earlier! So, it's just the categories. Liz Read! Talk! 06:19, 14 January 2022 (UTC)
Given that a commons admin replied to that ticket suggesting that counts have been incorrect for them going back to at least Jan 5, I worry that this will not just be a 1 day issue. Any clever technical people with thoughts on how admin could see if there are actual CSD noms to attend to? Best, Barkeep49 (talk) 16:11, 14 January 2022 (UTC)
Could we just make it so purging a category page initiates a recount? At least for categories with less than 200 members? The issue is most acute for empty categories not showing as having 0 members (the number of pages in Category:attack pages for speedy deletion is used to notify some admins whether there are attack pages that need deleting; if that number is wrong these processes do not work). —Kusma (talk) 16:19, 14 January 2022 (UTC)
Could you transclude all the groups onto one page (or at least the less busy ones) so you only have to look at that page?Slywriter (talk) 16:23, 14 January 2022 (UTC)
The issue for me is that I use User:HighInBC/attackPageNotifier.js, a script that adds a hard-to-ignore link to the attack page category to the interface whenever its official element count is nonzero. —Kusma (talk) 16:26, 14 January 2022 (UTC)
@Kusma:I noticed this last night. The API call for categoryinfo is showing 2 pages in the category, but the categorymembers API call shows nothing in it. Annoying I know, hopefully they will fix it soon. HighInBC Need help? Just ask. 23:53, 14 January 2022 (UTC)
The "purging" piped to "recount" in places like {{Admin backlog}} does not in fact initiate a recount, it just means that the backlog condition is checked against the current value of PAGESINCATEGORY again. Our templates make it look like we are updating PAGESINCATEGORY. —Kusma (talk) 16:24, 14 January 2022 (UTC)
I'm pretty sure there's an older phab task about category counts somewhere. I vaguely remember Jonesey95 maybe participating in the ticket, so they may know which one I'm thinking of. Could be related. ProcrastinatingReader (talk) 16:49, 14 January 2022 (UTC)
Closest I could find is phab:T157670. --Ahecht (TALK
) 17:00, 14 January 2022 (UTC)
I have the following possibly related phab tickets on my hit list: T221795, T132467, and T157670. I don't know if they are related. We did just have a software update (Wikipedia:ITSTHURSDAY), which may have something to do with it. – Jonesey95 (talk) 17:46, 14 January 2022 (UTC)
phab:T85696 would be a helpful workaround for the next time we have this problem (this is not the first time). —Kusma (talk) 18:06, 14 January 2022 (UTC)

Just a note that I posted on WP:AN I about this and Kusma directed me here to this discussion, I'll be keeping a close eye on it, thanks! – Athaenara 16:57, 14 January 2022 (UTC)

No, you posted to WP:AN - they're very different. But just as it's not an AN matter, it wouldn't have been an ANI matter either. --Redrose64 🌹 (talk) 20:11, 14 January 2022 (UTC)
@Redrose64: Understood, and I tagged that brief exchange as resolved there a few hours ago. – Athaenara 20:18, 14 January 2022 (UTC)
@Redrose64 administrators understanding that the category counts are currently not accurate on the page admin are instructed to look at if they wish to handle CSD absolutely seems appropriate for the Administrators' Noticeboard. Best, Barkeep49 (talk) 21:46, 14 January 2022 (UTC)
Wikipedia:Administrators' noticeboard#Category emergency reads like a request for help, not an alert that all admins should take note of. --Redrose64 🌹 (talk) 22:16, 14 January 2022 (UTC)

This is such a bother, I'm even wondering if it's the result of deliberate sabotage / skillful vandalism. – Athaenara 17:43, 14 January 2022 (UTC)

@Athaenara: Hanlon's razor --Ahecht (TALK
) 19:39, 14 January 2022 (UTC)
@Ahecht: Aye, I get that, and I sound like a spoiled brat calling it "a bother", but we admins rely upon these categories to sluice the crap out of the stables every day on this encyclopedia. I thought of checking what links here for the speedy deletion templates commonly used, as a stopgap, but many have aliases / redirects too, it would be a huge time sink. I'm not a coder. I'm waiting for the coders to figure this out! – Athaenara 19:46, 14 January 2022 (UTC)
Not unless it's the developers you're accusing of being saboteurs/vandals. quarry:query/61534. What looks to be happening is that rows aren't being deleted from the categorylinks table when a page is deleted; this is distinct from the long-standing bugs linked above where the running counts in the category table aren't reliably updated. —Cryptic 20:50, 14 January 2022 (UTC)

Update: the release engineering team is actively looking into this now. I linked the Phab task above which you can subscribe to for updates and someone will post here once it's fixed. Legoktm (talk) 22:10, 14 January 2022 (UTC)

Thanks for the update, Legoktm. I know I have started at least two discussions here over the years about the problem of pages not showing up in categories but these have been specific, time-related categories for eligible G13s and empty categories. When I inquired about that, it seemed like it was a known problem but low, low priority item. This situation seems different as it is not for status-related categorization but it looks like deleted pages aren't being removed from the category counts so the numbers are all inflated. I'm glad to hear that someone is working on the problem because it can't just be happening on this Wikipedia if it just developed after a software update. Liz Read! Talk! 23:42, 14 January 2022 (UTC)
This was just brought to my attention by Gonnym, Category:Belgium weatherbox templates...this category, tagged as an empty category, CSD C1, has a tag saying that it is not empty but, as you can see, it is empty! I hope this problem hasn't spread beyond speedy deletion categories but it makes sense that it wouldn't be limited to maintenance categories. Liz Read! Talk! 00:26, 15 January 2022 (UTC)
A revert has been deployed, so newly deleted pages will not make the category counts problem worse. I kicked off runs of the script we use to clean the database tables, once that's done (hopefully a few hours), we'll run the recountCategories script to fix the counts. Legoktm (talk) 03:10, 15 January 2022 (UTC)
Thanks so much for your help with this, Legoktm. It's appreciated! Liz Read! Talk! 04:47, 15 January 2022 (UTC)
You're welcome. Everything should be back to normal now. Cleanup is still happening on some other wikis. Legoktm (talk) 06:21, 15 January 2022 (UTC)
It looks like everything is back to normal! Although it is weird that the category counts are all now 0, as if no one was tagging pages for CSD deletion over the past day. Maybe the odd counts threw off our patrolling editors' routines.
Many thanks, Legoktm! Glad this was resolved in about 24 hours. Liz Read! Talk! 06:34, 15 January 2022 (UTC)
Awesome work, Legoktm, thanks a million. – Athaenara 12:00, 15 January 2022 (UTC)

Nowiki espace parameter in template?Edit

I've been trying to put the contents of an argument into a nowiki tag to be displayed in the template. The first thing I tried was just doing <code><nowiki>{{{1}}}</nowiki></code>, but this didn't work because the {{{1}}} was being escaped and wouldn't take the input at all. Next I tried using the {{Nowiki}} template, but this also just didn't work. For some reason, it would just show {{subst:Nowiki|test}} instead of actually nowiki-ing it. The last thing I tried was using {{#invoke:String2 | nowiki | {{{1}}} }}, and this kind of worked. It escaped the text and didn't display it as rendered wikimarkup, but instead just showed the raw html, which was not what I was looking for. ― Levi_OPTalk 16:19, 15 January 2022 (UTC)

Is there any way I can just get the contents of an argument and display it as raw text? Thanks, ― Levi_OPTalk 14:47, 14 January 2022 (UTC)

You can do that with Lua. Wrap a parameter in nowiki tags, then read the parameter, unstrip the strip marker with mw.text.unstripNoWiki(), which can then be output as raw code or preprocessed to show the result. This is useful for examples in documentation. I don't know if this can be done with templates. —  Jts1882 | talk  15:40, 14 January 2022 (UTC)
Perhaps {{Unstrip}} or {{UnstripNoWiki}} will help you do what you want. —  Jts1882 | talk  15:45, 14 January 2022 (UTC)
@Jts1882: I think you've misunderstood my issue. I have a template with a parameter that contains wikimarkup. I would like to display this wikimarkup on the page without it rendering. For example: I would type {{template|== Heading ==}} and the template would display "== Heading ==" instead of showing the actual heading. The issue I'm facing is that I cannot escape the parameter with nowiki because inserting {{{1}}} into a nowiki tag makes it not render the parameter, just the literal "{{{1}}}". ― Levi_OPTalk 18:14, 14 January 2022 (UTC)
Aren't you trying to display some wikitext code in a table showing raw code and rendered result? The following uses a template I use for documentation:
Wiki SourceRendered Result
My understanding is that reading a parameter will always render the wikitext in it, so the value in the parameter has to be wrapped in nowiki tags. That way you can get the raw wikitext and then display in various ways: raw, with syntaxhighlighting, or rendered. —  Jts1882 | talk  08:38, 15 January 2022 (UTC)
@Jts1882: Yeah, I came to the exact same conclusion while thinking over the issue last night. I'm assuming you looked at my contributions to see my mess of attempts to do this. I couldn't find any examples of this template being used on any official pages so I didn't know if it existed. This template will probably do the trick. Thanks for the help, ― Levi_OPTalk 15:12, 15 January 2022 (UTC)
@Levi OP: Yes, I looked at your contributions to try and find exactly what you were trying to do. That template was written for documenting the {{clade}} template used for creating cladograms. As it's used for larger diagrams, the layout may not be ideal for you (too much padding etc). I duplicated the behaviour using the {{unstrip}} template in this edit on your user page Wiki Source Render (which I reverted). That might be more suitable. —  Jts1882 | talk  15:55, 15 January 2022 (UTC)
@Jts1882: The issue with using {{Unstrip}} is that, according to the template page (and some testing), Templates inside the tags will not be expanded. That means that the untagged wikitext will not actually execute any templates that are in the example, but just display them as "{{Template|Parameters}}", while the markup will display. That's why, as you can see in the most recent revision of the page, I'm using the template {{Expand wikitext}}, which treats anything inside the wikitext as code again just executes it like normal, which is the effect I was going for. ― Levi_OPTalk 16:22, 15 January 2022 (UTC)
Try {{#tag:nowiki|{{{1}}} }}. MarMi wiki (talk) 16:02, 14 January 2022 (UTC)
@MarMi wiki: This still just produces the raw html, not the wikimarkup code. ― Levi_OPTalk 18:05, 14 January 2022 (UTC)

Never mind, I've figured it out. My end goal was to surround the parameter code in a syntaxhighlight tag, which wasn't working. The issue was that the syntaxhighlight tag converts all already escaped text into html, which was making me think that the functions themselves weren't working. I ended up using {{#tag:pre| {{#invoke:String2 | nowiki | {{{1}}} }} }} to get the contexts as raw text and then surround them with a pre tag so that newlines take effect. Thanks for any consideration anyway. ― Levi_OPTalk 19:16, 14 January 2022 (UTC)

Never mind this never mind. I was not testing it enough and realized it only worked in one instance ― Levi_OPTalk 21:15, 14 January 2022 (UTC)
Try using msgnw: - this transcludes the markup of a template without actually invoking the template code. You can see it in action at m:User:Redrose64#Geonotices. --Redrose64 🌹 (talk) 19:54, 14 January 2022 (UTC)
@Redrose64: As far as I can tell, the msgnw magic word only works on other templates. Trying to use it like {{msgnw:{{{1}}}}} just doesn't do anything. Maybe I'm doing something wrong? ― Levi_OPTalk 21:15, 14 January 2022 (UTC)
Not tested, but it could work if you escape the nowiki tag with includeonly inside the template code. Regards, -- hgzh 22:54, 14 January 2022 (UTC)
@Hgzh: The includeonly tag doesn't help anything in this instance. Includeonly makes it so that anything contained in the tag is included only when the template is used, and not on the template page. The nowiki tag would still effect the {{{1}}}. ― Levi_OPTalk 23:51, 14 January 2022 (UTC)
I probably misunderstand your objective here, but isn't {{Markup}} doing something similar? (talk) 17:44, 15 January 2022 (UTC)
Yeah, I saw that template a few hours ago and it's pretty much the same as what I was doing. I didn't know this template existed when I asked the question and I've already solved all the problems I was having so the issue has kind of passed. More of a learning experience about how templates work for me I guess. ― Levi_OPTalk 18:39, 15 January 2022 (UTC)

Possibly malformed edit requestEdit

Hello! A user has made a COI edit request on Talk:Rocket League however I'm thinking they didn't create it correctly as I"m unable to answer it with the edit request helper tool and I can't see anywhere to mark the request as answered. The request would be denied anyways as while what they said is technically true (i've played the game and know that is what happens, but that doesn't matter because that would be WP:OR), they didn't provide a reliable source to back it up. ― Blaze WolfTalkBlaze Wolf#6545 16:03, 14 January 2022 (UTC)

I have reverted it as malformed, and as you say, grossly insufficient. Malformed, empty, or otherwise unactionable edit requests like this are often simply removed instead of being processed. – Jonesey95 (talk) 16:48, 14 January 2022 (UTC)
Alright sounds good. Thanks for telling me! As I said I would've answered it but I saw no way to do so. ― Blaze WolfTalkBlaze Wolf#6545 16:49, 14 January 2022 (UTC)
See WP:TPO#empty edit requests. --Redrose64 🌹 (talk) 19:56, 14 January 2022 (UTC)

Is there a way to create a reading list on wikipedia?Edit

I’d like to know if there is a way to create a “reading list” more or less of articles to add to a queue for future reading. For example, if I am learning about a topic, I may want to read many of the topics it references, and those that they reference, etc. but I don’t necessarily want to interrupt the article I’m reading (or I’d never finish).

In the past I used the book creator to quickly create a reference with maybe a hundred articles most relevant to quantum physics, artificial intelligence, the middle ages, etc. but that tool has been deprecated for some time. It had a very good interface to suggest related pages you might like to add and ultimately resulted in being able to understand the full breadth of a subject area. This was a great way to learn, but I don’t expect this kind of functionality to return. (Although it might be a really nice feature to be able to use the book creator functionality to create a list of articles for future reading without the pdf/publishing aspect)

Does anyone know if a reading list feature currently exists within wikipedia already that I might not be aware of or have any good suggestions? The closest thing I see is the watchlist, but that seems to serve a different purpose for monitoring article changes. Right now the best thing I’m able to do do while learning is keep opening new browser tabs to related pages from the current article I’m reading (and eventually end up with about 50+ open) and close them out as they are read, but this is a bit unwieldy, isn’t portable between devices, and eventually gets lost when the browser closes or crashes, etc.

Thanks for your help. — Preceding unsigned comment added by Wikibrain13 (talkcontribs) 12:42, 15 January 2022 (UTC)

There are various user scripts that you can add to your Wikipedia configuration that will build a list of articles. Maybe ToDoLister or TodoList? However, if you are not comfortable with adding one of these, then the simplest route is to use the Bookmark system that is included in web browsers (or the Reading List feature if you use Safari) — GhostInTheMachine talk to me 13:37, 15 January 2022 (UTC)

Apparent MediaWiki change to table parsing, related to magic word ! or to pipes in generalEdit

I have a suspicion that something changed with the latest code update a few days ago with respect to table parsing and pipes, or possibly just with the {{!}} magic word. I fix Linter syntax errors, and the following code on template documentation pages was not causing an error last week and is causing an error this week:

|colspan=1 align=center| ''When your text uses a {{!}} pipe:''

I have a demonstration in my sandbox showing that the code by itself is fine, but when it is added to a table, it causes Linter errors that are consistent with the parser thinking that the pipe is starting a new table cell, thereby leaving the italic markup orphaned twice. As you can see in my sandbox, the text is rendered just fine. These errors were not detected last week; I think they may be new false positives.

Does anyone know of any code changes that may have caused this? Should this be reported as a bug in Phabricator? – Jonesey95 (talk) 14:19, 16 January 2022 (UTC)

I would recommend reporting. Izno (talk) 16:14, 16 January 2022 (UTC)
Reported at T299311. – Jonesey95 (talk) 18:40, 16 January 2022 (UTC)

Issues with Edit PreviewEdit

Problem during a template creation by CX Zoom

Hi, I was creating new templates, and I was experimenting them first at User:CX Zoom/TestPage24. Everything that has actually rendered on the page seems to be perfect, but the preview window is not. The table class is set to "wikitable floatright" by default, but removes floatright if an additional parameter is added. However, the corresponding preview loads neither of the two class attributes and somehow renders the word floatright itself on top of the table, (see picture). Could it be a bug or something? ---CX Zoom(he/him) (let's talk|contribs) 10:24, 17 January 2022 (UTC)

It only happens when "New wikitext mode" is enabled at Special:Preferences#mw-prefsection-betafeatures. Here is a simplified example:
{{User:CX Zoom/TestPageTabs}}{| class="{{#if:1|wikitable}}"
| A
| B

<!-- Same as above with a newline inserted: -->

{{User:CX Zoom/TestPageTabs}}
{| class="{{#if:1|wikitable}}"
| A
| B
When this is previewed with "New wikitext mode", the first version displays the word wikitable instead of applying the wikitable class. The second version displays correctly. There are no issues with the default editor. I don't know what in User:CX Zoom/TestPageTabs causes the editors to behave differently. PrimeHunter (talk) 14:41, 17 January 2022 (UTC)
Thank you for explaining, it works out well on inserting a newline. As for the preview error due to TestPageTabs, I believe it's because I only used {{start tabs}} to create it and not coupling it with {{end tabs}}, though I'm not 100% sure that it is behind the error. Thanks again! Cheers! ---CX Zoom(he/him) (let's talk|contribs) 19:50, 17 January 2022 (UTC)

Word order in article titlesEdit

Notice the following two examples:

Which article has a better word order? We should rename one of them and the whole category, too. Maiō T. (talk) 12:45, 17 January 2022 (UTC)

@Maiō T. This isn't a technical issue. You should bring it up at Wikipedia talk:WikiProject Sports. --Ahecht (TALK
) 18:17, 17 January 2022 (UTC)

Use of magicword NAMESPACE in templateEdit

{{Infobox comics creator}} use an if NAMESPACE statement to prevent images being displayed if the infobox is used outside of article space. The message appears to be confusing as it says Wikipe-tan says: "You can't use fair-use images outside of articlespace!" even if the image is and free image and not a fair-use image. If it considered that such an if statement is required (why?) then can the message be amended to say Images will not be displayed when this template is used outside of articlespace? or, the logic is changed to actually see if the image being used is free or non-free? Nthep (talk) 16:46, 17 January 2022 (UTC)

Greetings Nthep. I'm pretty sure that either of the things you are asking can be accomplished (technically). I do believe, however, that it would be best for you to pursue this as a {{Edit template-protected}} request on the talk page of the template you are wanting to modify. This way the discussion will be a matter of record in the place where it is most useful and easily found if needed. Also, FWIW, fair-use images are not only restricted to article space, they are also restricted to use in a single page only and the fair-use rational (FUR) must indicate the exact title of that single page where it is to be used. So you can't display it in multiple locations simultaneously, and if you move the page into a different title or move the image to a different page, the FUR needs to be updated accordingly.--John Cline (talk) 17:38, 17 January 2022 (UTC)
The template only has a small number of watchers so I'm not sure how much an edit request will get there. Nthep (talk) 17:48, 17 January 2022 (UTC)
Nthep edit protected requests have categories and templates advertising that requests are open. So, probably as much as a request here. Izno (talk) 17:50, 17 January 2022 (UTC)

How to obtain the equivalent of a mix of a Reflist template with a Refbegin template?Edit

I hate to use citation templates within footnotes in the body of an article that are reported automatically in a Reflist template at the end. I prefer to put them directly at the end within a Refbegin-Refend template. When an article already uses the Reflist template, I would like to use a method that combines both approaches. What I did in Karl Popper is to put the reference in the Refbegin-Refend template in a new section "References" and renamed the existing one "References and notes", because it is what it is, a mix of both. Is there a better approach? Dominic Mayers (talk) 17:19, 17 January 2022 (UTC)

@Dominic Mayers The best way to do this would be to use List-defined references, so you can maintain hyperlinks between the in-line citations and the full citations at the end of the article, and you can easily mix citations within the body of the article with citation at the end. --Ahecht (TALK
) 18:02, 17 January 2022 (UTC)
This is what I first tried, but I did not succeed, perhaps because the named ref tag was nested within a note, in a section Notes. The reference itself with the citation template was in a section "References" under a Reflist template using "refs =". Besides, there is another issue with this approach. With a ref tag, we have a superscript link, but in the notes, I want an harvard style link such (Name 1999). Dominic Mayers (talk) 18:07, 17 January 2022 (UTC)
I think you are referring to Karl Popper. What you have done with the further reading looks fine. This is intended to be a list of citations for relevant works that do not directly support any of the content of the article and so would not appear with the references. See MOS:FURTHER. Your use of "{{harvnb}}: text" for the notes is also fine (I would say that, it's what I do too). However:
  • the citation for Popper 1962 in the first note is buried in the references at no 45. This would be a usability problem for a printed version of the article
  • you are missing a citation for Akrami 2009 to resolve the harvnb reference in the second note
A tidy way to resolve these is to add a list of citations (as subsection or section) after the references section, but that itself is tidier if you use the harvard short notes ({{sfn}} and friends) for the references. The list-defined references mentioned by Ahecht move all the distracting junk of the citations from the article content source to the reflist, but the citations still appear scattered in the references section. --Mirokado (talk) 18:47, 17 January 2022 (UTC)
Thank you. The issues that you mention are corrected. However, the section "Notes and references" continue to hide some references that should be in the section References. This was the situation before I started to edit the article. Dominic Mayers (talk) 20:48, 17 January 2022 (UTC)

subst not substing?Edit

Any idea what went wrong with Special:Diff/1066294463? -- RoySmith (talk) 18:04, 17 January 2022 (UTC)

The link to the SPI is missing a closing ], that might be the problem. Nthep (talk) 18:12, 17 January 2022 (UTC)

Tech News: 2022-03Edit

19:53, 17 January 2022 (UTC)