Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
 
Line 1: Line 1:
<noinclude>{{Short description|Page for discussing Wikipedia technical issues}}<!--
<noinclude>
-->{{pp-move-indef|small=yes}}<!--
{{Villagepumppages|1=Technical|2=The '''technical''' section of the village pump is used to discuss technical issues ''about'' '''Wikipedia'''. Bugs and feature requests should be made at [[MediaZilla:|BugZilla]].
-->{{User:MiszaBot/config
<!--All of the text for this top section is found at template:Villagepumppages-->
| archive = Wikipedia:Village pump (technical)/Archive %(counter)d
Newcomers to the technical village pump are encouraged to read [[Wikipedia:Village pump (technical)/Before posting|these guidelines]] prior to posting here. Questions about [[MediaWiki]] in general should be posted at the [[mw:Project:Support desk|MediaWiki support desk]].
| algo = old(5d)

| counter = 212
|center=<div id="villagepumpfaq">{{FAQ|see also=[[Wikipedia:Technical FAQ]]|style=margin:0 1em;}}</div>
| maxarchivesize = 500k
|3=WP:VPT|4=WP:VP/T|5=WP:TECHPUMP|6=WP:PUMPTECH}}<!--
| minthreadsleft = 4

| minthreadstoarchive = 1
-->__NEWSECTIONLINK__<!--
| archiveheader = {{Wikipedia:Village pump/Archive header}}

--><!-- ''comment'' this out in case of bot-racing -->{{User:MiszaBot/config
|archiveheader = {{Wikipedia:Village pump/Archive header}}
|maxarchivesize = 300K
|counter = 91
|algo = old(7d)
|archive = Wikipedia:Village pump (technical)/Archive %(counter)d
}}<!--
}}<!--


Please do not move these categories to the bottom of the page. If they are there, they will be removed by the process of archiving the page.
Please do not move these categories to the end of the page. If they are there, they will be removed by the process of archiving the page.

--><!--


-->
-->
[[Category:Wikipedia village pump]]
{{cent}}
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for incorrect links]]
[[Category:Pages that should not be manually archived]]
<!--
-->
{{village pump page header|1=Technical|2=The '''technical''' section of the [[Wikipedia:Village pump|village pump]] is used to discuss technical issues ''about'' '''Wikipedia'''. Bug reports and feature requests should be made in [[mw:Phabricator|Phabricator]] (see [[mw:How to report a bug|how to report a bug]]). Bugs with [[web application security|security implications]] should be reported differently (see [[mw:Reporting security bugs|how to report security bugs]]).
<!-- All of the text for this top section is found at template:Villagepumppages -->
If you want to report a [[JavaScript]] error, please follow [[Wikipedia:Reporting JavaScript errors|this guideline]]. Questions about [[MediaWiki]] in general should be posted at the [[mw:Project:Support desk|MediaWiki support desk]]. Discussions are automatically archived after remaining inactive for five days.
|center=<div id="villagepumpfaq" style="clear:both; text-align: center; margin: 0 auto;">{{FAQ|see also=[[Wikipedia:FAQ/Technical]]|style=margin: 0 auto; width: 85%;|collapsed=yes}}</div>
|3=WP:VPT|4=WP:VP/T|5=WP:TECHPUMP|6=WP:PUMPTECH
}}__NEWSECTIONLINK__
{{centralized discussion|compact=yes}}
__TOC__
__TOC__
<span id="below_toc"/>
<div style="clear:both;" id="below_toc"></div></noinclude><!--
Please add new questions to the end of the page. The easiest way to add a question is to click the "New post" link, near the top of the page.
{{-}}

[[Category:Wikipedia noticeboards|{{PAGENAME}}]]
[[Category:Wikipedia features|{{PAGENAME}}]]
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for accidental language links]]

[[ar:ويكيبيديا:الميدان/تقنية]]
[[ca:Viquipèdia:La taverna/Arxius/Tecnicismes/Recent]]
[[cs:Wikipedie:Pod lípou (technika)]]
[[es:Wikipedia:Café/Portal/Archivo/Técnica/Actual]]
[[fa:ویکی‌پدیا:قهوه‌خانه/فنی]]
[[ka:ვიკიპედია:ყავახანა/ტექნიკური საკითხები]]
[[kk:Уикипедия:Ауыл құдығы/техникалық]]
[[hu:Wikipédia:Kocsmafal (műszaki)]]
[[mk:Википедија:Селска чешма (Техника)]]
[[mr:विकिपीडिया:चावडी/तांत्रिक प्रश्न]]
[[ms:Wikipedia:Kedai Kopi (teknikal)]]
[[pl:Wikipedia:Kawiarenka/Kwestie techniczne]]
[[pt:Wikipedia:Café dos programadores]]
[[ru:Википедия:Форум/Технический]]
[[sr:Википедија:Трг/Архива/Техника/20]]
[[fi:Wikipedia:Kahvihuone (tekniikka)]]
[[uk:Вікіпедія:Кнайпа (технічні питання)]]
[[zh-yue:Wikipedia:城市論壇 (技術)]]
[[zh:Wikipedia:互助客栈/技术]]
</noinclude><!--

Please add new questions to the bottom. The easiest way to add a question is to click the "add" link, just above the table of contents.


-->
-->


== Broken "pages by quality" assessment template ==
== Problem with box padding ==

Hi,

