Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
 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/browsers[edit]

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)
Five days after the last comment, ten after the initial request, for me (Firefox, Monobook) this is still illegible in several places. Any possibility of having it corrected or, preferably, reverted to the table which is fully legible? Happy days ~ LindsayHello 15:38, 19 January 2022 (UTC)
Hmm, well on mine android phone, both in the app and out of it, the template shows perfectly legibly. Maybe the issue is Mobobook which, while the best, is rather an old interface. So, likely i can be ignored. Happy days ~ LindsayHello 15:49, 19 January 2022 (UTC)

Email notifications[edit]

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)
Thanks for the ping, @Whatamidoing (WMF)!
Hi @Klein Muçi,
If I understand correctly, you've already found what you were looking for. However, I invite you to read some more information on your translatewiki user talk page. I hope you find it useful. If you need any more info about translatewiki, please ask me.
Thanks! :) Amir E. Aharoni (talk) 11:11, 19 January 2022 (UTC)
@Amire80, yes, I did. Thank you! I wasn't sure it was part of TranslateWiki or not. (I've had cases where the translation needed to happen at Wikimedia Code Review for example.) But it's good to know I have somewhere to ask for TranslateWiki matters. - Klein Muçi (talk) 11:56, 19 January 2022 (UTC)
@Klein Muçi, this is strange... I guess that when you say "Wikimedia Code Review", you refer to Gerrit. English strings have to be changed there, but almost all user interface translations are done in translatewiki. The only translations that have to be submitted to Gerrit are namespace names, special page URLs, and magic words. Amir E. Aharoni (talk) 12:42, 19 January 2022 (UTC)
@Amire80, yes and yes. I meant Gerrit and I was looking to translate precisely that for Albanian. Many of those for us had typos so I dealt with it. My commit has yet to be reviewed though.
To be honest, I'd wish that even those were part of TranslateWiki. There are a lot of times when you need to modify a translation a couple of times before it reaches its "matured state". Those modifications happen when you start seeing it in use and how it "blends in" with other "surrounding elements" and Gerrit doesn't allow for that kind of simple usage because of its "hard-review requirements". But I do understand that given the technical nature of the aforementioned strings it may be necessary for the overall workflow that they're part of Gerrit instead of being reached from TranslateWiki. - Klein Muçi (talk) 12:55, 19 January 2022 (UTC)
Oh, I see @Klein Muçi. Yes, magic words are a special case. It actually used to be possible to translate them on translatewiki, but this created several technical issues, and unfortunately, it had to be disabled. Luckily, they don't need to be changed very frequently.
I've reviewed your patch. It needs a technical correction, and once you make it, I'll merge it. Amir E. Aharoni (talk) 13:25, 19 January 2022 (UTC)
@Amire80, yes I was seeing it in real time, thank you! Not preserving code legacy is my most common "mistake". To be honest, in most of cases, that is done deliberately by me, choosing to make a change and then working backwards from it to change all the instances that make use of it, thus lowering the future maintenance cost. (I've also resorted in bot solutions, in what may be considered "cosmetic edits" in some cases, to make that happen.) But in this case, that was my first time working with Gerrit so I never thought of that aspect. I'll take a closer look to make sure I don't have any other changes to do I might have missed and deal with that. This is one of the problems I mentioned above though. If I'd have to change another minor thing in the near future, the aliases' list would keep growing. But... For the moment I'll comply with that. - Klein Muçi (talk) 13:54, 19 January 2022 (UTC)
In the case of magic words and special page titles, it's important to keep the backwards compatibility in any case. Even if you fix everything on Wikipedia, there may still be other MediaWiki sites in your language, outside the Wikimedia world, and fixing all of them is just impossible. It's like a redirect page that is automatically created after moving a page: usually it's better not to delete it :) Amir E. Aharoni (talk) 14:17, 19 January 2022 (UTC)
@Amire80, I put the old aliases for the special pages. I have some questions now though:
  1. Should the magic words' section also include the English terms as aliases or is that a mistake made by the first editors? The special pages' section doesn't include the English terms but they still work if used in English. If for a reason it should, can you give me a concrete example of how I should add the old aliases there? Please try the one in regard to the "currentmonth". I can model the remaining changes after your example.
  2. Are the PHP arrays case sensitive? How about special characters sensitive? (Able to differentiate between E and Ë for example.) If they aren't, a lot of the current aliases for the namespaces and special pages are superfluous and can be safely removed.
I've been reluctant to deviate much from the original PHP file I found given that it was my first time dealing with PHP but if both the answers to my above questions are "NO", then the overall code can be reduced greatly. - Klein Muçi (talk) 23:14, 19 January 2022 (UTC)
  1. It's not a mistake. The English words are supposed to be in the end.
  2. I think that they are not case-sensitive, but not sure. Just be consistent with how it's used in the rest of the file. A for special characters, write them correctly according to your language's orthography and usual users' typing customs. If ë and ç can be typed by Albanian wiki editors and have to be used in the word, use them.
"currentmonth" now is:
'currentmonth'              => [ '1', 'MUAJIMOMENTAL', 'MUAJIMOMENTAL2', 'CURRENTMONTH', 'CURRENTMONTH2' ],
"currentmonth" with your corrections should be:
I recommend checking other languages for examples, such as French, Czech, Lithuanian. The whole list is here. Amir E. Aharoni (talk) 14:37, 20 January 2022 (UTC)
@Amire80, the specific versions you showed me did have some variations between them but anyway, I finished adding the old versions. - Klein Muçi (talk) 01:27, 21 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)
I'm working on one which syncs with apps. I can turn it into a gadget if there is interest.
mw.loader.load( '' );
Jdlrobson (talk) 03:18, 20 January 2022 (UTC)
If user scripts doesn't make sense to OP, there's also a relatively new Google Chrome feature that adds a reading list in the top right corner. Curbon7 (talk) 03:21, 20 January 2022 (UTC)