On [http://en.wikipedia.org/w/index.php?title=User:Tommyjb&oldid=431579422 my user page], I'm getting extra left-padding in the box on the right.

I created a simpler test case in [http://en.wikipedia.org/w/index.php?title=User:Tommyjb/Sandbox&oldid=431580136 my sandbox]. Here is the code:

<code>
:<nowiki>{{Boxboxtop|About|backgroundcolor=lightblue}}</nowiki>
:
:<nowiki>{{Userboxtop|}}</nowiki>
:<nowiki>{{User en}}</nowiki>
:<nowiki>{{User Wikipedian for|year=2005|month=12|day=5}}</nowiki>
:<nowiki>{{Userboxbottom}}</nowiki>
:
:<nowiki>{{Boxboxbottom}}</nowiki>
</code>

[http://i.imgur.com/DaIo6.png Here] is what I see. The left margin is far bigger than the right margin. Does anyone know how to fix this?

<font face="Tahoma">—[[User:Tommyjb|<font color="blue">Tommyjb</font>]] [[User_talk:Tommyjb|<font color="orange">Talk!</font>]] <small>(12:57, 30 May 2011)</small></font>
:{{done}} [[User:Wasbeer|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#00a 0.2em 0.2em 0.4em;color:#ddd">Wasbeer</b>]] 02:12, 11 June 2011 (UTC)

== Hiding top edits ==

I used to be able to hide items on my contrib list that were most recently edited by me (via a doohickey in my monobook) - since the contrib lists have changed to enable an editor to only see their top edits, this no longer works, which is a real pain. Is there any way of being able to again just see contribs which have been edited since my last edit (other than adding several thousand new items to my already-bloated watchlist)? [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 01:04, 4 June 2011 (UTC)
:[[User:Markhurd/hidetopcontrib.js]] is still working for me with the Vector skin - any good? -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 06:45, 4 June 2011 (UTC)
::I'll try that, thanks. [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 19:11, 4 June 2011 (UTC)
:Grutness, since you're using my top-edit hiding script in [[WP:03|nothingthree.js]] (at least in your vector.js), could you please let me know what browser/OS/etc. you're using? The script still works perfectly for me, so the bug that breaks it for you is probably trivial to fix. I've had no problems with it in Safari, and I debugged it a little for IE fairly recently. <span style="white-space:nowrap;">{&#123;[[User:Nihiltres|<span style="color:#233D7A;">Nihiltres</span>]]&#124;[[User talk:Nihiltres|talk]]&#124;[[Special:Contributions/Nihiltres|edits]]&#124;[[WP:03|⚡]]}&#125;</span> 16:17, 4 June 2011 (UTC)
::Safari 5.0.2 on the machine I'm currently on... I suspect the other computer I sometimes use has an earlier version of Safari. [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 19:11, 4 June 2011 (UTC)
::::My dilapidated old laptop is running Safari 3.0.4, and it's stopped working on that, too. [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 00:52, 6 June 2011 (UTC)
:::I'm so far unable to replicate the problem. Try [[WP:BYPASS|clearing your cache]], in case the problem is a fluke. <span style="white-space:nowrap;">{&#123;[[User:Nihiltres|<span style="color:#233D7A;">Nihiltres</span>]]&#124;[[User talk:Nihiltres|talk]]&#124;[[Special:Contributions/Nihiltres|edits]]&#124;[[WP:03|⚡]]}&#125;</span> 02:25, 5 June 2011 (UTC)
::::Seems to be working again on 5.0.2 - may have been a cache problem. [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 00:55, 7 June 2011 (UTC)
:::::Uh...no. It worked again once on 5.0.2 - and hasn't worked again since. Doesn't seem to work at all now in either 5.0.2 or 3.0.4. I'll try the Markhurd one, I think... [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 10:47, 10 June 2011 (UTC)

== CentralNotice about Board of Trustees election ==

Every Wikipedia page I visit says:
The Wikimedia Board of Trustees election has started. [http://en.wikipedia.org/w/index.php?title=Special:SecurePoll/vote/200 Please vote].
When I click that link it says "Sorry, your account on the English Wikipedia does not meet the voting requirements for this election." Right underneath the request to vote!
Can we please modify this to only be shown to the users it applies to? It's really a slap in the face to the users to say "regardless of what you've contributed so far, it's not enough to count for us, so we don't want you as part of this community."

Thanks,

[[User:WBTtheFROG|WBTtheFROG]] ([[User talk:WBTtheFROG|talk]]) 02:23, 9 June 2011 (UTC)

I completely agree with what you said. I understand that I haven't contributed a lot to Wikipedia, but do I really need it rubbed in my face? [[User:Ybrik222|Ybrik222]] ([[User talk:Ybrik222|talk]]) 17:10, 12 June 2011 (UTC)

== augmenting article history ==

Sometimes an article has a history which is not adequately represented by the list of editors in the history tab. This creates a licensing, especially when automated tools such as [[PediaPress]] use the history information. The simplest example of this problem is when a section of article A is used as the basis for new article B. Another example is a paragraph from article A being added to article B. The usual practise is to describe this is the edit summary when saving the edit to article B, but an automated tool can't reliably parse this edit summary. However if that isnt done, how do we 'amend' or 'augment' the history to reflect this?

We sometimes place {{tl|Copied}} on the talk page.


I'm trying to do some upkeep with many of the neglected articles on Zoroastrianism. When I visit [[Wikipedia:WikiProject Zoroastrianism|WP:Zoroastrianism]] (or any other page containing the template), it seems the pages by quality template is broken. Thus, I am unable to review the assessment status of relevant articles. Is this problem on the end of WP 1.0? For what reason would the server would return a broken list? [[User:Doughbo|Doughbo]] ([[User talk:Doughbo|talk]]) 21:47, 8 May 2024 (UTC)
Another case to consider is where article A is later deleted; currently we usually keep the history of article A public, or we record its history on the talk page.
:The list isn't broken, it's empty. [[User:WP 1.0 bot/Tables/Project/Zoroastrianism]] hasn't been updated in over three years. I suspect that the WikiProject has been de-subscribed. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 15:59, 9 May 2024 (UTC)
::Shouldn't it auto-populate with entries that have been project-tagged? eg. [[Talk:Gatha (Zoroaster)]]. [[User:Doughbo|Doughbo]] ([[User talk:Doughbo|talk]]) 20:16, 9 May 2024 (UTC)
:::If you're sure about this, then I think your first step should be to "reactivate" WikiProject Zoroastrianism. As part of that you would update [[Template:WikiProject Zoroastrianism]] by changing "inactive" to "main", which would repopulate all the categories, which should make everything work again &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:34, 9 May 2024 (UTC)
::::Thanks. I'm still getting to know things around here, like which actions are appropriate, so I appreciate the help. [[User:Doughbo|Doughbo]] ([[User talk:Doughbo|talk]]) 15:58, 10 May 2024 (UTC)
:::::Now that you've reactivated the project banner template, the categories are being populated again, so I've [//en.wikipedia.org/wiki/Special:Log/delete?user=Redrose64&offset=20240510180000&limit=38 undeleted most of the category pages] - all except {{cl|FL-Class Zoroastrianism articles}} and {{cl|A-Class Zoroastrianism articles}}. If these are also required, say so and I'll undelete them too. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 18:05, 10 May 2024 (UTC)
::::::Thank you very much! I see that the list is now functioning properly on the template page. On the [[Wikipedia:WikiProject Zoroastrianism/Assessment|Assessment]] page, however, the old, broken list is still present. What is needed in order to replicate the new list? If possible, I'd like to also include a line for unassessed articles. [[User:Doughbo|Doughbo]] ([[User talk:Doughbo|talk]]) 22:57, 11 May 2024 (UTC)
:::::::It's dependent upon a bot run. I left a note at [[Wikipedia talk:Version 1.0 Editorial Team/Index]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 23:44, 11 May 2024 (UTC)
::::::::Thank you very much! I think I'm equipped from here on out. I've subscribed to the thread, so I'll check on any updates from there. [[User:Doughbo|Doughbo]] ([[User talk:Doughbo|talk]]) 21:53, 12 May 2024 (UTC)


== special:export ==
However a note on the talk page doesn't appear to comply with the GFDL's expectation that there is a history 'section' (which we interpret as the history tab). I've placed this on the technical VP page as I am wondering if we can create a solution where the amended history is in an easily detectable location and consumable format, and this is noted on the history tab when needed. If we create pages named "Talk:[Article]/History notice" (like we do with [[:Category:Wikipedia article FAQs|FAQs]]) or "Template:History notice/[Article]" (similar to [[WP:Page notice|page notices]]), automated tools can look for its presence and include it, and a message (such as [[mediawiki:histlegend]]) can do the same. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 13:28, 9 June 2011 (UTC)
{{tracked|T364554|resolved}}
Are [[special:export]] broken? I get an error if I choice "Include templates". [[User:Christian75|Christian75]] ([[User talk:Christian75|talk]]) 08:35, 10 May 2024 (UTC)
:Yes :( [[phab:T364554|T364554]] It'll probably be fixed on Monday. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 09:48, 10 May 2024 (UTC)
::Thanks. Resolved today. [[User:Christian75|Christian75]] ([[User talk:Christian75|talk]]) 21:10, 13 May 2024 (UTC)


== What Links Here misses links/transclusions wrapped in includeonly ==
:I'm not trying to immediately go off track here, but before getting in to this can I ask a honest question? In all seriousness... why does this matter? Don't get me wrong, I'm all for giving credit where credit is due, but... what are the details of the potential licensing issue, here? I don't think that this can be adequately addressed without firmly establishing the details of the problem. Besides... according to [[Wikipedia:Reusing Wikipedia content]], the page can't have been undated since November 2008 in order to export text under a GFDL license, right?<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 16:43, 9 June 2011 (UTC)
{{tracked|T7178}}
I noticed this issue in [[Wikipedia:Templates for discussion/Log/2024 May 10#Template:Deleted template]]. In that discussion we used [https://en.wikipedia.org/wiki/Special:Search?search=insource%3A%2F%7B%28+*%5BTt%5Demplate+*%3A%29%3F+*%5BdD%5Deleted+template%2F&ns10=1 regexes] (compare with [https://en.wikipedia.org/w/index.php?title=Special%3AWhatlinkshere%2FTemplate%3ADeleted+template&limit=5000&hidelinks=1&hideredirs=1&namespace=10 WLH]) to solve the problem but that's really error prone ([https://en.wikipedia.org/wiki/Special:Search?ns10=1&search=insource%3A%2F%5C%7B%5C%7B%5BDd%5Deleted+template%2F this] was the regex originally proposed in the TfD). Some more testing I did found that this also happens with regular links, not just transclusions. That means the issue affects all XfD venues. Can we get [[Special:WhatLinksHere]] to see links/transclusions between [[WP:INCLUDEONLY]] tags? If the current behavior is desirable for some reason, can a toggle be provided? [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 20:08, 10 May 2024 (UTC)


:And funnily enough, I got the regex wrong while trying to prove that it's easy to get it wrong. {{querylink|Special:Search|qs=search=insource%3A%2F%7B%28%5B+_%5D*%5BTt%5D%5BEe%5D%5BMm%5D%5BPp%5D%5BLl%5D%5BAa%5D%5BTt%5D%5BEe%5D%5B_+%5D*%3A%29%3F%5B_+%5D*%5BdD%5Deleted%5B_+%5Dtemplate%2F&ns10=1|Here's another attempt}}. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 20:18, 10 May 2024 (UTC)
::I'll leave the technical issue aside (just passing through), but our content is dually licensed. Reusers can export content under CC-By-SA ''or'' GFDL. If content ''cannot'' be exported under GFDL, we are required to indicate as much in the footer, history or discussion pages, but that should not apply to content copied from other Wikipedia articles, unless so indicated. (Just to note: this is not legal advice or an "official Wikimedia Foundation" statement. :)) --[[User:Mdennis (WMF)|Maggie Dennis]] ([[User talk:Mdennis (WMF)|talk]]) 19:07, 9 June 2011 (UTC)
::The current behaviour seems entirely correct to me - If the page "foo" contains either a link or a template wrapped in includeonly tags then the page "foo" does not actually contain that link or template. Only pages that transclude "foo" would have the link or template.
::I don't see how this could be changed in the manner you suggest or why such a change would be beneficial - you would need the parser to render wikitext that it has explicitly been told not to render (and hope that doing so produces something sensible rather than a broken mess), then add entries to the linktables for links that don't actually exist. This seems likely to break all manner of things.
::Your more complex "correct" regex does not capture every possible way of invoking the template, and doesn't actually capture any uses the simple case missed. You can call templates using all kinds of weird wikitext constructions, e.g. <code><nowiki>{{Dele{{void}}ted template}}</nowiki></code>, <code><nowiki>{{Deleted {{lc:{{NAMESPACE:Template:Cite}}}}}}</nowiki></code>. [[Special:Contributions/86.23.109.101|86.23.109.101]] ([[User talk:86.23.109.101|talk]]) 21:25, 10 May 2024 (UTC)
:::I believe I made my case for why my proposal is beneficial already. But, I'll elaborate further. When WLH is used in a deletion venue, what people want to know is where the nominated page is used. That includes links/transclusions between includeonly tags because, if the page is deleted, those will be affected too. I bet that 9 out of 10 frequent XfD participants will find the current behavior both surprising and undesirable.
:::Also, I never argued that my regex was "correct". That's why I called it "an attempt". In any case, you're making my point for me. Since regex won't work in the general case, we need something more powerful. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 21:59, 10 May 2024 (UTC)
::::How is "the list of links only shows links that actually exist" and "the list of transclusions only shows places where a page is actually transcluded" surprising and undesirable behaviour? The whole point of includeonly tags is to stop stuff from being parsed when viewed directly.
::::I think you've missed that this behaviour isn't actually specific to includeonly tags, there are all manner of template coding schemes that can cause a template to call another template only in specific scenarios, the output can depend the parameters you pass it, where it is used, whether it is substituted, what the time is...
::::The point I was trying (and failing) to make RE regex is that the simplest, naïve approach to finding uses of the template found 6 uses. Your more comprehensive regex found 6 uses. While you can invoke templates using namespaces with arbitrary capitalisation and you can add whitespace and you could make the template name out of wikitext constructions these are rare to see in actual usage and the simple approach is good enough. [[Special:Contributions/86.23.109.101|86.23.109.101]] ([[User talk:86.23.109.101|talk]]) 23:47, 10 May 2024 (UTC)
:::::{{Tq|The whole point of includeonly tags is to stop stuff from being parsed when viewed directly}} and the whole point of using WLH in XfD is to know all the pages that use a specific page in any way. Excluding everything between includeonly tags makes this intuition fail. You said, {{Tq|the simple approach is good enough}}. But if you read the TfD I linked above you'll see that the "simple approach" and the one tried first was not to use a regex. It was to trust WLH. In that case, no, the simple approach is not good enough. It utterly fails at what it's supposed to do. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 00:03, 11 May 2024 (UTC)
:::::Also, while most of the constructions I took into account are {{tq|rare to see in actual usage}} [https://en.wikipedia.org/w/index.php?search=insource%3A%2F%5C%7B%5C%7B+%2B%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns0=1 adding whitespace] is not. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 00:13, 11 May 2024 (UTC)
:I don't think we can. The template itself (which effectively excludes the includeonly section) doesn't transclude the page; the text it evaluates to does. It's a specific case of a more general insoluble problem. For example, a template Foo which transcludes [&#91;{&#123;{1}}}]] will, when called as {{tlx|Foo|Bar}}, transclude Bar, but as Template:Foo doesn't mention Bar there's no way to list Bar amongst its incoming links. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 21:01, 10 May 2024 (UTC)
::But your Template:Foo does not link to Bar at all. It's just that the result of the transclusion of {{tlp|Foo|bar}} is a link to Bar. My motivating example is different. {{tl|Expand}} directly links to {{tl|Deleted template}}. The test to tell those two cases apart is simple. Just remove the includeonly tags. If you do that then {{tl|Expand}} will show up in [[Special:WhatLinksHere/Template:Deleted template]] but {{tl|Foo}} will not show up in [[Special:WhatLinksHere/Bar]]. And that's expected. What's unexpected is that when we add the includeonly tags back, the first link disappears. Why? It's clearly still there. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 23:45, 10 May 2024 (UTC)
:::I don't think there is a way to achieve the OP's general request of finding all templates that use a template. If the template is called from inside a conditional if statement or similar, it won't appear in the "What links here" list either. There are no doubt more cases. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 23:58, 10 May 2024 (UTC)
::::And that's wrong too if you ask me. If the link is spelled out in the source code of a given page then it should count for WLH. If we wrap a link in an if statement as in <nowiki>{{#if:{{{1|}}}|[[Foo]]}}</nowiki>, it shouldn't just disappear from the list. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 00:32, 11 May 2024 (UTC)
:::::Well, it's called "What links here" and the page doesn't link there. I don't know what else to tell you. Searching is necessary in some cases. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 03:52, 11 May 2024 (UTC)
::::::If the issue is semantics, then either rename "What links here" or add a "What links here including in noincude tags". At the end of the day, when you search for usages of a template (or any link), you are more than likely interested in {{em|all}} places it is used at, including those places. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 08:11, 11 May 2024 (UTC)
:Turns out, this is [[phab:T7178|already known]] since 2006. That issue only talks about categories, but the underlying idea is the same. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 11:37, 11 May 2024 (UTC)
::That phab task has nothing to do with what you are proposing here. That phab task is asking that articles should track where the categories on them are coming from and include that information in the category page, basically just adding metadata to the existing entries.
::You are asking for template pages to parse content they have been told not to parse, somehow deal with missing parameters, figure out which templates "could" be used (even though this will vary with the parameters you provide) then add entries to the link tables for links and transclusions that don't actually exist. Certes has already tried to explain this to you once, but it is not possible to figure out an exhaustive list of every template that another template could call, as this depends upon how it is used. As a simple example, a template that contains the code <code><nowiki>{{cite {{{1}}}}}</nowiki></code> could end up evaluating to any of the citation templates ({{tl|cite web}} {{tl|cite book}} {{tl|cite news}}) or an infinite number of redlinked template (e.g. {{tl|cite foo}}) depending upon what someone puts into parameter 1. [[Special:Contributions/86.23.109.101|86.23.109.101]] ([[User talk:86.23.109.101|talk]]) 13:12, 11 May 2024 (UTC)
:::Nope, I never said anything about missing parameters. Your example is irrelevant. After all, there's nothing that says that parameters can only appear between includeonly tags. All I'm asking is that if for example, a template contains <nowiki><includeonly>{{cite web}}</includeonly></nowiki> then that template should appear in [[Special:Whatlinkshere/Template:cite web]]. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 13:34, 11 May 2024 (UTC)
::::Let me turn that question back to you. How is <code>{{cite {{{1}}}}}</code> handled outside includeonly? This is a common usecase since not all templates wrap their code in includeonly (because they don't have to) and it works just fine. Why do you think that I ever asked we change that? [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 13:36, 11 May 2024 (UTC)
:::::The data for WhatLinksHere is made when a page is rendered and actual links and transclusions are encountered during the rendering. It doesn't matter which code was used to produce the links. Code in {{tag|includeonly}} is ignored during rendering so no links are encountered. Your requested change would require something like a second rendering process where {{tag|includeonly}} is not ignored. It would be expensive and I'm pretty sure the developers would reject it as not worth the cost, and probably also as more likely to cause confusion than solve problems. Many users would be confused if WhatLinksHere reports links and transclusions which aren't actually in the page itself but ''may'' be in other pages which transclude it. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 22:26, 11 May 2024 (UTC)
::::::{{tq|It would be expensive}}. Per [[WP:PERF]] I can say that I don't care about that at all. What I suggest would be useful for XfD and that's all I care about. Now I agree with you that my proposal could potentially be confusing but that's easy to fix, just have the links explicitly marked as includeonly, like the phabricator issue suggests. Alternatively, you can make the feature opt-in so those links only appear for users that know they want them. [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 22:37, 11 May 2024 (UTC)


== Thumb version and small version of some images are not shown ==
::I cant see where [[Wikipedia:Reusing Wikipedia content]] mentions November 2008.
{{resolved}}
::As Maggie has pointed out, if an article can not be re-used under the GFDL, we are required to inform potential reusers when they cant use the GFDL. Currently we say that potential re-users will need to read a) the footer, b) the history and c) the discussion pages to determine whether they can copy a Wikipedia page. Even for a single Wikipedia page, that could involve hours of reading. If a human wants to copy more than a few pages, the amount of reading they must do quickly becomes ridiculous. Automated tools can't read; even if we used consistent templates for automated tools to parse, needing to parse the article text and article discussion pages is a big job if they only want to determine whether or not additional attribution is needed. <small>(I think I need to find some examples where an automated tool has bungled the attribution by relying on the list of usernames...)</small>
Hi, for example, for the image [[c:File:Nasseraldinshah3.png]] the thumb version and small version are not shown. i.e,
::[[Wikipedia:Verbatim copying under the GFDL#History Section]] currently can't provide a single description of what the 'history' section in the GFDL refers to. If we can include notes on the history tab, we can migrate our existing notes, recommend that contributors record credits in this way, and eventually inform consumers that they can a) link to the 'history tab' as a single record of the attribution for that article, and b) automatically construct an attribution block by combining the history information and the text on the associated "History notice" page if it exists. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 23:53, 9 June 2011 (UTC)
:::I think that this is part of an overall problem of attribution of any article text that was not original text written for that article. This could include the following.
:::* Text copied from another article on the same language wiki.
:::* Text translated from another WMF wiki.
:::* Text copied from a website that uses CC-BY-SA (or GFDL before Nov 2008)
:::* Text submitted and verified by an OTRS ticket.
:::* Text in the public domain.
:::Unfortunately there doesn't seem to be a standard method (or even place) for indicating that some text has been copied from elsewhere. This is particularly true for translations which I have seen attributed in the article text itself, on the talk page and occasionally via history comments. I was toying with the idea of proposing a more standard mechanism whereby these attributions would be put inside a (collapsible) template on the talk page but something that could appear on the history page would be even better IMO. However, doing this on the history page would obviously require an MW software change.
:::I think that any potential re-users need to have a fairly good idea of the origin of all the article's text. Another reason that this may be important is if some of the text was published before 1923 but written by someone who died less than 70 years ago. Any re-user in a country that follows the PMA-70 rule could not legally reprint that text. [[User:Boissière|Boissière]] ([[User talk:Boissière|talk]]) 17:13, 12 June 2011 (UTC)
:::: I think we can transclude a note onto the history tab without any MW software change - we can use [[mediawiki:histlegend]] as a temporary solution at least.
:::: Thank you for expanding on the types of attribution issues which we are not addressed in a standardised manner. I think we should build a list of good examples below. Feel free to add examples, and replace any where you have a better example of the same problem.
:::: I dont think we need to include OTRS tags verification.
:::: Your final comment about "pre-1923 text which is not 70pma" is an interesting problem which frequently arises on English Wikisource, where we put a very distinctive notice on the bottom of the text. Do you know of any instances where such ''text'' has been reused in English Wikipedia? If so, I agree that should be prominently mentioned. English Wikipedia has a similar problem with ''images''; although the images are clearly tagged, they are used in articles without any way for the casual reader to know the article includes images which are illegal in their country. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 11:54, 14 June 2011 (UTC)
::::: I don't currently have any examples of pre-1923 text though I did wonder if, for example, any of the poems of the First World War poets were reproduced substantially but I can't readily find any (poetry's not really my thing though). So this is perhaps more theoretical at present. By the way I have added a couple of examples of translation attribution to the list below. Is this the sort of thing that you are looking for? [[User:Boissière|Boissière]] ([[User talk:Boissière|talk]]) 22:32, 14 June 2011 (UTC)
:::::: Thank you. I've added ''[[The Sniper (poem)|The Sniper]]'', ''[[Ode of Remembrance]]'', ''[[Suicide in the Trenches]]'' and ''[[Scratchbury_Camp#Poetry|On Scratchbury Camp]]'' below. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 14:14, 15 June 2011 (UTC)
:Some examples of internal moving I'm aware of that created attribution problems (this is quite common when an article is split): [[Talk:History of Greek and Roman Egypt]] has the main notices, with [[Talk:History of Ptolemaic Egypt]] and [[Talk:Egypt (Roman province)]] having the corresponding notices. Sometimes the problem goes the other way (with a merge), but in this case it was a split after a long history at one location. I'm not sure it is entirely practical to attribute very old fragments of text that have been moved back-and-forth and up-and-down and all around, but certainly the movement of large chunks of text should be tracked and links made to or copies maintained of the editing history. [[User:Carcharoth|Carcharoth]] ([[User talk:Carcharoth|talk]]) 00:14, 17 June 2011 (UTC)
::But again... I'm not trying to be flippant here or anything, I'm honestly curious: why? What exactly is the interest in attributing specific bits of text in an article to specific users?<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 00:36, 17 June 2011 (UTC)
::: The GFDL requires that each new author is listed. See §4.I. We state that our text is available under the GFDL. For pages which are only available under CC-BY-SA, we must say so. Which means we need some consistent way of recording that a page isnt available under the GFDL. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 05:20, 17 June 2011 (UTC)
::::but... it doesn't say that specific bits of text need to be attributed to specific authors. Does it? We already ''do'' list each author, one way or another (as has already been outlined here), so... I guess that I'm just not clear on what the problem is. I have to be honest and admit that I don't see that there actually is anything to worry about here regardless, but it appears as though yourself and others are saying that there is some sort of legal issue here. Why should ''we'', as editors, be concerned about issues that responsible reusers and the Foundation should consult a competent lawyer about regardless of what any editor here says or does?<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 06:03, 17 June 2011 (UTC)
::::: If you don't care issues like this, why are you bothering to commenting here? Most ''editors'' don't hang around VPT. Some of us do care about current and potential re-users, especially when they are wanting to comply with the license and want advice. If you think this problem can be solved by a lawyer, then you havent understood the problem. If re-using Wikipedia content requires consulting a lawyer, we've failed to achieve the goals of http://freedomdefined.org/. I am often asked questions about reusing content, and I currently need to say that people should not re-use Wikipedia content unless they analyse the full edit history of the page and the associated talk page. The most 'freedom' supporting lawyer in the world will say "the advice of Wikipedia is sound, which is that you can not reuse Wikipedia content unless you manually eyeball every revision of the page and its associated talk page" and their client will say "oh, well that is impractical".<br/>Do you think it is practical for anyone to reuse Wikipedia content only after reading every revision of page and talk page? <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 07:01, 17 June 2011 (UTC)
::::::Well, I ''was'' trying to understand where you were coming from, and what it is that you wanted to be done (I have a small interest in working on the page history functionality in the software for a slightly different reason), but... no big deal. I'll leave you to carry on here without getting in your way.<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 12:05, 17 June 2011 (UTC)
:::::::In addition to §4.I, if you're still interested, you might want to see §5 of [[Wikipedia:Text of the GNU Free Documentation License]], specifically where it talks about combining documents released under GFDL, indicating that "In the combination, you must combine any sections Entitled 'History' in the various original documents, forming one section Entitled 'History'...." Since our goal as editors is to create content which can be freely distributed anywhere, we do want to do our best to make sure that we are keeping it free under the licenses that we've selected. That both licenses are important is suggested by the fact that we will not accept text licensed only under CC-By-SA if the contributor is the sole copyright owner (which means that if you've published something somewhere else first, you have to dually license it. The only exception is if you co-own copyright, in which case we ''will'' accept CC-By-SA-only licenses. Of course, we do accept CC-By-SA-only licenses authored by others; this complication arises when the person placing the content here is the copyright owner.) (Again, I'm not talking for the WMF here. :)) --[[User:Mdennis (WMF)|Maggie Dennis (WMF)]] ([[User talk:Mdennis (WMF)|talk]]) 17:58, 17 June 2011 (UTC)


{| class="wikitable"
----
!Large version (280px)
;Examples
!thumbnail version (not shown)
* [[Optics]], which has a note on the talk page and a separate history at [[Talk:Optics/Wikisource history]]. The results of the "contributors" tool can be seen [http://toolserver.org/~daniel/WikiSense/Contributors.php?wikilang=en&wikifam=.wikipedia.org&grouped=on&page=Optics here] and [http://toolserver.org/~soxred93/articleinfo/index.php?article=Optics&lang=en&wiki=wikipedia], and of course there is no mention of ScienceApologist/128.59.171.155 or [[user:Awadewit]]. The "Article Sources and Contributors" section of [[Book:Physics]] is six pages of usernames, but ScienceApologist doesnt get a mention.
!small version (220px) (not shown)
* [[Kubla Khan]] was imported from simple.wikipedia.[http://en.wikipedia.org/w/index.php?title=Kubla_Khan&diff=369484490&oldid=366018762] and the attribution is a note on the talk page: [[Talk:Kubla_Khan#update_from_Ottava_Rima]]. The author of the rewrite was banned user [[User:Ottava Rima]]. He had made some edits to that page before being banned, so he does appear in [http://toolserver.org/~daniel/WikiSense/Contributors.php?wikilang=en&wikifam=.wikipedia.org&grouped=on&page=Kubla_Khan Contributors]
|-
* [[Elegy Written in a Country Churchyard]] is also an import of [[User:Ottava Rima]]'s work on simple wikipedia, however this time there is no mention of him in the [http://toolserver.org/~daniel/WikiSense/Contributors.php?wikilang=en&wikifam=.wikipedia.org&grouped=on&page=Elegy_Written_in_a_Country_Churchyard Contributor list], and there is no obvious attribution note on the talk page (comments mention Ottava Rima, but nobody says the article was written by Ottava Rima).
||[[File:Nasseraldinshah3.png|280px]]
* [[Nucleosol]] has a {{tl|CCBYSASource}} note at the bottom which says that it includes text from [http://www.wikidoc.org/index.php?title=Nucleosol wikidoc]. The WikiDoc page has two editors: [[user:Marshallsumter]] is also an editor of the WP article however [[user:Zorkun]] hasnt edited the Wikipedia page, so they are not attributed.
|[[File:Nasseraldinshah3.png|thumbnail]]
* [[Colin_Gunton]] includes {{tl|Theopedia}} at the bottom, however it does not contain a link to [http://www.theopedia.com/Colin_Gunton theopedia] or any authorship information, so I am 100% confident that is violating their copyright.
|[[File:Nasseraldinshah3.png|220px]]
* [[David Douillet]] contains a (very small) template on the [[Talk:David Douillet|talk page]] saying that it is a translation of the corresponding fr.wiki article (but no details of which version of that page it is translated from and certainly no author info).
|-
* [[Hélène Dorion]] says (at the bottom) that it "contains information from the equivalent article on the French Wikipedia" with wikilinks to the relevant article and also to the fr.wiki mainpage for some reason.
|}
* [[The Sniper (poem)]], [[Ode of Remembrance]] and [[Suicide in the Trenches]] include a PD-1923 text which is not PD in the country of origin which requires 70pma. (Does [[Scratchbury_Camp#Poetry|On Scratchbury Camp]] fit within PD-1923? If not, it is a copyright infringement)


This problem happens in Windows OS and Edge, Chrome and Firfox browsers, but not at Android. Please inspect. Thanks, [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 08:24, 11 May 2024 (UTC)
== WikiProject category templates ==
:None of them are rendering for me. Firefox 125.0.3 --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 14:03, 11 May 2024 (UTC)
::@[[User:Redrose64|Redrose64]] If you zoom in and out, the pictures would appear and disappear. But why this phenomenon occurs? [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 14:27, 11 May 2024 (UTC)
:::OK, if I use {{keypress|Ctrl|+}} to zoom in one step (to 110%), the left-hand image appears. If I zoom in four more steps (making five in all), to 170%, the second and third appear. By this time, the images are approaching the "natural" size of the image, which is 394 × 532 pixels; my guess is that there's something funny about the jpeg encoding that doesn't allow reduction beyond a certain limit. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 15:14, 11 May 2024 (UTC)
::::@[[User:Redrose64|Redrose64]] Maybe! But this happens only for specific images between Wikipedia articles. When I view that at [[c:File:Nasseraldinshah3.png|commons]] or [[:File:Nasseraldinshah3.png|standalone]] it seems that zoom in/out has no effect on its appearance. [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 15:27, 11 May 2024 (UTC)
:There may be something broken with the full-size version of this image that browsers can cope with (which is why that can be displayed), while the software that's supposed to generate smaller versions can't. It may be enough just to download the affected images, open them in an image editing program, save a new copy, and upload that copy as a new version of each affected image (but I believe you need to be [[:c:commons:autopatrol|autopatrolled]] on Commons for that). [[User talk:Rummskartoffel|<span style="font-weight:normal;background:linear-gradient(90deg,#e40303,#ff8c00,#ffed00,#008026,#004dff,#750787);color:transparent;background-clip:text;-webkit-background-clip:text;">Rummskartoffel</span>]] 16:52, 11 May 2024 (UTC)
[[File:Nasseraldinshah3.png|thumb|100px|Size 100px]]
:MediaWiki appears unable to scale it to any size. Only the original upload works. HTML for the "small" 220px version:
:<code><nowiki><a href="/wiki/File:Nasseraldinshah3.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/220px-Nasseraldinshah3.png" decoding="async" width="220" height="297" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/330px-Nasseraldinshah3.png 1.5x, //upload.wikimedia.org/wikipedia/commons/d/db/Nasseraldinshah3.png 2x" data-file-width="394" data-file-height="532"/></a></nowiki></code>
:MediaWiki uses <code>srcset</code> to offer different sizes and let the browser choose depending on circumstances. The above has three choices:
# https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/220px-Nasseraldinshah3.png
# https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/330px-Nasseraldinshah3.png
# https://upload.wikimedia.org/wikipedia/commons/d/db/Nasseraldinshah3.png (original 394px upload)
:A smaller 100px version doesn't include the original 394px in <code>srcset</code> so no zooming will help there. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 16:44, 11 May 2024 (UTC)
:Oddly, for me with Chrome 124.0.6367.158, looking at the [https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=prev&oldid=1223313851&diffmode=visual diff for the initial post in visual diff mode] displays all three images in the diff, but not in the page being displayed below the diff (I only see the leftmost image). (On Firefox 125.0.3, only the leftmost image is displayed in the visual diff and the page displayed below.) [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 17:24, 11 May 2024 (UTC)
::Also when I do a simple reload via Ctrl-R on Chrome, all three images are displayed. (I see all three after posting a comment in this section; presumably the equivalent of a simple reload is being done.) If I do a force reload of the entire page via Shift-Ctrl-R on Chrome, just the leftmost image is shown. For me, page zoom doesn't cause the images to display/not display. [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 17:31, 11 May 2024 (UTC)
::The 100px version in PrimeHunter's post doesn't display for me under any of these cases. [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 17:40, 11 May 2024 (UTC)
::With both simple reload and force reload, I see three network requests being made. The first is for Nasseraldinshah3.png and it succeeds. The second two are for 330px-Nasseraldinshah3.png and 150px-Nasseraldinshah3.png, and they fail with a 429 code, "Too many requests". (As previously noted, the three images are displayed after the simple reload.) [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 18:05, 11 May 2024 (UTC)
:::Is this one of those multitudinous image problems that needs the image to be reuploaded to be fixed?<span id="Qwerfjkl:1715452481170:WikipediaFTTCLNVillage_pump_(technical)" class="FTTCmt"> —&nbsp;[[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 18:34, 11 May 2024 (UTC)</span>
::::I don't know. I think I understand better now why a simple reload causes the images to appear: since the original file URL (which was successfully retrieved) appears in the srcset for each of the images in the original post (but, as PrimeHunter stated, it doesn't get included for the 100px version), the browser will just use that to refresh the page, rather than try to match the file with the most appropriate pixel density based on the physical display (since with a simple refresh, the browser will try to avoid loading the images again, so there's no need to do a match if any of the images in the set are already available). My device probably has a different pixel density than the other commenters, such that changing the zoom level isn't causing the original image to be a match to be loaded. [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 22:58, 11 May 2024 (UTC)
:::I've uploaded a corrected version, but due to the 429, it will probably take a while (not sure how long) before we can see the effect of that. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 09:16, 13 May 2024 (UTC)
::::It's fixed now. I processed it with the png-fix-IDAT-windowsize utility, to correct the invalid checksum it contained. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 15:30, 13 May 2024 (UTC)


== Can't login to the Wikipedia library ==
A large number of WikiProject categories have been CFDed to use "importance" rather than "priority" - the list is at [[Wikipedia:Categories for discussion/Working/Manual#Other]]. However I can't locate the precise point to adjust the templates that populate them - is anyone able to find and initiate the change? [[User:Timrollpickering|Timrollpickering]] ([[User talk:Timrollpickering|talk]]) 07:11, 10 June 2011 (UTC)


I do get this message "We are unable to validate your login credentials. Please contact your institution for assistance. Please note, Referring URL authentication may have been prevented by antivirus or privacy control software" but I'm not convinced that's the issue. But if others are able to login, it must be. Thanks. [[User:Doug Weller|<span style="color:#070">Doug Weller</span>]] [[User talk:Doug Weller|talk]] 09:34, 11 May 2024 (UTC)
== TW SPI reporting not working ==


:I don't have the issue when I can see my credential in the upper right hand corner, and then search for [[Wikipedia:TWL]] . I can then see the library when I click on '''database access'''. Maybe the message is an artifact. -- [[User:Ancheta Wis|Ancheta Wis]] [[User talk:Ancheta Wis| &nbsp; (talk]] [[Special:Contributions/Ancheta Wis| &#124; contribs)]] 09:50, 11 May 2024 (UTC)
The sock reporting component of Twinkle is not working. [[User:Dr.K.|Dr.K.]]&nbsp;<small><sup style="position:relative">[[User talk:Dr.K.|λogos]]<span style="position:relative;bottom:-2.0ex;left:-5.2ex;*left:-5.5ex">[[Special:Contributions/Dr.K.|πraxis]]</span></sup></small> 07:34, 10 June 2011 (UTC)
:The error message matches one at [https://connect.ebsco.com/s/article/I-received-an-error-code-when-I-tried-to-log-in-to-EBSCOhost-What-do-these-error-messages-mean?language=en_US EBSCO], which is just one of the partners with TWL. I doubt it's TWL you can't log into. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 10:18, 11 May 2024 (UTC)
:Please see [[WT:Twinkle]] —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 15:35, 10 June 2011 (UTC)
::@[[User:Nardog|Nardog]]@[[User:Ancheta Wis|Ancheta Wis]] That makes sense. I can login to the WL but not use it to search for articles. I can click on Access Collection - but I'm puzzled by the fact that when I click on Brill it looks as though it just takes me to their web page, and if I click on a books offers it for sale. I've never clicked on Brill before so don't know if that's what it should do. [[User:Doug Weller|<span style="color:#070">Doug Weller</span>]] [[User talk:Doug Weller|talk]] 12:14, 11 May 2024 (UTC)
:Hello [[User:Doug Weller|Doug Weller]]! I'm having the same problem, can get to the [https://wikipedialibrary.wmflabs.org/users/my_library/ Library page] but as soon as I use the search I'm taken to the [https://search.ebscohost.com/login.aspx?custid=ns253359&groupid=main&profid=eds&scope=site&site=eds-live&direct=true&authtype=url&lang=en-gb&bquery=the EBSCO Error page] you describe. Others also reporting this problem, [[Wikipedia talk:The Wikipedia Library#Cannot search|like here]]. I use the Library all the time, use it to access ProQuest as an invaluable source for referencing. Hope this is just a temporary glitch. Take care, [[User:LooksGreatInATurtleNeck|LooksGreatInATurtleNeck]] ([[User talk:LooksGreatInATurtleNeck|talk]]) 22:37, 11 May 2024 (UTC)
::Thanks. Looks like there are other problems as well. [[User:Doug Weller|<span style="color:#070">Doug Weller</span>]] [[User talk:Doug Weller|talk]] 02:46, 12 May 2024 (UTC)
:cc @[[User:Samwalton9 (WMF)|Samwalton9 (WMF)]]. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 17:00, 13 May 2024 (UTC)
::{{re|Doug Weller|Ancheta Wis|Nardog|LooksGreatInATurtleNeck|Novem Linguae}} Apologies for the delay in responding here, but we believe this issue should now be fixed. [[User:Samwalton9 (WMF)|Samwalton9 (WMF)]] ([[User talk:Samwalton9 (WMF)|talk]]) 08:48, 15 May 2024 (UTC)
:::Hello [[User:Samwalton9 (WMF)|Samwalton9]]! No worries, I saw the reply [[Wikipedia talk:The Wikipedia Library#Cannot search|over on the Wikipedia Library talk page]]. Thank-you kindly for fixing the issue! The Library is so useful for researching & referencing, I wouldn't want to be without it. Take care, [[User:LooksGreatInATurtleNeck|LooksGreatInATurtleNeck]] ([[User talk:LooksGreatInATurtleNeck|talk]]) 10:38, 15 May 2024 (UTC)
:::@[[User:Samwalton9 (WMF)|Samwalton9 (WMF)]] Thanks. Ironic that when I searched for an article it led to a nonexistent page. I still found it though. [[User:Doug Weller|<span style="color:#070">Doug Weller</span>]] [[User talk:Doug Weller|talk]] 12:39, 15 May 2024 (UTC)


== Can anyone think/suggest how to reliably archive a docx document from a website? ==
== Huggle ==


I want to archive https://dam.gettyimages.com/viewer/universal/rc3x9h8n56vqfxvhx7fjs which is a production notes/press document for the 2024 film [[Abigail (2024 film)|Abigail]] since if I can't back it up it's just at very likely risk of Link Rot since they don't host these forever.
I'm trying to configure Huggle so that no talk pages are included. I can't seem to get the command right. The command I found [[Wikipedia:Huggle/Configuration#User configuration|Here]] seems to be (namespaces:"alltalk") If I read the parameter correct wrapping (alltalk) with ("") disables Huggle from reading and loading talk pages. What is happening is talk pages are still being loaded and when exiting Huggle it reverts the command off my huggle.css page. What am I doing wrong ? [[User:Mlpearc|<span style='font-family:;color:#800020'>'''Mlpearc'''</span>]] <small>[[User_talk:Mlpearc|<span style='font-family:;color:#CFB53B'>'''powwow'''</span>]]</small> 15:19, 10 June 2011 (UTC)


I tried webarchive but all it saves is the frame, not the content (https://web.archive.org/web/20240511101050/https://dam.gettyimages.com/viewer/universal/rc3x9h8n56vqfxvhx7fjs) and archive.today which does save the doc but only the first couple of pages (https://archive.ph/R8LNy), and finding the direct link to the document [https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.dam.gettyimages.com%2Frc3x9h8n56vqfxvhx7fjs%2Fv%2F1178098231%2Foriginal%2FABIGAIL_PRODUCTION%2520INFORMATION_APPROVED.docx%3FExpires%3D1716027469%26KeyName%3Dgcs-bfldr-prod%26Signature%3D-HOWYQ02P571nQnh2BXRFSc0iv8%3D here] didn't have any further success. Anyone know of any options that will work on reliable long term archive sites? Thanks [[User:Darkwarriorblake|Darkwarriorblake]] ([[User talk:Darkwarriorblake|talk]]) 10:35, 11 May 2024 (UTC)
:Probably best asked at [[Wikipedia:Huggle/Feedback]].&nbsp;–&nbsp;[[User:Ukexpat|ukexpat]] ([[User talk:Ukexpat|talk]]) 16:15, 10 June 2011 (UTC)
::I think you need to add {{code|namespaces:-alltalk}} to your CSS page. You'd probably have to ask on the Huggle talk pages why it's removing stuff though. — [[User:Bility|Bility]] ([[User talk:Bility|talk]]) 16:17, 10 June 2011 (UTC)


:Archived at [https://web.archive.org/web/20240511195135/https://assets.dam.gettyimages.com/rc3x9h8n56vqfxvhx7fjs/v/1178098231/original/ABIGAIL_PRODUCTION%20INFORMATION_APPROVED.docx?dl=true&Expires=1715543494&KeyName=gcs-bfldr-prod&Signature=zi-YR73Sm_x-u1-q17OD5503uPU= this link]. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 20:18, 11 May 2024 (UTC)
:::Thank you, and Hello Ukexpat, long time no read {{smiley}} . [[User:Mlpearc|<span style='font-family:;color:#800020'>'''Mlpearc'''</span>]] <small>[[User_talk:Mlpearc|<span style='font-family:;color:#CFB53B'>'''powwow'''</span>]]</small> 16:36, 10 June 2011 (UTC)
::That's amazing, thanks {{u|ActivelyDisinterested}}, what was I missing? You archived the download link instead? [[User:Darkwarriorblake|Darkwarriorblake]] ([[User talk:Darkwarriorblake|talk]]) 21:09, 11 May 2024 (UTC)
:::Archived the download load link, that's just a redirect but archive.org saves the redirect destination as well. Find where the reditect went and you have your archive link. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 23:15, 11 May 2024 (UTC)


== Migrating SQL data from one toolforge db to another ==
== Last login - "touched field" ==


I run two tools on toolforge, both of which have SQL databases. I'd like to consolidate them under one of the tools and would like to migrate the data in one of the databases to the other. I could do this with a script to extract the data to a file, then connect to the other location and insert the data, but that's a lot more trouble than <code>insert into <newdb>.<newtable> select * from <olddb>.<oldtable></code>, which is how I'd do it in SQL Server. For that I would need to be simultaneously connected to both databases at the SQL prompt, with write permission on the new database at the same time as read permission on the existing database, which is not currently public. Is there a way to do this at the MariaDB SQL prompt or do I have to just write that script? [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 12:42, 11 May 2024 (UTC)
In the discussion about inactive admins, [[User:Ohms law]] mentioned [[Wikipedia:Village_pump_(proposals)/suspend_sysop_rights_of_inactive_admins#Touched_field|here]] a "touched field" in the [[:MW:User_table#user_touched|user table]], and mentioned that there are likely extensions that already make use of it. I was watching that post but no responses were forthcoming. Do any such extensions exist? How feasible would it be to give certain users (crats, CUs, etc.) access to last-login information? I'm not trying to weigh the ''merit'' of a function like this, just the feasibility. ▫ '''[[User:JohnnyMrNinja|<font color="#202040">Johnny</font><font color="#204040">Mr</font><font color="#206040">Nin</font><font color="#204040">ja</font>]]''' 16:42, 10 June 2011 (UTC)
* As far as I know, most Toolforge tools' databases are still on the same server. But probably neither tool's database user has read access to the other's. You might try asking for help via one of the channels listed at [[wikitech:Help:Cloud Services communication]]. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 13:33, 11 May 2024 (UTC)
:I've done some looking around, [[:MW:Extension:LastLoginTime]] seems to allow users to see their own login time, and [[:MW:Extension:UserSnoop]] seems to allow an array of functions and requires a special right. Could these be easily modified for the purpose? ▫ '''[[User:JohnnyMrNinja|<font color="#202040">Johnny</font><font color="#204040">Mr</font><font color="#206040">Nin</font><font color="#204040">ja</font>]]''' 03:46, 12 June 2011 (UTC)
*:I will try that; thanks. [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 19:09, 11 May 2024 (UTC)


:{{tq|I could do this with a script to extract the data to a file, then connect to the other location and insert the data}}. This is how I would do it. Can probably do everything you need from the command line. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 16:59, 13 May 2024 (UTC)
== How does one colour a an entire column in a table? ==


== ListeriaBot ==
Eg. In the [[List of metropolitan areas in the Americas]], I want to seperate the cities located in North America from those in south America so I was thinking of making them different colors. Can anybody help? <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:ThisguyYEAH|ThisguyYEAH]] ([[User talk:ThisguyYEAH|talk]] • [[Special:Contributions/ThisguyYEAH|contribs]]) 19:20, 10 June 2011 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:I think you'd have to color each cell individually, but please don't - we shouldn't convey information using color alone. I think the county is sufficient, or you could include a symbol to state which continent. --[[User:Golbez|Golbez]] ([[User talk:Golbez|talk]]) 19:41, 10 June 2011 (UTC)


I have written a SPARQL query that works perfectly on Wikidata query service but [[User:ListeriaBot|ListeriaBot]] seems unable to execute it and generate a table from it unless I delete the big optional clause. Please see [[Wikipedia:WikiProject AfroCreatives/Missing articles by country/Morocco|here]] the template syntax and a link to the query on WDQS where you can run and verify the results (see the [https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3FitemLabel_en%20%3Fimage%20(SAMPLE(%3FitemLabel)%20AS%20%3FitemLabel)%20(SAMPLE(%3Farticle)%20AS%20%3Farticle)%20(SAMPLE(%3FlanguageLabel)%20AS%20%3FlanguageLabel)%0AWHERE%0A%7B%20%0A%20%20%23%20Specify%20film%20and%20TV%20industry%20roles%0A%20%20VALUES%20%3Focc%20%7B%0A%20%20%20%20wd%3AQ935666%20%23Film%20researcher%0A%20%20%20%20wd%3AQ935666%20%23makeup%20artist%0A%20%20%20%20wd%3AQ28389%20%23Screenwriter%0A%20%20%20%20wd%3AQ101947581%20%23Production%20Accountant%0A%20%20%20%20wd%3AQ5270608%20%23Dialogue%20editor%0A%20%20%20%20wd%3AQ6941738%20%23Music%20editor%0A%20%20%20%20wd%3AQ2526255%20%23Director%0A%20%20%20%20wd%3AQ1757008%20%23Assistant%20directorwd%3AQ28135085%20%23Acting%20coach%0A%20%20%20%20wd%3AQ21292974%20%23Production%20manager%0A%20%20%20%20wd%3AQ222344%20%23Director%20of%20photography%0A%20%20%20%20wd%3AQ4178004%20%23Publicist%0A%20%20%20%20wd%3AQ943995%20%23Talent%20Manager%0A%20%20%20%20wd%3AQ1093536%20%23Location%20manager%0A%20%20%20%20wd%3AQ6409989%20%23Set%20decorator%0A%20%20%20%20wd%3AQ2867219%20%23Production%20assistant%0A%20%20%20%20wd%3AQ373709%20%23Boom%20operator%0A%20%20%20%20wd%3AQ1639269%20%23Assistant%20camera%0A%20%20%20%20wd%3AQ2961972%20%23Sound%20recordist%0A%20%20%20%20wd%3AQ1424726%20%23Gaffer%0A%20%20%20%20wd%3AQ2962070%20%23Production%20designer%0A%20%20%20%20wd%3AQ1547003%20%23Key%20grip%0A%20%20%20%20wd%3AQ1430377%20%23Propmaster%0A%20%20%20%20wd%3AQ110133191%20%23Postproduction%20supervisor%0A%20%20%20%20wd%3AQ17156829%20%23Music%20supervisor%0A%20%20%20%20wd%3AQ1208175%20%23Camera%20operator%0A%20%20%20%20wd%3AQ1111648%20%23Colorist%0A%20%20%20%20wd%3AQ55187%20%23hairstylist%0A%20%20%20%20wd%3AQ2707485%20%23Set%20designer%0A%20%20%20%20wd%3AQ3237618%20%23Wardrobe%20stylist%0A%20%20%20%20wd%3AQ8313%20%23Special%20effects%20coordinator%0A%20%20%20%20wd%3AQ3024424%20%23Sound%20designer%0A%20%20%20%20wd%3AQ2833480%20%23Stunt%20coordinator%0A%20%20%20%20wd%3AQ1323191%20%23Costume%20designer%0A%20%20%20%20wd%3AQ706364%20%23Art%20director%0A%20%20%20%20wd%3AQ1263187%20%23Script%20Supervisor%0A%20%20%20%20wd%3AQ36834%20%23Composer%0A%20%20%20%20wd%3AQ33999%20%23Actor%0A%20%20%20%20wd%3AQ2961972%20%23Production%20sound%20mixer%0A%20%20%20%20wd%3AQ7042855%20%23Film%20Editor%0A%20%20%20%20wd%3AQ758870%20%23Sound%20editor%0A%20%20%20%20wd%3AQ3282637%20%23Producer%0A%20%20%20%20wd%3AQ1826375%20%23Line%20producer%0A%20%20%20%20wd%3AQ11999333%20%23Associate%20producer%0A%20%20%20%20wd%3AQ1053574%20%23Executive%20Producer%0A%20%20%20%20wd%3AQ1364080%20%23Visual%20effects%20producer%0A%20%20%20%20wd%3AQ1049296%20%23Casting%20director%0A%20%20%20%20wd%3AQ1415225%20%23Production%20coordinator%0A%20%20%20%20wd%3AQ4220892%20%23Film%20critic%0A%20%20%7D%20%20%0A%20%20%23%20Specify%20Country%20to%20filter%20by%0A%20%20VALUES%20%3Fcountry%20%7Bwd%3AQ79%7D%0A%20%20%0A%20%20%3Fitem%20wdt%3AP106%20%3Focc%3B%20%20%20%23%20Filter%20by%20specified%20occupations%0A%20%20%20%20%20%20%20%20wdt%3AP27%20%3Fcountry.%20%20%23%20Filter%20by%20country%20(Morocco)%0A%20%20%0A%20%20%23%20Ensure%20item%20is%20NOT%20on%20local%20Wikipedia%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fwen%20schema%3Aabout%20%3Fitem%20.%20%3Fwen%20schema%3AinLanguage%20'en'%20%7D%0A%20%20%0A%20%20%23%20Retrieve%20label%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20'en'.%0A%20%20%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel_en.%0A%20%20%7D%0A%20%20%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP18%20%3Fimage.%0A%20%20%20%20%7D%0A%20%20%0A%20%20%23%20Pick%20non-local%20Wikipedia%20article%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%23%20Get%20languages%20spoken%20by%20the%20person%0A%20%20%20%20%3Fitem%20wdt%3AP1412%20%3Flanguage.%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20'en'.%0A%20%20%20%20%3Flanguage%20rdfs%3Alabel%20%3FlanguageLabel.%0A%20%20%20%20%7D%0A%20%20%20%20%3Flanguage%20wdt%3AP424%20%3FlangCode.%0A%20%20%20%20%23%20Get%20the%20item's%20label%20in%20the%20specified%20language%0A%20%20%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel.%0A%20%20%20%20FILTER(LANG(%3FitemLabel)%20%3D%20%3FlangCode)%0A%20%20%20%20%23%20Construct%20Wikipedia%20URL%20for%20the%20specified%20language%0A%20%20%20%20BIND(URI(CONCAT(%22https%3A%2F%2F%22%2C%20%3FlangCode%2C%20%22.wikipedia.org%2F%22))%20AS%20%3FarticleLink)%20%0A%20%20%20%20%3Farticle%20schema%3Aabout%20%3Fitem%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20schema%3AisPartOf%20%3FarticleLink.%0A%20%20%20%20%3Farticle%20schema%3Aname%20%3Fsitelink.%0A%20%20%7D%0A%7D%0AGROUP%20BY%20%3Fitem%20%3FitemLabel_en%20%3Fimage%0ALIMIT%205000 Query] here too. I just wanted to test the water here and see if someone have had a similar experience before I contact the bot operator who might have their hands full. [[User:Assem Khidhr|Assem Khidhr]] ([[User talk:Assem Khidhr|talk]]) 04:06, 12 May 2024 (UTC)
== Sorting talk pages with a template ==


== Very long response times ==
'''Please assist''' {{tl|OnThisDay}} adds talk pages in the form of (e.g.) <nowiki>Category:Selected anniversaries articles (March 2009)|{{PAGENAME}}</nowiki>, which means that a page such as [[Talk:The Beatles]] gets sorted as "The Beatles" rather than "Beatles"&mdash;is there a way to fix this? Thanks. —[[User:Koavf|Justin (koavf)]]❤[[User talk:Koavf|T]]☮[[Special:Contributions/Koavf|C]]☺[[Special:Emailuser/Koavf|M]]☯ 20:53, 10 June 2011 (UTC)
:Yes, you can wrap {{code|<nowiki>{{PAGENAME}}</nowiki>}} in a custom sort parameter, like {{code|<nowiki>{{{catsort|{{PAGENAME}}}}}</nowiki>}} so that it uses the parameter but defaults to the page name so it can be safely omitted if you don't need it and won't affect already-transcluded OnThisDay templates. — [[User:Bility|Bility]] ([[User talk:Bility|talk]]) 21:21, 10 June 2011 (UTC)
::Quite a lot of templates which categorise a page will force the sort key to <code><nowiki>{{PAGENAME}}</nowiki></code>, which has always puzzled me. This would make sense if the normal action in the absence of a sortkey was to take the namespace into account (i.e. that putting <code><nowiki>[[Category:Test]]</nowiki></code> onto Talk:Foobar would sort that page under T, not F); but it doesn't work that way - Talk:Foobar sorts under F. It's a pain because a forced sortkey like this defeats the action of <code><nowiki>{{DEFAULTSORT:}}</nowiki></code>; and on talk pages, the <code><nowiki>{{DEFAULTSORT:}}</nowiki></code> is normally simulated by adding the {{para|listas}} parameter to one of the WikiProject banners (usually the first one).
::I was actually looking at this specific case quite recently - the template concerned isn't {{tlx|OnThisDay}} itself, but {{tlx|OnThisDay/link}}, which contains the following:
:::<code><nowiki>[[Category:Selected anniversaries ({{#time:F Y|{{{date}}}}})|{{PAGENAME}}]]</nowiki></code>
::It beats me why this particular template should require a default sort key to be defeated. Personally I think that it could be simplified to
:::<code><nowiki>[[Category:Selected anniversaries ({{#time:F Y|{{{date}}}}})]]</nowiki></code>
::I suppose this should be brought up either at [[Template talk:OnThisDay]] or at [[Wikipedia talk:Selected anniversaries]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 13:51, 11 June 2011 (UTC)
:::<nowiki>{{PAGENAME}}</nowiki> is always the base page name, not the full name including the namespace. Therefore, your suggested edit would place all pages in that category under the T of Talk:. [[User talk:Ucucha|Ucucha]] 12:22, 14 June 2011 (UTC)
::::Your first statement is correct; the full name including the namespace would be <code><nowiki>{{FULLPAGENAME}}</nowiki></code>. But your second is incorrect: this is easily demonstrated by locating a talk page which has no banners (because they might cloud the issue by invoking a hidden <code><nowiki>{{DEFAULTSORT:}}</nowiki></code>), and onto that, add a category without specifying a sort key, and after saving, look in the category to see where it's been sorted. See [[Talk:Sioux Webserver]] and the only category that it's in - [http://en.wikipedia.org/w/index.php?title=Category:Unassessed_Computing_articles&from=SI Category:Unassessed Computing articles]. For me, I see it sorted under S, not under T. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 13:54, 14 June 2011 (UTC)
:::::You're right. I'm almost sure it previously was as I wrote; the change might have to do with the new sort collation algorithm. [[User talk:Ucucha|Ucucha]] 13:56, 14 June 2011 (UTC)


I'm experiencing very long response times currently. Anyone else? [[User:Nurg|Nurg]] ([[User talk:Nurg|talk]]) 09:18, 12 May 2024 (UTC)
== New messages bar ==
:Me too. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 09:19, 12 May 2024 (UTC)
:I got maintenance message. [[User:Grabup|Grabup]] ([[User talk:Grabup|talk]]) 09:20, 12 May 2024 (UTC)
:seems there was a bit of a spike, but things returned to normal. https://www.wikimediastatus.net —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 09:49, 12 May 2024 (UTC)


== AFD signature needs correction ==
The bar, no matter what colour it's in is bloody annoying. I propose that we use a central notice style notice, that would be far less intrusive and would be just as effective. —<span style="font-family:trebuchet ms;">'''[[User:Ancient Apparition|James]] <sup>([[User talk:Ancient Apparition|Talk]] • [[Special:Contributions/Ancient Apparition|Contribs]])</sup>''' • '''3:45pm''' •</span> 05:45, 11 June 2011 (UTC)
*I think part of the reason for the conspicuousness (is that a word?) is so that you're alerted in case someone is trying to reach you urgently. For example, someone might be trying to tell you that a string of edits you're making is causing a problem. It's doubly annoying in AWB, where you not only get a window telling you that you have messages, but the whole process gets stopped until you address it. Not that I'd change that, I'm just sayin'. --[[User:Auntof6|Auntof6]] ([[User talk:Auntof6|talk]]) 05:53, 11 June 2011 (UTC)
*Indeed. It strikes fear into into the most established users :P You're not going to succeed in changing it for everyone (it's too engrained now), but you could probably restyle yours to be more like a central notice. - [[User:Jarry1250|Jarry1250]]&nbsp;<sup>[''[[Special:Contributions/Jarry1250|Weasel?]] [[User_talk:Jarry1250|Discuss]].'']</sup> 10:34, 11 June 2011 (UTC)
**I use a lovely light blue and even then it's still bloody annoying :P I'm not so confident with CSS, I wouldn't know how to make it look like the central notice, though it would be nice if this were the default. I've come across quite a few users who'd rather get emailed. —<span style="font-family:trebuchet ms;">'''[[User:Ancient Apparition|James]] <sup>([[User talk:Ancient Apparition|Talk]] • [[Special:Contributions/Ancient Apparition|Contribs]])</sup>''' • '''9:46pm''' •</span> 11:46, 12 June 2011 (UTC)
***Well now of course you do get emailed (by default). I guess you could probably just hide it? Or make the background white? Those are relatively simple operations. - [[User:Jarry1250|Jarry1250]]&nbsp;<sup>[''[[Special:Contributions/Jarry1250|Weasel?]] [[User_talk:Jarry1250|Discuss]].'']</sup> 13:18, 12 June 2011 (UTC)


I edited [[Wikipedia:Articles for deletion/Cloverland, Washington]] prior to its closure, but probably didn't get something on the correct line. When it closed, it didn't show up at my AFC stats page. I think I erred on where I signed. Tried to correct it after it closed, with no luck. Other than that, it looks like others have also edited the closed template, and possibly re-opened it. I think others need to have a look at the status of this AFD. Thanks. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 17:45, 12 May 2024 (UTC)
== "Mark all edits minor by default" is now disabled for all users ==


:The AFD is still open. The "closure" was by a sock forging another user's signature. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 17:58, 12 May 2024 (UTC)
Just a heads up, "Mark all edits minor by default" is now disabled for all users, this is for the completion of [[bugzilla:24313]]. For users that want this facility, you can use the [[WP:Userscript]] that can be found [[mw:Snippets/Mark_minor_edit|here]] or several from the original [[Wikipedia:Village_pump_(technical)/Archive_78#Preference_to_mark_all_edits_minor_by_default_asked_to_be_removed_in_bugzilla:24313|VPT]] discussion. [[User:Peachey88|Peachey88]] <sup>([[User_Talk:Peachey88|T]]&nbsp;<span style="font-weight:bold;">&middot;</span>&#32; [[Special:Contributions/Peachey88|C]])</sup> 07:38, 11 June 2011 (UTC)
::Thanks [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:04, 12 May 2024 (UTC)


:::{{u|Suffusion of Yellow}} There's still an odd glitch. Normally, when I edit an open AFD, it shows up almost immediately on my [https://afdstats.toolforge.org/afdstats.py?name=Maile66&max=&startdate=&altname= AfD Statistics for User:Maile66], but it's still not showing up. Any ideas on what I did wrong? [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:20, 12 May 2024 (UTC)
:I've gone ahead and fixed the heading title; I changed "not" to "now". '''[[User:Graham87|Graham]]'''<font color="green">[[User talk:Graham87|87]]</font> 07:50, 11 June 2011 (UTC)


:::I got it, finally! It didn't like where I put my signature, or something like that. It works now. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:38, 12 May 2024 (UTC)
== Redirect capitalization tool ==


== Force collapse navboxes ==
I have just discovered that "[[Google Phone]]" and "[[Google phone]]" redirect to different places. When a redirect is being created, maybe it would be useful if there were a built-in Wikipedia tool that checks alternative capitalizations and prompts the contributor if they already exist; if alternative capitalizations do not exist, then the tool could ask the contributor if he/she wants to create them. [[User:LittleBenW|LittleBen]] ([[User talk:LittleBenW|talk]]) 14:05, 11 June 2011 (UTC)
:Feature request should be made in [[bugzilla:]]. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 13:57, 12 June 2011 (UTC)


Is there any script or piece of CSS to collapse all navboxes? -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 18:58, 12 May 2024 (UTC)
== DNS alias for moble wikipedia ==
:[[User:SD0001/AllCollapseToggle.js]]. It places a "Collapse all" / "Uncollapse all" button under the Tools menu. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 05:17, 13 May 2024 (UTC)
::Doesn't that already exist in core? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 05:23, 13 May 2024 (UTC)
::Thanks SD0001, much appreciated. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 09:38, 13 May 2024 (UTC)


== May 2024 Accessibility for Reading Update: appearance menu, upcoming font size changes and customization, dark mode, and more ==
http://en.m.wikipedia.org/ is the URL of the mobile-phone/small-device optimised version of wikipedia. However, the similar URL http://m.en.wikipedia.org/ is not supported. It would be nice if they latter was a DNS alias to the former. Or http://m.en.wikipedia.org/$FOO is a HTTP 301 (Moved Permanently) redirect to http://en.m.wikipedia.org/$FOO. -- [[User:Csmiller|CS Miller]] ([[User talk:Csmiller|talk]]) 16:44, 11 June 2011 (UTC)
:I am fairly certain that is a [[bugzilla:|bugzilla]] sort of request. [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 22:48, 12 June 2011 (UTC)


[[File:Accessibility_for_reading_unpinned.jpg|thumb|200px|The Appearance menu with the corresponding parts: 1. Typography 2. Dark mode 3. Page width options]]
:I filed [[bugzilla:29364]] about this. --[[User:MZMcBride|MZMcBride]] ([[User talk:MZMcBride|talk]]) 00:48, 13 June 2011 (UTC)
Hi everyone! This is an update on the current work of the [[mw:Reading/Web|Web team]] on the [[mw:Reading/Web/Accessibility_for_reading|Accessibility for Reading]] initiative that introduces changes to the Vector 2022 and Minerva skins. It improves readability, and allows everyone, both logged-out and logged-in users, to customize reading-focused settings. It will also increase the default font size for logged-out users of wikis and introduce dark mode. Customization will be done through the new Appearance menu, which will contain options for customizing 1. typography (font size, line height, and paragraph spacing combined), 2. color scheme (dark/light), and 3. page width.


'''1. Appearance menu, typography improvements, and font size changes for logged-out users'''
== Image thumbnail purge request ==


In December 2023, we introduced the [[Special:Preferences#mw-prefsection-betafeatures|"Accessibility for Reading" beta feature]]. It adds the Appearance menu which allows logged-in users to choose different font sizes and page widths. This makes it possible for people to read in a font size that they prefer and customize their experience. Since the introduction of the menu, we have studied its usage and performed [[mw:Reading/Web/Accessibility_for_reading/Repository/Usability_testing|usability testing]]:
The thumbnail for the image [[:File:Barclays_Cycle_Hire_bike_handlebar.jpg]], which is used on [[Barclays Cycle Hire]] is corrupt (has black bands through it); the full-size image sees to be fine. I've followed the instructions at [[Wikipedia:Purge#For_images]] to no avail. Could someone force a purge for me? [[User:Csmiller|CS Miller]] ([[User talk:Csmiller|talk]]) 16:53, 11 June 2011 (UTC)
:The image itself seems corrupt; it generate bands at any but the original resolution. <span style="font-family:'Trebuchet MS',sans-serif"> — [[User:Edokter|<span style="color:#008"><i>E</i>dokter</span>]] ([[User_talk:Edokter|<span style="color:#080">talk</span>]]) — </span> 18:30, 11 June 2011 (UTC)
::I'm not sure whether it's the image or the scaling algorithm. And the band are visible only at size of 482 px of smaller. <tt>[[User:Svick|User&lt;Svick&gt;]].[[User talk:Svick|Talk()]][[User:Svick/Signature|;]]</tt> 22:42, 11 June 2011 (UTC)
:::This is [[bugzilla:24854]], an upstream bug in the image conversion software [[ImageMagick]] that Wikipedia uses. Work around is to convert the image from CMYK to RGB and reupload. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 13:56, 12 June 2011 (UTC)
::::Shouldn't all images be uploaded in the RGB colourspace rather than CMYK? CMYK is for printed images not for screen display.&nbsp;–&nbsp;[[User:Ukexpat|ukexpat]] ([[User talk:Ukexpat|talk]]) 20:28, 15 June 2011 (UTC)


* No significant issues were observed, but based on the feedback, we have changed the copy and behavior of the menu (for example, we have renamed the "night" color scheme to "dark").
== Category search / Related search ==
* The majority of users who interact with the feature [[phab:T359418#9694334|opt for a font size that is larger]] than the current default. This confirms our hypothesis that most users prefer a larger font size. We previously saw this in the findings from the [[mw:Special:MyLanguage/Reading/Web/Accessibility_for_reading/Repository/Community_prototype_testing/Analysis|community prototype testing]].


Based on this data, we plan on increasing the default font size for all readers. The current (smaller) default will be kept for logged-in users and as one of the options so that anyone can return to the font size used in the past.
The search box in Wikipedia doesn't search categories for a search term by default. Would it be helpful to have an "(include) categories" option check box next to "search"? It seems that a "topic name" can appear as a category name but not as an article name, making it difficult to find.


'''2. Dark mode'''
A related idea: sometimes there are many nearly-identical articles about the same topic. If they have not been placed in the same category then they may be difficult to find. Google is perhaps the best tool for finding such articles. Would a "use Google to search" option be useful (if both Google and Wikipedia agreed to permit this)? [[User:LittleBenW|LittleBen]] ([[User talk:LittleBenW|talk]]) 19:55, 11 June 2011 (UTC)
:Both exist already. In the first case, don't enter any search criteria at first, but instead click the [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=&button= magnifying glass], and then click on [http://en.wikipedia.org/w/index.php?title=Special:Search&fulltext=Search&advanced=1&ns0=1&redirs=0&search= Advanced]. This produces a series of checkboxes headed "Search in namespaces:", so you can select and deselect any one or more of the twenty namespaces before entering your search criteria. As regards Google search restricted to Wikipedia: [http://www.google.com/custom?sa=Google+Search&domains=wikipedia.org&sitesearch=wikipedia.org see here]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:15, 11 June 2011 (UTC)


Dark mode is a highly-requested reading feature which was the top wish on last year’s Community Wishlist. We will bring dark mode to the desktop and mobile websites. Currently, dark mode is available to logged-in users on the mobile site ([[mw:Skin:Minerva_Neue|Minerva]] skin only). To access this feature, you must first be [[mw:Special:MobileOptions|opted into advanced mode for mobile]]. Then, you can select "dark" from the list of color options. ("Automatic" will follow the preference of your device.) See the [[mw:Reading/Web/Accessibility_for_reading/Updates/2024-04|more detailed message]] about this change.
:At [[Special:Preferences#preftab-6]] you can choose to include categories in searches by default. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 00:09, 12 June 2011 (UTC)


'''3. Page width options'''
::Thanks for pointing out that you can get "Advanced Search" options by doing an empty search. Maybe most ordinary users would never work this out. Wouldn't an "Advanced" link next to the "Search" label above the search box on Wikipedia pages make it more obvious that advanced search options are available? [[User:LittleBenW|LittleBen]] ([[User talk:LittleBenW|talk]]) 03:16, 12 June 2011 (UTC)
:::Nah, link clutter is bad. There are already way too many things to click in the Wikipedia interface. Most people will never need this either. [[Help:Searching]] explains all this and is linked from the Search results page. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 13:51, 12 June 2011 (UTC)
::::I don't know, with the instant search thing now (Open Search?), getting to the "advanced search" functionality isn't exactly intuitive. I agree that link clutter is bad, but... I had no idea about the empty search technique, for example (thanks for the tip Redrose64, by the way).<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 14:04, 12 June 2011 (UTC)
:::::Surely it's unacceptably unintuitive. Google would surely not display a "search options" link next to its search box (on Google.com) if that really were "unacceptable link clutter". [[User:LittleBenW|LittleBen]] ([[User talk:LittleBenW|talk]]) 14:44, 13 June 2011 (UTC)
::::::Perhaps we should add an "Advanced" element below "containing" in the dropdown. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:37, 15 June 2011 (UTC)
:::::::Sounds like a good idea, to me. :)<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 23:53, 15 June 2011 (UTC)


* With the introduction of Vector 2022, we made available the option for all readers and editors to switch their view from limited to full with a toggle in the bottom right corner of the screen.
== Javascript banner lag is driving me insane ==
* That limited/full width toggle will be moved to the Appearance menu instead of being in the corner of the screen.
* We will be also switching some pages to full width by default, including the main page.


'''Coming up soon!'''
Every link I click on, the page loads and then (after a half-second delay) shifts down 40px to accomodate the "Wikimedia Board of Trustees" banner or some other crap. There has to be a way to incorporate these banners into the source code rather than making them load dynamically. I'm constantly clicking on wrong links because the banner will move things around as I'm trying to click them. —[[User:Designate|Designate]] ([[User talk:Designate|talk]]) 20:40, 11 June 2011 (UTC)
:Nope, pages are cached, so adding them into the sourcecode would invalidate ALL cached pages, when enabled or disabled. (Which would bring down wikipedia). —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 13:45, 12 June 2011 (UTC)
::Agreed, but is there anything else that could be done to stop the content jumping up and down as the page loads? --[[User:DanielRigal|DanielRigal]] ([[User talk:DanielRigal|talk]]) 20:24, 12 June 2011 (UTC)
::The CSS could be changed to leave a blank padding area while the content loads. That depends on it being a consistent size. —[[User:Designate|Designate]] ([[User talk:Designate|talk]]) 20:44, 12 June 2011 (UTC)
:::For those of us that don't have JS running a blank space that never get populated would be a bad idea. [[User:HumphreyW|HumphreyW]] ([[User talk:HumphreyW|talk]]) 20:48, 12 June 2011 (UTC)
::::That sounds less annoying than having the page jump around. —[[User:Designate|Designate]] ([[User talk:Designate|talk]]) 23:07, 12 June 2011 (UTC)


Over the next weeks, we will be preparing for significant deployments related to this project:
== Need to have a more details box. ==


* First, we plan on introducing dark mode to the desktop website as a beta feature.
I am not sure if this can already be done in Wikipedia or not.
* Then, we will bring the Appearance menu for all users and change the default font size for all logged-out readers.
* Finally, after a period of testing, we plan on bringing dark mode into the Appearance menu for all users on the desktop and mobile websites.  


This is just a report. Later this week, we will post more information, and invite you to a discussion. In the meantime, please check out the [[Special:Preferences#mw-prefsection-betafeatures|Accessibility for Reading beta feature]]. If you want to know more about the project, go to our [[mw:Reading/Web/Accessibility_for_reading|project page]] for updates and general overview, and to the [[mw:Reading/Web/Accessibility_for_reading/Frequently_asked_questions|FAQ page]] for more details. You can also [[mw:Newsletter:Web_team's_projects|subscribe to our newsletter]]. Thanks! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|talk]]) 13:33, 13 May 2024 (UTC)
Not all readers of Wikipedia share the same intellect level. Some need more explanation to get the point. All these details on the other hand will put off more intelligent readers and will make the article too long. One way to get around this is to provide (say) a small '+' icon in places which contain more details. Readers who need to read that can click it and reveal a floating tool tip. IMHO this will allow to maintain article's brevity but at the same time will be accessible to all readers.
:The above message says: {{tq|The majority of users who interact with the feature opt for a font size that is larger than the current default. This confirms our hypothesis that most users prefer a larger font size.}} Leaving aside the [[selection bias]] problems in that statement, the [https://phabricator.wikimedia.org/T359418#9694334 phabricator link] appears to indicate the opposite, that {{tq|1=44.9% of sessions eventually opt for small (default: font=0) font size; 43.6% of sessions eventually opt for standard (font=1) font size; 11.5% of sessions eventually opt for large (font=2) font size.}} What am I missing? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 14:34, 13 May 2024 (UTC)
::Hey @[[User:Jonesey95|Jonesey95]]. The selection bias part needs to be addressed by someone else than me, but to your point about the link indicating the opposite: Standard + Large (larger font size) > Small (default). [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|talk]]) 16:36, 13 May 2024 (UTC)
:::That's what I was missing: the small size was the default. I confused the word "standard" with "default", I suppose. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:07, 13 May 2024 (UTC)
::Hey @[[User:Jonesey95|Jonesey95]] - wanted to leave a quick note on the selection bias question. In terms of the selection bias, we recognize that there is a very specific audience that will be opted into our beta feature, which is a downside of any beta feature data to begin with. This is generally an audience of active logged-in users who are interested in trying out new features in the first place (they are quite different from the average reader). For some features, that might be a sufficient proxy. For others, it might not make as much sense. In general, we try to get data from multiple different sources in order to account for this. In this case, we did prototype testing on a subset of logged-in users across languages, user testing with logged-out readers, as well as the beta feature launch. We've also launched the feature as the default for logged-out users on a small set of wikis to see if the data we're seeing there resembles what we saw on beta. These should be sufficient predictors of the behavior in production, but it's important to measure and double-check. Once we have a wider release, we'll do a similar comparison as well. [[User:OVasileva (WMF)|OVasileva (WMF)]] ([[User talk:OVasileva (WMF)|talk]]) 14:41, 14 May 2024 (UTC)


== Panoviewer.toolforge.org is down ==
--[[User:Applegrew|Apple Grew]] ([[User talk:Applegrew|talk]]) 06:22, 12 June 2011 (UTC)
:This is what links are for. If you don't understand a concept, you can click a link that explains it in more detail. <tt>[[User:Svick|User&lt;Svick&gt;]].[[User talk:Svick|Talk()]][[User:Svick/Signature|;]]</tt> 10:42, 12 June 2011 (UTC)


{{moved from|Template talk:PanoViewer#Panoviewer.toolforge.org is down|2=<span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 15:18, 13 May 2024 (UTC)}}
== Template fix needed for new user pages ==
Template does not work. Panoviewer.toolforge.org is down. [[User:Liglioto|Liglioto]] ([[User talk:Liglioto|talk]]) 09:38, 13 May 2024 (UTC)


:[[:Template:PanoViewer]] isn't protected, feel free to adjust it. That external tool isn't supported by us here on the English Wikipedia, and has sparse documentation on where to report problems. You can try to open a bug on it similar to [[phab:T354949]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 15:33, 13 May 2024 (UTC)
Could an expert please look at [[Template talk:New user bar]] - the template is currently showing an incorrect "[Edit]" link on lots of new user pages. This is a fully-protected template, so ideally it needs someone who is an expert ''and'' an admin. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 11:29, 12 June 2011 (UTC)
::Noting for reference that following [[phab:T354949#9792952]], Panoviewer seems to be working again. All the best, <span style="color:#595959">&zwj;—&zwj;</span>[[User:A smart kitten|<span style="color:#595959">a&nbsp;smart kitten</span>]]<sub style="color:#595959">[<nowiki/>[[User talk:A smart kitten|<span style="color:#595959">meow</span>]]]</sub> 12:14, 14 May 2024 (UTC)
:Done. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 13:48, 12 June 2011 (UTC)


== Typing, but text appears a few lines below my cursor ==
== [[List of centenarians (sportspeople)]] ==
{{tracked|T365008}}
[[File:Screen recording 2024-05-13 17.16.45.webm|thumb]]
Hi, I'm encountering a weird bug (it's not the first time it's happened). When I type text in a long page in visual source editing (the 2017 wikitext mode), I'm getting some funky behaviour where what I'm actually typing ends up being multiple lines below my cursor. The video attached is this occurring [[Wikipedia:WikiProject Editor Retention/Members|on this page]], but it sometimes happens on other such long pages.


Any ideas to debug?
Could someone with the necessary technical skills help out [http://en.wikipedia.org/w/index.php?title=Talk%3AList_of_centenarians_%28sportspeople%29&action=historysubmit&diff=423240554&oldid=423240025 here]. Citations to a baseball stats resource are causing anomalous footnotes. Thanks. [[User:David in DC|David in DC]] ([[User talk:David in DC|talk]]) 23:11, 12 June 2011 (UTC)


Cheers, [[User:Cocobb8|'''<span style="color:purple">Coco</span><span style="color:green">bb8</span>''']] (💬 [[User talk:Cocobb8|talk]] • ✏️ [[Special:Contributions/Cocobb8|contribs]]) 21:29, 13 May 2024 (UTC)
: You can't remove the bullet from the template, so it's best to just use plain text, like [http://en.wikipedia.org/w/index.php?title=List_of_centenarians_%28sportspeople%29&diff=433965315&oldid=433886417 this]. <font face="Verdana">[[User:Gary King|<font color="#02b">Gary&nbsp;<b>King</b></font>]]&nbsp;<span style="font-size: 0.9em;">([[User talk:Gary King|<font color="#02e">talk</font>]]&nbsp;·&nbsp;[[User:Gary King/Scripts|<font color="#02e">scripts</font>]])</span></font> 23:59, 12 June 2011 (UTC)
:: Thank you for starting me off. I've fixed all of the anomolous entries. [[User:David in DC|David in DC]] ([[User talk:David in DC|talk]]) 17:01, 13 June 2011 (UTC)


:Smells like a code highlighter userscript/gadget bug. Are you able to reproduce when adding ?safemode=1 / &safemode=1 to the URL? This will turn off gadgets and user scripts. I suspect you will not be able to reproduce it. Next step after that will be tracking down which code highlighter userscript/gadget and reporting the bug on their talk page. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 08:07, 15 May 2024 (UTC)
== Stuff not showing up for users who are not logged in ==
::@[[User:Novem Linguae|Novem Linguae]] I did some debugging, and figured out that the issue is caused by the Syntax Highlighter itself. I'll report it on Phabricator. [[User:Cocobb8|'''<span style="color:purple">Coco</span><span style="color:green">bb8</span>''']] (💬 [[User talk:Cocobb8|talk]] • ✏️ [[Special:Contributions/Cocobb8|contribs]]) 13:04, 15 May 2024 (UTC)


== Tech News: 2024-20 ==
Hi,
I tried to describe the issue at the help desk [[Wikipedia:Help_desk#Stuff_not_showing_up_for_users_who_are_not_logged_in.|here]], they pointed me in this direction.
And I tried a bit of debugging after I saw it reported initially by someone else [[Wikipedia:Help_desk/Archives/2011_May_20#Changes_made_on_a_page_have_been_saved_but_are_not_showing_up_when_not_logged_in.|here]].


<section begin="technews-2024-W20"/><div class="plainlinks">
I'm pretty sure it's not a local cache or a particular browser issue (I've tried IE8 and Mozilla) - and I've seen it multiple times, despite frequently clearing my cache (as I have a fairly old machine - still running xp).
Latest '''[[m:Special:MyLanguage/Tech/News|tech news]]''' from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. [[m:Special:MyLanguage/Tech/News/2024/20|Translations]] are available.


'''Recent changes'''
I had a quick search in these archives - and the closest article I could find was [[Wikipedia:Village_pump_(technical)/Archive_87#pages_cached_for_logged-in_users.3F|this]]
* On Wikisource there is a special page listing pages of works without corresponding scan images. Now you can use the new magic word <bdi lang="zxx" dir="ltr"><code>__EXPECTWITHOUTSCANS__</code></bdi> to exclude certain pages (list of editions or translations of works) from that list. [https://phabricator.wikimedia.org/T344214]
* If you use the [[Special:Preferences#mw-prefsection-editing|user-preference]] "{{int:tog-uselivepreview}}", then the template-page feature "{{int:Templatesandbox-editform-legend}}" will now also work without reloading the page. [https://phabricator.wikimedia.org/T136907]
* [[mw:Special:Mylanguage/Extension:Kartographer|Kartographer]] maps can now specify an alternative text via the <bdi lang="zxx" dir="ltr"><code><nowiki>alt=</nowiki></code></bdi> attribute. This is identical in usage to the <bdi lang="zxx" dir="ltr"><code><nowiki>alt=</nowiki></code></bdi> attribute in the [[mw:Special:MyLanguage/Help:Images#Syntax|image and gallery syntax]]. An exception for this feature is wikis like Wikivoyage where the miniature maps are interactive. [https://phabricator.wikimedia.org/T328137]
* The old [[mw:Special:MyLanguage/Extension:GuidedTour|Guided Tour]] for the "[[mw:Special:MyLanguage/Edit Review Improvements/New filters for edit review|New Filters for Edit Review]]" feature has been removed. It was created in 2017 to show people with older accounts how the interface had changed, and has now been seen by most of the intended people. [https://phabricator.wikimedia.org/T217451]


'''Changes later this week'''
Would I be right in thinking that it's something to do with a backlog for the 'squid' (whatever that might be?) not updating to the 'full data' rather than the 'fairly recent copy data' for people who are not logged in? And trying to look at the implications would that mean all IP addresses (rather than logged in users) trying to edit something have a risk that their edit is trying to be applied to something older than the full data ? [[User:EdwardLane|EdwardLane]] ([[User talk:EdwardLane|talk]]) 08:34, 13 June 2011 (UTC)
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.5|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-05-14|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-05-15|en}}. It will be on all wikis from {{#time:j xg|2024-05-16|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar]
* [[File:Octicons-tools.svg|12px|link=|alt=|Advanced item]] The [[{{#special:search}}]] results page will now use CSS flex attributes, for better accessibility, instead of a table. If you have a gadget or script that adjusts search results, you should update your script to the new HTML structure. [https://phabricator.wikimedia.org/T320295]


'''Future changes'''
== Page load never finishes (again) - is it the Wikimania banner? ==
* In the Vector 2022 skin, main pages will be displayed at full width (like special pages). The goal is to keep the number of characters per line large enough. This is related to the coming changes to typography in Vector 2022. [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Updates|Learn more]]. [https://phabricator.wikimedia.org/T357706]
* [[File:Octicons-tools.svg|12px|link=|alt=|Advanced item]] Two columns of the <bdi lang="zxx" dir="ltr"><code>[[mw:Special:MyLanguage/Manual:pagelinks table|pagelinks]]</code></bdi> database table (<bdi lang="zxx" dir="ltr"><code>pl_namespace</code></bdi> and <bdi lang="zxx" dir="ltr"><code>pl_title</code></bdi>) are being dropped soon. Users must use two columns of the new <bdi lang="zxx" dir="ltr"><code>[[mw:special:MyLanguage/Manual:linktarget table|linktarget]]</code></bdi> table instead (<bdi lang="zxx" dir="ltr"><code>lt_namespace</code></bdi> and <bdi lang="zxx" dir="ltr"><code>lt_title</code></bdi>). In your existing SQL queries:
*# Replace <bdi lang="zxx" dir="ltr"><code>JOIN pagelinks</code></bdi> with <bdi lang="zxx" dir="ltr"><code>JOIN linktarget</code></bdi> and <bdi lang="zxx" dir="ltr"><code>pl_</code></bdi> with <bdi lang="zxx" dir="ltr"><code>lt_</code></bdi> in the <bdi lang="zxx" dir="ltr"><code>ON</code></bdi> statement
*# Below that add <bdi lang="zxx" dir="ltr"><code>JOIN pagelinks ON lt_id = pl_target_id</code></bdi>
** See <bdi lang="en" dir="ltr">[[phab:T222224]]</bdi> for technical reasoning. [https://phabricator.wikimedia.org/T222224][https://phabricator.wikimedia.org/T299947]


'''''[[m:Special:MyLanguage/Tech/News|Tech news]]''' prepared by [[m:Special:MyLanguage/Tech/News/Writers|Tech News writers]] and posted by [[m:Special:MyLanguage/User:MediaWiki message delivery|bot]]&nbsp;• [[m:Special:MyLanguage/Tech/News#contribute|Contribute]]&nbsp;• [[m:Special:MyLanguage/Tech/News/2024/20|Translate]]&nbsp;• [[m:Tech|Get help]]&nbsp;• [[m:Talk:Tech/News|Give feedback]]&nbsp;• [[m:Global message delivery/Targets/Tech ambassadors|Subscribe or unsubscribe]].''
The issue previously described in [[WP:Village pump (technical)/Archive 88#Page loading never stops]] has started occurring again. I am on Firefox 3.6.17 (I won't use FF 4 because it is so slow as to be unusable). With IE 8 the page eventually loads, but with a significant delay - this delay seems to wait for the Wikimania 2011 banner to appear. Note the banner never gets to appear in FF.
</div><section end="technews-2024-W20"/>


<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 23:56, 13 May 2024 (UTC)
Google Chrome seems to behave properly (though for unrelated reasons I don't wish to use it). Anyone know what's going on? [[User:Jan1nad|<span style="color:#009d43;font-weight:bold">''Jan<span style="font-size:80%;">1</span>naD''</span>]] <sup>(''[[User talk:Jan1nad|talk]] • [[Special:Contributions/Jan1nad|contrib]]'')</sup> 10:55, 13 June 2011 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Tech_ambassadors&oldid=26762074 -->


== CORS auth ==
:FF has now started behaving (and the banner does not appear). [[User:Jan1nad|<span style="color:#009d43;font-weight:bold">''Jan<span style="font-size:80%;">1</span>naD''</span>]] <sup>(''[[User talk:Jan1nad|talk]] • [[Special:Contributions/Jan1nad|contrib]]'')</sup> 10:58, 13 June 2011 (UTC)


Hello. I'm trying to edit Wikidata from Wikipedia (ro.wp to be precise) using a user script, but I am unable to do it under my user. The code from [[:ro:MediaWiki:Gadget-wikidata-description.js]] works, it obtains an edit token and does the change, but in the history my IP appears. I made sure I am logged in both wikis. Can anyone give me an example of working code or some pointer on how to do the edits as logged-in user? Thanks! [[User:Strainu|Strainu]] ([[User talk:Strainu|talk]]) 08:59, 14 May 2024 (UTC)
== Rollback from watchlist ==
:[https://doc.wikimedia.org/mediawiki-core/1.38.2/js/#!/api/mw.ForeignApi mw.ForeignApi] is the supported interface for accessing sister site APIs. Fetching a token manually isn't required, <code>postWithEditToken()</code> will do it for you. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 09:08, 14 May 2024 (UTC)
::Works like a charm, thank you! [[User:Strainu|Strainu]] ([[User talk:Strainu|talk]]) 09:53, 14 May 2024 (UTC)
:::{{Resolved}} –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 08:05, 15 May 2024 (UTC)


== Problem in map? ==
{{resolved|...sort of. The script apparently works, but something in my setup is causing it to fail. —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 14:16, 15 June 2011 (UTC)}}
Hi,<br>
I have had [[User:Zvn/confirmwatchlistrollback.js]] in my .js for quite a while to prevent accidental rollbacks from the watchlist. Unfortunately, it has stopped working and I accidentally rollbacked an edit while browsing on my iPad this morning. I tested it a while back using FF4 and it doesn't work there, either. I don't often use rollback from the watchlist, so I don't know when it stopped working.
[[Tenganan]] editing shows this (in red):<br>
:''Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_mapsize1"
:''Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_map_caption1"
:''Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_map1"
It was there when I arrived on the page and I have zero idea about what brings that up. (and I'm supposed to be working ''and'' I'm starting to run late on the job, so really no time to get into anything as mysterious as that.)
Anyone would know how to get rid of that, please? If no (very) simple fix is possible, thanks for letting me know whom I can ask who would be willing to sort it out. Have a good day. [[User:Pueblo89|Pueblo89]] ([[User talk:Pueblo89|talk]]) 13:20, 14 May 2024 (UTC)
:{{fixed}} – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 13:31, 14 May 2024 (UTC)


== Anchoring new sections to set location on talk page ==
When I click on rollback, the script gives a confirmation popup as designed, but then goes ahead with the rollback without waiting for an answer. Perhaps someone who knows about these things can figure out what's wrong. P.S. I'm using Vector. Thanks! —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 12:25, 13 June 2011 (UTC)


As I've formatted my user talk page in a manner that encloses all sections in a table, I was wondering if there is a way to have new talk page sections added at a specific point on a talk page, rather than simply at the end. Specifically, a means that would work with the default 'New section' button above the talk page, rather than the addition of a second, custom 'New section' wikilink or button on the talk page itself. -[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 01:35, 15 May 2024 (UTC)
Or, if another solution is available, I'd be glad to consider it. —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 15:53, 13 June 2011 (UTC)
:You could [[Wikipedia:Village pump (technical)/Archive 55#This week's software updates|remove it altogether]] or you could use a different account on your iPad that doesn't have the rollback privilege (using a watchlist token to access your main watchlist). –[[user:xeno|<font face="verdana" color="black">'''xeno'''</font>]][[user talk:xeno|<font color="black"><sup>talk</sup></font>]] 16:01, 13 June 2011 (UTC)
::I also found [[Wikipedia:Village pump %28technical%29/Archive 83#Rollbacking technical assist|this more specific hack]], but I like(d) the ability to abort a rollback from the watchlist even using FF. I have another unused account, but occasionally do admin stuff on the iPad. —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 17:28, 13 June 2011 (UTC)
:::I'm sure someone more script-savvy can fix the actual root cause for you. –[[user:xeno|<font face="verdana" color="black">'''xeno'''</font>]][[user talk:xeno|<font color="black"><sup>talk</sup></font>]] 22:17, 13 June 2011 (UTC)
: Could you [[WP:BYPASS|bypass your browser cache]] and try again? [[User talk:Amalthea|<span style="font-variant:small-caps;color:#832">Amalthea</span>]] 13:36, 14 June 2011 (UTC)
::With FF4, I'm still getting the same behavior. With Safari 5 and mobile Safari, the popop waits for a response, but goes ahead with the rollback even if you click cancel. —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 13:57, 14 June 2011 (UTC)
::: Well, works for me, in both these browsers (Windows versions). Might be a conflict with one of your other scripts or gadgets? [[User talk:Amalthea|<span style="font-variant:small-caps;color:#832">Amalthea</span>]] 14:43, 14 June 2011 (UTC)
::::I'm at a loss, then. I disabled everything except the above script and still encountered the same behavior. I didn't change any of my gadgets, though, so the conflict may be there. I give up and will instead disable links on mobile Safari. Thanks for trying, though! —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 16:04, 14 June 2011 (UTC)


:There is not. I doubt this is something that will be added. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 02:25, 15 May 2024 (UTC)
== Secure server login ==
:If you remove the closing <code>|}<nowiki></div></nowiki></code> tags, new sections will effectively go inside your custom frame. On the other hand, you might get people grumbling about this being a Linter error. Framing talk pages like this isn't well supported. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 02:40, 15 May 2024 (UTC)


== IP Information tool ==
Over the past 24 hours or so, I've noticed that the screen for logging in no longer offers a link to the login page that uses the secure server. Is there still an option of logging in via the secure server? If so, how should one do it? Thanks. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 20:17, 13 June 2011 (UTC)
{{Tracked|T363118}}
:It seems to come and go. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 20:24, 13 June 2011 (UTC)
Facing a new issue today regarding the [[:foundation:Legal:IP Information tool guidelines|IP Information Tool]] where access to some of the non-admin information does not show up in the Special:Contributions page for an IP as it did before. That page now only shows "Version", "Active blocks", and "Contributions". Oddly, the country (not city) location still pops up on the watchlist preview, even though it does not show on the Contributions page. Anyone else seeing similar? Best, [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 08:00, 15 May 2024 (UTC)
::The main page is [https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page here] and the login link is [https://secure.wikimedia.org/wikipedia/en/wiki/Special:UserLogin here]. For ''most'' URLs on Wikipedia, you just alter the first bit from <code>ht<span />tp://en.wikipedia.org/</code> to <code>ht<span />tps://secure.wikimedia.org/wikipedia/en/</code> --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:43, 13 June 2011 (UTC)
:The IP information drop down has been returning no information for me other than the version (IPv4 vs. IPv6), local block info and contribs for the last two days. It's like it can't access any of the data from whichever database it draws from. Every other field simply states "not available".-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 21:43, 15 May 2024 (UTC)
:::OK, thanks. What I notice, though, is when one goes to the login page for the regular server, there is usually some text just below the box where one logs in, under the title "'''Secure your account:'''", and beginning with the line "Consider logging in on the secure server" with "secure server" blue-linked to the login page you link above. Over the past 24 hours or so, that text has been disappearing (just leaving the login box with blank space below it) and reappearing. I'm getting the impression that this disappearance may be a bug rather than a feature. (By the way, I use Firefox 4.0.1.) --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 21:57, 13 June 2011 (UTC)
::And regarding my odd note on watchlist preview, this only happens ''sometimes'', with even different edits from the same IP showing me country location in one instance but not another. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 01:50, 16 May 2024 (UTC)
::Further learning, I can refresh the same IP contributions page repeatedly and sometimes it will show me the country, sometimes it will show no access. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 03:25, 16 May 2024 (UTC)
:::Can someone link a page where this has recently happened to them, so that I can try to reproduce? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 07:15, 16 May 2024 (UTC)
::::{{ping|Novem Linguae}} it happens on any IP contributions page ([https://en.wikipedia.org/wiki/Special:Contributions/67.84.32.54 this one], for example).-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 15:29, 16 May 2024 (UTC)
:::::Thanks, I'm able to reproduce. According to https://phabricator.wikimedia.org/T363118#9804312, "not available" is case #2. {{tq|This means Spur/Maxmind doesn't have that data. Looking at these fields, they're all populated by Spur. Maxmind and Spur have different coverage, so we may have a location for an IP but no other data for it.}}. So that one is not a bug and they have no plans to patch it, it looks like. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 15:56, 16 May 2024 (UTC)
::::::I don't understand how that data was available consistently for all IPs, then suddenly is missing for nearly all of them. It renders the entire IP contribs drop down useless. Oh well.-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 16:13, 16 May 2024 (UTC)
:::::::Someone just commented in the ticket that they think it's happening way more than it used to and they think something is broken. So it may be a bug after all. Here's hoping the devs figure it out. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 16:47, 16 May 2024 (UTC)


== Dark mode is available in Vector 2022 as a beta feature ==
== Office hours to discuss Article Feedback Tool ==


[[File:Accessibility for reading mockup with dark mode on.png|thumb]]
Hi everyone, I just wanted to announce that this Thursday the 16th at 18:00 UTC, there will be an IRC office hours concerning the [[Wikipedia:Article Feedback Tool|Article Feedback Tool]] ([[:mw:Article feedback|full documentation]]) which is currently in experimental partial deployment. I'll be moderating mainly for [[Erik Möller]], but hopefully we'll be joined by most of the Foundation staff who've contributed to this feature. Just to clarify, we want to stick to two general topics:
Hi everyone, the [[mw:Reading/Web|Wikimedia Foundation Web team]] has just released dark mode for logged-in users on desktop across all wikis for testing purposes. It's part of the [[Special:Preferences#mw-prefsection-betafeatures|Accessibility for Reading (Vector 2022)]] beta feature.
# The strategic goals the feature aims to address. In other words, its purpose.
# Plans for developing and deploying it further.
If you have bugs to report or specific design feedback, as always Bugzilla and MediaWiki.org are respectively the best places to discuss those two things. For the office hours we'd like to stick to a broader explanation of the feature and its future. Time conversion links and other documentation for IRC office hours are [[:meta:IRC office hours|on Meta]]. Looking forward to chatting, <font style="font-family: Georgia">[[User:Steven (WMF)|Steven Walling at work]]</font> 22:17, 13 June 2011 (UTC)


Just like [[Wikipedia:Village_pump_(technical)/Archive_212#Early_access_to_the_dark_mode_(mobile_web,_logged-in)|previously, when we were releasing this feature for logged-in users on mobile]], our goals for the early rollout are to:
:[[:m:IRC office hours/Office hours 2011-06-16|Logs posted]]. Thanks to everyone who attended. :) <font style="font-family: Georgia">[[User:Steven (WMF)|Steven Walling at work]]</font> 20:01, 16 June 2011 (UTC)
* Show what we've built very early. The earlier you are involved, the more your voices will be reflected in the final version
* Get your help with flagging bugs, issues, and requests
* Work with technical editors to adjust various templates and gadgets to the dark mode


'''Known limitations'''
== Problem resetting password ==


* Dark mode is only available for logged-in users: on desktop as a beta feature, and on mobile in the advanced mode.
Hi, I've got an account "dez" that I haven't used for a while, and I have time between jobs to catch up on some edits etc, and when I tried to login my password didn't work, so I used the "email reset password" button but the email never came through ( to dez@blanchfield.com.au ) for some reason, I've chatted to a bunch of great folk ( SudoGhost / Hersford ) and they recommended I come here for help. Is there someone here with access who can check that my "dez" account is linked to my "dez@blanchfield.com.au" email address as I'm doing a "tail -f /var/log/maillog" and nothing from wiki has come through yet? Help please ;-) Many thanks, Dez Blanchfield. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/203.16.243.213|203.16.243.213]] ([[User talk:203.16.243.213|talk]]) 04:10, 15 June 2011 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
* Gadgets may initially not work well with dark mode and may have to be updated.
:The login {{user|dez}} doesn't seem to have ever been used. However, it ''is'' [http://en.wikipedia.org/w/index.php?title=Special%3AListUsers&username=Dez&group=&limit=50 registered]; so you really have two choices - (a) [[WP:ACCOUNT|create a different login]] or (b) [[WP:USURP|usurp the Dez account]].
* Our first goal is making dark mode work on articles. Special pages, talk pages, and other namespaces (including Wikipedia) have not been updated to work in dark mode yet. We have temporarily disabled dark mode on some of these pages.
:BTW - per [[WP:TPG|the talk page guidelines]], please start new discussion threads at the bottom of discussion pages; and always remember to sign your postings with four tildes <code>~~<span />~~</code>. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 10:03, 15 June 2011 (UTC)
::I'll add that there isn't a way to check what, if any, email address was used when you registered that account, so I'd also suggest that you simply register a new one. However, [http://en.wikipedia.org/w/index.php?title=Special:ListUsers&limit=500&username=Dez there are a bunch of accounts] starting with Dez, so be sure you're trying the correct one. —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 14:13, 15 June 2011 (UTC)
:"dez" has no email set, so you can't reset the password. –[[user:xeno|<font face="verdana" color="black">'''xeno'''</font>]][[user talk:xeno|<font color="black"><sup>talk</sup></font>]] 14:20, 15 June 2011 (UTC)


'''What we would like you to do'''
== erroneously prompted new EL captchas ==


Our request to you is exactly the same as previously:
I've inquired about this issue over at [[Wikipedia:Help desk#New external links false positives]] and was pointed here. To reiterate:


# To opt into dark mode, select the [[Special:Preferences#mw-prefsection-betafeatures|Accessibility for Reading beta feature]] from the beta feature list. This will opt you into the Appearance menu displayed in the right sidebar on every page. [[#May 2024 Accessibility for Reading Update: appearance menu, upcoming font size changes and customization, dark mode, and more|More about the menu itself here]].
I frequently get the non-autoconfirmed new EL captcha, although I haven't added any new external link. It happens seemingly at random, and may happen even on the simplest of edits (e.g. correcting a typo). One example diff where this happened to me is [http://en.wikipedia.org/w/index.php?title=Gulliver%27s_Travels_%282010_film%29&action=historysubmit&diff=434264224&oldid=434089799 here].
# Next, go to different articles and look for issues:
#* If you have noticed an issue with a template but do not know how to fix it
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
#* If you want to debug many templates in dark mode
#*# Go to https://night-mode-checker.wmcloud.org/ and identify templates that need to be fixed. The tool flags the top 100 most read articles.
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
#* If you want to identify problems beyond the top 100 articles.
#*# Install the WCAG color contrast browser extension ([https://chromewebstore.google.com/detail/wcag-color-contrast-check/plnahcmalebffmaghcpcmpaciebdhgdf Chrome], [https://addons.mozilla.org/en-US/firefox/addon/wcag-contrast-checker/ Firefox]) and visit some articles. Use it to identify problems
#*# Go to the [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|recommendations page]] and find relevant examples
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
#* If you have a bug report for dark mode that is not related to templates
#*# Take a screenshot of what you are observing.
#*# [[mw:Talk:Reading/Web/Accessibility for reading|Contact us]]. If possible, please write down your browser version and operating system version.


When most issues are solved, we'll be able to make the dark mode available for readers on both desktop and mobile. Go to the [[mw:Reading/Web/Accessibility_for_reading|Accessibility for Reading project page]] and the [[mw:Reading/Web/Accessibility_for_reading/Frequently_asked_questions|FAQ page]] to see more information about the basics of this project. Thank you! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|talk]]) 21:47, 15 May 2024 (UTC)
I've searched through BugZilla but couldn't find a ticket about this. Is it a known issue, or should I file a new bug report? Asking since there appears to be no markup/editing-related explanation. --[[Special:Contributions/213.196.218.59|213.196.218.59]] ([[User talk:213.196.218.59|talk]]) 15:59, 15 June 2011 (UTC)


:I don't know if this was the right move. Tons of pages still look like garbage (shoutout [[Special:Watchlist]]){{--}}the theme is definitely not ready for use by non-technical editors. It wouldn't be too bad if you had made a seperate beta option for it{{--}}because you've clumped it in with Accessibility for Reading a couple people have gone on the [[WP:Discord|Discord]] confused. [[User:Snowmanonahoe|Snowmanonahoe]] ([[User talk:Snowmanonahoe|talk]] '''·''' [[Special:Contributions/Snowmanonahoe|contribs]] '''·''' [[User:Snowmanonahoe/Typos|typos]]) 23:54, 15 May 2024 (UTC)
== List identifiers in small font ==
::"Fixing" it is as simple as setting your personal chosen theme to light mode.
::As for tons of pages, I just got separate word that OOUI interfaces don't support light mode (currently/ever?), which is why Watchlist has light elements. Perhaps it shouldn't be displaying as dark. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:08, 16 May 2024 (UTC)
:::Articles too. Along with interface pages, editnotices, syntax highlighting, half the mboxes... [[User:Snowmanonahoe|Snowmanonahoe]] ([[User talk:Snowmanonahoe|talk]] '''·''' [[Special:Contributions/Snowmanonahoe|contribs]] '''·''' [[User:Snowmanonahoe/Typos|typos]]) 00:27, 16 May 2024 (UTC)
::::The point is for editors to find these things. Might as well drop logged users in and let them make the two button presses to find a different, less-painful choice. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:41, 16 May 2024 (UTC)
:::::Exactly, there is no magic fairy dust for some of this, just grunt work to fix the pages and templates that never had to account for a darkmode. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 14:56, 16 May 2024 (UTC)
:::We do have a long-term solution for OOUI fixes that is in development right now. We hope to have it ready within the next couple of weeks. In the meantime however, pages like Watchlist and should be displaying in light mode so this is a bug. We're tracking it in [[phab:T365084]] and should have a fix out later today. [[User:OVasileva (WMF)|OVasileva (WMF)]] ([[User talk:OVasileva (WMF)|talk]]) 07:36, 16 May 2024 (UTC)
:{{re|SGrabarczuk (WMF)}} Is there really a plan to take over the right 1/4 of screen with a "settings" panel every time someone opens a page in a new private tab, or clears cookies, or switches to a new language, or doesn't realize what the "hide" button does? Or is that just so in-your-face during the testing phase? [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 02:01, 16 May 2024 (UTC)
::Hey @[[User:Suffusion of Yellow|Suffusion of Yellow]] - thanks for the question. In general, we think this is the most effective way to launch the new menu and be able to inform users about it. It removes the necessity to add additional modals or notices that say "New menu available!" or "Dark mode available", which would otherwise show on every pageview. So, the current plan is to keep the menu open by default for the wider release as well for all logged-in and logged-out users. Then, after the release, we can look at the data to gauge whether we need to keep it open as default, or collapse, and when. [[User:OVasileva (WMF)|OVasileva (WMF)]] ([[User talk:OVasileva (WMF)|talk]]) 07:40, 16 May 2024 (UTC)
:::Why can't it be on the ''left'' side, with the TOC? Or better yet, just put a plain-text link at the top? I mean, registered users have already been able to find the "preferences" link for 20 years now. Right when I open up [[:testwiki:LOREM IPSUM]] (or any page with a TOC) on my phone in a new private tab, then switch to the desktop site, about ''half'' my screen is whitespace, and the text is squished into a narrow little strip in the middle. It's ''unusable'' until I hide the settings column
:::{{pb}} People are reading a website, not installing software. There shouldn't be a "setup" stage before they can get down to the business of looking up that one little fact. The defaults should at least be usable. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 17:11, 16 May 2024 (UTC)
: {{re|SGrabarczuk (WMF)}} https://night-mode-checker.wmcloud.org/ appears to only be for the mobile version. Is there is desktop report? Also, the beta is only for Vector 2022. Many editors still use legacy vector or other skins, will the new feature be moved to any other skin besides Vector 2022? How does the new feature compare to the dark mode gadget that is currently available? [[User:RudolfRed|RudolfRed]] ([[User talk:RudolfRed|talk]]) 03:31, 16 May 2024 (UTC)
::This dark mode is only going to be supported on Vector 22 and Minerva so far as I know. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 03:54, 16 May 2024 (UTC)
::The main idea of the new feature is that it doesn't invert colors that are not known to be invertable. This causes the colors on [[Pantone]] for example to not be distorted. [[User:Snowmanonahoe|Snowmanonahoe]] ([[User talk:Snowmanonahoe|talk]] '''·''' [[Special:Contributions/Snowmanonahoe|contribs]] '''·''' [[User:Snowmanonahoe/Typos|typos]]) 11:43, 16 May 2024 (UTC)


== 'Undo' button now says 'cin gbere le' ==
When a list is created in small font, the list numbers or bullets appear in regular size font. Any workaround suggestions, besides numbering the list manually? Thanks. {{unsigned|Yuckhil|00:55, 16 June 2011 (UTC)}}


[[File:Wikipedia_Page_History_Bug_2024-05-16.jpg|thumb|What it looks like]]
<small>
For some reason, if I go to the page history of any enwiki page, the undo button now says "cin gbere le" instead of "undo", as shown in the screenshot here. It just started happening today all of a sudden. Anyone else had this problem?
# First numbered item
# Second numbered item
</small>


Note: the button actually still works, I just tested it [[Special:Diff/1224106627|here]], it's just the button text that's different. —&nbsp;[[User:AP 499D25|<span style="background:#1F6295;color:white;padding:1q 5q;border-radius:10q;font-family:Franklin Gothic, Verdana">AP&nbsp;499D25</span>]] [[User talk:AP 499D25|<span style="color:#1A527D">(talk)</span>]] 08:41, 16 May 2024 (UTC)
<small>
*Short answer, don't use en-gb. Long answer - its upstream vandalism at translatewiki of the [[MediaWiki:Editundo]] message in the en-gb language. <small>{{tq|{{MediaWiki:Yourlanguage}}}}</small> — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 09:04, 16 May 2024 (UTC)
* First bullet list item
*:The upstream vandalism seems to have been cleared, but now you will have to wait for sync. Or just change to <code>en</code>. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 09:09, 16 May 2024 (UTC)
* Second bullet list item
*::I created [[MediaWiki:Editundo/en-gb]] with "undo". Presumably that can be deleted when it synchronises &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:01, 16 May 2024 (UTC)
</small>
*:I see! Lol. Indeed, I have my interface language set to en-gb. Though I'm not sure how a protected page like that got vandalised. I guess it's unprotected on the translatewiki. —&nbsp;[[User:AP 499D25|<span style="background:#1F6295;color:white;padding:1q 5q;border-radius:10q;font-family:Franklin Gothic, Verdana">AP&nbsp;499D25</span>]] [[User talk:AP 499D25|<span style="color:#1A527D">(talk)</span>]] 09:16, 16 May 2024 (UTC)
*::It's not quite the most aggressive action by the Provisional Change to EN Brigade that I've ever seen, but it's up there. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 10:09, 16 May 2024 (UTC)
*:::<small>{{u|DuncanHill}}, Just wait until the Real Changes mob find out though ;) [[User talk:Serial Number 54129|<span style="color:red">——Serial Number 54129</span>]] 10:21, 16 May 2024 (UTC)</small>
:::::Non-English en-gb messages are nearly always somebody editing the wrong Translatewiki messages when trying to translate another language. Here [[:translatewiki:User:Umar Ahmad2345]] was trying to make [[Nupe language|Nupe]] (nup) which sounds amusingly like [[noob]]. It's not an option in our preferences but maybe it's coming. Incubator has a [[:incubator:Wp/nup|Nupe Wikipedia]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 11:09, 16 May 2024 (UTC)
:::Almost nothing is protected on translatewiki for messages, it's ripe for abuse. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 13:30, 16 May 2024 (UTC)


== Harv and Sfn no-target error help please ==
:The bullet cannot be changed (it is an image), but the numbers can. The best way to do so is using a {{tag|div|open}}. <span style="font-family:'Trebuchet MS',sans-serif"> — [[User:Edokter|<span style="color:#008"><i>E</i>dokter</span>]] ([[User_talk:Edokter|<span style="color:#080">talk</span>]]) — </span> 01:32, 16 June 2011 (UTC)


Hi. One of my pastimes is trying to empty [[:Category:Harv and Sfn no-target errors]]. Today I found [[Military courts of the United Kingdom]], which has multiple uses of <nowiki>{{sfn|Armed Forces Act|2006}}</nowiki> which are meant to link to <nowiki> {{UK-LEG|title=Armed Forces Act 2006|path=ukpga/2006/52 |ref={{harvid|Armed Forces Act|2006}}}}</nowiki> but don't. I can't work out how to fix the no-target errors and get the link from sfn to citation template to work. Any help will be appreciated, thank you. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 10:22, 16 May 2024 (UTC)
<div style="font-size: smaller;">
:{{tlx|UK-LEG}} does not know about {{para|ref}} so does not create an anchor ID. Without an anchor ID, {{tlx|sfn}} has nothing to link to. Your options are to modify {{tld|UK-LEG}} or implement an appropriate solution from the list of possible solutions at {{slink|:Category:Harv_and_Sfn_template_errors|Resolving_errors}}: {{tlx|wikicite}} (best) or {{tlx|anchor}} (not so best).
# First numbered item
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 10:53, 16 May 2024 (UTC)
# Second numbered item
::{{re|Trappist the monk}} Thanks, so [https://en.wikipedia.org/w/index.php?title=Military_courts_of_the_United_Kingdom&diff=1224210232&oldid=1224113118 like this?] [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 22:39, 16 May 2024 (UTC)
</div>
::I got a bit confused at first because the instructions at {{slink|:Category:Harv_and_Sfn_template_errors|Resolving_errors}} only say "wrapping a plain-text citation inside <nowiki>{{wikicite}}</nowiki> and setting |ref= or |id= as appropriate to match the value expected by the short-cite template", whenwikicite can "be assigned templates as well as text". [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 22:53, 16 May 2024 (UTC)


== ChristieBot unable to edit [[Talk:Israeli invasion of the Gaza Strip (2023–present)]] ==
== JavaScript disappearances... ==


*{{Botlinks|ChristieBot}}
I seem to be having problems with JavaScript add-ons in the last couple of weeks. First, the script I was using to hide top edits in my contrib list stopped working - Nihiltres managed to fix it, briefly, but it's since stopped working again - and now I seem to have lost the HotCat function. Bearing in mind that I am completely an "end user" and wouldn't be able to tell a variable from an if/else function: 1) what has happened - is it something I've done, or a change in WP functionality, and 2) what can I do to get those things working again? Note that I'm using the monobook skin on Safari 5.0.2, ands I have tried all the standard IT consultant things (purging cache, logging out and back in, turning computer off and on, etc.) [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 10:56, 16 June 2011 (UTC)


ChristieBot, which manages GA nominations, has been crashing when trying to transclude the GA review to [[Talk:Israeli invasion of the Gaza Strip (2023–present)]]. The error is "Page [[en:Special:Log]] is not supported due to namespace restriction". The page is extended-confirmed protected. The bot does have extended-confirmed rights as part of the bot group rights, but presumably is missing some other related permission. I can change the code to not crash and simply log the error, but I'm at work and won't be able to touch the code for a few hours. If anyone can tell me what the problem is I would appreciate it. Thanks. [[User:Mike Christie|Mike Christie]] ([[User talk:Mike Christie|talk]] - [[Special:Contributions/Mike Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 12:48, 16 May 2024 (UTC)
== CSS margins, width help ==
:@[[User:Mike Christie|Mike Christie]] check your bot permissions grant, that you have enabled <code>Edit protected pages</code>. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 13:33, 16 May 2024 (UTC)
::Is this something I can set myself, and if so, where? (I'm not an admin.) I thought that a bot just needed the same user rights as a non-bot editor would need to edit a given page. [[User:Mike Christie|Mike Christie]] ([[User talk:Mike Christie|talk]] - [[Special:Contributions/Mike Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 13:46, 16 May 2024 (UTC)
:::How is your bot logging in? Through the webui, or the api? If the API are you using a consumer grant or BotPasswords? — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 13:51, 16 May 2024 (UTC)
::::I don't have access to toolforge from where I am now, and since it was set up eighteen months ago I don't recall the details offhand, but as I recall I have a config set up in the toolforge shell account that handles the bot authentication. I think that means it uses BotPasswords? [[User:Mike Christie|Mike Christie]] ([[User talk:Mike Christie|talk]] - [[Special:Contributions/Mike Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 14:04, 16 May 2024 (UTC)
:::::@[[User:Mike Christie|Mike Christie]] You'd have to check your PyWikiBot <code>user-config.py</code> file. If it has an <code>authenticate[] = </code> line you're using oauth, if it has a <code>password_file = </code> line you're using BotPasswords. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 14:08, 16 May 2024 (UTC)
::::::I don't recall getting oauth to work so I think it must be BotPasswords, which I remember dealing with. (If {{u|SD0001}} is available and has a moment they may be able to look and confirm as they are a maintainer for that bot.) [[User:Mike Christie|Mike Christie]] ([[User talk:Mike Christie|talk]] - [[Special:Contributions/Mike Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 14:19, 16 May 2024 (UTC)
:::::::@[[User:Mike Christie|Mike Christie]] If that's the case, you'd have to go to [[Special:BotPasswords]], log in using your bot account, click on the password you're using for your bot, check the "Edit protected pages" box, and click "Update". <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 14:36, 16 May 2024 (UTC)
:::::::It's using BotPassword. It should be able to edit the page if the appropriate grant is checked as mentioned above. But from the error message, I am wondering if there is a code issue as well - the bot seems to be literally trying to edit [[Special:Log]] which of course isn't possible. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:58, 16 May 2024 (UTC)
::::::::That flag is now checked but it hasn't fixed the issue. The issue only occurs when trying to edit that page, using the same code that it uses for transcluding GA reviews on other talk pages, so I can't see why Special:Log is in the picture. There's certainly no explicit attempt by the bot to try to edit the special page. The error happens when it attempts to add text to the Page object's text field: in the traceback I see <code>self.botMayEdit()</code> is called, in pywikibot/page/_basepage.py, which eventually pops out to the Special:Log error for some reason. Later I will have time to add some code to trap the error so at least it'll finish its run, even if it can't do that particular transclusion. I'll do that this evening unless someone has any further ideas. Thanks for the help so far. [[User:Mike Christie|Mike Christie]] ([[User talk:Mike Christie|talk]] - [[Special:Contributions/Mike Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 19:04, 16 May 2024 (UTC)
:::::::::This appears to be an error in pywikibot, I can confirm it also occurs for me.<br/>{{cot|Full traceback}}<br/>---------------------------------------------------------------------------<br/>UnsupportedPageError Traceback (most recent call last)<br/>Cell In[1], line 4<br/> 2 site = pywikibot.Site('wikipedia:en')<br/> 3 page = pywikibot.Page(site, 'Talk:Israeli invasion of the Gaza Strip (2023–present)')<br/>----> 4 page text = 'foo'<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:576, in BasePage.text(self, value)<br/> 571 """Update the current (edited) wikitext.<br/> 572 <br/> 573 :param value: New value or None<br/> 574 """<br/> 575 try:<br/>--> 576 self.botMayEdit() # T262136, T267770<br/> 577 except Exception as e:<br/> 578 # dry tests aren't able to make an API call<br/> 579 # but are rejected by an Exception; ignore it then.<br/> 580 if not str(e).startswith('DryRequest rejecting request:'):<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1146, in BasePage.botMayEdit(self)<br/> 1131 """<br/> 1132 Determine whether the active bot is allowed to edit the page.<br/> 1133 <br/> (...)<br/> 1143 user cnfig file (user-config.py), or using page.put(force=True).<br/> 1144 """<br/> 1145 if not hasattr(self, '_bot_may_edit'):<br/>-> 1146 self _bot_may_edit = self._check_bot_may_edit()<br/> 1147 return self _bot_may_edit<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1163, in BasePage._check_bot_may_edit(self, module)<br/> 1161 username = self.site.username()<br/> 1162 try:<br/>-> 1163 templates = self.templatesWithParams()<br/> 1164 except (NoPageError, IsRedirectPageError, SectionError):<br/> 1165 return True<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_page.py:78, in Page.templatesWithParams(self)<br/> 62 """Return templates used on this Page.<br/> 63 <br/> 64 The templates are extracted by :meth:`raw_extracted_templates`,<br/> (...)<br/> 74 :rtype: list of (pywikibot.page.Page, list)<br/> 75 """<br/> 76 # WARNING: may not return all templates used in particularly<br/> 77 # intricate cases such as template substitution<br/>---> 78 titles = {t.title() for t in self.templates()}<br/> 79 templates = self raw_extracted_templates<br/> 80 # backwards-compatibility: convert the dict returned as the second<br/> 81 # element into a list in the format used by old scripts<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1612, in BasePage.templates(self, content)<br/> 1609 del self _templates<br/> 1611 if not hasattr(self, '_templates'):<br/>-> 1612 self _templates = set(self.itertemplates(content=content))<br/> 1614 return list(self._templates)<br style="margin-bottom:0.5em"/>File /usr/lib/python3.10/_collections_abc.py:330, in Generator.__next__(self)<br/> 326 def __next__(self):<br/> 327 """Return the next item from the generator.<br/> 328 When exhausted, raise StopIteration.<br/> 329 """<br/>--> 330 return self.send(None)<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/tools/collections.py:279, in GeneratorWrapper.send(self, value)<br/> 276 if not hasattr(self, '_started_gen'):<br/> 277 # start the generator<br/> 278 self _started_gen = self generator<br/>--> 279 return next(self._started_gen)<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:625, in QueryGenerator.generator(self)<br/> 622 self normalized = {}<br/> 624 try:<br/>--> 625 yield from self._extract_results(resultdata)<br/> 626 except RuntimeError:<br/> 627 break<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:567, in QueryGenerator._extract_results(self, resultdata)<br/> 565 """Extract results from resultdata."""<br/> 566 for item in resultdata:<br/>--> 567 result = self.result(item)<br/> 568 if self _namespaces and not self._check_result_namespace(result):<br/> 569 continue<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:736, in PageGenerator.result(self, pagedata)<br/> 734 elif ns == Namespace.CATEGORY:<br/> 735 p = pywikibot.Category(p)<br/>--> 736 update_page(p, pagedata, self.props)<br/> 737 return p<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:983, in update_page(page, pagedict, props)<br/> 966 def update_page(page: pywikibot Page,<br/> 967 pagedict: dict[str, Any],<br/> 968 props: Iterable[str] | None = None) -> None:<br/> 969 """<br/> 970 Update attributes of Page object *page*, based on query data in *pagedict*.<br/> 971 <br/> (...)<br/> 981 supported yet<br/> 982 """<br/>--> 983 _update_pageid(page, pagedict)<br/> 984 _update_contentmodel(page, pagedict)<br/> 986 props = props or []<br style="margin-bottom:0.5em"/>File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:882, in _update_pageid(page, pagedict)<br/> 880 raise InvalidTitleError(f"{page}: {pagedict['invalidreason']}")<br/> 881 if int(pagedict['ns']) < 0:<br/>--> 882 raise UnsupportedPageError(page)<br/> 883 raise RuntimeError(f"Page {pagedict['title']} has neither 'pageid'"<br/> 884 " nor 'missing' attribute")<br style="margin-bottom:0.5em"/>UnsupportedPageError: Page [[en:Special:Log]] is not supported due to namespace restriction.<br/>
{{cob}}
:::::::::<span id="Qwerfjkl:1715887299310:WikipediaFTTCLNVillage_pump_(technical)" class="FTTCmt">—&nbsp;[[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 19:21, 16 May 2024 (UTC)</span>
::::::::::Thanks. I've opened [[:phab:T365199]] for this and linked here. I'll just catch the exception in that case. [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 20:31, 16 May 2024 (UTC)


== Big placeholder thumbnails in search results ==
I am trying to make [[template:weather box]] play nice with right floating infoboxes, but I am afraid I do not know enough CSS to make this happen. The basic issue is that the current weather box sets the width to 90%, which appears to be based on the browser window width, so this causes lots of white space (see [http://en.wikipedia.org/w/index.php?title=Williams,_Arizona&oldid=434645084 here]). What I would like to do is have it push itself up and reduce its width to sit nicely in this open space. I was able to do this by removing the "width:90%" statement and adding "margin-left:5%" and "margin-right:5%" in the version shown [http://en.wikipedia.org/w/index.php?title=Williams,_Arizona&oldid=434644990 here], if the sandbox is still the same as how I left it. The problem is that now the box does not expand and contract when you change the width of the browser window, so it is more narrow in the case when there is no floating infobox on the right (see [http://en.wikipedia.org/w/index.php?title=Colorado_Springs,_Colorado&oldid=434648997 here] vs. [http://en.wikipedia.org/w/index.php?title=Colorado_Springs,_Colorado&oldid=434649166 here]. So, I am wondering if there is a way to have it always at a width of 90%, but have that width computed after subtracting the right floating elements, or if the only solution is to just reduce the width. Thank you. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 20:48, 16 June 2011 (UTC)
{{tracked|T320295}}
Search results have a thumbnail next to them, or a gray placeholder if there's no suitable image in the article. Since today, those placeholders are bigger than regular thumbnails, which also places them uncomfortably close to the article text. It appears to be caused by this CSS rule:


.searchResultImage .searchResultImage-thumbnail > div {
:Tough one. Ambox does what you want; it has a 10% margin set, but no widht. It's trick is to expand the right-side table cell to 100%, to cause the ambox table to take all available width (minus the 10%), even next to a floating element (see [[Template:Ambox/testcases]]). But where ambox only has two cells, the weather box has many. And trying to set it's header to 100% didn't work either. <span style="font-family:'Trebuchet MS',sans-serif"> — [[User:Edokter|<span style="color:#008"><i>E</i>dokter</span>]] ([[User_talk:Edokter|<span style="color:#080">talk</span>]]) — </span> 21:20, 16 June 2011 (UTC)
padding: 0.5em;
:: Yes, I got the idea for the "margin-left, margin-right" trick from ambox. A way around this might be to wrap the entire box inside another element (e.g. a div or a table) which expands the way we want it. I will do some more testing. Thank you. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 22:50, 16 June 2011 (UTC)
}
:: One method that works, using your hint, is to just add a very short blank row with set dimensions and at least two cells, like [http://en.wikipedia.org/w/index.php?title=User%3AFrietjes%2Fbox&action=historysubmit&diff=434670606&oldid=434667976 this]. To not make it so obvious, I then removed merged it with the row above. It's sort of a hack but closer to what we want. The only issue with this is that I had to specify the relative width for the far left cell, which isn't that bad, but is a slight change in the default format. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 23:17, 16 June 2011 (UTC)


[[User:Avessa|Avessa]] ([[User talk:Avessa|talk]]) 18:29, 16 May 2024 (UTC)
== "Google wikipedia" not working ==


:Thank you for reporting. This is a bit of fallout from [[phab:T320295]] and it should be fixed latest next week. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 18:54, 16 May 2024 (UTC)
The useful facility {{tl|google wikipedia}} has stopped working - {{google wikipedia}} now returns a message: "We're sorry... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now." Can anything be done to revive it? [[User:JohnCD|JohnCD]] ([[User talk:JohnCD|talk]]) 15:47, 17 June 2011 (UTC)
:Fixed, although the page displays with some text overlapping (the radio buttons) for some reason, but only if you link directly to a search, e.g. {{google wikipedia|search term}}. - [[User:Kingpin13|Kingpin]]<sup>[[Special:Contributions/Kingpin13|13]]</sup> ([[User talk:Kingpin13|talk]]) 16:05, 17 June 2011 (UTC)
::Thanks, that's much better than nothing, but I still usually (but not always) get the first item in the list overlapping the radio buttons even if I use the blank search form {{google wikipedia}}, and then the hyperlink to the first item doesn't work. (Firefox 4.0.1) [[User:JohnCD|JohnCD]] ([[User talk:JohnCD|talk]]) 17:25, 17 June 2011 (UTC)

Latest revision as of 22:53, 16 May 2024

 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).

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.

Broken "pages by quality" assessment template[edit]

I'm trying to do some upkeep with many of the neglected articles on Zoroastrianism. When I visit WP:Zoroastrianism (or any other page containing the template), it seems the pages by quality template is broken. Thus, I am unable to review the assessment status of relevant articles. Is this problem on the end of WP 1.0? For what reason would the server would return a broken list? Doughbo (talk) 21:47, 8 May 2024 (UTC)[reply]

The list isn't broken, it's empty. User:WP 1.0 bot/Tables/Project/Zoroastrianism hasn't been updated in over three years. I suspect that the WikiProject has been de-subscribed. --Redrose64 🌹 (talk) 15:59, 9 May 2024 (UTC)[reply]
Shouldn't it auto-populate with entries that have been project-tagged? eg. Talk:Gatha (Zoroaster). Doughbo (talk) 20:16, 9 May 2024 (UTC)[reply]
If you're sure about this, then I think your first step should be to "reactivate" WikiProject Zoroastrianism. As part of that you would update Template:WikiProject Zoroastrianism by changing "inactive" to "main", which would repopulate all the categories, which should make everything work again — Martin (MSGJ · talk) 20:34, 9 May 2024 (UTC)[reply]
Thanks. I'm still getting to know things around here, like which actions are appropriate, so I appreciate the help. Doughbo (talk) 15:58, 10 May 2024 (UTC)[reply]
Now that you've reactivated the project banner template, the categories are being populated again, so I've undeleted most of the category pages - all except Category:FL-Class Zoroastrianism articles and Category:A-Class Zoroastrianism articles. If these are also required, say so and I'll undelete them too. --Redrose64 🌹 (talk) 18:05, 10 May 2024 (UTC)[reply]
Thank you very much! I see that the list is now functioning properly on the template page. On the Assessment page, however, the old, broken list is still present. What is needed in order to replicate the new list? If possible, I'd like to also include a line for unassessed articles. Doughbo (talk) 22:57, 11 May 2024 (UTC)[reply]
It's dependent upon a bot run. I left a note at Wikipedia talk:Version 1.0 Editorial Team/Index. --Redrose64 🌹 (talk) 23:44, 11 May 2024 (UTC)[reply]
Thank you very much! I think I'm equipped from here on out. I've subscribed to the thread, so I'll check on any updates from there. Doughbo (talk) 21:53, 12 May 2024 (UTC)[reply]

special:export[edit]

Are special:export broken? I get an error if I choice "Include templates". Christian75 (talk) 08:35, 10 May 2024 (UTC)[reply]

Yes :( T364554 It'll probably be fixed on Monday. Matma Rex talk 09:48, 10 May 2024 (UTC)[reply]
Thanks. Resolved today. Christian75 (talk) 21:10, 13 May 2024 (UTC)[reply]

What Links Here misses links/transclusions wrapped in includeonly[edit]

I noticed this issue in Wikipedia:Templates for discussion/Log/2024 May 10#Template:Deleted template. In that discussion we used regexes (compare with WLH) to solve the problem but that's really error prone (this was the regex originally proposed in the TfD). Some more testing I did found that this also happens with regular links, not just transclusions. That means the issue affects all XfD venues. Can we get Special:WhatLinksHere to see links/transclusions between WP:INCLUDEONLY tags? If the current behavior is desirable for some reason, can a toggle be provided? Nickps (talk) 20:08, 10 May 2024 (UTC)[reply]

And funnily enough, I got the regex wrong while trying to prove that it's easy to get it wrong. Here's another attempt. Nickps (talk) 20:18, 10 May 2024 (UTC)[reply]
The current behaviour seems entirely correct to me - If the page "foo" contains either a link or a template wrapped in includeonly tags then the page "foo" does not actually contain that link or template. Only pages that transclude "foo" would have the link or template.
I don't see how this could be changed in the manner you suggest or why such a change would be beneficial - you would need the parser to render wikitext that it has explicitly been told not to render (and hope that doing so produces something sensible rather than a broken mess), then add entries to the linktables for links that don't actually exist. This seems likely to break all manner of things.
Your more complex "correct" regex does not capture every possible way of invoking the template, and doesn't actually capture any uses the simple case missed. You can call templates using all kinds of weird wikitext constructions, e.g. {{Dele{{void}}ted template}}, {{Deleted {{lc:{{NAMESPACE:Template:Cite}}}}}}. 86.23.109.101 (talk) 21:25, 10 May 2024 (UTC)[reply]
I believe I made my case for why my proposal is beneficial already. But, I'll elaborate further. When WLH is used in a deletion venue, what people want to know is where the nominated page is used. That includes links/transclusions between includeonly tags because, if the page is deleted, those will be affected too. I bet that 9 out of 10 frequent XfD participants will find the current behavior both surprising and undesirable.
Also, I never argued that my regex was "correct". That's why I called it "an attempt". In any case, you're making my point for me. Since regex won't work in the general case, we need something more powerful. Nickps (talk) 21:59, 10 May 2024 (UTC)[reply]
How is "the list of links only shows links that actually exist" and "the list of transclusions only shows places where a page is actually transcluded" surprising and undesirable behaviour? The whole point of includeonly tags is to stop stuff from being parsed when viewed directly.
I think you've missed that this behaviour isn't actually specific to includeonly tags, there are all manner of template coding schemes that can cause a template to call another template only in specific scenarios, the output can depend the parameters you pass it, where it is used, whether it is substituted, what the time is...
The point I was trying (and failing) to make RE regex is that the simplest, naïve approach to finding uses of the template found 6 uses. Your more comprehensive regex found 6 uses. While you can invoke templates using namespaces with arbitrary capitalisation and you can add whitespace and you could make the template name out of wikitext constructions these are rare to see in actual usage and the simple approach is good enough. 86.23.109.101 (talk) 23:47, 10 May 2024 (UTC)[reply]
The whole point of includeonly tags is to stop stuff from being parsed when viewed directly and the whole point of using WLH in XfD is to know all the pages that use a specific page in any way. Excluding everything between includeonly tags makes this intuition fail. You said, the simple approach is good enough. But if you read the TfD I linked above you'll see that the "simple approach" and the one tried first was not to use a regex. It was to trust WLH. In that case, no, the simple approach is not good enough. It utterly fails at what it's supposed to do. Nickps (talk) 00:03, 11 May 2024 (UTC)[reply]
Also, while most of the constructions I took into account are rare to see in actual usage adding whitespace is not. Nickps (talk) 00:13, 11 May 2024 (UTC)[reply]
I don't think we can. The template itself (which effectively excludes the includeonly section) doesn't transclude the page; the text it evaluates to does. It's a specific case of a more general insoluble problem. For example, a template Foo which transcludes [[{{{1}}}]] will, when called as {{Foo|Bar}}, transclude Bar, but as Template:Foo doesn't mention Bar there's no way to list Bar amongst its incoming links. Certes (talk) 21:01, 10 May 2024 (UTC)[reply]
But your Template:Foo does not link to Bar at all. It's just that the result of the transclusion of {{Foo|bar}} is a link to Bar. My motivating example is different. {{Expand}} directly links to {{Deleted template}}. The test to tell those two cases apart is simple. Just remove the includeonly tags. If you do that then {{Expand}} will show up in Special:WhatLinksHere/Template:Deleted template but {{Foo}} will not show up in Special:WhatLinksHere/Bar. And that's expected. What's unexpected is that when we add the includeonly tags back, the first link disappears. Why? It's clearly still there. Nickps (talk) 23:45, 10 May 2024 (UTC)[reply]
I don't think there is a way to achieve the OP's general request of finding all templates that use a template. If the template is called from inside a conditional if statement or similar, it won't appear in the "What links here" list either. There are no doubt more cases. – Jonesey95 (talk) 23:58, 10 May 2024 (UTC)[reply]
And that's wrong too if you ask me. If the link is spelled out in the source code of a given page then it should count for WLH. If we wrap a link in an if statement as in {{#if:{{{1|}}}|[[Foo]]}}, it shouldn't just disappear from the list. Nickps (talk) 00:32, 11 May 2024 (UTC)[reply]
Well, it's called "What links here" and the page doesn't link there. I don't know what else to tell you. Searching is necessary in some cases. – Jonesey95 (talk) 03:52, 11 May 2024 (UTC)[reply]
If the issue is semantics, then either rename "What links here" or add a "What links here including in noincude tags". At the end of the day, when you search for usages of a template (or any link), you are more than likely interested in all places it is used at, including those places. Gonnym (talk) 08:11, 11 May 2024 (UTC)[reply]
Turns out, this is already known since 2006. That issue only talks about categories, but the underlying idea is the same. Nickps (talk) 11:37, 11 May 2024 (UTC)[reply]
That phab task has nothing to do with what you are proposing here. That phab task is asking that articles should track where the categories on them are coming from and include that information in the category page, basically just adding metadata to the existing entries.
You are asking for template pages to parse content they have been told not to parse, somehow deal with missing parameters, figure out which templates "could" be used (even though this will vary with the parameters you provide) then add entries to the link tables for links and transclusions that don't actually exist. Certes has already tried to explain this to you once, but it is not possible to figure out an exhaustive list of every template that another template could call, as this depends upon how it is used. As a simple example, a template that contains the code {{cite {{{1}}}}} could end up evaluating to any of the citation templates ({{cite web}} {{cite book}} {{cite news}}) or an infinite number of redlinked template (e.g. {{cite foo}}) depending upon what someone puts into parameter 1. 86.23.109.101 (talk) 13:12, 11 May 2024 (UTC)[reply]
Nope, I never said anything about missing parameters. Your example is irrelevant. After all, there's nothing that says that parameters can only appear between includeonly tags. All I'm asking is that if for example, a template contains <includeonly>{{cite web}}</includeonly> then that template should appear in Special:Whatlinkshere/Template:cite web. Nickps (talk) 13:34, 11 May 2024 (UTC)[reply]
Let me turn that question back to you. How is {{cite {{{1}}}}} handled outside includeonly? This is a common usecase since not all templates wrap their code in includeonly (because they don't have to) and it works just fine. Why do you think that I ever asked we change that? Nickps (talk) 13:36, 11 May 2024 (UTC)[reply]
The data for WhatLinksHere is made when a page is rendered and actual links and transclusions are encountered during the rendering. It doesn't matter which code was used to produce the links. Code in <includeonly>...</includeonly> is ignored during rendering so no links are encountered. Your requested change would require something like a second rendering process where <includeonly>...</includeonly> is not ignored. It would be expensive and I'm pretty sure the developers would reject it as not worth the cost, and probably also as more likely to cause confusion than solve problems. Many users would be confused if WhatLinksHere reports links and transclusions which aren't actually in the page itself but may be in other pages which transclude it. PrimeHunter (talk) 22:26, 11 May 2024 (UTC)[reply]
It would be expensive. Per WP:PERF I can say that I don't care about that at all. What I suggest would be useful for XfD and that's all I care about. Now I agree with you that my proposal could potentially be confusing but that's easy to fix, just have the links explicitly marked as includeonly, like the phabricator issue suggests. Alternatively, you can make the feature opt-in so those links only appear for users that know they want them. Nickps (talk) 22:37, 11 May 2024 (UTC)[reply]

Thumb version and small version of some images are not shown[edit]

Resolved

Hi, for example, for the image c:File:Nasseraldinshah3.png the thumb version and small version are not shown. i.e,

Large version (280px) thumbnail version (not shown) small version (220px) (not shown)

This problem happens in Windows OS and Edge, Chrome and Firfox browsers, but not at Android. Please inspect. Thanks, Hooman Mallahzadeh (talk) 08:24, 11 May 2024 (UTC)[reply]

None of them are rendering for me. Firefox 125.0.3 --Redrose64 🌹 (talk) 14:03, 11 May 2024 (UTC)[reply]
@Redrose64 If you zoom in and out, the pictures would appear and disappear. But why this phenomenon occurs? Hooman Mallahzadeh (talk) 14:27, 11 May 2024 (UTC)[reply]
OK, if I use Ctrl++ to zoom in one step (to 110%), the left-hand image appears. If I zoom in four more steps (making five in all), to 170%, the second and third appear. By this time, the images are approaching the "natural" size of the image, which is 394 × 532 pixels; my guess is that there's something funny about the jpeg encoding that doesn't allow reduction beyond a certain limit. --Redrose64 🌹 (talk) 15:14, 11 May 2024 (UTC)[reply]
@Redrose64 Maybe! But this happens only for specific images between Wikipedia articles. When I view that at commons or standalone it seems that zoom in/out has no effect on its appearance. Hooman Mallahzadeh (talk) 15:27, 11 May 2024 (UTC)[reply]
There may be something broken with the full-size version of this image that browsers can cope with (which is why that can be displayed), while the software that's supposed to generate smaller versions can't. It may be enough just to download the affected images, open them in an image editing program, save a new copy, and upload that copy as a new version of each affected image (but I believe you need to be autopatrolled on Commons for that). Rummskartoffel 16:52, 11 May 2024 (UTC)[reply]
Size 100px
MediaWiki appears unable to scale it to any size. Only the original upload works. HTML for the "small" 220px version:
<a href="/wiki/File:Nasseraldinshah3.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/220px-Nasseraldinshah3.png" decoding="async" width="220" height="297" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/330px-Nasseraldinshah3.png 1.5x, //upload.wikimedia.org/wikipedia/commons/d/db/Nasseraldinshah3.png 2x" data-file-width="394" data-file-height="532"/></a>
MediaWiki uses srcset to offer different sizes and let the browser choose depending on circumstances. The above has three choices:
  1. https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/220px-Nasseraldinshah3.png
  2. https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Nasseraldinshah3.png/330px-Nasseraldinshah3.png
  3. https://upload.wikimedia.org/wikipedia/commons/d/db/Nasseraldinshah3.png (original 394px upload)
A smaller 100px version doesn't include the original 394px in srcset so no zooming will help there. PrimeHunter (talk) 16:44, 11 May 2024 (UTC)[reply]
Oddly, for me with Chrome 124.0.6367.158, looking at the diff for the initial post in visual diff mode displays all three images in the diff, but not in the page being displayed below the diff (I only see the leftmost image). (On Firefox 125.0.3, only the leftmost image is displayed in the visual diff and the page displayed below.) isaacl (talk) 17:24, 11 May 2024 (UTC)[reply]
Also when I do a simple reload via Ctrl-R on Chrome, all three images are displayed. (I see all three after posting a comment in this section; presumably the equivalent of a simple reload is being done.) If I do a force reload of the entire page via Shift-Ctrl-R on Chrome, just the leftmost image is shown. For me, page zoom doesn't cause the images to display/not display. isaacl (talk) 17:31, 11 May 2024 (UTC)[reply]
The 100px version in PrimeHunter's post doesn't display for me under any of these cases. isaacl (talk) 17:40, 11 May 2024 (UTC)[reply]
With both simple reload and force reload, I see three network requests being made. The first is for Nasseraldinshah3.png and it succeeds. The second two are for 330px-Nasseraldinshah3.png and 150px-Nasseraldinshah3.png, and they fail with a 429 code, "Too many requests". (As previously noted, the three images are displayed after the simple reload.) isaacl (talk) 18:05, 11 May 2024 (UTC)[reply]
Is this one of those multitudinous image problems that needs the image to be reuploaded to be fixed? — Qwerfjkltalk 18:34, 11 May 2024 (UTC)[reply]
I don't know. I think I understand better now why a simple reload causes the images to appear: since the original file URL (which was successfully retrieved) appears in the srcset for each of the images in the original post (but, as PrimeHunter stated, it doesn't get included for the 100px version), the browser will just use that to refresh the page, rather than try to match the file with the most appropriate pixel density based on the physical display (since with a simple refresh, the browser will try to avoid loading the images again, so there's no need to do a match if any of the images in the set are already available). My device probably has a different pixel density than the other commenters, such that changing the zoom level isn't causing the original image to be a match to be loaded. isaacl (talk) 22:58, 11 May 2024 (UTC)[reply]
I've uploaded a corrected version, but due to the 429, it will probably take a while (not sure how long) before we can see the effect of that. —TheDJ (talkcontribs) 09:16, 13 May 2024 (UTC)[reply]
It's fixed now. I processed it with the png-fix-IDAT-windowsize utility, to correct the invalid checksum it contained. —TheDJ (talkcontribs) 15:30, 13 May 2024 (UTC)[reply]

Can't login to the Wikipedia library[edit]

I do get this message "We are unable to validate your login credentials. Please contact your institution for assistance. Please note, Referring URL authentication may have been prevented by antivirus or privacy control software" but I'm not convinced that's the issue. But if others are able to login, it must be. Thanks. Doug Weller talk 09:34, 11 May 2024 (UTC)[reply]

I don't have the issue when I can see my credential in the upper right hand corner, and then search for Wikipedia:TWL . I can then see the library when I click on database access. Maybe the message is an artifact. -- Ancheta Wis   (talk | contribs) 09:50, 11 May 2024 (UTC)[reply]
The error message matches one at EBSCO, which is just one of the partners with TWL. I doubt it's TWL you can't log into. Nardog (talk) 10:18, 11 May 2024 (UTC)[reply]
@Nardog@Ancheta Wis That makes sense. I can login to the WL but not use it to search for articles. I can click on Access Collection - but I'm puzzled by the fact that when I click on Brill it looks as though it just takes me to their web page, and if I click on a books offers it for sale. I've never clicked on Brill before so don't know if that's what it should do. Doug Weller talk 12:14, 11 May 2024 (UTC)[reply]
Hello Doug Weller! I'm having the same problem, can get to the Library page but as soon as I use the search I'm taken to the EBSCO Error page you describe. Others also reporting this problem, like here. I use the Library all the time, use it to access ProQuest as an invaluable source for referencing. Hope this is just a temporary glitch. Take care, LooksGreatInATurtleNeck (talk) 22:37, 11 May 2024 (UTC)[reply]
Thanks. Looks like there are other problems as well. Doug Weller talk 02:46, 12 May 2024 (UTC)[reply]
cc @Samwalton9 (WMF). –Novem Linguae (talk) 17:00, 13 May 2024 (UTC)[reply]
@Doug Weller, Ancheta Wis, Nardog, LooksGreatInATurtleNeck, and Novem Linguae: Apologies for the delay in responding here, but we believe this issue should now be fixed. Samwalton9 (WMF) (talk) 08:48, 15 May 2024 (UTC)[reply]
Hello Samwalton9! No worries, I saw the reply over on the Wikipedia Library talk page. Thank-you kindly for fixing the issue! The Library is so useful for researching & referencing, I wouldn't want to be without it. Take care, LooksGreatInATurtleNeck (talk) 10:38, 15 May 2024 (UTC)[reply]
@Samwalton9 (WMF) Thanks. Ironic that when I searched for an article it led to a nonexistent page. I still found it though. Doug Weller talk 12:39, 15 May 2024 (UTC)[reply]

Can anyone think/suggest how to reliably archive a docx document from a website?[edit]

I want to archive https://dam.gettyimages.com/viewer/universal/rc3x9h8n56vqfxvhx7fjs which is a production notes/press document for the 2024 film Abigail since if I can't back it up it's just at very likely risk of Link Rot since they don't host these forever.

I tried webarchive but all it saves is the frame, not the content (https://web.archive.org/web/20240511101050/https://dam.gettyimages.com/viewer/universal/rc3x9h8n56vqfxvhx7fjs) and archive.today which does save the doc but only the first couple of pages (https://archive.ph/R8LNy), and finding the direct link to the document here didn't have any further success. Anyone know of any options that will work on reliable long term archive sites? Thanks Darkwarriorblake (talk) 10:35, 11 May 2024 (UTC)[reply]

Archived at this link. -- LCU ActivelyDisinterested «@» °∆t° 20:18, 11 May 2024 (UTC)[reply]
That's amazing, thanks ActivelyDisinterested, what was I missing? You archived the download link instead? Darkwarriorblake (talk) 21:09, 11 May 2024 (UTC)[reply]
Archived the download load link, that's just a redirect but archive.org saves the redirect destination as well. Find where the reditect went and you have your archive link. -- LCU ActivelyDisinterested «@» °∆t° 23:15, 11 May 2024 (UTC)[reply]

Migrating SQL data from one toolforge db to another[edit]

I run two tools on toolforge, both of which have SQL databases. I'd like to consolidate them under one of the tools and would like to migrate the data in one of the databases to the other. I could do this with a script to extract the data to a file, then connect to the other location and insert the data, but that's a lot more trouble than insert into <newdb>.<newtable> select * from <olddb>.<oldtable>, which is how I'd do it in SQL Server. For that I would need to be simultaneously connected to both databases at the SQL prompt, with write permission on the new database at the same time as read permission on the existing database, which is not currently public. Is there a way to do this at the MariaDB SQL prompt or do I have to just write that script? Mike Christie (talk - contribs - library) 12:42, 11 May 2024 (UTC)[reply]

I could do this with a script to extract the data to a file, then connect to the other location and insert the data. This is how I would do it. Can probably do everything you need from the command line. –Novem Linguae (talk) 16:59, 13 May 2024 (UTC)[reply]

ListeriaBot[edit]

I have written a SPARQL query that works perfectly on Wikidata query service but ListeriaBot seems unable to execute it and generate a table from it unless I delete the big optional clause. Please see here the template syntax and a link to the query on WDQS where you can run and verify the results (see the Query here too. I just wanted to test the water here and see if someone have had a similar experience before I contact the bot operator who might have their hands full. Assem Khidhr (talk) 04:06, 12 May 2024 (UTC)[reply]

Very long response times[edit]

I'm experiencing very long response times currently. Anyone else? Nurg (talk) 09:18, 12 May 2024 (UTC)[reply]

Me too. --Redrose64 🌹 (talk) 09:19, 12 May 2024 (UTC)[reply]
I got maintenance message. Grabup (talk) 09:20, 12 May 2024 (UTC)[reply]
seems there was a bit of a spike, but things returned to normal. https://www.wikimediastatus.netTheDJ (talkcontribs) 09:49, 12 May 2024 (UTC)[reply]

AFD signature needs correction[edit]

I edited Wikipedia:Articles for deletion/Cloverland, Washington prior to its closure, but probably didn't get something on the correct line. When it closed, it didn't show up at my AFC stats page. I think I erred on where I signed. Tried to correct it after it closed, with no luck. Other than that, it looks like others have also edited the closed template, and possibly re-opened it. I think others need to have a look at the status of this AFD. Thanks. — Maile (talk) 17:45, 12 May 2024 (UTC)[reply]

The AFD is still open. The "closure" was by a sock forging another user's signature. Suffusion of Yellow (talk) 17:58, 12 May 2024 (UTC)[reply]
Thanks — Maile (talk) 21:04, 12 May 2024 (UTC)[reply]
Suffusion of Yellow There's still an odd glitch. Normally, when I edit an open AFD, it shows up almost immediately on my AfD Statistics for User:Maile66, but it's still not showing up. Any ideas on what I did wrong? — Maile (talk) 21:20, 12 May 2024 (UTC)[reply]
I got it, finally! It didn't like where I put my signature, or something like that. It works now. — Maile (talk) 21:38, 12 May 2024 (UTC)[reply]

Force collapse navboxes[edit]

Is there any script or piece of CSS to collapse all navboxes? -- LCU ActivelyDisinterested «@» °∆t° 18:58, 12 May 2024 (UTC)[reply]

User:SD0001/AllCollapseToggle.js. It places a "Collapse all" / "Uncollapse all" button under the Tools menu. – SD0001 (talk) 05:17, 13 May 2024 (UTC)[reply]
Doesn't that already exist in core? Nardog (talk) 05:23, 13 May 2024 (UTC)[reply]
Thanks SD0001, much appreciated. -- LCU ActivelyDisinterested «@» °∆t° 09:38, 13 May 2024 (UTC)[reply]

May 2024 Accessibility for Reading Update: appearance menu, upcoming font size changes and customization, dark mode, and more[edit]

The Appearance menu with the corresponding parts: 1. Typography 2. Dark mode 3. Page width options

Hi everyone! This is an update on the current work of the Web team on the Accessibility for Reading initiative that introduces changes to the Vector 2022 and Minerva skins. It improves readability, and allows everyone, both logged-out and logged-in users, to customize reading-focused settings. It will also increase the default font size for logged-out users of wikis and introduce dark mode. Customization will be done through the new Appearance menu, which will contain options for customizing 1. typography (font size, line height, and paragraph spacing combined), 2. color scheme (dark/light), and 3. page width.

1. Appearance menu, typography improvements, and font size changes for logged-out users

In December 2023, we introduced the "Accessibility for Reading" beta feature. It adds the Appearance menu which allows logged-in users to choose different font sizes and page widths. This makes it possible for people to read in a font size that they prefer and customize their experience. Since the introduction of the menu, we have studied its usage and performed usability testing:

  • No significant issues were observed, but based on the feedback, we have changed the copy and behavior of the menu (for example, we have renamed the "night" color scheme to "dark").
  • The majority of users who interact with the feature opt for a font size that is larger than the current default. This confirms our hypothesis that most users prefer a larger font size. We previously saw this in the findings from the community prototype testing.

Based on this data, we plan on increasing the default font size for all readers. The current (smaller) default will be kept for logged-in users and as one of the options so that anyone can return to the font size used in the past.

2. Dark mode

Dark mode is a highly-requested reading feature which was the top wish on last year’s Community Wishlist. We will bring dark mode to the desktop and mobile websites. Currently, dark mode is available to logged-in users on the mobile site (Minerva skin only). To access this feature, you must first be opted into advanced mode for mobile. Then, you can select "dark" from the list of color options. ("Automatic" will follow the preference of your device.) See the more detailed message about this change.

3. Page width options

  • With the introduction of Vector 2022, we made available the option for all readers and editors to switch their view from limited to full with a toggle in the bottom right corner of the screen.
  • That limited/full width toggle will be moved to the Appearance menu instead of being in the corner of the screen.
  • We will be also switching some pages to full width by default, including the main page.

Coming up soon!

Over the next weeks, we will be preparing for significant deployments related to this project:

  • First, we plan on introducing dark mode to the desktop website as a beta feature.
  • Then, we will bring the Appearance menu for all users and change the default font size for all logged-out readers.
  • Finally, after a period of testing, we plan on bringing dark mode into the Appearance menu for all users on the desktop and mobile websites.  

This is just a report. Later this week, we will post more information, and invite you to a discussion. In the meantime, please check out the Accessibility for Reading beta feature. If you want to know more about the project, go to our project page for updates and general overview, and to the FAQ page for more details. You can also subscribe to our newsletter. Thanks! SGrabarczuk (WMF) (talk) 13:33, 13 May 2024 (UTC)[reply]

The above message says: The majority of users who interact with the feature opt for a font size that is larger than the current default. This confirms our hypothesis that most users prefer a larger font size. Leaving aside the selection bias problems in that statement, the phabricator link appears to indicate the opposite, that 44.9% of sessions eventually opt for small (default: font=0) font size; 43.6% of sessions eventually opt for standard (font=1) font size; 11.5% of sessions eventually opt for large (font=2) font size. What am I missing? – Jonesey95 (talk) 14:34, 13 May 2024 (UTC)[reply]
Hey @Jonesey95. The selection bias part needs to be addressed by someone else than me, but to your point about the link indicating the opposite: Standard + Large (larger font size) > Small (default). SGrabarczuk (WMF) (talk) 16:36, 13 May 2024 (UTC)[reply]
That's what I was missing: the small size was the default. I confused the word "standard" with "default", I suppose. – Jonesey95 (talk) 17:07, 13 May 2024 (UTC)[reply]
Hey @Jonesey95 - wanted to leave a quick note on the selection bias question. In terms of the selection bias, we recognize that there is a very specific audience that will be opted into our beta feature, which is a downside of any beta feature data to begin with. This is generally an audience of active logged-in users who are interested in trying out new features in the first place (they are quite different from the average reader). For some features, that might be a sufficient proxy. For others, it might not make as much sense. In general, we try to get data from multiple different sources in order to account for this. In this case, we did prototype testing on a subset of logged-in users across languages, user testing with logged-out readers, as well as the beta feature launch. We've also launched the feature as the default for logged-out users on a small set of wikis to see if the data we're seeing there resembles what we saw on beta. These should be sufficient predictors of the behavior in production, but it's important to measure and double-check. Once we have a wider release, we'll do a similar comparison as well. OVasileva (WMF) (talk) 14:41, 14 May 2024 (UTC)[reply]

Panoviewer.toolforge.org is down[edit]

Template does not work. Panoviewer.toolforge.org is down. Liglioto (talk) 09:38, 13 May 2024 (UTC)[reply]

Template:PanoViewer isn't protected, feel free to adjust it. That external tool isn't supported by us here on the English Wikipedia, and has sparse documentation on where to report problems. You can try to open a bug on it similar to phab:T354949. — xaosflux Talk 15:33, 13 May 2024 (UTC)[reply]
Noting for reference that following phab:T354949#9792952, Panoviewer seems to be working again. All the best, ‍—‍a smart kitten[meow] 12:14, 14 May 2024 (UTC)[reply]

Typing, but text appears a few lines below my cursor[edit]

Hi, I'm encountering a weird bug (it's not the first time it's happened). When I type text in a long page in visual source editing (the 2017 wikitext mode), I'm getting some funky behaviour where what I'm actually typing ends up being multiple lines below my cursor. The video attached is this occurring on this page, but it sometimes happens on other such long pages.

Any ideas to debug?

Cheers, Cocobb8 (💬 talk • ✏️ contribs) 21:29, 13 May 2024 (UTC)[reply]

Smells like a code highlighter userscript/gadget bug. Are you able to reproduce when adding ?safemode=1 / &safemode=1 to the URL? This will turn off gadgets and user scripts. I suspect you will not be able to reproduce it. Next step after that will be tracking down which code highlighter userscript/gadget and reporting the bug on their talk page. –Novem Linguae (talk) 08:07, 15 May 2024 (UTC)[reply]
@Novem Linguae I did some debugging, and figured out that the issue is caused by the Syntax Highlighter itself. I'll report it on Phabricator. Cocobb8 (💬 talk • ✏️ contribs) 13:04, 15 May 2024 (UTC)[reply]

Tech News: 2024-20[edit]

MediaWiki message delivery 23:56, 13 May 2024 (UTC)[reply]

CORS auth[edit]

Hello. I'm trying to edit Wikidata from Wikipedia (ro.wp to be precise) using a user script, but I am unable to do it under my user. The code from ro:MediaWiki:Gadget-wikidata-description.js works, it obtains an edit token and does the change, but in the history my IP appears. I made sure I am logged in both wikis. Can anyone give me an example of working code or some pointer on how to do the edits as logged-in user? Thanks! Strainu (talk) 08:59, 14 May 2024 (UTC)[reply]

mw.ForeignApi is the supported interface for accessing sister site APIs. Fetching a token manually isn't required, postWithEditToken() will do it for you. – SD0001 (talk) 09:08, 14 May 2024 (UTC)[reply]
Works like a charm, thank you! Strainu (talk) 09:53, 14 May 2024 (UTC)[reply]
Resolved
Novem Linguae (talk) 08:05, 15 May 2024 (UTC)[reply]

Problem in map?[edit]

Hi,
Tenganan editing shows this (in red):

Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_mapsize1"
Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_map_caption1"
Preview warning: Page using Template:Infobox settlement with unknown parameter "pushpin_map1"

It was there when I arrived on the page and I have zero idea about what brings that up. (and I'm supposed to be working and I'm starting to run late on the job, so really no time to get into anything as mysterious as that.) Anyone would know how to get rid of that, please? If no (very) simple fix is possible, thanks for letting me know whom I can ask who would be willing to sort it out. Have a good day. Pueblo89 (talk) 13:20, 14 May 2024 (UTC)[reply]

 FixedJonesey95 (talk) 13:31, 14 May 2024 (UTC)[reply]

Anchoring new sections to set location on talk page[edit]

As I've formatted my user talk page in a manner that encloses all sections in a table, I was wondering if there is a way to have new talk page sections added at a specific point on a talk page, rather than simply at the end. Specifically, a means that would work with the default 'New section' button above the talk page, rather than the addition of a second, custom 'New section' wikilink or button on the talk page itself. -CoolieCoolster (talk) 01:35, 15 May 2024 (UTC)[reply]

There is not. I doubt this is something that will be added. Izno (talk) 02:25, 15 May 2024 (UTC)[reply]
If you remove the closing |}</div> tags, new sections will effectively go inside your custom frame. On the other hand, you might get people grumbling about this being a Linter error. Framing talk pages like this isn't well supported. Matma Rex talk 02:40, 15 May 2024 (UTC)[reply]

IP Information tool[edit]

Facing a new issue today regarding the IP Information Tool where access to some of the non-admin information does not show up in the Special:Contributions page for an IP as it did before. That page now only shows "Version", "Active blocks", and "Contributions". Oddly, the country (not city) location still pops up on the watchlist preview, even though it does not show on the Contributions page. Anyone else seeing similar? Best, CMD (talk) 08:00, 15 May 2024 (UTC)[reply]

The IP information drop down has been returning no information for me other than the version (IPv4 vs. IPv6), local block info and contribs for the last two days. It's like it can't access any of the data from whichever database it draws from. Every other field simply states "not available".-- Ponyobons mots 21:43, 15 May 2024 (UTC)[reply]
And regarding my odd note on watchlist preview, this only happens sometimes, with even different edits from the same IP showing me country location in one instance but not another. CMD (talk) 01:50, 16 May 2024 (UTC)[reply]
Further learning, I can refresh the same IP contributions page repeatedly and sometimes it will show me the country, sometimes it will show no access. CMD (talk) 03:25, 16 May 2024 (UTC)[reply]
Can someone link a page where this has recently happened to them, so that I can try to reproduce? –Novem Linguae (talk) 07:15, 16 May 2024 (UTC)[reply]
@Novem Linguae: it happens on any IP contributions page (this one, for example).-- Ponyobons mots 15:29, 16 May 2024 (UTC)[reply]
Thanks, I'm able to reproduce. According to https://phabricator.wikimedia.org/T363118#9804312, "not available" is case #2. This means Spur/Maxmind doesn't have that data. Looking at these fields, they're all populated by Spur. Maxmind and Spur have different coverage, so we may have a location for an IP but no other data for it.. So that one is not a bug and they have no plans to patch it, it looks like. –Novem Linguae (talk) 15:56, 16 May 2024 (UTC)[reply]
I don't understand how that data was available consistently for all IPs, then suddenly is missing for nearly all of them. It renders the entire IP contribs drop down useless. Oh well.-- Ponyobons mots 16:13, 16 May 2024 (UTC)[reply]
Someone just commented in the ticket that they think it's happening way more than it used to and they think something is broken. So it may be a bug after all. Here's hoping the devs figure it out. –Novem Linguae (talk) 16:47, 16 May 2024 (UTC)[reply]

Dark mode is available in Vector 2022 as a beta feature[edit]

Hi everyone, the Wikimedia Foundation Web team has just released dark mode for logged-in users on desktop across all wikis for testing purposes. It's part of the Accessibility for Reading (Vector 2022) beta feature.

Just like previously, when we were releasing this feature for logged-in users on mobile, our goals for the early rollout are to:

  • Show what we've built very early. The earlier you are involved, the more your voices will be reflected in the final version
  • Get your help with flagging bugs, issues, and requests
  • Work with technical editors to adjust various templates and gadgets to the dark mode

Known limitations

  • Dark mode is only available for logged-in users: on desktop as a beta feature, and on mobile in the advanced mode.
  • Gadgets may initially not work well with dark mode and may have to be updated.
  • Our first goal is making dark mode work on articles. Special pages, talk pages, and other namespaces (including Wikipedia) have not been updated to work in dark mode yet. We have temporarily disabled dark mode on some of these pages.

What we would like you to do

Our request to you is exactly the same as previously:

  1. To opt into dark mode, select the Accessibility for Reading beta feature from the beta feature list. This will opt you into the Appearance menu displayed in the right sidebar on every page. More about the menu itself here.
  2. Next, go to different articles and look for issues:
    • If you have noticed an issue with a template but do not know how to fix it
      1. Go to the recommendations page and find a relevant example
      2. If no relevant example is available or you're not sure of the fix, contact us
    • If you want to debug many templates in dark mode
      1. Go to https://night-mode-checker.wmcloud.org/ and identify templates that need to be fixed. The tool flags the top 100 most read articles.
      2. Go to the recommendations page and find a relevant example
      3. If no relevant example is available or you're not sure of the fix, contact us
    • If you want to identify problems beyond the top 100 articles.
      1. Install the WCAG color contrast browser extension (Chrome, Firefox) and visit some articles. Use it to identify problems
      2. Go to the recommendations page and find relevant examples
      3. If no relevant example is available or you're not sure of the fix, contact us
    • If you have a bug report for dark mode that is not related to templates
      1. Take a screenshot of what you are observing.
      2. Contact us. If possible, please write down your browser version and operating system version.

When most issues are solved, we'll be able to make the dark mode available for readers on both desktop and mobile. Go to the Accessibility for Reading project page and the FAQ page to see more information about the basics of this project. Thank you! SGrabarczuk (WMF) (talk) 21:47, 15 May 2024 (UTC)[reply]

I don't know if this was the right move. Tons of pages still look like garbage (shoutout Special:Watchlist)—the theme is definitely not ready for use by non-technical editors. It wouldn't be too bad if you had made a seperate beta option for it—because you've clumped it in with Accessibility for Reading a couple people have gone on the Discord confused. Snowmanonahoe (talk · contribs · typos) 23:54, 15 May 2024 (UTC)[reply]
"Fixing" it is as simple as setting your personal chosen theme to light mode.
As for tons of pages, I just got separate word that OOUI interfaces don't support light mode (currently/ever?), which is why Watchlist has light elements. Perhaps it shouldn't be displaying as dark. Izno (talk) 00:08, 16 May 2024 (UTC)[reply]
Articles too. Along with interface pages, editnotices, syntax highlighting, half the mboxes... Snowmanonahoe (talk · contribs · typos) 00:27, 16 May 2024 (UTC)[reply]
The point is for editors to find these things. Might as well drop logged users in and let them make the two button presses to find a different, less-painful choice. Izno (talk) 00:41, 16 May 2024 (UTC)[reply]
Exactly, there is no magic fairy dust for some of this, just grunt work to fix the pages and templates that never had to account for a darkmode. —TheDJ (talkcontribs) 14:56, 16 May 2024 (UTC)[reply]
We do have a long-term solution for OOUI fixes that is in development right now. We hope to have it ready within the next couple of weeks. In the meantime however, pages like Watchlist and should be displaying in light mode so this is a bug. We're tracking it in phab:T365084 and should have a fix out later today. OVasileva (WMF) (talk) 07:36, 16 May 2024 (UTC)[reply]
@SGrabarczuk (WMF): Is there really a plan to take over the right 1/4 of screen with a "settings" panel every time someone opens a page in a new private tab, or clears cookies, or switches to a new language, or doesn't realize what the "hide" button does? Or is that just so in-your-face during the testing phase? Suffusion of Yellow (talk) 02:01, 16 May 2024 (UTC)[reply]
Hey @Suffusion of Yellow - thanks for the question. In general, we think this is the most effective way to launch the new menu and be able to inform users about it. It removes the necessity to add additional modals or notices that say "New menu available!" or "Dark mode available", which would otherwise show on every pageview. So, the current plan is to keep the menu open by default for the wider release as well for all logged-in and logged-out users. Then, after the release, we can look at the data to gauge whether we need to keep it open as default, or collapse, and when. OVasileva (WMF) (talk) 07:40, 16 May 2024 (UTC)[reply]
Why can't it be on the left side, with the TOC? Or better yet, just put a plain-text link at the top? I mean, registered users have already been able to find the "preferences" link for 20 years now. Right when I open up testwiki:LOREM IPSUM (or any page with a TOC) on my phone in a new private tab, then switch to the desktop site, about half my screen is whitespace, and the text is squished into a narrow little strip in the middle. It's unusable until I hide the settings column
People are reading a website, not installing software. There shouldn't be a "setup" stage before they can get down to the business of looking up that one little fact. The defaults should at least be usable. Suffusion of Yellow (talk) 17:11, 16 May 2024 (UTC)[reply]
@SGrabarczuk (WMF): https://night-mode-checker.wmcloud.org/ appears to only be for the mobile version. Is there is desktop report? Also, the beta is only for Vector 2022. Many editors still use legacy vector or other skins, will the new feature be moved to any other skin besides Vector 2022? How does the new feature compare to the dark mode gadget that is currently available? RudolfRed (talk) 03:31, 16 May 2024 (UTC)[reply]
This dark mode is only going to be supported on Vector 22 and Minerva so far as I know. Izno (talk) 03:54, 16 May 2024 (UTC)[reply]
The main idea of the new feature is that it doesn't invert colors that are not known to be invertable. This causes the colors on Pantone for example to not be distorted. Snowmanonahoe (talk · contribs · typos) 11:43, 16 May 2024 (UTC)[reply]

'Undo' button now says 'cin gbere le'[edit]

What it looks like

For some reason, if I go to the page history of any enwiki page, the undo button now says "cin gbere le" instead of "undo", as shown in the screenshot here. It just started happening today all of a sudden. Anyone else had this problem?

Note: the button actually still works, I just tested it here, it's just the button text that's different. — AP 499D25 (talk) 08:41, 16 May 2024 (UTC)[reply]

  • Short answer, don't use en-gb. Long answer - its upstream vandalism at translatewiki of the MediaWiki:Editundo message in the en-gb language. Language (Warning: Selecting a language other than 'en - English' will prevent you from seeing localized parts of the interface on the English Wikipedia, and you may see inaccurate external translations.):xaosflux Talk 09:04, 16 May 2024 (UTC)[reply]
    The upstream vandalism seems to have been cleared, but now you will have to wait for sync. Or just change to en. — xaosflux Talk 09:09, 16 May 2024 (UTC)[reply]
    I created MediaWiki:Editundo/en-gb with "undo". Presumably that can be deleted when it synchronises — Martin (MSGJ · talk) 10:01, 16 May 2024 (UTC)[reply]
    I see! Lol. Indeed, I have my interface language set to en-gb. Though I'm not sure how a protected page like that got vandalised. I guess it's unprotected on the translatewiki. — AP 499D25 (talk) 09:16, 16 May 2024 (UTC)[reply]
    It's not quite the most aggressive action by the Provisional Change to EN Brigade that I've ever seen, but it's up there. DuncanHill (talk) 10:09, 16 May 2024 (UTC)[reply]
    DuncanHill, Just wait until the Real Changes mob find out though  ;) ——Serial Number 54129 10:21, 16 May 2024 (UTC)[reply]
Non-English en-gb messages are nearly always somebody editing the wrong Translatewiki messages when trying to translate another language. Here translatewiki:User:Umar Ahmad2345 was trying to make Nupe (nup) which sounds amusingly like noob. It's not an option in our preferences but maybe it's coming. Incubator has a Nupe Wikipedia. PrimeHunter (talk) 11:09, 16 May 2024 (UTC)[reply]
Almost nothing is protected on translatewiki for messages, it's ripe for abuse. — xaosflux Talk 13:30, 16 May 2024 (UTC)[reply]

Harv and Sfn no-target error help please[edit]

Hi. One of my pastimes is trying to empty Category:Harv and Sfn no-target errors. Today I found Military courts of the United Kingdom, which has multiple uses of {{sfn|Armed Forces Act|2006}} which are meant to link to {{UK-LEG|title=Armed Forces Act 2006|path=ukpga/2006/52 |ref={{harvid|Armed Forces Act|2006}}}} but don't. I can't work out how to fix the no-target errors and get the link from sfn to citation template to work. Any help will be appreciated, thank you. DuncanHill (talk) 10:22, 16 May 2024 (UTC)[reply]

{{UK-LEG}} does not know about |ref= so does not create an anchor ID. Without an anchor ID, {{sfn}} has nothing to link to. Your options are to modify {{UK-LEG}} or implement an appropriate solution from the list of possible solutions at :Category:Harv and Sfn template errors § Resolving errors: {{wikicite}} (best) or {{anchor}} (not so best).
Trappist the monk (talk) 10:53, 16 May 2024 (UTC)[reply]
@Trappist the monk: Thanks, so like this? DuncanHill (talk) 22:39, 16 May 2024 (UTC)[reply]
I got a bit confused at first because the instructions at :Category:Harv and Sfn template errors § Resolving errors only say "wrapping a plain-text citation inside {{wikicite}} and setting |ref= or |id= as appropriate to match the value expected by the short-cite template", whenwikicite can "be assigned templates as well as text". DuncanHill (talk) 22:53, 16 May 2024 (UTC)[reply]

ChristieBot, which manages GA nominations, has been crashing when trying to transclude the GA review to Talk:Israeli invasion of the Gaza Strip (2023–present). The error is "Page en:Special:Log is not supported due to namespace restriction". The page is extended-confirmed protected. The bot does have extended-confirmed rights as part of the bot group rights, but presumably is missing some other related permission. I can change the code to not crash and simply log the error, but I'm at work and won't be able to touch the code for a few hours. If anyone can tell me what the problem is I would appreciate it. Thanks. Mike Christie (talk - contribs - library) 12:48, 16 May 2024 (UTC)[reply]

@Mike Christie check your bot permissions grant, that you have enabled Edit protected pages. — xaosflux Talk 13:33, 16 May 2024 (UTC)[reply]
Is this something I can set myself, and if so, where? (I'm not an admin.) I thought that a bot just needed the same user rights as a non-bot editor would need to edit a given page. Mike Christie (talk - contribs - library) 13:46, 16 May 2024 (UTC)[reply]
How is your bot logging in? Through the webui, or the api? If the API are you using a consumer grant or BotPasswords? — xaosflux Talk 13:51, 16 May 2024 (UTC)[reply]
I don't have access to toolforge from where I am now, and since it was set up eighteen months ago I don't recall the details offhand, but as I recall I have a config set up in the toolforge shell account that handles the bot authentication. I think that means it uses BotPasswords? Mike Christie (talk - contribs - library) 14:04, 16 May 2024 (UTC)[reply]
@Mike Christie You'd have to check your PyWikiBot user-config.py file. If it has an authenticate[] = line you're using oauth, if it has a password_file = line you're using BotPasswords. --Ahecht (TALK
PAGE
)
14:08, 16 May 2024 (UTC)[reply]
I don't recall getting oauth to work so I think it must be BotPasswords, which I remember dealing with. (If SD0001 is available and has a moment they may be able to look and confirm as they are a maintainer for that bot.) Mike Christie (talk - contribs - library) 14:19, 16 May 2024 (UTC)[reply]
@Mike Christie If that's the case, you'd have to go to Special:BotPasswords, log in using your bot account, click on the password you're using for your bot, check the "Edit protected pages" box, and click "Update". --Ahecht (TALK
PAGE
)
14:36, 16 May 2024 (UTC)[reply]
It's using BotPassword. It should be able to edit the page if the appropriate grant is checked as mentioned above. But from the error message, I am wondering if there is a code issue as well - the bot seems to be literally trying to edit Special:Log which of course isn't possible. – SD0001 (talk) 17:58, 16 May 2024 (UTC)[reply]
That flag is now checked but it hasn't fixed the issue. The issue only occurs when trying to edit that page, using the same code that it uses for transcluding GA reviews on other talk pages, so I can't see why Special:Log is in the picture. There's certainly no explicit attempt by the bot to try to edit the special page. The error happens when it attempts to add text to the Page object's text field: in the traceback I see self.botMayEdit() is called, in pywikibot/page/_basepage.py, which eventually pops out to the Special:Log error for some reason. Later I will have time to add some code to trap the error so at least it'll finish its run, even if it can't do that particular transclusion. I'll do that this evening unless someone has any further ideas. Thanks for the help so far. Mike Christie (talk - contribs - library) 19:04, 16 May 2024 (UTC)[reply]
This appears to be an error in pywikibot, I can confirm it also occurs for me.
Full traceback

---------------------------------------------------------------------------
UnsupportedPageError Traceback (most recent call last)
Cell In[1], line 4
2 site = pywikibot.Site('wikipedia:en')
3 page = pywikibot.Page(site, 'Talk:Israeli invasion of the Gaza Strip (2023–present)')
----> 4 page text = 'foo'
File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:576, in BasePage.text(self, value)
571 """Update the current (edited) wikitext.
572
573 :param value: New value or None
574 """
575 try:
--> 576 self.botMayEdit() # T262136, T267770
577 except Exception as e:
578 # dry tests aren't able to make an API call
579 # but are rejected by an Exception; ignore it then.
580 if not str(e).startswith('DryRequest rejecting request:'):
File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1146, in BasePage.botMayEdit(self)
1131 """
1132 Determine whether the active bot is allowed to edit the page.
1133
(...)
1143 user cnfig file (user-config.py), or using page.put(force=True).
1144 """
1145 if not hasattr(self, '_bot_may_edit'):
-> 1146 self _bot_may_edit = self._check_bot_may_edit()
1147 return self _bot_may_edit
File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1163, in BasePage._check_bot_may_edit(self, module)
1161 username = self.site.username()
1162 try:
-> 1163 templates = self.templatesWithParams()
1164 except (NoPageError, IsRedirectPageError, SectionError):
1165 return True
File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_page.py:78, in Page.templatesWithParams(self)
62 """Return templates used on this Page.
63
64 The templates are extracted by :meth:`raw_extracted_templates`,
(...)
74 :rtype: list of (pywikibot.page.Page, list)
75 """
76 # WARNING: may not return all templates used in particularly
77 # intricate cases such as template substitution
---> 78 titles = {t.title() for t in self.templates()}
79 templates = self raw_extracted_templates
80 # backwards-compatibility: convert the dict returned as the second
81 # element into a list in the format used by old scripts
File /srv/paws/lib/python3.10/site-packages/pywikibot/page/_basepage.py:1612, in BasePage.templates(self, content)
1609 del self _templates
1611 if not hasattr(self, '_templates'):
-> 1612 self _templates = set(self.itertemplates(content=content))
1614 return list(self._templates)
File /usr/lib/python3.10/_collections_abc.py:330, in Generator.__next__(self)
326 def __next__(self):
327 """Return the next item from the generator.
328 When exhausted, raise StopIteration.
329 """
--> 330 return self.send(None)
File /srv/paws/lib/python3.10/site-packages/pywikibot/tools/collections.py:279, in GeneratorWrapper.send(self, value)
276 if not hasattr(self, '_started_gen'):
277 # start the generator
278 self _started_gen = self generator
--> 279 return next(self._started_gen)
File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:625, in QueryGenerator.generator(self)
622 self normalized = {}
624 try:
--> 625 yield from self._extract_results(resultdata)
626 except RuntimeError:
627 break
File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:567, in QueryGenerator._extract_results(self, resultdata)
565 """Extract results from resultdata."""
566 for item in resultdata:
--> 567 result = self.result(item)
568 if self _namespaces and not self._check_result_namespace(result):
569 continue
File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:736, in PageGenerator.result(self, pagedata)
734 elif ns == Namespace.CATEGORY:
735 p = pywikibot.Category(p)
--> 736 update_page(p, pagedata, self.props)
737 return p
File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:983, in update_page(page, pagedict, props)
966 def update_page(page: pywikibot Page,
967 pagedict: dict[str, Any],
968 props: Iterable[str] | None = None) -> None:
969 """
970 Update attributes of Page object *page*, based on query data in *pagedict*.
971
(...)
981 supported yet
982 """
--> 983 _update_pageid(page, pagedict)
984 _update_contentmodel(page, pagedict)
986 props = props or []
File /srv/paws/lib/python3.10/site-packages/pywikibot/data/api/_generators.py:882, in _update_pageid(page, pagedict)
880 raise InvalidTitleError(f"{page}: {pagedict['invalidreason']}")
881 if int(pagedict['ns']) < 0:
--> 882 raise UnsupportedPageError(page)
883 raise RuntimeError(f"Page {pagedict['title']} has neither 'pageid'"
884 " nor 'missing' attribute")
UnsupportedPageError: Page en:Special:Log is not supported due to namespace restriction.
— Qwerfjkltalk 19:21, 16 May 2024 (UTC)[reply]
Thanks. I've opened phab:T365199 for this and linked here. I'll just catch the exception in that case. Mike Christie (talk - contribs - library) 20:31, 16 May 2024 (UTC)[reply]

Big placeholder thumbnails in search results[edit]

Search results have a thumbnail next to them, or a gray placeholder if there's no suitable image in the article. Since today, those placeholders are bigger than regular thumbnails, which also places them uncomfortably close to the article text. It appears to be caused by this CSS rule:

.searchResultImage .searchResultImage-thumbnail > div { 
  padding: 0.5em;
}

Avessa (talk) 18:29, 16 May 2024 (UTC)[reply]

Thank you for reporting. This is a bit of fallout from phab:T320295 and it should be fixed latest next week. —TheDJ (talkcontribs) 18:54, 16 May 2024 (UTC)[reply]