Issues with Edit Preview[edit]

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 titles[edit]

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 template[edit]

{{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)
There is a long-standing bug with nested references in the situation you describe. By long-standing I mean it appeared as soon as the first-ever nested reference was attempted. It has to do with the way the parser works with reference lists. I remember a ticket on this had been opened, about 10-12 years ago. One workaround is to manually put the nested references on top, as it appears in the article. The other is to use short referencing and list-defined references as proposed above (eschewing <ref> tags altogether). (talk) 13:51, 18 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)
Well the refs that appear @ "Notes and references" do so because <ref> tags list under {{reflist}}. I suggest you decide on one scheme for the entire article to begin with. Keeping in mind that nested references choke when the nest is on the same reflist as the included reference, as pointed out. (talk) 14:00, 18 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-03[edit]

19:53, 17 January 2022 (UTC)

Developing Project Around Wikipedia Ecosystem[edit]

 –  ― Qwerfjkltalk 21:04, 17 January 2022 (UTC)

Hi fellow Wikipedians, I am software developer in college. I am looking forward to develop an open-source project around the Wikipedia Ecosystem (something like afdstats. Is there any page with a list of ideas that I can refer to ? Something which the editors currently need and requested. I understand that there are a lot of superb interesting projects going on, where I can contribute. But I would like to build something from scratch this time. Please let me know if I can provide any other information.
 2405:201:5C15:501F:1575:2088:7B92:24FA (talk) 07:49, 15 January 2022 (UTC)

Hello, and welcome to the Teahouse. Working on the software is not something that Teahouse hosts particularly do. If you want to get involved in the MediaWiki software, look at mw:MediaWiki. For projects specifically about Wikipedia, I don't know if there is a list, but you could review WP:VPT and WP:VPP. --ColinFine (talk) 11:11, 15 January 2022 (UTC)
You may be interested in mw:Google Summer of Code where students can be paid by Google to make software for Wikipedia. There are eligibility criteria and a timeline. PrimeHunter (talk) 01:05, 18 January 2022 (UTC)
The list you are looking for is at phab:. There are many potential components you could contribute to with open tasks there.
Otherwise, you might swing around the ongoing meta:Community Wishlist Survey 2022 where some direct requests have been made for various changes. Or one of the earlier-provided links.
Lastly, there is mediawikiwiki:How to become a MediaWiki hacker. Izno (talk) 01:38, 18 January 2022 (UTC)
See also mw:New Developers. Enterprisey (talk!) 03:38, 18 January 2022 (UTC)
It also depends what you know or are willing to learn. Templates are written in MediaWiki's own language. Modules are written in Lua. MediaWiki itself is written in PHP. Gadgets and User scripts are written in JavaScript and sometimes CSS. Bots can be written in many languages. PrimeHunter (talk) 10:50, 18 January 2022 (UTC)[edit]

Is there a problem with, I've been trying to use the google citation generator [2] but I keep getting a server error? WCMemail 08:21, 19 January 2022 (UTC)

Appspot is a hosting platform by Google. It is just fine, but reftag is an app by User:Apoc2400 and it has been down for some time it seems. —TheDJ (talkcontribs) 12:10, 19 January 2022 (UTC)
You can use instead. —  Jts1882 | talk  13:57, 19 January 2022 (UTC)
Cheers, thanks for that. WCMemail 15:37, 19 January 2022 (UTC)

Moving Content from one Wiki to another.[edit]

How do you move content from Wikipedia to another wiki? An example would be moving the userbox galleries to a different wiki. Any help is appreciated, thanks. AWESOMEDUDE0614 (talk) 14:03, 19 January 2022 (UTC)

@AWESOMEDUDE0614: "it depends" on your specific usecase, if you are only talking about shared projects such as WMF projects, and if your images are on a shared repository. See Help:Export for some details. If you can provide a specific example (e.g. How I can duplicate the content of $LINK_TO_A_SPECIFIC_PAGE to $LINK_TO_A_SPECIFIC_PAGE_ON_ANOTHER_WIKI?) - then we can give you a more specific answer. — xaosflux Talk 14:08, 19 January 2022 (UTC)
@Xaosflux: From [3] to [4] is this possible? AWESOMEDUDE0614 (talk) 15:20, 19 January 2022 (UTC)
@AWESOMEDUDE0614: so, this is not going to be easy - assuming you don't want that page - want the subpages, the templates on them, and the pictures. You can use Special:Export on the pages to export them with history, and admins on your other project could use Special:Import to upload there -- but export doesn't include the images, which you would need to download and reupload. If doing things like that, be sure to note the copyrights and licenses in use here - most of which will require you to provide attribution when reused elsewhere. — xaosflux Talk 15:34, 19 January 2022 (UTC)
@Xaosflux: I know, thank you for the help, I will probably do it all manually with all of the images. Thanks again for your help. AWESOMEDUDE0614 (talk) 15:48, 19 January 2022 (UTC)

Pages with missing files[edit]

Could some smarter-than-me person explain why Wikipedia talk:Unreviewed featured articles/2020 is in Category:Pages with missing files? And is that why, when I try to use that reply-thingie, whose name I don't know but WhatamIdoing helped me install somewhere for a one-click reply, fails on that page? SandyGeorgia (Talk) 18:03, 19 January 2022 (UTC)

@SandyGeorgia It's in that category because the Wikipedia talk:Unreviewed featured articles/2020#Signpost and 2022 goals section has a gallery that is trying to display File:1396231548000-AP-Superstorm-Sandy.jpg. The reply tool seems to fail on pages like that one where there is a border around the talk section, but Whatamidoing (WMF) might know more. It probably has to do with that page not having {{End tab}} at the bottom, so there are unclosed tags that the Reply Tool doesn't want to mess up. --Ahecht (TALK
) 18:12, 19 January 2022 (UTC)
Awesome, thanks! This edit removed the page from the error category, but I still can't use the reply thingie on that page. SandyGeorgia (Talk) 18:36, 19 January 2022 (UTC)
Is the gallery where start tab and end tab are needed? That syntax is beyond me; if that is the problem, could someone add it? SandyGeorgia (Talk) 18:47, 19 January 2022 (UTC)
PS, I have moved the gallery to Wikipedia talk:Unreviewed featured articles/2020#Interview for the Signpost. SandyGeorgia (Talk) 18:49, 19 January 2022 (UTC)
@SandyGeorgia: This edit fixed the issue preventing the reply tool from being used. It's basically the same issue described at Template_talk:Start_tab#Disabling_frame_functionality_on_talk_pages, except this time it was an unclosed table that was adding a very small border around the page. Legoktm (talk) 08:37, 20 January 2022 (UTC)
All good; thanks so much ! SandyGeorgia (Talk) 11:05, 20 January 2022 (UTC)
Just a note that CD seems to work on that page. ― Qwerfjkltalk 18:21, 19 January 2022 (UTC)

text is jumping 3 to 6 lines downwards after scroll[edit]

am not really sure how to report this, however, am doing a fast scroll downwards of few pages, using finger on phone screen, from top of Portal:Current events mobile page, and after scrolling stops, text jumps 3 to 6 lines downwards..occurs often, although not always throughout is very distracting, difficult to follow the text..what is causing this, and how can it be fixed?. Gfigs (talk) 10:13, 20 January 2022 (UTC)

I think problem may have to do with where scrolling starts eg on heading box, type of link or other object in page?.maybe some objects are not receiving the scroll event?. Gfigs (talk) 12:50, 20 January 2022 (UTC)
@Gfigs Do you have Short Desc helper enabled in preferences -> gadgets? I sometimes find that the short description adds after the page has loaded and has the effect you are describing. Nthep (talk) 16:10, 20 January 2022 (UTC)
thanks Nthep, it's not enabled though.. Gfigs (talk) 16:52, 20 January 2022 (UTC)
It looks like you're using the Mobile Web site. Do you have this problem on other sites? Does it happen when pages seem slow to load? Whatamidoing (WMF) (talk) 18:05, 21 January 2022 (UTC)
thanks, seems to be only happening on Portal:Current events..this is happening after pages have loaded normally..with scrolling moment when scrolling stops, and one starts focussing on the does not happen when scrolling upwards, from bottom of page.. Gfigs (talk) 21:34, 21 January 2022 (UTC)

Problem with giving DS alert[edit]

When adding a new section for a DS alert I no longer get a warning when adding {{subst:alert|code}}. I do have to click on "Add topic" twice. The first time the button shows gray. Doug Weller talk 10:44, 20 January 2022 (UTC)

@Doug Weller: is this the same thing you reported last month that is still open in phab:T298263? — xaosflux Talk 11:33, 20 January 2022 (UTC)
@Xaosflux: doh, I seem to have forgotten that. I think the fact that I no longer see the animation bars had me confused. I guess I should go mention that there. Sorry. Doug Weller talk 11:40, 20 January 2022 (UTC)

Automatic signing[edit]

Hello! Recently at SqWiki we're setting up our own "Teahouse" and signing comments is something rarely happens with new users. The new reply tool has helped a bit in this direction but it doesn't cover most new-user cases. I didn't want to create a preload template because that might end up being a bit confusing for very new users so I thought about asking if SineBot could be made available for SqWiki but then I remembered I had already done that some months ago and Slakr wasn't active back then and, by its current talk page, it doesn't look like he's active even now. Is there any other option I might have in regard to automatic bot signing? - Klein Muçi (talk) 12:42, 20 January 2022 (UTC)

Unfortunately SineBot is closed source, but the Commons SignBot has source available here. You can try to contact Zhuyifei1999 if you need more assistance. --Ahecht (TALK
) 14:51, 20 January 2022 (UTC)
@Ahecht, thank you for your help! :))
@Zhuyifei1999, would it be possible to start utilizing your bot at SqWiki/SqQuote? - Klein Muçi (talk) 01:10, 21 January 2022 (UTC)
@Ahecht, considering I'm unfortunate and user Zhuyifei1999 is unavailable to help me, do you have any idea what would be the general steps needed to fork the bot's code? Would it be anything similar to the steps we took together some time ago with your bot? - Klein Muçi (talk) 01:15, 21 January 2022 (UTC)
@Klein Muçi At a glance it should be similar, since both are based on pywikibot. See also commons:User_talk:Zhuyifei1999/Archive_37#SignBot_on_the_Hungarian_Wikipedia for how it was adapted to huwiki. --Ahecht (TALK
) 07:29, 21 January 2022 (UTC)
@Ahecht, I copy-pasted the code to a .sh file, changed only SignBot->Smallem, gave the needed permissions and run it to see what it would happen. I was hopping to get the same error as the one in the example you gave me but unfortunately I get a different one:
Traceback (most recent call last):
File "./", line 38, in <module>
import pywikibot
File "/data/project/shared/pywikibot/stable/pywikibot/", line 148
def _ISO8601Format(cls, sep: str = 'T') -> str:
SyntaxError: invalid syntax
To be honest, I don't really know what I expected to happen once I set it to run but the presence of errors seems to imply I have a long way before me. Sorry I'm dragging you into this. :/ - Klein Muçi (talk) 11:25, 21 January 2022 (UTC)
@Klein Muçi, please tell me more about "it doesn't cover most new-user cases". Do your newbies need the New Discussion tool (for auto-signing when you start a new ==Section==)? Whatamidoing (WMF) (talk) 18:07, 21 January 2022 (UTC)
@Whatamidoing (WMF), you are a very new user that understands Albanian. You somehow end up at this page and click the big blue button to ask a question. 90% of the cases, you'll just have a text that ends up unsigned. That can be solved with a preloaded ~~~~ text but a sign bot would be friendlier for new users than that. - Klein Muçi (talk) 22:52, 21 January 2022 (UTC)
(Of course clicking on "Add a new section" would make the whole workflow work normally in regard to signing. But I believe the big blu button wins when compared with that in regard to usage by new users.) - Klein Muçi (talk) 23:48, 21 January 2022 (UTC)

Requests for undeletion page missing archives[edit]

Hello! AFter I removed a completely blank section (all that was there was a section header) form the Requests for undeletion page, I noticed that the page is archived by a bot, however the box that's supposed to allow you to select and view a specific archive is missing all the archive links and instead only allows you to search within the archives. Is this done on purpose or is something broken? ― Blaze WolfTalkBlaze Wolf#6545 19:40, 20 January 2022 (UTC)

@Blaze Wolf: {{archives|auto=no|search=yes|age=7|index=/Archive index|editbox=no}}
produces this effect. The auto parameter is what's causing this. ― Qwerfjkltalk 19:52, 20 January 2022 (UTC)
Ah ok. I would assume there's a reason auto is set to no? ― Blaze WolfTalkBlaze Wolf#6545 19:55, 20 January 2022 (UTC)
It was altered from |auto=short to |auto=no by Protonk (talk · contribs) at 17:00, 22 July 2014 (UTC) in this edit. There does not appear to have been any discussion. --Redrose64 🌹 (talk) 22:08, 20 January 2022 (UTC)
They have good reasoning. I might propose changing how it currently is to something similar to what's at WP:TEABlaze WolfTalkBlaze Wolf#6545 22:21, 20 January 2022 (UTC)
It's probably best suggested at WT:Requests for undeletion, just in case people have other opinions. --Redrose64 🌹 (talk) 22:50, 20 January 2022 (UTC)
Redrose is right that this is best discussed at that talk page, though I don't know how active it is. My input is any solution (like that at the teahouse) which shows an archive but does not let it grow on the page out of bounds is good. I set it to display none of them because we were generating copious bot managed archive pages with little need for or benefit from direct access. I am no longer active on that page so my reasons/opinions may not reflect what the community wants. Protonk (talk) 17:30, 21 January 2022 (UTC)

Templatestyles edits[edit]

A few weird edits recently:

They're adding lots of raw HTML relating to the infobox (see <templatestyles src="Module:Infobox/styles.css"> etc nonsense). Based on geolocation of the IPs, the editors seem unrelated, so I don't think it's some kind of vandalism. Is there a software bug here? ProcrastinatingReader (talk) 08:44, 21 January 2022 (UTC)

Yes, it is a bug. It is done by copy-pasting an template, in this case Infobox officeholder, from either wikicode editor or VisualEditor and pasting it in VisualEditor. VisualEditor then auto expands the template. This is the third incarnation of the bug, the last one has been closed, so file a new one.--Snævar (talk) 10:04, 21 January 2022 (UTC)
Do you know the phab ticket ID for the last report? ProcrastinatingReader (talk) 10:08, 21 January 2022 (UTC)
This kind of junk happens when VE editors copy and paste ISBNs too. I filed a bug about it in 2017: T174303. I used to tidy up ISBNs in articles, but the unstanched firehose of errors caused by this issue has motivated me to move on to other work. I hope that the developers will take a look at this stuff one of these days. – Jonesey95 (talk) 13:18, 21 January 2022 (UTC)

I was just coming here for this issue. Here's a few more diffs. The Rand Paul one was a section edit, so I don't understand how it would have happened based on the explanation of copy-pasting the template, Snævar [8][9][10][11] – Muboshgu (talk) 16:31, 21 January 2022 (UTC)

Basically, VisualEditor takes the copied template with all of the parameters with it and instead of doing an template transclusion like normally, it decides to take the code of the template itself, then fill in the parameters and spit out the results. By template transclusion I mean that templates are usually used on articles by having a code starting with the two brackets, then the template name and then the parameters listed as "parameter = value". You would get the same result if an template transclusion was copied to Special:ExpandTemplates, which explains that technical jargon. The previous bugs are T273234 and T56410.--Snævar (talk) 17:38, 21 January 2022 (UTC)
Can anyone reproduce this deliberately? Whatamidoing (WMF) (talk) 18:10, 21 January 2022 (UTC)
The task that's still open (which you've linked once 2 years ago on Phab) is phab:T54091. Izno (talk) 18:20, 21 January 2022 (UTC)
@Whatamidoing (WMF) for example see diff. I removed ref number 14 in the Damian Williams (lawyer) article. It is very easy to reproduce it, because any edit ends up like that. Renat 18:23, 21 January 2022 (UTC)
That's the best example I think: diff. Do what you want - you will always get this mess. Renat 18:49, 21 January 2022 (UTC)
I have most often had this issue with citations as it happens, but not surprised it's showing up with infoboxes.
This probably needs an edit filter set to warn or something for insertion of any TemplateStyles tag. "We know you didn't mean to, but this caused wikitext corruption. Please try again, but this time do not copy-paste any templates." Izno (talk) 18:19, 21 January 2022 (UTC)
Such an edit filter would at least get this particular corruption, if not the ISBN copy-paste issue. Which actually could be filtered on with Special:Booksources, because no one links that deliberately. Izno (talk) 18:25, 21 January 2022 (UTC)
Ditto here, I first undid an edit with this issue, and then experienced this issue several times while using the visual editor. --PerpetuityGrat (talk) 19:01, 21 January 2022 (UTC)

Whenever I make a change in visualeditor, it adds several duplicated infoboxes without my knowledge. I even clicked on the button that would show me the changes I made to the page, and it did not indicate the adding of any duplicated infoboxes. As such, I will abstain from using visualeditor until the problem is fixed. Sorry for any confusion this has caused. X-Editor (talk) 21:09, 21 January 2022 (UTC)

This was caused by a recent change that was meant to improve how templates using TemplateStyles are shown in visual diffs and when using visual editor to edit a single section (on mobile). We're reverting it now (see phab:T299767), which will fix this bug. Sorry about this, and in particular that it took us so long to notice this bug report. Matma Rex talk 21:17, 21 January 2022 (UTC)

It's fixed now. Note that the fix won't take effect on users who currently have the editor open (only when they open it the next time), so it might take some more minutes until the corrupted edits stop appearing. :( Matma Rex talk 21:41, 21 January 2022 (UTC)
Thanks for all involved taking care of this quickly. --PerpetuityGrat (talk) 23:20, 21 January 2022 (UTC)

Why is this archival different from all other archivals? (Echo weirdness)[edit]

After I archived this thread, I got a notification saying that I'd successfully pinged Nableezy. This confuses me. I've archived plenty of threads containing pings before, and never had one re-send a ping before. WP:MENTION doesn't make clear why archivals don't usually send pings. The out-of-date mw:Manual:Echo says that a ping isn't sent if the diff has a new section header anywhere other than its first line, but I don't think that's true anymore. This test also sent a ping, which I'd consider expected(-ish) behavior since there's only one message in the thread. So, what's the difference between the Nableezy archival and others? I archived threads containing pings on either side of this edit, and they didn't re-ping (other than the one-liner test). Could the difference somehow be that Nableezy doesn't link to his own userpage in his signature, and that's causing Echo to parse this as all one big post by me?

Also, appreciating the irony, going to intentionally ping Nableezy here to see if he can confirm that he got the inadvertent ping (i.e. to rule out the possibility that there's a glitch in the "successful ping" notification somehow). -- Tamzin[cetacean needed] (she/they) 15:37, 21 January 2022 (UTC)

Okay, upon further investigation, I think it is the lack of a userpage link. This test (line signed by User:Example, indented response signed by me, double-indented response signed by Example) did not result in a ping. But this one (same exchange, except removing [[User:Example]] from the {{subst:example signature}} output) did ping. So... is this undocumented/poorly-documented behavior, or a bug? -- Tamzin[cetacean needed] (she/they) 16:11, 21 January 2022 (UTC)
I did get both pings, thats weird, never been pinged before being archived. nableezy - 16:19, 21 January 2022 (UTC)
Hmm. And surely this isn't the first time someone's archived a thread that was just you and them back-and-forth, so if it is the lack of a userpage link that's doing it, this must be a recent-ish change to Echo. -- Tamzin[cetacean needed] (she/they) 16:42, 21 January 2022 (UTC)
Okay, more investigation. @Nableezy: It looks like this is "your fault". /lh You're actually being affected by a cousin of the bug I had some months ago, when I had a subst'd parser in my signature and sometimes my pings weren't sending. It seems that when Echo is determining whether more than one user's signature appears in a thread, it finds every userpage link, usertalk link, and user contribs link on a line (so the lack of a userpage link is not an issue); checks what ~~~ is for that user; and if that also occurs on the line, it concludes, "Okay, this is not a mention of this person". However, you subst a .css page with some magic words in it in your signature, and either that's confusing Echo, or Echo's correctly comparing the two but deciding it's not your signature because the time-based portion has changed. The fact that this hasn't happened to you before makes me think it's the former, i.e. that it only fails like this sometimes; but maybe you just don't talk to a lot of people who archive their own talkpages, or all your conversations with such people involve at least one other person.
The upshot is, if you're okay with getting the occasional random ping like this, then carry on. Otherwise you'll probably have to do what I did with my beloved old signature and find a way to not subst something time-dependent. -- Tamzin[cetacean needed] (she/they) 17:08, 21 January 2022 (UTC)
I was never able to figure out how to get the time/date in to my signature box without making it included in my ~~~. But getting a ping from you when not intended is what Bob Ross would call a happy little accident so Im cool with it. Plus its been like 13 years with this signature, which makes it my most successful relationship ever and I dont want to break up with it quite yet. nableezy - 17:13, 21 January 2022 (UTC)
Incredibly, your signature doesn't break the DiscussionTools reply tool either, unlike pretty much every funky signature I've seen before. Quite successful indeed! Matma Rex talk 20:51, 21 January 2022 (UTC)

RfC: Block reFill until fixed[edit]

Wikipedia:Village_pump_(proposals)#RfC:_Block_reFill_tool_until_fixed -- GreenC 21:58, 21 January 2022 (UTC)

Special:ShortPages and Set Indexes[edit]

Can Set indexes be hidden from Special:ShortPages, the same way that DABs are?. I'm not familiar with anything technical about WP, here is a Talk Page Convo: Wikipedia talk:Special:ShortPages#Lastnames clutter the list. Can we fix it?

Extended content
Pinging from prior discussion: @Gaioa:@Avelludo:@Qwerfjkl:Signed, IAmChaos

Signed, IAmChaos 01:55, 22 January 2022 (UTC)

You can add {{subst:long comment}} to the end of a legitimate short article to remove it from Special:ShortPages. -- Tamzin[cetacean needed] (she/they) 02:33, 22 January 2022 (UTC)
Impractical. There are hundreds of legitimate short articles cluttering that feed, and editing that into each and every one of them is unrealistic. I guess a bot could do it, but it'd be much more solid to change the underlying algoritm. Gaioa (T C L) 07:40, 22 January 2022 (UTC)
Adding that comment is the general practice for most legitimate short articles, I'm pretty sure. I don't see it as impractical. Elli (talk | contribs) 10:25, 22 January 2022 (UTC)

Last two days for submitting proposals[edit]

Community Wishlist Survey Lamp.svg

Tomorrow is the last day for submitting proposals for the Community Wishlist Survey 2022.

Also, everyone is welcome to translate, promote, and discuss proposals. SGrabarczuk (WMF) (talk) 14:45, 22 January 2022 (UTC)