Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
JohnCD (talk | contribs)
 
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 bottomend 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__
<spandiv 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.
 
-->
 
== ProblemTech withNews: box padding2024-21 ==
 
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.
 
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.
 
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)
 
: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)
 
::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)
 
::I cant see where [[Wikipedia:Reusing Wikipedia content]] mentions November 2008.
::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>
::[[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)
----
;Examples
* [[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.
* [[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).
* [[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.
* [[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.
* [[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)
 
== WikiProject category templates ==
 
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)
 
== TW SPI reporting not working ==
 
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)
:Please see [[WT:Twinkle]] —[[User:Department of Redundancy Department|DoRD]] ([[User talk:Department of Redundancy Department|talk]]) 15:35, 10 June 2011 (UTC)
 
== Huggle ==
 
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)
 
: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)
 
<section begin="technews-2024-W21"/><div class="plainlinks">
:::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)
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/21|Translations]] are available.
 
'''Recent changes'''
== Last login - "touched field" ==
* The [[mw:Special:MyLanguage/Extension:Nuke|Nuke]] feature, which enables administrators to mass delete pages, will now correctly delete pages which were moved to another title. [https://phabricator.wikimedia.org/T43351]
* New changes have been made to the UploadWizard in Wikimedia Commons: the overall layout has been improved, by following new styling and spacing for the form and its fields; the headers and helper text for each of the fields was changed; the Caption field is now a required field, and there is an option for users to copy their caption into the media description. [https://commons.wikimedia.org/wiki/Commons:WMF_support_for_Commons/Upload_Wizard_Improvements#Changes_to_%22Describe%22_workflow][https://phabricator.wikimedia.org/T361049]
 
'''Changes later this week'''
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)
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.6|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-05-21|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-05-22|en}}. It will be on all wikis from {{#time:j xg|2024-05-23|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar]
: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)
* [[File:Octicons-tools.svg|12px|link=|alt=|Advanced item]] The HTML used to render all headings [[mw:Heading_HTML_changes|is being changed to improve accessibility]]. It will change on 22 May in some skins (Timeless, Modern, CologneBlue, Nostalgia, and Monobook). Please test gadgets on your wiki on these skins and [[phab:T13555|report any related problems]] so that they can be resolved before this change is made in all other skins. The developers are also considering the introduction of a [[phab:T337286|Gadget API for adding buttons to section titles]] if that would be helpful to tool creators, and would appreciate any input you have on that.
 
'''''[[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/21|Translate]]&nbsp;• [[m:Tech|Get help]]&nbsp;• [[m:Talk:Tech/News|Give feedback]]&nbsp;• [[m:Global message delivery/Targets/Tech ambassadors|Subscribe or unsubscribe]].''
== How does one colour a an entire column in a table? ==
</div><section end="technews-2024-W21"/>
 
<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 23:01, 20 May 2024 (UTC)
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-->
<!-- 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=26786311 -->
: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)
:Based on a [https://en.wikipedia.org/w/index.php?title=Special:Search&limit=500&offset=0&ns2=1&ns8=1&search=insource%3A%2Fmw-headline%2F+intitle%3A%2F%5C.js%2F quick search], it looks like the heading change will affect almost 300 scripts, many of which have inactive maintainers. Some arbitrary highlights from the top of the list include:
:* {{u|Awesome Aasim}}'s [[User:Awesome Aasim/rcpatrol.js]]
:* {{u|BrandonXLF}}'s [[User:BrandonXLF/FFUHelper.js]]
:* {{u|Cacycle}}'s [[User:Cacycle/wikEd.js]], [[User:Cacycle/wikEd dev.js]], and [[User:Cacycle/wikEd.user.js]]
:* {{u|DannyS712}}'s [[User:DannyS712/DiscussionCloser.js]], [[User:DannyS712/SectionRemover.js]], and [[User:DannyS712/SectionMover.js]]
:* {{u|Enterprisey}}'s [[User:Enterprisey/reply-link.js]], [[User:Enterprisey/copy-section-link.js]], [[User:Enterprisey/archiver.js]], [[User:Enterprisey/strike-archived.js]], [[User:Enterprisey/section-watchlist.js]], and [[User:Enterprisey/section-redir-note.js]]
:* {{u|Equazcion}}'s [[User:Equazcion/OneClickArchiver.js]], [[User:Equazcion/TeahouseRespond.js]], and [[User:Equazcion/NewSectionSummary.js]]
:* {{u|Evad37}}'s [[User:Evad37/OneClickArchiver.js]] and [[MediaWiki:Gadget-XFDcloser-core.js]]
:*<s> {{u|Mr. Stradivarius}}'s [[User:Mr. Stradivarius/gadgets/SignpostTagger.js]]</s>
:* {{u|PhantomTech}}'s [[User:PhantomTech/scripts/AFCRHS.js]]
:* {{u|SD0001}}'s [[User:SD0001/RFUD-helper.js]]
:* {{u|Terasail}}'s [[User:Terasail/COI Request Tool.js]]
:*<s> {{u|Technical 13}}'s [[User:Technical 13/Scripts/OneClickArchiver.js]]</s>
:* {{u|The Earwig}}'s [[User:The Earwig/permalink.js]] and [[User:The Earwig/afc-helper.js]]
:* {{u|The Evil IP address}}'s [[User:The Evil IP address/hdedit.js]]
:Plus many, many more. <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> 19:22, 21 May 2024 (UTC)
::A quick way to test these scripts right now, is to enable the Parsoid beta option (which already uses the new html structure) and to disable DiscussionTools, which uses a partial form of the new heading structure. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 08:39, 22 May 2024 (UTC)
:::Indeed, you can already see it in Parsoid mode (but note that there are other differences – e.g. Parsoid output has <code><nowiki><section></nowiki></code> tags around each section, which may require a separate set of updates in some scripts).
:::Disabling DiscussionTools doesn't actually change anything though. The HTML structure is the same whether it's enabled or disabled, only the styles are different. Also, note that it uses a "hybrid" heading structure currently when using the default parser, as you say, but it uses the new structure when using Parsoid.
:::So in short, you can just use Parsoid mode to test these scripts today here on English Wikipedia, but beware that there may be extra issues. But if they work with Parsoid, they will work with the new headings too. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 11:25, 22 May 2024 (UTC)
::The technical 13 script was blanked, so we don't have to worry about that one.
::Will the fact that they're rolling this out for only some wikimedia-deployed skins at this time make the patch more complicated? If I'm reading it right, the scripts may temporarily have to support both heading styles. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 09:16, 22 May 2024 (UTC)
:::Yes, it does, and they have to. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 11:20, 22 May 2024 (UTC)
::At a glance, it seems that [[User:Mr. Stradivarius/gadgets/SignpostTagger.js]] already supports the new style, as it uses <code>$( '#bodyContent h2:first' ).text()</code> as a backup if <code>$( '#bodyContent h2:first span.mw-headline' )</code> doesn't exist ([[User:Mr. Stradivarius/gadgets/SignpostTagger.js#L-291|line 291]]). — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr.&nbsp;Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪&nbsp;talk&nbsp;♪]]</sup> 13:09, 22 May 2024 (UTC)
::Fixed RFUD-helper. Thanks for the ping. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 18:33, 22 May 2024 (UTC)
::This is going to break both my edit request scripts, I will try to fix them at the weekend. [[User:Terasail|<span style="color:#088; font-weight:750;">Terasail</span>]][[User talk:Terasail|<sup><span style="color:#000;">'''[✉️]'''</span></sup>]] 18:41, 22 May 2024 (UTC)
 
=== Gadget-autonum (Auto-number headings) ===
== Sorting talk pages with a template ==
:I'm assuming ~ and feel free to correct me if i'm wrong ~ that something about this deployment is why headings no longer have numbers (for me)? Will it be possible to go back to that at some point? I find long pages almost impossible to navigate around without numbered headings, so will have to learn a new way of working if it won't be possible. Thanks, Happy days, ~ '''[[User:LindsayH|Lindsay]]'''<sup>'''[[User_talk:LindsayH|H]]'''[[User_talk:LindsayH|ello]]</sup> 16:24, 27 May 2024 (UTC)
::{{re|LindsayH}} No, that was removed a while ago. You may try the "Auto-number headings" gadget [[Special:Preferences#mw-input-wpgadget-autonum|here]]. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 19:31, 27 May 2024 (UTC)
::If you're speaking about the table of contents, Vector 22 does not provide numbering. Vector, Monobook, and Modern do.
::If you are speaking about each actual heading, then indeed the preference is gone and indeed there is a gadget for it now. You have correctly identified [[MediaWiki:Gadget-autonum.css|that gadget]] as needing to be updated for this change. It looks like the necessary change to the snippet (documentation) has already been made, so someone needs to port that here. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:59, 27 May 2024 (UTC)
:::Thank you, Izno, helpful. I'd assumed it was a script/gadget, as so many appeared to be affected above. I shall patiently wait in hope {{smiley}} Happy days, ~ '''[[User:LindsayH|Lindsay]]'''<sup>'''[[User_talk:LindsayH|H]]'''[[User_talk:LindsayH|ello]]</sup> 11:51, 28 May 2024 (UTC)
::::@[[User:LindsayH|LindsayH]]. I think I fixed this gadget for monobook/timeless/modern with [https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-autonum.js&diff=prev&oldid=1226752751 this update]. But there is still a double number bug on some talk pages on vector/vector-2022. Will work on that next. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 16:50, 1 June 2024 (UTC)
:::::{{U|Novem Linguae|You}} star! Thanks for the notification (and, of course, for fixing it). Happy days, ~ '''[[User:LindsayH|Lindsay]]'''<sup>'''[[User_talk:LindsayH|H]]'''[[User_talk:LindsayH|ello]]</sup> 06:14, 2 June 2024 (UTC)
 
== The obsolete nowrap attribute ==
'''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)
 
See {{diff|2024 Superbike World Championship|prev|1225740721|this edit}} and [[User talk:Awesometd#nowrap]]. The <code>nowrap</code> attribute on a <code>td</code> element, already deprecated in HTML 4 (December 1997), was marked as obsolete in HTML 5 (October 2014). The user says that they are copying its use from other pages, so does anybody know where in Wikipedia such usage is recommended or even suggested? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 10:30, 28 May 2024 (UTC)
== New messages bar ==
:I doubt it's suggested anywhere. A few cases may have been added long ago and some users just copy what they saw in other articles. The user is right that it's used in [[2024 F1 season]]. Unsurprisingly it's also in previous seasons. It's common to start such pages with a copy-paste from another season. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 11:16, 28 May 2024 (UTC)
:At a first estimation there are about [https://en.wikipedia.org/w/index.php?search=insource%3Anowrap+insource%3A%2F%5C%7C+*nowrap%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns0=1 10k uses of it]; I'm sure someone can refine that. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:26, 28 May 2024 (UTC)
:There's many more obsolete attributes still being used in tables, such as <code>align</code> or <code>bgcolor</code>. If we truly want to get rid of them, the solution would probably be to extend [[:mw:Extension:Linter|the Linter extension]], so that they'll be listed at [[Special:LintErrors]]. That's probably a discussion to be had over at [[WT:LINT]]. --[[User:Rchard2scout|rchard2scout]] ([[User talk:Rchard2scout|talk]]) 07:56, 29 May 2024 (UTC)
:One could easily ask as well where in Wikipedia such usage is '''deprecated''' or '''discouraged'''? I'm pretty sure the amount of editors that read the HTML5 instructions prior to editing articles is rather low. You can't just assume that everyone is always aware of what parameters have become obsolete.
:I am a regular editor of the Formula 1 Wikiproject and I remember us starting to use that parameter because it is more practical and intuïtive than the nowrap template and takes up less memory. The fact that it never produced any technical issue, nor was there any message that it is obsolete. This is litterally the first time anyone give an indication there is a problem. Why isn't this advertised more to the relevant WikiProjects? Like another person pointed out here, if these things would be flagged as LintErrors they would not be used. But I do wonder why such a simple, well working parameter was made obsolete.
:We are well-intentioned people, so I'm sure that if you invite a couple of editors from the relevant WikiProjects, explain the issue and tell us what the correct CSS code is, per the HTML5 documentatien's recommendation, we'll set out to deal with those obsolete parameters. As a side note, I think the Superbike article has even more issues, like the usage of external links.[[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 21:53, 3 June 2024 (UTC)
::This one is actually pretty easy to switch, we have a CSS class <code>nowrap</code> that you can change whatever templates to use instead. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:31, 3 June 2024 (UTC)
:::And what is that CSS class nowrap? [[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 10:26, 4 June 2024 (UTC)
::::The CSS ''rule'' is <syntaxhighlight lang=css>.nowrap,
.nowraplinks a {
white-space: nowrap;
}</syntaxhighlight> and it's already set up for you. You use it in a table as e.g. <syntaxhighlight lang=wikitext>{| class="wikitable sortable"
|+ Demo table
|-
|class="nowrap" | Row 1 Column 1 || Row 1 Column 2
|}</syntaxhighlight> This applies the class to one specific cell. It can also be applied to a whole row at once; or to the entire table. Doing those isn't such a good idea, you may cause excessive sideways scrolling. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 13:55, 4 June 2024 (UTC)
:::::What about <code>style="white-space:nowrap"</code>? [[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 23:17, 4 June 2024 (UTC)
 
== Mobile view Swiss flag ==
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)
 
There is a bit of an issue on mobile view in when this template: "{{flag|Switzerland}}" (or its variants) is used, the flag will appear stretched horizontally. Also, it’s to be noted this template: "{{flagicon|Switzerland}}" does not have this issue. —[[User:TwinBoo|TwinBoo]] ([[User talk:TwinBoo|talk]]) 11:35, 28 May 2024 (UTC)
== "Mark all edits minor by default" is now disabled for all users ==
:[[:File:Flag of Switzerland (Pantone).svg]] is square. [[MediaWiki:Minerva.css]] says:
:<syntaxhighlight lang="css">
.flagicon img {
min-width: 23px;
}
</syntaxhighlight>
:<code><nowiki>{{flag|Switzerland}}</nowiki></code> produces:
:<code><nowiki><span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|border |alt=|link=]]&nbsp;&nbsp;</span>[[Switzerland|Switzerland]]</nowiki></code>
:I reduced the problem to the combination of <code>flagicon</code> and an empty <code>link=</code>. I only see the mobile issue in the first row below.
{| class="wikitable"
! Code !! Result !! Mobile display size
|-
| <code><nowiki><span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=]]</span></nowiki></code>
| <span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=]]</span>
| 23x16px
|-
| <code><nowiki><span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=Switzerland]]</span></nowiki></code>
| <span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=Switzerland]]</span>
| 23x23px
|-
| <code><nowiki><span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px]]</span></nowiki></code>
| <span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px]]</span>
| 23x23px
|-
| <code><nowiki>[[File:Flag of Switzerland (Pantone).svg|23x16px|link=]]</nowiki></code>
| [[File:Flag of Switzerland (Pantone).svg|23x16px|link=]]
| 16x16px
|-
| <code><nowiki><span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23px|link=]]</span></nowiki></code>
| <span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23px|link=]]</span>
| 23x23px
|}
:They all display the 16×16px https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Flag_of_Switzerland_%28Pantone%29.svg/16px-Flag_of_Switzerland_%28Pantone%29.svg.png. The mobile stretching just varies. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 12:16, 28 May 2024 (UTC)
::The minimum width of a flag on mobile is 23px, because without a minimum width, flag icons risk going to 0x0 inside tables and other common elements when on mobile, due to lack of available width. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 05:45, 29 May 2024 (UTC)
:::But can we make it keep the correct width-height ratio in all circumstances? I added a table row only saying 23px instead of 23×16px, but othwerwise identical to the distorted first row. This displays correctly for me as 23×23px in mobile. It apparently takes three things simultaneously to be distorted in mobile: flagicon, wikitext specifying both height and width, and an empty <code>link=</code> which omits a link on the image. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 11:49, 29 May 2024 (UTC)
::::We could turn it into: <syntaxhighlight lang=css>
.flagicon img {
min-width: 23px;
height: auto !important;
}
</syntaxhighlight> No ideal, but will work I think... —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 12:09, 29 May 2024 (UTC)
:::::It works for me in this section. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 12:42, 29 May 2024 (UTC)
 
== Template gadgets ==
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)
 
A discussion regarding the new use of "tempalte gadgets" is now open at [[Wikipedia:Interface_administrators%27_noticeboard#Template_gadgets_-_naming_convention]], please join in there if interested. — [[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> 11:53, 28 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)
 
:Initial testing is available for anyone who would like to opt in to the first one of these. See the current bottom of [[Talk:Conway's Game of Life]] for info. — [[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> 20:09, 29 May 2024 (UTC)
== Redirect capitalization tool ==
::The first one of these has been launched. Please @ping me if there are any reported issues. Follow up on the general concept of template gadgets is welcome at [[WP:IANB]]. — [[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:29, 31 May 2024 (UTC)
 
== Issue with cast template visuals, but only on Chrome ==
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)
 
Was editing the page for [[Ezra (2023 film)|Ezra (2023)]] and noticed that on Google Chrome, there is a huge issue with spacing. Wish I could show screenshots to detail what I see. But underneath 'Cast', I see a large, multi-paragraph jump of just blank, white space. It nearly takes up the whole screen. I do not see this on mobile, nor do I see it on Microsoft Edge -- just Google Chrome. Unsure how to fix this as I'm newer to Wiki. Is anyone seeing the same thing as me, and do they potentially know how to fix? [[User:Squiddyonwiki|Squiddyonwiki]] ([[User talk:Squiddyonwiki|talk]]) 02:02, 29 May 2024 (UTC)
== DNS alias for moble wikipedia ==
 
:Not seeing it on my chrome browser (Version 125.0.6422.76, Windows 11), apologies. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 02:46, 29 May 2024 (UTC)
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 see that {{tlx|cast listing}} sets the style declaration <syntaxhighlight lang=css inline>min-width: min(25em, 100%)</syntaxhighlight> - is Chrome interpreting that as expected? First off, [https://www.w3.org/TR/css-values-4/#comp-func the <code>min(...)</code> function] is in CSS Values and Units Module Level 4, which is still at the W3C Working Draft stage - not all browser vendors will impement it yet. Second, the spec says <blockquote>For all three functions, the argument [https://www.w3.org/TR/css-values-4/#calc-calculation calculations] can resolve to any &lt;number&gt;, &lt;dimension&gt;, or &lt;percentage&gt;, but must have a [https://www.w3.org/TR/css-values-4/#css-consistent-type consistent type] or else the function is invalid; the result’s type will be the consistent type.</blockquote> - by my reading of that spec, <code>25em</code> and <code>100%</code> are not type-consistent. Chrome may be choking on that. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 06:30, 29 May 2024 (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)
:::min() is implemented by most of the browsers worth discussing. I think your observation about types is perhaps interesting. However, you are allowed to mix units in these min/max/clamp functions (see examples earlier in the page), and percentage is in a sense a unit...? I also know that CSS columns have a complex formula for how wide they are laid out and the 100% may be interfering with that. And that Chrome only recently (a couple years ago) made their CSS columns implementation much closer to fully specification compliant. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:18, 29 May 2024 (UTC)
:That investigation just above aside, there is a possibility this was caused by a change that WMF made because they're thinking about how to make tables display appropriately when the width of the page is too narrow, based on your description of what you saw. The task for that is [[phab:T366119]] and an initial bug report about suboptimal display was [[phab:T366119]], after which there was some adjustment to how it functions - namely restricting this functionality to <code>wikitable</code> class tables. (There is still some things being learned there it looks like - though Isarra sorted most of this a while ago in Timeless....) [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:33, 29 May 2024 (UTC)
::That sounds like what I was seeing. What's weird, though, is that I'm on a Macbook now, still Chrome, and it looks normal. But on a Dell the display is what's bugged. Maybe it's based on the size of the laptop's screen? But unsure, because on my Dell on Microsoft Edge it was fine. Either way, I've never had to do a bug report but I will try to figure that out. [[User:Squiddyonwiki|Squiddyonwiki]] ([[User talk:Squiddyonwiki|talk]]) 15:38, 29 May 2024 (UTC)
 
== Page previews not working ==
:I filed [[bugzilla:29364]] about this. --[[User:MZMcBride|MZMcBride]] ([[User talk:MZMcBride|talk]]) 00:48, 13 June 2011 (UTC)
 
Since yesterday, page previews of links haven't worked for me. My "Enable page previews" option is turned on. Can anyone help? Thanks! [[User:LoganP25|LoganP25]] ([[User talk:LoganP25|talk]]) 20:31, 29 May 2024 (UTC)
== Image thumbnail purge request ==
:{{ping|LoganP25}} Do you have an "Edit preview settings" link at the bottom of pages? If so, can you enable it there? [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 20:53, 29 May 2024 (UTC)
::I don't think so [[User:LoganP25|LoganP25]] ([[User talk:LoganP25|talk]]) 21:12, 29 May 2024 (UTC)
:::{{ping|LoganP25}} It should be to the right of "Mobile view" if you have it. Do previews work if you log out? Do you have the link there? Do previews work at https://en.wikipedia.org/wiki/Example?safemode=1, logged in or out? Does it work to disable previews at [[Special:Preferences#mw-prefsection-rendering]], save preferences, enable it again and save again? "Navigation popups" should be disabled at [[Special:Preferences#mw-prefsection-gadgets]] if you use page previews. Is it? [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 21:28, 29 May 2024 (UTC)
::::There's nothing to the right of "Mobile view" for me. Previews work when I'm logged out, but are broken again when I log back in. Previews don't work at the link you sent, and still don't after turning them off and on again. Navigation popups is disabled. Quite the enigma lol. [[User:LoganP25|LoganP25]] ([[User talk:LoganP25|talk]]) 22:21, 29 May 2024 (UTC)
:::::{{ping|LoganP25}} What is your skin at [[Special:Preferences#mw-prefsection-rendering]]? What is your browser? Do previews work logged in at other wikis like [[:simple:Example]]? You may have to first enable them in preferences there. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 22:39, 29 May 2024 (UTC)
::::::My skin is Vector legacy, and I'm browsing on Google Chrome. Previews do work in other wikis, I hadn't thought to check that, but not in the English wikipedia. [[User:LoganP25|LoganP25]] ([[User talk:LoganP25|talk]]) 22:47, 29 May 2024 (UTC)
:@[[User:LoganP25|LoganP25]] Hello. I also had the same problem [[Wikipedia:Help desk#Page previews not showing up|here]], but fortunately I made it! So I would like to share my solution to you as well.
:The replies that you made to the questions of @[[User:PrimeHunter|PrimeHunter]] about having the link of "Edit preview settings" at the bottom of pages, the matter of "whether or not login/logout has an affect on page preview", "Navigation popups" options disabled or not along with all the other factors you mentioned matches '''exactly''' with mine. But I solved it in a different way.
:Firstly, go to the "Appearence" in your "Preferences" & check the box of the "Enable page previews" (if its already checked then follow the next steps). Now, go to the "User profile", click on "Set your global preferences". On the "Appearance", there you should enable the (another) page preview option (both of the boxes should be checked). Save it & again return to your (original) "Appearance" in your "Preferences" just to make sure that, two things are there — the "Enable page previews" is not only ''checked'' but also grayed out & the "Set a local exception for this global preference" is ''unchecked''.
:Hope it helps. [[User:Anggona Era|ERA]] ([[User talk:Anggona Era|talk]]) 13:40, 30 May 2024 (UTC)
::That worked, thank you so much! [[User:LoganP25|LoganP25]] ([[User talk:LoganP25|talk]]) 14:03, 30 May 2024 (UTC)
:::Glad you finally worked it out. It sounds like a bug if you have to set a global preference to make a local preference work. I haven't heard of that before and didn't expect it. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 14:15, 30 May 2024 (UTC)
 
== Production table formatting for correct text alignment ==
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)
 
An experienced editor informed me that a table format - used over years with no negative feedback on numerous articles to display crop production data - "crashes" the text aligning to it in the right text margin. The editor says it works fine in Chrome, but doesn't on any browsers tried on a Windows PC.
== Category search / Related search ==
 
The original table format parameters are
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.
<syntaxhighlight lang=wikitext>
{| class="wikitable" style="float:right; clear:left; width:14em; text-align:center;"
|-
! colspan=2|Mango* production – 2022
|-
! style="background:#ddf; width:75%;"| Country
! style="background:#ddf; width:25%;"| <small>millions of [[tonne]]s</small>
|-
</syntaxhighlight>
The editor made a change based on a "wikitable floatright" parameter plus internal table formatting (column alignment left or right) using:
<syntaxhighlight lang=wikitext>
{| class="wikitable floatright" style="width:15em; margin: 20px 20px 0px 20px"
|-
! colspan=2|Mango* production – 2022
|-
! style="background:#ddf;"| Country
! style="background:#ddf;"| <small>millions of [[tonne]]s</small>
|-
</syntaxhighlight>
[https://en.wikipedia.org/w/index.php?title=Mango&action=history This is the history of editing]. Please comment on parameters with potential text-table alignment effects:
 
# style="float:right
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)
# clear:left
: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)
# style="background:#ddf; width: and the respective 75% and 25% (removed in the revision)
# the editor's revision: style="width:15em; margin: 20px 20px 0px 20px"
# table display effect on text alignment of different browsers using a Chromebook vs. Windows PC (vs. Apple).
 
:At [[Special:Preferences#preftab-6]] you can choose to include categoriesThanks infor searcheslooking byinto defaultthis. [[User:PrimeHunterZefr|PrimeHunterZefr]] ([[User talk:PrimeHunterZefr|talk]]) 0022:0927, 1229 JuneMay 20112024 (UTC)
:{{replyto|Zefr}} The <code>floatright</code> class, when used on a table, is equivalent to setting the <syntaxhighlight inline lang=css>float:right; clear:right; margin: 0 0 0.5em 0.5em;</syntaxhighlight> styles. Notice two things: (i) the <code>clear</code> is for ''right'' not for left; (ii) it doesn't affect text alignment within the cells. You shouldn't need to explicitly set margin values if you are also using the <code>floatright</code> class. For an axample of <code>floatright</code> without other styles, see the "Distribution of locomotives, March 1974" table in [[British Rail Class 24#Operation]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 16:52, 30 May 2024 (UTC)
 
== OpenStreetMaps in Croatian? Is it just me? ==
::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)
 
The OpenStreetMap maps in the infoboxes at [[Radio City Music Hall]] and [[Carnegie Hall]] (and probably other locations) seem to be in Serbo-Croatian; at least all of the place names are spelled phonetically according to Serbo-Croatian rules. Is this true for everyone, or is there some weird setting in my Preferences I need to change? If it's true for everyone, can it be fixed? Surely OpenStreetMap has an English-language version of their map of Manhattan. —[[User:Mahagaja|Mahāgaja]] · [[User talk:Mahagaja|''talk'']] 11:28, 30 May 2024 (UTC)
== Javascript banner lag is driving me insane ==
 
:I see this, too. If I click through to get a large map, it affects all of Manhattan but not the other boroughs, New Jersey, or (as far as I can tell) any other place. [[User:Rbrwr|rbrwr]][[User talk:Rbrwr|<sup>&plusmn;</sup>]] 12:41, 30 May 2024 (UTC)
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)
::For me it affects most but not all of Manhattan. Also raised at [[Talk:Manhattan#Question about the map]]. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 12:52, 30 May 2024 (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)
:[[phab:Agreed,T366136]] butfor isthis thereissue. anythingrelated elseticket: that[[phab:T195318]]. could be done to stop the content jumping up and down as the page loads? --[[User:DanielRigalRobertsky|DanielRigal– robertsky]] ([[User talk:DanielRigalRobertsky|talk]]) 2013:2403, 1230 JuneMay 20112024 (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)
 
==New Gadget for viewing CT images==
== Need to have a more details box. ==
We at Wiki Project Med have built a gadget to view stacks of images such a as CT scans, which you can see here[https://mdwiki.org/wiki/Mesenteric_ischemia#Diagnosis]. We are wanting to install it on EN WP.
 
Previously mentioned to [[User:MusikAnimal]] [https://en.wikipedia.org/wiki/User_talk:MusikAnimal/Archive_47#Wondering_if_you_would_be_willing_to_install_a_CT_scan_viewer? here] who want to verify community consensus first.
I am not sure if this can already be done in Wikipedia or not.
 
We have an earlier version working on Commons[https://commons.wikimedia.org/wiki/User:Doc_James/Test#Axial]. Based on [https://commons.wikimedia.org/wiki/Template:PD-medical Template:PD-medical] we have collected a few thousand complete CT and MRI scans of various conditions. [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 19:13, 29 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.
 
:@[[User:Doc James|Doc James]] about how many pages would this need to run on? We are currently experimenting with our very first implementation of Template Gadgets (see a couple sections up) right now, which I imagine would be the way we would want to implement this (and most certainly not by hooking a full page text analyzer in to common.js). — [[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> 18:49, 30 May 2024 (UTC)
--[[User:Applegrew|Apple Grew]] ([[User talk:Applegrew|talk]]) 06:22, 12 June 2011 (UTC)
::A template gadget version has been copied to mediawiki.org as a demo. See [[mw:Template:ImageStackPopup]] [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:00, 30 May 2024 (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)
:::So [[User:Xaosflux]] sounds like it only loads when a specific category is present already. [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 19:21, 30 May 2024 (UTC)
::::@[[User:Doc James|Doc James]] yes, where said category would come along with a template that would wrap whatever is being used. It sounds like all instances of this would use some template so that part isn't hard. What order of magnitude of pages would you expect this would get used on? — [[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> 19:23, 30 May 2024 (UTC)
:::::[[User:Xaosflux]] few thousand at most, [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 19:44, 30 May 2024 (UTC)
:::Thanks for the note. — [[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> 19:24, 30 May 2024 (UTC)
:::The mediawiki version is quite a bit better.
:::* For a default gadget, i'd have some concerns about the accessibility of the play button. It's not a button, and it's also not labeled.
:::* Similar for the pager and slider in the window. This is unlabeled. It should have accessibility labels to make it possible to understand what the slider does.
:::* The play button positioning and sizing might need a little bit more work, it seems kinda off (esp on iphone)
:::* Might want to hide the play button on media print
:::* Good to see that media credits are being linked.
:::* Seems to work on mobile, but could use some additional spacing at the top controls, they are really difficult to hit because everything is so close together now.
:::* Closing the dialog. All MW dialogs currently have close at the top (an old pattern i note due to mobile usage favoring thumb interaction at the bottom of a dialog). This does create an inconsistency, but i'm not particular concerned.
:::* The whole ImageStackPopup-viewer is inside a label element atm. I think that's an accident?
:::—[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 20:27, 30 May 2024 (UTC)
:::::[[User:TheDJ]] We have added labels. Let me know if what was done is sufficient? [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 13:06, 1 June 2024 (UTC)
::::Perhaps we can use gitlab instead of mediawikiwiki for development? It can probably serve as the version which wikis copy from. I created a blank project at [[gitlab:repos/gadgets/ImageStackPopup]], and can extend [[WP:Bots/Requests for approval/SDZeroBot 13|SDZeroBot 13]] to support tracking updates from gitlab. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 09:14, 31 May 2024 (UTC)
::::There's been some accessibility improvements in the latest version. Button is also now hidden on print. The label thing and the close button at the bottom seem to be due to using <code>OO.ui.alert</code>. I'm not sure why OOUI does it that way for alert boxes. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 13:18, 31 May 2024 (UTC)
:::::Synced local fork from upstream. — [[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:57, 31 May 2024 (UTC)
:@[[User:Doc James|Doc James]], As one of our professors often says, "One view is no view in Radiology." From a content perspective, I am confident that these imaging stacks will enhance the quality of our radiology related articles. Looking forward to seeing this implemented soon. <small><sub><span style="color:grey;">signed, </span></sub></small>[[User:511KeV|<span style="font-family:sans-serif; color:#FF1100; text-shadow:.2em .2em .4em #AfAfB1;">'''511KeV'''</span>]] [[User_talk:511KeV|<sup> '' (talk)''</sup>]] 19:03, 30 May 2024 (UTC)
:Moral support for the idea, bug-report for the implementation: the stack is scrolled by a left–right slider, but when hovering over the image the stack scrolls when I move the mouse up-and-down and not side-to-side. [[User:DMacks|DMacks]] ([[User talk:DMacks|talk]]) 19:49, 30 May 2024 (UTC)
::Given the bird's-eye view with the line indicating the location of the specific scan is an up-and-down position, having the slider be side-to-side is confusing. Everything needs to be in sync. [[User:DMacks|DMacks]] ([[User talk:DMacks|talk]]) 00:09, 31 May 2024 (UTC)
*I've forked ImageStackPopup over for anyone that wants to test it out in sandboxes etc, you can either manually opt-in to it in the "testing and development" gadget section, or you can load it to a page with the <code>?withgadget</code> query parameter. From discussion above, this seems like it will need some extensive testing and tweaking. Nothing should currently be placed in to an '''article''' that is dependent on this right now, as readers will not be able to make use of it yet. — [[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> 23:55, 30 May 2024 (UTC)
*:The Vivarium template gadget being currently tested is much simpler, and we will make sure our roll out of template gadgets is done carefully. Additional discussion around if these should be able to be opted out of should also occur (i.e. not making them default+hidden). For a default here, we'll likely also use a fork, we have a bot to monitor remote changes and flag for promotion that can be used. — [[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> 23:58, 30 May 2024 (UTC)
 
The test version on Commons loads 250 images. Given how heavy these images are, this seems like a bad use case for a gadget and should potentially be in some sort of video instead, which won't try to download that many images all at the same time. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:24, 31 May 2024 (UTC)
== Template fix needed for new user pages ==
 
:That does seem like a lot if its all hitting the browser right away. Something that heavy sounds like it would be better to paginate and be done in mediaviewer perhaps. — [[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> 00:28, 31 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)
::To clarify, the images get downloaded only after the user hits the play button, so only users who want to see them do the download. Perhaps that could be improved with a progress loading bar or something or the ability to cancel. The goal is to allow users to directly compare all the images all at once, so i'm not sure pagnation would work here. I agree that as a long term solution, transfering as a video with p-frames/temporal compression would probably be much more bandwidth efficient. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 05:43, 31 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)
:Also, just to be clear, this gadget does not exist on commons. There is a separate gadget on commons called ImageStack, which is the inspiration for this gadget, but its a totally different gadget. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 09:46, 31 May 2024 (UTC)
{{od}} Perfect. Got it working here on EN WP [[User:Doc_James#CT_scan_viewer]]. Agree a bit of fine tuning is still required.
I like the idea of a progress loading bar.
As [[User:DMacks]] suggests lets move the scroll bar to the right of the image.
We will need a naming convention for these pages [[User:Doc James/Appendicitis CT]] [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 15:43, 31 May 2024 (UTC)
 
:[https://en.wikipedia.org/wiki/User:Doc_James?withgadget=ImageStackPopup this link] can be used to manually enable to gadget once for others that want to see this without doing the opt-in. — [[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> 18:13, 31 May 2024 (UTC)
== [[List of centenarians (sportspeople)]] ==
 
===Next steps===
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)
We have implemented a bunch of the suggestions made above, see [https://en.wikipedia.org/wiki/User:Doc_James?withgadget=ImageStackPopup this link]. Any further comments or can we have this go live and start using these in main space? [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 18:38, 1 June 2024 (UTC)
::Ping [[User:TheDJ]] and [[User:DMacks]] [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 18:39, 1 June 2024 (UTC)
:Looking very nice, but I still think it needs a bit more work for mobile. I'd still say that my fingers are not 3mm x 3mm. Additionally the right positioning of the controls now gets into the scroll zone, which is possibly even worse. I can trigger the rubber banding of the scroll area, and if I zoom in, we overlap with the scrollbar of the viewport. If you switch to desktop skin on mobile, you have the same, but zoomed out 6 times so you really do need that zooming and scrollbar. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:33, 1 June 2024 (UTC)
::How about we use swipe right / left on mobile to move through images? [[User:Doc James|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Doc James|talk]] · [[Special:Contributions/Doc James|contribs]] · [[Special:EmailUser/Doc James|email]]) 05:22, 2 June 2024 (UTC)
:My concerns about consistency in direction of scrolling are resolved. For the record, I'm using a desktop machine. [[User:DMacks|DMacks]] ([[User talk:DMacks|talk]]) 05:32, 2 June 2024 (UTC)
 
==Replag==
: 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)
Another lengthy replag (~3 hours) on a Thursday night. Is there any place to go to find out when the estimated fix-it time will occur? Or is it just wait and see? <span style="font-family:Papyrus; color:#800080;">[[User:Liz|'''''L'''''iz]]</span> <sup style="font-family: Times New Roman; color: #006400;">[[Special:Contributions/Liz|'''''Read!''''']] [[User talk:Liz|'''''Talk!''''']]</sup> 02:40, 31 May 2024 (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)
: Mostly just wait and see. My guess is the cause is [[phab:T364299]]. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 03:01, 31 May 2024 (UTC)
::Seems to have fixed itself. The highest I've seen it go was around 11 or 12 hours, so this one was not nearly as bad as it's been in the past. --[[User:Rchard2scout|rchard2scout]] ([[User talk:Rchard2scout|talk]]) 13:44, 31 May 2024 (UTC)
 
== Phantom redirects ==
== Stuff not showing up for users who are not logged in ==
{{tracked|T331127}}
I'm running into the recurrence of a problem I've brought here a few times before, where an [https://en.wikipedia.org/w/index.php?search=incategory%3A%22Living_people%22&title=Special%3ASearch&profile=advanced&fulltext=1&ns2=1&ns3=1&ns118=1&ns119=1 incategory search] of {{cl|Living people}} for drafts or user sandbox pages that shouldn't be in it offers up several pages that aren't actually pages in the category but cross-namespace redirects to real ''articles'', which resulted from an editor adding categories to the page while it was still in draft or user space, and then moving the page into mainspace shortly afterward. That's a relatively common occurrence which doesn't usually cause any serious problems, but every once in a while it causes situations like this, where for some reason the redirect lingers in the categories despite not actually having any categories on it.
 
In the past I've usually resolved this by redoing the move: I would move the page back overtop the redirect, wrap the categories in the {{tl|draft categories}} wrapper to disable them, and then move the page back into articlespace again, which usually worked to get the redirect out of the category — but of the four such redirects currently showing up in the search, I've ''already'' done that on two of them, meaning even that trick isn't working anymore.
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]].
 
Additionally, I need to note that there are ''four'' phantom redirects currently showing up in the search, yet the results counter at the top of the page is claiming that there are ''eight'' pages, meaning that there are four more phantoms I can't even find.
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).
 
Because {{cl|Living people}} is a megacategory with ''millions'' of pages in it, it's not a category I can search manually for draft or user pages — it has to be done as an incategory search, which means I can't just work around permanent speed bumps and need the tool to be clean. It might also be related to the replag problem that's been discussed above, because even the normal categorized drafts or userpages that I pull out of the category the normal way are taking longer than usual to clear from the search as well — but could somebody look into whether there's any way to fix it? Thanks. [[User:Bearcat|Bearcat]] ([[User talk:Bearcat|talk]]) 17:20, 31 May 2024 (UTC)
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]]
:Replag is currently around five seconds, so that's not it. It wouldn't affect searches on the live site anyway.{{pb}}If I query the database for members of [[:Category:Living people]] that are in namespaces user, draft, or their corresponding talk, I get no results. All four of the current false positives in search ({{!r|Draft:Amre Hamcho}}, {{!r|User:Miminity/Yoshinobu Yamakawa}}, {{!r|User:Minmarion/sandbox/voice}}, {{!r|User:WikiOriginal-9/David Hinds (gridiron football)}}) were moved within the last 24 hours. And neither a null edit nor an actual edit (both to [[User:Miminity/Yoshinobu Yamakawa]]) helped. Taken together, these lead me to guess - with absolutely no knowledge whatsoever of how the search backend works, mind you - that it's only the search indices that are out of date.{{pb}}I suppose it's worth checking back in a day or so, without your move/edit/move workaround, to see if they clear up themselves. Failing that, I can build a [[WP:DBR|database report]] for you, which might be more convenient than the search. (That is, unless you're worried about search results, too, not just what appears on the category page.) Any other categories to check besides [[:Category:Living people]]? —[[User:Cryptic|Cryptic]] 18:39, 31 May 2024 (UTC)
::{{replyto|Bearcat}} Have you tried this?
::#Navigate to the redirect that is incorrectly listed at {{cl|Living people}}
::#Edit the redir page to add <code><nowiki>[[Category:Living people]]</nowiki></code> and save it
::#Edit the redir page to remove <code><nowiki>[[Category:Living people]]</nowiki></code> and save it
::Does this work to delist the redirect from {{cl|Living people}}? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 21:15, 31 May 2024 (UTC)
:::It doesn't [[User:Bearcat|Bearcat]] ([[User talk:Bearcat|talk]]) 00:32, 1 June 2024 (UTC)
 
== Font size bug - mobile ==
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)
 
Hello, I have question. For quite some time now, The font size is not correctly shown when I want to see it on visual editing (i mostly work with filmografies of actors) - basically, I want to change font size from 100 to 80, and its not working at all. It stays same. The whole filmography also gets bigger sometimes for some reason when I want to edit it only by visual editing. I remember there was a discussion about this long time ago but I dont know if there was any improvement. I work on mobile, so I dont know whether pc users have this problem as well. If there is any sollution or way how to make it work, feel free to comment your suggestions. Thx in advance. [[User:Kesseder|Kesseder]] ([[User talk:Kesseder|talk]]) 17:55, 31 May 2024 (UTC)
== Page load never finishes (again) - is it the Wikimania banner? ==
 
== This search has timed out. You may wish to try different search parameters. ==
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.
 
GoogleI'm Chromegetting seemsthis toerror behavepretty properlyfrequently (thoughlately forwhen unrelatedopening reasonsmy Iwatchlist. don'tMaybe a third of the time over wishthe topast useseveral it)days. Anyone know what's goingthis onis? &mdash; <samp>[[User:Jan1nadRhododendrites|<span style="colorfont-size:#009d4390%;fontletter-weightspacing:bold1px;text-shadow:0px -1px 0px Indigo;">''JanRhododendrites</span>]] <sup style="font-size:80%;">1</span>naD''</span>]] <sup>(''[[User talkUser_talk:Jan1nadRhododendrites|talk]] • [[Special:Contributions/Jan1nad|contrib]]'')</sup></samp> 10\\ 01:5532, 131 June 20112024 (UTC)
 
:FFReset your filters, so the page has nowto starteddo behavingfewer (andcalculations the? bannerYour doeswatchlist notis appear)probably really large, I assume. [[User:Jan1nadTheDJ|Th<span style="color:#009d43;font-weight:bold">''Jan<span style="font-size:80%;green">1</span>naD''e</span>DJ]] <sup>(''[[User talk:Jan1nadTheDJ|talk]] • [[Special:Contributions/Jan1nadTheDJ|contribcontribs]]'')</sup> 10:5822, 131 June 20112024 (UTC)
:{{replyto|Rhododendrites}} It could be several different things, or more likely, a combination of these.
:*A large number of pages are listed at [[Special:EditWatchlist/raw]]
:*A significant proportion of pages listed at [[Special:EditWatchlist/raw]] have been edited recently
:*Some of the pages listed at [[Special:EditWatchlist/raw]] have recieved large numbers of edits recently
:Things to try:
:*Go through [[Special:EditWatchlist/raw]] and remove pages that you're no longer interested in
:*If you are watching a high-traffic page (like [[WP:ANI]]), unwatch it
:*At [[Special:Watchlist#mw-watchlist-form|Watchlist options]], try
:**reducing the period of time to display
:**applying some of the "Hide" options
:**selecting one namespace (possibly with its Associated namespace enabled) rather than all
:HTH. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 10:41, 1 June 2024 (UTC)
:::Thanks. I do have a very large watchlist (17k pages), but this issue started happening all of a sudden a few days ago and the list has barely changed in recent weeks. I don't think I've ever once seen the error before then. It's also inconsistent. If I just refresh a few times, it'll display. &mdash; <samp>[[User:Rhododendrites|<span style="font-size:90%;letter-spacing:1px;text-shadow:0px -1px 0px Indigo;">Rhododendrites</span>]] <sup style="font-size:80%;">[[User_talk:Rhododendrites|talk]]</sup></samp> \\ 13:44, 1 June 2024 (UTC)
::::But the software and servers change all the time. If you are up to those numbers, even half percent of change in performance on that side can easily push you over an edge. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 14:07, 1 June 2024 (UTC)
::::@[[User:Rhododendrites|Rhododendrites]] You can try [[User:Ahecht/Scripts/watchlistcleaner]] to clean out unneeded or stale pages from your watchlist, but with 17k pages you may have to let it run overnight. I've only tested it on about half that many pages. <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> 01:53, 3 June 2024 (UTC)
:::::Thanks. Frankly, though, I don't ''want'' to change my watchlist. It's huge, yeah, and includes a ton of e.g. deleted pages, but I like being able to see when something is recreated or when someone edits a page from way-back-when that probably shouldn't be edited anymore. Edits to inactive pages sneak through too easily sometimes. I'm just kind of surprised that I've had a massive watchlist for years (I became an active editor playing with counter-vandalism tools and AWB, so built up a huge watchlist early) and it's never caused a problem. Of all the things that use memory on Wikipedia, it's volunteers' watchlists that need to be limited? &mdash; <samp>[[User:Rhododendrites|<span style="font-size:90%;letter-spacing:1px;text-shadow:0px -1px 0px Indigo;">Rhododendrites</span>]] <sup style="font-size:80%;">[[User_talk:Rhododendrites|talk]]</sup></samp> \\ 14:29, 3 June 2024 (UTC)
::::::Almost everything is limited. It’s just that most people don't know about that because they hardly ever run into those limits. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:23, 3 June 2024 (UTC)
::::The likelihood of a timeout can vary depending on how much load the servers are under. More load, more likelihood of a timeout. Watchlists are actually the single most database intensive feature on Wikipedia, probably by a fairly wide margin. On smaller wikis, adjusting the time period to search can help a lot but on a wiki the size of Wikipedia not so much. (Essentially there are two methods of calculating the watchlist depending on if the number of changes in the time period being search is smaller or larger than the amount of entries in your watchlist. On Wikipedia you'd probably have to set that super low before it made a difference because so many edits are happening all the time). Most of the other filters (including total number of results to show) don't make much of a difference most of the time, although there might be edge cases where they matter. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 00:04, 4 June 2024 (UTC)
:::::Thanks for this background. Did not know they were the most database intensive feature, but I guess that makes sense. So I take this to mean the only way to fix it is to remove pages from the list? &mdash; <samp>[[User:Rhododendrites|<span style="font-size:90%;letter-spacing:1px;text-shadow:0px -1px 0px Indigo;">Rhododendrites</span>]] <sup style="font-size:80%;">[[User_talk:Rhododendrites|talk]]</sup></samp> \\ 00:07, 4 June 2024 (UTC)
 
== Desktop and mobile view on same page ==
== Rollback from watchlist ==
 
[[File:Desktop and mobile views on desktop aymatth2.png|thumb]]
{{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)}}
I just got a new Windows 11 laptop. When I start using Wikipedia, it shrinks the display area (but not the very top menu bar} to about 2/3 of the available width, then below the normal desktop view it shows a sort-of mobile view of the same page. See screenshot to the right. Wikipedia still looks fine on the old laptop.
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.
Is this a bug or some obscure configuration problem? [[User:Aymatth2|Aymatth2]] ([[User talk:Aymatth2|talk]]) 13:46, 1 June 2024 (UTC)
 
:You installed this (old) script which does this: [[User:קיפודנחש/mobile-sidebarcopy.js]]. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 14:10, 1 June 2024 (UTC)
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)
::Thanks. I thought it was something dumb like that. Taking out the old script fixes the problem. Both laptops are fairly up to date Windows 11, but there must be some difference in their configuration. [[User:Aymatth2|Aymatth2]] ([[User talk:Aymatth2|talk]]) 15:03, 1 June 2024 (UTC)
 
== Broken parsing/HTML generation near math tags ==
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)
 
Look at the vertical spacing [https://en.wikipedia.org/w/index.php?title=Pauli_matrices&oldid=1226870519#Cross-product here]. The source code has a single blank line to separate the paragraphs, as usual, but the result is terrible. Moreover, examining the HTML DOM in both Firefox and Chrome reveals that the end on the first paragraph ("In fact...") is actually ''outside'' any paragraph tags, but there's an empty <code><nowiki><p></p></nowiki></code> between "...Killing form)." and "This cross-product..." (which apparently creates that huge gap). A similar situation can be seen in the next section as well (before "Alternatively, one may...").
== Secure server login ==
 
I've noticed that vertical spacing around <code><nowiki><math></nowiki></code> some time ago became noticeable broken in ''some'' cases (seemingly regardless of <code><nowiki><math display="block"></nowiki></code> or <code><nowiki>: <math></nowiki></code> and blank lines before/after). Initially I was expecting that somebody else will notice that quickly and repair, then I forgot and was lazy to investigate, but this outstandingly wrong occurrence made me think that it must be at least reported... — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 09:41, 2 June 2024 (UTC)
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)
:It seems to come and go. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 20:24, 13 June 2011 (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)
:::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)
 
:I suggest making screenshots, because I’m not sure what you mean with ‘terrible’ —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 11:52, 2 June 2024 (UTC)
== Office hours to discuss Article Feedback Tool ==
:: I've made screenshots at [[archive.is]] (to be sure that it's not my local problem):
::* using the current default [https://archive.is/OuEKV/image Vector (2022)] skin,
::* using the previous default [https://archive.is/ddNXd/image Vector legacy] skin.
:: Now it seems to me that even though the "legacy" skin didn't have so obvious problems, they were still present, but partially hidden because paragraphs didn't have bottom padding added (for what reason?) in the new skin. Please also take a look at some tests with comments that I've made in my sandbox:
::* with [https://en.wikipedia.org/wiki/User:Mikhail_Ryazanov/sandbox/gaps?useskin=vector-2022 Vector (2022)],
::* with [https://en.wikipedia.org/wiki/User:Mikhail_Ryazanov/sandbox/gaps?useskin=vector Vector legacy].
:: Examining the DOM again reveals that the generated HTML is not correct (or recent versions of both Firefox and Chrome can't parse it properly, which is unlikely). — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 01:11, 3 June 2024 (UTC)
:::Thanks for the screenshot. So "the result is terrible" means a few mm extra whitespace. Your link [https://en.wikipedia.org/w/index.php?title=Pauli_matrices&oldid=1226870519#Cross-product] uses <code><nowiki><math display="block"></nowiki></code>. We add whitespace to that with code in [[MediaWiki:Common.css]]:
:::<syntaxhighlight lang="css">
/* Make <math display="block"> be left aligned with one space indent for
* compatibility with style conventions
*/
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}</syntaxhighlight>
:::Compare to a [https://en.wikipedia.org/w/index.php?title=Pauli_matrices&oldid=1226870519&safemode=1#Cross-product safemode link] where local CSS like [[MediaWiki:Common.css]] is ignored. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 02:23, 3 June 2024 (UTC)
:::Paragraph spacing is the subject of much recent discussion in [[phab:T362939]] after the WMF changed paragraphs to use padding rather than margin. I would guess this is the issue you have identified. They intend to fix their previous decision making. (Apparently a math-specific one is [[phab:T361273]] but that probably should be closed duplicate.)
:::As for a bad DOM, that's probably [[phab:T182041]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 02:28, 3 June 2024 (UTC)
:::: OK, [[phab:T182041]] is apparently the root cause (made more obvious by [[phab:T362939]] changes), reported many years ago, but nobody really cares... Would it be too difficult to use <code><nowiki><span></nowiki></code> instead of <code><nowiki><div></nowiki></code> to make it work properly? — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 04:07, 3 June 2024 (UTC)
 
== Detecting transclusion through a redirect ==
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:
# 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)
 
In [[Wikipedia:Templates for discussion/Log/2024 May 22#Template:Edit semi-protected]] a reason some editors, including myself, are opposed to merging is that the merged template will no longer be able to work properly if used on an unprotected page (which can happen in the case of an unprotected [[WP:ARBECR]] page, for example). {{u|SilverLocust}} put it like this: {{tq|If these were all redirected to one template, then there would be a loss of functionality '''unless''' someone knows how to tell a module not merely which [[Wikipedia:WRAPPER|wrapper]] is invoking a module (since there would only be one merged wrapper), but rather which redirect is being used to transclude the wrapper that invokes the module ('''and I don't think that is possible''').}} So, is that right? Or is there a way to detect which redirect is used and merge the templates without any loss of functionality? [[User:Nickps|Nickps]] ([[User talk:Nickps|talk]]) 14:07, 2 June 2024 (UTC)
:[[: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)
 
:@[[User:Nickps|Nickps]] The module could use <code>getContent()</code> to get the text of the current page and then search it for one of the redirect templates. <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> 02:30, 3 June 2024 (UTC)
== Problem resetting password ==
::I would oppose that as confusing and probably inefficient. Editors expect it to make no difference whether a redirect is used. If we really want a certain "redirect" to behave differently then don't make it a redirect but a wrapper which passes a certain parameter. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 02:47, 3 June 2024 (UTC)
:::Yes, and that's exactly what has been done (but is proposed to be undone by merging the templates). [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 13:56, 3 June 2024 (UTC)
 
== Recent change somewhere in Wikipedia/Wikimedia has broken chart labels in [[Module:Chart]] ==
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-->
: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]].
: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)
 
Something changed recently and now all charts generated by [[Module:Chart]] have broken and the top text label no longer displays properly. As you can even see on the help page for the charts, the top label of the chart has half the text chopped in half. I can't track down why this would have happened. Does anyone know where this could come from? It didn't use to do this a few weeks ago and nothing has changed on the page itself so it must be inherited from elsewhere on wikipedia. I've tested with Firefox, Safari and Chrome and all seem to have this issue so it doesn't appear to be limited to certain browser versions. Looking at archives on archive.org for some pages, it was still working as of the beginning of May but haven't found any page archives within the last few weeks yet. [https://web.archive.org/web/20240501224935/https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39A#Launch_statistics Here's one example of what it should look like]. [[Kennedy_Space_Center_Launch_Complex_39A#Launch_statistics|And here's what that section looks like currently]]. [[User:Ergzay|Ergzay]] ([[User talk:Ergzay|talk]]) 06:41, 3 June 2024 (UTC)
== erroneously prompted new EL captchas ==
 
:Through some asking questions I found that apparently a "overflow-x: auto;" media query was added globally across wikipedia, something that is very wrong to do. Anyone know where the code is for this so a bug report can be filed? [[User:Ergzay|Ergzay]] ([[User talk:Ergzay|talk]]) 07:52, 3 June 2024 (UTC)
I've inquired about this issue over at [[Wikipedia:Help desk#New external links false positives]] and was pointed here. To reiterate:
:: It appears that [[gerrit:c/mediawiki/core/+/1035574]] moved the "noresize" class from the Minerva skin to core code loaded by all skins. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 10:46, 3 June 2024 (UTC)
 
== update Credits ==
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].
 
Who is responsible for running the maintenance script [https://gerrit.wikimedia.org/g/mediawiki/core/+/d880c2a73683810512e93b20f183036643214985/maintenance/updateCredits.php updateCredits.php], and how often is it run? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:41, 3 June 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)
 
:Generally it is run once per major MediaWiki release by those making the release. So every 6 months or so. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:20, 3 June 2024 (UTC)
== List identifiers in small font ==
::So, next up in '''[[mw:MediaWiki 1.42|1.42]]''', expected later this month. Thanks! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:21, 4 June 2024 (UTC)
 
== Tech News: 2024-23 ==
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)}}
 
<section begin="technews-2024-W23"/><div class="plainlinks">
<small>
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/23|Translations]] are available.
# First numbered item
# Second numbered item
</small>
 
'''Recent changes'''
<small>
* It is now possible for local administrators to add new links to the bottom of the site Tools menu without JavaScript. [[mw:Manual:Interface/Sidebar#Add or remove toolbox sections|Documentation is available]]. [https://phabricator.wikimedia.org/T6086]
* First bullet list item
* The message name for the definition of the tracking category of WikiHiero has changed from "<bdi lang="zxx" dir="ltr"><code>MediaWiki:Wikhiero-usage-tracking-category</code></bdi>" to "<bdi lang="zxx" dir="ltr"><code>MediaWiki:Wikihiero-usage-tracking-category</code></bdi>". [https://gerrit.wikimedia.org/r/c/mediawiki/extensions/wikihiero/+/1035855]
* Second bullet list item
* One new wiki has been created: a {{int:project-localized-name-group-wikipedia}} in [[d:Q5317225|Kadazandusun]] ([[w:dtp:|<code>w:dtp:</code>]]) [https://phabricator.wikimedia.org/T365220]
</small>
 
'''Changes later this week'''
: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)
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.8|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-06-04|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-06-05|en}}. It will be on all wikis from {{#time:j xg|2024-06-06|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar]
 
'''Future changes'''
<div style="font-size: smaller;">
* Next week, on wikis with the Vector 2022 skin as the default, logged-out desktop users will be able to choose between different font sizes. The default font size will also be increased for them. This is to make Wikimedia projects easier to read. [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Updates/2024-06 deployments|Learn more]].
# First numbered item
# Second numbered item
</div>
 
'''''[[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/23|Translate]]&nbsp;• [[m:Tech|Get help]]&nbsp;• [[m:Talk:Tech/News|Give feedback]]&nbsp;• [[m:Global message delivery/Targets/Tech ambassadors|Subscribe or unsubscribe]].''
== JavaScript disappearances... ==
</div><section end="technews-2024-W23"/>
 
<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 22:32, 3 June 2024 (UTC)
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)
<!-- 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=26844397 -->
 
== Are images transfers to WikiData working? (repost from help desk) ==
== CSS margins, width help ==
 
I use [[Wikipedia:Wiki Shoot Me|Wiki Shoot Me]] to take photos for Wikipedia while I’m traveling. Typically you can identify articles that need photos by looking for yellow dots indicating Wikipedia articles and larger red circles near by indicating WikiData items without photos (as previously these seemed to sync). In two cases recently I noticed articles with CC-licensed images placed correctly in the lead and appropriately sized that did not have their photos synced with WikiData: {{Q|Q65056276}} and {{Q|Q7989973}}. I know the page image is being picked up because they display correctly on [[Special:Nearby]] using their coordinates: [[Special:Nearby#/coord/38.134444,-105.468056|National Hotel]] and [[Special:Nearby#/coord/38.066667,-105.442222|Wet Mountain Valley]]. It looks like they’re just not making it to WikiData. - [[User:Scarpy|Scarpy]] ([[User talk:Scarpy|talk]]) 05:46, 4 June 2024 (UTC)
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)
 
:I'm not aware of any bot or tool which scrapes Wikipedia articles for suitable images to import into Wikidata. This may be an idea worth exploring, but there would be plenty of false positives. For example, on an article about an artist, if we do not have an image of the artist it is common to include a picture of one of their well known works instead. This would not be suitable for importing to Wikidata, and I can't think of a reliable way for an automatic process to detect these. Perhaps a semi-automated tool (which makes suggestions but requires manual review) is the way to go? I suggest you post at [[:wikidata:Wikidata:Project chat|Wikidata:Project chat]] for a more informed response. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 07:50, 4 June 2024 (UTC)
: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)
:I found [https://fist.toolforge.org/wdfist/ WDFIST] which seems to do something like this &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 07:53, 4 June 2024 (UTC)
:: 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)
 
== "GoogleThanking wikipedia"other not workingusers ==
 
The link for thanking other users for their edits [[H:THANK]] is currently not available on my browser based interface. Am I missing something here? '''''[[User:ianmacm|<span style="background:#88b;color:#cff;font-variant:small-caps">♦Ian<span style="background:#99c">Ma<span style="background:#aad">c</span></span>M♦</span>]] <sup>[[User_talk:ianmacm|(talk to me)]]</sup>''''' 19:51, 4 June 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)
*Well that's bizarre, it's back again. It was definitely missing earlier today.--'''''[[User:ianmacm|<span style="background:#88b;color:#cff;font-variant:small-caps">♦Ian<span style="background:#99c">Ma<span style="background:#aad">c</span></span>M♦</span>]] <sup>[[User_talk:ianmacm|(talk to me)]]</sup>''''' 20:35, 4 June 2024 (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 23:17, 4 June 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.

Tech News: 2024-21[edit]

MediaWiki message delivery 23:01, 20 May 2024 (UTC)[reply]

Based on a quick search, it looks like the heading change will affect almost 300 scripts, many of which have inactive maintainers. Some arbitrary highlights from the top of the list include:
Plus many, many more. --Ahecht (TALK
PAGE
)
19:22, 21 May 2024 (UTC)[reply]
A quick way to test these scripts right now, is to enable the Parsoid beta option (which already uses the new html structure) and to disable DiscussionTools, which uses a partial form of the new heading structure. —TheDJ (talkcontribs) 08:39, 22 May 2024 (UTC)[reply]
Indeed, you can already see it in Parsoid mode (but note that there are other differences – e.g. Parsoid output has <section> tags around each section, which may require a separate set of updates in some scripts).
Disabling DiscussionTools doesn't actually change anything though. The HTML structure is the same whether it's enabled or disabled, only the styles are different. Also, note that it uses a "hybrid" heading structure currently when using the default parser, as you say, but it uses the new structure when using Parsoid.
So in short, you can just use Parsoid mode to test these scripts today here on English Wikipedia, but beware that there may be extra issues. But if they work with Parsoid, they will work with the new headings too. Matma Rex talk 11:25, 22 May 2024 (UTC)[reply]
The technical 13 script was blanked, so we don't have to worry about that one.
Will the fact that they're rolling this out for only some wikimedia-deployed skins at this time make the patch more complicated? If I'm reading it right, the scripts may temporarily have to support both heading styles. –Novem Linguae (talk) 09:16, 22 May 2024 (UTC)[reply]
Yes, it does, and they have to. Matma Rex talk 11:20, 22 May 2024 (UTC)[reply]
At a glance, it seems that User:Mr. Stradivarius/gadgets/SignpostTagger.js already supports the new style, as it uses $( '#bodyContent h2:first' ).text() as a backup if $( '#bodyContent h2:first span.mw-headline' ) doesn't exist (line 291). — Mr. Stradivarius ♪ talk ♪ 13:09, 22 May 2024 (UTC)[reply]
Fixed RFUD-helper. Thanks for the ping. – SD0001 (talk) 18:33, 22 May 2024 (UTC)[reply]
This is going to break both my edit request scripts, I will try to fix them at the weekend. Terasail[✉️] 18:41, 22 May 2024 (UTC)[reply]

Gadget-autonum (Auto-number headings)[edit]

I'm assuming ~ and feel free to correct me if i'm wrong ~ that something about this deployment is why headings no longer have numbers (for me)? Will it be possible to go back to that at some point? I find long pages almost impossible to navigate around without numbered headings, so will have to learn a new way of working if it won't be possible. Thanks, Happy days, ~ LindsayHello 16:24, 27 May 2024 (UTC)[reply]
@LindsayH: No, that was removed a while ago. You may try the "Auto-number headings" gadget here. Nardog (talk) 19:31, 27 May 2024 (UTC)[reply]
If you're speaking about the table of contents, Vector 22 does not provide numbering. Vector, Monobook, and Modern do.
If you are speaking about each actual heading, then indeed the preference is gone and indeed there is a gadget for it now. You have correctly identified that gadget as needing to be updated for this change. It looks like the necessary change to the snippet (documentation) has already been made, so someone needs to port that here. Izno (talk) 19:59, 27 May 2024 (UTC)[reply]
Thank you, Izno, helpful. I'd assumed it was a script/gadget, as so many appeared to be affected above. I shall patiently wait in hope Happy days, ~ LindsayHello 11:51, 28 May 2024 (UTC)[reply]
@LindsayH. I think I fixed this gadget for monobook/timeless/modern with this update. But there is still a double number bug on some talk pages on vector/vector-2022. Will work on that next. –Novem Linguae (talk) 16:50, 1 June 2024 (UTC)[reply]
You star! Thanks for the notification (and, of course, for fixing it). Happy days, ~ LindsayHello 06:14, 2 June 2024 (UTC)[reply]

The obsolete nowrap attribute[edit]

See this edit and User talk:Awesometd#nowrap. The nowrap attribute on a td element, already deprecated in HTML 4 (December 1997), was marked as obsolete in HTML 5 (October 2014). The user says that they are copying its use from other pages, so does anybody know where in Wikipedia such usage is recommended or even suggested? --Redrose64 🌹 (talk) 10:30, 28 May 2024 (UTC)[reply]

I doubt it's suggested anywhere. A few cases may have been added long ago and some users just copy what they saw in other articles. The user is right that it's used in 2024 F1 season. Unsurprisingly it's also in previous seasons. It's common to start such pages with a copy-paste from another season. PrimeHunter (talk) 11:16, 28 May 2024 (UTC)[reply]
At a first estimation there are about 10k uses of it; I'm sure someone can refine that. Izno (talk) 15:26, 28 May 2024 (UTC)[reply]
There's many more obsolete attributes still being used in tables, such as align or bgcolor. If we truly want to get rid of them, the solution would probably be to extend the Linter extension, so that they'll be listed at Special:LintErrors. That's probably a discussion to be had over at WT:LINT. --rchard2scout (talk) 07:56, 29 May 2024 (UTC)[reply]
One could easily ask as well where in Wikipedia such usage is deprecated or discouraged? I'm pretty sure the amount of editors that read the HTML5 instructions prior to editing articles is rather low. You can't just assume that everyone is always aware of what parameters have become obsolete.
I am a regular editor of the Formula 1 Wikiproject and I remember us starting to use that parameter because it is more practical and intuïtive than the nowrap template and takes up less memory. The fact that it never produced any technical issue, nor was there any message that it is obsolete. This is litterally the first time anyone give an indication there is a problem. Why isn't this advertised more to the relevant WikiProjects? Like another person pointed out here, if these things would be flagged as LintErrors they would not be used. But I do wonder why such a simple, well working parameter was made obsolete.
We are well-intentioned people, so I'm sure that if you invite a couple of editors from the relevant WikiProjects, explain the issue and tell us what the correct CSS code is, per the HTML5 documentatien's recommendation, we'll set out to deal with those obsolete parameters. As a side note, I think the Superbike article has even more issues, like the usage of external links.Tvx1 21:53, 3 June 2024 (UTC)[reply]
This one is actually pretty easy to switch, we have a CSS class nowrap that you can change whatever templates to use instead. Izno (talk) 23:31, 3 June 2024 (UTC)[reply]
And what is that CSS class nowrap? Tvx1 10:26, 4 June 2024 (UTC)[reply]
The CSS rule is
.nowrap,
.nowraplinks a {
  white-space: nowrap;
}
and it's already set up for you. You use it in a table as e.g.
{| class="wikitable sortable"
|+ Demo table
|-
|class="nowrap" | Row 1 Column 1 || Row 1 Column 2
|}
This applies the class to one specific cell. It can also be applied to a whole row at once; or to the entire table. Doing those isn't such a good idea, you may cause excessive sideways scrolling. --Redrose64 🌹 (talk) 13:55, 4 June 2024 (UTC)[reply]
What about style="white-space:nowrap"? Tvx1 23:17, 4 June 2024 (UTC)[reply]

Mobile view Swiss flag[edit]

There is a bit of an issue on mobile view in when this template: "  Switzerland" (or its variants) is used, the flag will appear stretched horizontally. Also, it’s to be noted this template: "Switzerland" does not have this issue. —TwinBoo (talk) 11:35, 28 May 2024 (UTC)[reply]

File:Flag of Switzerland (Pantone).svg is square. MediaWiki:Minerva.css says:
.flagicon img {
	min-width: 23px;
}
{{flag|Switzerland}} produces:
<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|border |alt=|link=]]  </span>[[Switzerland|Switzerland]]
I reduced the problem to the combination of flagicon and an empty link=. I only see the mobile issue in the first row below.
Code Result Mobile display size
<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=]]</span> 23x16px
<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|link=Switzerland]]</span> 23x23px
<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px]]</span> 23x23px
[[File:Flag of Switzerland (Pantone).svg|23x16px|link=]] 16x16px
<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23px|link=]]</span> 23x23px
They all display the 16×16px https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Flag_of_Switzerland_%28Pantone%29.svg/16px-Flag_of_Switzerland_%28Pantone%29.svg.png. The mobile stretching just varies. PrimeHunter (talk) 12:16, 28 May 2024 (UTC)[reply]
The minimum width of a flag on mobile is 23px, because without a minimum width, flag icons risk going to 0x0 inside tables and other common elements when on mobile, due to lack of available width. —TheDJ (talkcontribs) 05:45, 29 May 2024 (UTC)[reply]
But can we make it keep the correct width-height ratio in all circumstances? I added a table row only saying 23px instead of 23×16px, but othwerwise identical to the distorted first row. This displays correctly for me as 23×23px in mobile. It apparently takes three things simultaneously to be distorted in mobile: flagicon, wikitext specifying both height and width, and an empty link= which omits a link on the image. PrimeHunter (talk) 11:49, 29 May 2024 (UTC)[reply]
We could turn it into:
.flagicon img {
    min-width: 23px;
    height: auto !important;
}
No ideal, but will work I think... —TheDJ (talkcontribs) 12:09, 29 May 2024 (UTC)[reply]
It works for me in this section. PrimeHunter (talk) 12:42, 29 May 2024 (UTC)[reply]

Template gadgets[edit]

A discussion regarding the new use of "tempalte gadgets" is now open at Wikipedia:Interface_administrators'_noticeboard#Template_gadgets_-_naming_convention, please join in there if interested. — xaosflux Talk 11:53, 28 May 2024 (UTC)[reply]

Initial testing is available for anyone who would like to opt in to the first one of these. See the current bottom of Talk:Conway's Game of Life for info. — xaosflux Talk 20:09, 29 May 2024 (UTC)[reply]
The first one of these has been launched. Please @ping me if there are any reported issues. Follow up on the general concept of template gadgets is welcome at WP:IANB. — xaosflux Talk 15:29, 31 May 2024 (UTC)[reply]

Issue with cast template visuals, but only on Chrome[edit]

Was editing the page for Ezra (2023) and noticed that on Google Chrome, there is a huge issue with spacing. Wish I could show screenshots to detail what I see. But underneath 'Cast', I see a large, multi-paragraph jump of just blank, white space. It nearly takes up the whole screen. I do not see this on mobile, nor do I see it on Microsoft Edge -- just Google Chrome. Unsure how to fix this as I'm newer to Wiki. Is anyone seeing the same thing as me, and do they potentially know how to fix? Squiddyonwiki (talk) 02:02, 29 May 2024 (UTC)[reply]

Not seeing it on my chrome browser (Version 125.0.6422.76, Windows 11), apologies. CMD (talk) 02:46, 29 May 2024 (UTC)[reply]
I see that {{cast listing}} sets the style declaration min-width: min(25em, 100%) - is Chrome interpreting that as expected? First off, the min(...) function is in CSS Values and Units Module Level 4, which is still at the W3C Working Draft stage - not all browser vendors will impement it yet. Second, the spec says

For all three functions, the argument calculations can resolve to any <number>, <dimension>, or <percentage>, but must have a consistent type or else the function is invalid; the result’s type will be the consistent type.

- by my reading of that spec, 25em and 100% are not type-consistent. Chrome may be choking on that. --Redrose64 🌹 (talk) 06:30, 29 May 2024 (UTC)[reply]
min() is implemented by most of the browsers worth discussing. I think your observation about types is perhaps interesting. However, you are allowed to mix units in these min/max/clamp functions (see examples earlier in the page), and percentage is in a sense a unit...? I also know that CSS columns have a complex formula for how wide they are laid out and the 100% may be interfering with that. And that Chrome only recently (a couple years ago) made their CSS columns implementation much closer to fully specification compliant. Izno (talk) 15:18, 29 May 2024 (UTC)[reply]
That investigation just above aside, there is a possibility this was caused by a change that WMF made because they're thinking about how to make tables display appropriately when the width of the page is too narrow, based on your description of what you saw. The task for that is phab:T366119 and an initial bug report about suboptimal display was phab:T366119, after which there was some adjustment to how it functions - namely restricting this functionality to wikitable class tables. (There is still some things being learned there it looks like - though Isarra sorted most of this a while ago in Timeless....) Izno (talk) 15:33, 29 May 2024 (UTC)[reply]
That sounds like what I was seeing. What's weird, though, is that I'm on a Macbook now, still Chrome, and it looks normal. But on a Dell the display is what's bugged. Maybe it's based on the size of the laptop's screen? But unsure, because on my Dell on Microsoft Edge it was fine. Either way, I've never had to do a bug report but I will try to figure that out. Squiddyonwiki (talk) 15:38, 29 May 2024 (UTC)[reply]

Page previews not working[edit]

Since yesterday, page previews of links haven't worked for me. My "Enable page previews" option is turned on. Can anyone help? Thanks! LoganP25 (talk) 20:31, 29 May 2024 (UTC)[reply]

@LoganP25: Do you have an "Edit preview settings" link at the bottom of pages? If so, can you enable it there? PrimeHunter (talk) 20:53, 29 May 2024 (UTC)[reply]
I don't think so LoganP25 (talk) 21:12, 29 May 2024 (UTC)[reply]
@LoganP25: It should be to the right of "Mobile view" if you have it. Do previews work if you log out? Do you have the link there? Do previews work at https://en.wikipedia.org/wiki/Example?safemode=1, logged in or out? Does it work to disable previews at Special:Preferences#mw-prefsection-rendering, save preferences, enable it again and save again? "Navigation popups" should be disabled at Special:Preferences#mw-prefsection-gadgets if you use page previews. Is it? PrimeHunter (talk) 21:28, 29 May 2024 (UTC)[reply]
There's nothing to the right of "Mobile view" for me. Previews work when I'm logged out, but are broken again when I log back in. Previews don't work at the link you sent, and still don't after turning them off and on again. Navigation popups is disabled. Quite the enigma lol. LoganP25 (talk) 22:21, 29 May 2024 (UTC)[reply]
@LoganP25: What is your skin at Special:Preferences#mw-prefsection-rendering? What is your browser? Do previews work logged in at other wikis like simple:Example? You may have to first enable them in preferences there. PrimeHunter (talk) 22:39, 29 May 2024 (UTC)[reply]
My skin is Vector legacy, and I'm browsing on Google Chrome. Previews do work in other wikis, I hadn't thought to check that, but not in the English wikipedia. LoganP25 (talk) 22:47, 29 May 2024 (UTC)[reply]
@LoganP25 Hello. I also had the same problem here, but fortunately I made it! So I would like to share my solution to you as well.
The replies that you made to the questions of @PrimeHunter about having the link of "Edit preview settings" at the bottom of pages, the matter of "whether or not login/logout has an affect on page preview", "Navigation popups" options disabled or not along with all the other factors you mentioned matches exactly with mine. But I solved it in a different way.
Firstly, go to the "Appearence" in your "Preferences" & check the box of the "Enable page previews" (if its already checked then follow the next steps). Now, go to the "User profile", click on "Set your global preferences". On the "Appearance", there you should enable the (another) page preview option (both of the boxes should be checked). Save it & again return to your (original) "Appearance" in your "Preferences" just to make sure that, two things are there — the "Enable page previews" is not only checked but also grayed out & the "Set a local exception for this global preference" is unchecked.
Hope it helps. ERA (talk) 13:40, 30 May 2024 (UTC)[reply]
That worked, thank you so much! LoganP25 (talk) 14:03, 30 May 2024 (UTC)[reply]
Glad you finally worked it out. It sounds like a bug if you have to set a global preference to make a local preference work. I haven't heard of that before and didn't expect it. PrimeHunter (talk) 14:15, 30 May 2024 (UTC)[reply]

Production table formatting for correct text alignment[edit]

An experienced editor informed me that a table format - used over years with no negative feedback on numerous articles to display crop production data - "crashes" the text aligning to it in the right text margin. The editor says it works fine in Chrome, but doesn't on any browsers tried on a Windows PC.

The original table format parameters are

{| class="wikitable" style="float:right; clear:left; width:14em; text-align:center;"
|-
! colspan=2|Mango* production – 2022
|-
!  style="background:#ddf; width:75%;"| Country
!  style="background:#ddf; width:25%;"| <small>millions of [[tonne]]s</small>
|-

The editor made a change based on a "wikitable floatright" parameter plus internal table formatting (column alignment left or right) using:

{| class="wikitable floatright" style="width:15em; margin: 20px 20px 0px 20px"
|-
! colspan=2|Mango* production – 2022
|-
!  style="background:#ddf;"| Country
!  style="background:#ddf;"| <small>millions of [[tonne]]s</small>
|-

This is the history of editing. Please comment on parameters with potential text-table alignment effects:

  1. style="float:right
  2. clear:left
  3. style="background:#ddf; width: and the respective 75% and 25% (removed in the revision)
  4. the editor's revision: style="width:15em; margin: 20px 20px 0px 20px"
  5. table display effect on text alignment of different browsers using a Chromebook vs. Windows PC (vs. Apple).

Thanks for looking into this. Zefr (talk) 22:27, 29 May 2024 (UTC)[reply]

@Zefr: The floatright class, when used on a table, is equivalent to setting the float:right; clear:right; margin: 0 0 0.5em 0.5em; styles. Notice two things: (i) the clear is for right not for left; (ii) it doesn't affect text alignment within the cells. You shouldn't need to explicitly set margin values if you are also using the floatright class. For an axample of floatright without other styles, see the "Distribution of locomotives, March 1974" table in British Rail Class 24#Operation. --Redrose64 🌹 (talk) 16:52, 30 May 2024 (UTC)[reply]

OpenStreetMaps in Croatian? Is it just me?[edit]

The OpenStreetMap maps in the infoboxes at Radio City Music Hall and Carnegie Hall (and probably other locations) seem to be in Serbo-Croatian; at least all of the place names are spelled phonetically according to Serbo-Croatian rules. Is this true for everyone, or is there some weird setting in my Preferences I need to change? If it's true for everyone, can it be fixed? Surely OpenStreetMap has an English-language version of their map of Manhattan. —Mahāgaja · talk 11:28, 30 May 2024 (UTC)[reply]

I see this, too. If I click through to get a large map, it affects all of Manhattan but not the other boroughs, New Jersey, or (as far as I can tell) any other place. rbrwr± 12:41, 30 May 2024 (UTC)[reply]
For me it affects most but not all of Manhattan. Also raised at Talk:Manhattan#Question about the map. CMD (talk) 12:52, 30 May 2024 (UTC)[reply]
phab:T366136 for this issue. related ticket: phab:T195318. – robertsky (talk) 13:03, 30 May 2024 (UTC)[reply]

New Gadget for viewing CT images[edit]

We at Wiki Project Med have built a gadget to view stacks of images such a as CT scans, which you can see here[6]. We are wanting to install it on EN WP.

Previously mentioned to User:MusikAnimal here who want to verify community consensus first.

We have an earlier version working on Commons[7]. Based on Template:PD-medical we have collected a few thousand complete CT and MRI scans of various conditions. Doc James (talk · contribs · email) 19:13, 29 May 2024 (UTC)[reply]

@Doc James about how many pages would this need to run on? We are currently experimenting with our very first implementation of Template Gadgets (see a couple sections up) right now, which I imagine would be the way we would want to implement this (and most certainly not by hooking a full page text analyzer in to common.js). — xaosflux Talk 18:49, 30 May 2024 (UTC)[reply]
A template gadget version has been copied to mediawiki.org as a demo. See mw:Template:ImageStackPopup Bawolff (talk) 19:00, 30 May 2024 (UTC)[reply]
So User:Xaosflux sounds like it only loads when a specific category is present already. Doc James (talk · contribs · email) 19:21, 30 May 2024 (UTC)[reply]
@Doc James yes, where said category would come along with a template that would wrap whatever is being used. It sounds like all instances of this would use some template so that part isn't hard. What order of magnitude of pages would you expect this would get used on? — xaosflux Talk 19:23, 30 May 2024 (UTC)[reply]
User:Xaosflux few thousand at most, Doc James (talk · contribs · email) 19:44, 30 May 2024 (UTC)[reply]
Thanks for the note. — xaosflux Talk 19:24, 30 May 2024 (UTC)[reply]
The mediawiki version is quite a bit better.
  • For a default gadget, i'd have some concerns about the accessibility of the play button. It's not a button, and it's also not labeled.
  • Similar for the pager and slider in the window. This is unlabeled. It should have accessibility labels to make it possible to understand what the slider does.
  • The play button positioning and sizing might need a little bit more work, it seems kinda off (esp on iphone)
  • Might want to hide the play button on media print
  • Good to see that media credits are being linked.
  • Seems to work on mobile, but could use some additional spacing at the top controls, they are really difficult to hit because everything is so close together now.
  • Closing the dialog. All MW dialogs currently have close at the top (an old pattern i note due to mobile usage favoring thumb interaction at the bottom of a dialog). This does create an inconsistency, but i'm not particular concerned.
  • The whole ImageStackPopup-viewer is inside a label element atm. I think that's an accident?
TheDJ (talkcontribs) 20:27, 30 May 2024 (UTC)[reply]
User:TheDJ We have added labels. Let me know if what was done is sufficient? Doc James (talk · contribs · email) 13:06, 1 June 2024 (UTC)[reply]
Perhaps we can use gitlab instead of mediawikiwiki for development? It can probably serve as the version which wikis copy from. I created a blank project at gitlab:repos/gadgets/ImageStackPopup, and can extend SDZeroBot 13 to support tracking updates from gitlab. – SD0001 (talk) 09:14, 31 May 2024 (UTC)[reply]
There's been some accessibility improvements in the latest version. Button is also now hidden on print. The label thing and the close button at the bottom seem to be due to using OO.ui.alert. I'm not sure why OOUI does it that way for alert boxes. Bawolff (talk) 13:18, 31 May 2024 (UTC)[reply]
Synced local fork from upstream. — xaosflux Talk 13:57, 31 May 2024 (UTC)[reply]
@Doc James, As one of our professors often says, "One view is no view in Radiology." From a content perspective, I am confident that these imaging stacks will enhance the quality of our radiology related articles. Looking forward to seeing this implemented soon. signed, 511KeV (talk) 19:03, 30 May 2024 (UTC)[reply]
Moral support for the idea, bug-report for the implementation: the stack is scrolled by a left–right slider, but when hovering over the image the stack scrolls when I move the mouse up-and-down and not side-to-side. DMacks (talk) 19:49, 30 May 2024 (UTC)[reply]
Given the bird's-eye view with the line indicating the location of the specific scan is an up-and-down position, having the slider be side-to-side is confusing. Everything needs to be in sync. DMacks (talk) 00:09, 31 May 2024 (UTC)[reply]
  • I've forked ImageStackPopup over for anyone that wants to test it out in sandboxes etc, you can either manually opt-in to it in the "testing and development" gadget section, or you can load it to a page with the ?withgadget query parameter. From discussion above, this seems like it will need some extensive testing and tweaking. Nothing should currently be placed in to an article that is dependent on this right now, as readers will not be able to make use of it yet. — xaosflux Talk 23:55, 30 May 2024 (UTC)[reply]
    The Vivarium template gadget being currently tested is much simpler, and we will make sure our roll out of template gadgets is done carefully. Additional discussion around if these should be able to be opted out of should also occur (i.e. not making them default+hidden). For a default here, we'll likely also use a fork, we have a bot to monitor remote changes and flag for promotion that can be used. — xaosflux Talk 23:58, 30 May 2024 (UTC)[reply]

The test version on Commons loads 250 images. Given how heavy these images are, this seems like a bad use case for a gadget and should potentially be in some sort of video instead, which won't try to download that many images all at the same time. Izno (talk) 00:24, 31 May 2024 (UTC)[reply]

That does seem like a lot if its all hitting the browser right away. Something that heavy sounds like it would be better to paginate and be done in mediaviewer perhaps. — xaosflux Talk 00:28, 31 May 2024 (UTC)[reply]
To clarify, the images get downloaded only after the user hits the play button, so only users who want to see them do the download. Perhaps that could be improved with a progress loading bar or something or the ability to cancel. The goal is to allow users to directly compare all the images all at once, so i'm not sure pagnation would work here. I agree that as a long term solution, transfering as a video with p-frames/temporal compression would probably be much more bandwidth efficient. Bawolff (talk) 05:43, 31 May 2024 (UTC)[reply]
Also, just to be clear, this gadget does not exist on commons. There is a separate gadget on commons called ImageStack, which is the inspiration for this gadget, but its a totally different gadget. Bawolff (talk) 09:46, 31 May 2024 (UTC)[reply]

Perfect. Got it working here on EN WP User:Doc_James#CT_scan_viewer. Agree a bit of fine tuning is still required.

I like the idea of a progress loading bar. As User:DMacks suggests lets move the scroll bar to the right of the image. We will need a naming convention for these pages User:Doc James/Appendicitis CT Doc James (talk · contribs · email) 15:43, 31 May 2024 (UTC)[reply]

this link can be used to manually enable to gadget once for others that want to see this without doing the opt-in. — xaosflux Talk 18:13, 31 May 2024 (UTC)[reply]

Next steps[edit]

We have implemented a bunch of the suggestions made above, see this link. Any further comments or can we have this go live and start using these in main space? Doc James (talk · contribs · email) 18:38, 1 June 2024 (UTC)[reply]

Ping User:TheDJ and User:DMacks Doc James (talk · contribs · email) 18:39, 1 June 2024 (UTC)[reply]
Looking very nice, but I still think it needs a bit more work for mobile. I'd still say that my fingers are not 3mm x 3mm. Additionally the right positioning of the controls now gets into the scroll zone, which is possibly even worse. I can trigger the rubber banding of the scroll area, and if I zoom in, we overlap with the scrollbar of the viewport. If you switch to desktop skin on mobile, you have the same, but zoomed out 6 times so you really do need that zooming and scrollbar. —TheDJ (talkcontribs) 22:33, 1 June 2024 (UTC)[reply]
How about we use swipe right / left on mobile to move through images? Doc James (talk · contribs · email) 05:22, 2 June 2024 (UTC)[reply]
My concerns about consistency in direction of scrolling are resolved. For the record, I'm using a desktop machine. DMacks (talk) 05:32, 2 June 2024 (UTC)[reply]

Replag[edit]

Another lengthy replag (~3 hours) on a Thursday night. Is there any place to go to find out when the estimated fix-it time will occur? Or is it just wait and see? Liz Read! Talk! 02:40, 31 May 2024 (UTC)[reply]

Mostly just wait and see. My guess is the cause is phab:T364299. * Pppery * it has begun... 03:01, 31 May 2024 (UTC)[reply]
Seems to have fixed itself. The highest I've seen it go was around 11 or 12 hours, so this one was not nearly as bad as it's been in the past. --rchard2scout (talk) 13:44, 31 May 2024 (UTC)[reply]

Phantom redirects[edit]

I'm running into the recurrence of a problem I've brought here a few times before, where an incategory search of Category:Living people for drafts or user sandbox pages that shouldn't be in it offers up several pages that aren't actually pages in the category but cross-namespace redirects to real articles, which resulted from an editor adding categories to the page while it was still in draft or user space, and then moving the page into mainspace shortly afterward. That's a relatively common occurrence which doesn't usually cause any serious problems, but every once in a while it causes situations like this, where for some reason the redirect lingers in the categories despite not actually having any categories on it.

In the past I've usually resolved this by redoing the move: I would move the page back overtop the redirect, wrap the categories in the {{draft categories}} wrapper to disable them, and then move the page back into articlespace again, which usually worked to get the redirect out of the category — but of the four such redirects currently showing up in the search, I've already done that on two of them, meaning even that trick isn't working anymore.

Additionally, I need to note that there are four phantom redirects currently showing up in the search, yet the results counter at the top of the page is claiming that there are eight pages, meaning that there are four more phantoms I can't even find.

Because Category:Living people is a megacategory with millions of pages in it, it's not a category I can search manually for draft or user pages — it has to be done as an incategory search, which means I can't just work around permanent speed bumps and need the tool to be clean. It might also be related to the replag problem that's been discussed above, because even the normal categorized drafts or userpages that I pull out of the category the normal way are taking longer than usual to clear from the search as well — but could somebody look into whether there's any way to fix it? Thanks. Bearcat (talk) 17:20, 31 May 2024 (UTC)[reply]

Replag is currently around five seconds, so that's not it. It wouldn't affect searches on the live site anyway.
If I query the database for members of Category:Living people that are in namespaces user, draft, or their corresponding talk, I get no results. All four of the current false positives in search (Draft:Amre Hamcho, User:Miminity/Yoshinobu Yamakawa, User:Minmarion/sandbox/voice, User:WikiOriginal-9/David Hinds (gridiron football)) were moved within the last 24 hours. And neither a null edit nor an actual edit (both to User:Miminity/Yoshinobu Yamakawa) helped. Taken together, these lead me to guess - with absolutely no knowledge whatsoever of how the search backend works, mind you - that it's only the search indices that are out of date.
I suppose it's worth checking back in a day or so, without your move/edit/move workaround, to see if they clear up themselves. Failing that, I can build a database report for you, which might be more convenient than the search. (That is, unless you're worried about search results, too, not just what appears on the category page.) Any other categories to check besides Category:Living people? —Cryptic 18:39, 31 May 2024 (UTC)[reply]
@Bearcat: Have you tried this?
  1. Navigate to the redirect that is incorrectly listed at Category:Living people
  2. Edit the redir page to add [[Category:Living people]] and save it
  3. Edit the redir page to remove [[Category:Living people]] and save it
Does this work to delist the redirect from Category:Living people? --Redrose64 🌹 (talk) 21:15, 31 May 2024 (UTC)[reply]
It doesn't Bearcat (talk) 00:32, 1 June 2024 (UTC)[reply]

Font size bug - mobile[edit]

Hello, I have question. For quite some time now, The font size is not correctly shown when I want to see it on visual editing (i mostly work with filmografies of actors) - basically, I want to change font size from 100 to 80, and its not working at all. It stays same. The whole filmography also gets bigger sometimes for some reason when I want to edit it only by visual editing. I remember there was a discussion about this long time ago but I dont know if there was any improvement. I work on mobile, so I dont know whether pc users have this problem as well. If there is any sollution or way how to make it work, feel free to comment your suggestions. Thx in advance. Kesseder (talk) 17:55, 31 May 2024 (UTC)[reply]

This search has timed out. You may wish to try different search parameters.[edit]

I'm getting this error pretty frequently lately when opening my watchlist. Maybe a third of the time over the past several days. Anyone know what this is? — Rhododendrites talk \\ 01:32, 1 June 2024 (UTC)[reply]

Reset your filters, so the page has to do fewer calculations ? Your watchlist is probably really large, I assume. —TheDJ (talkcontribs) 10:22, 1 June 2024 (UTC)[reply]
@Rhododendrites: It could be several different things, or more likely, a combination of these.
Things to try:
  • Go through Special:EditWatchlist/raw and remove pages that you're no longer interested in
  • If you are watching a high-traffic page (like WP:ANI), unwatch it
  • At Watchlist options, try
    • reducing the period of time to display
    • applying some of the "Hide" options
    • selecting one namespace (possibly with its Associated namespace enabled) rather than all
HTH. --Redrose64 🌹 (talk) 10:41, 1 June 2024 (UTC)[reply]
Thanks. I do have a very large watchlist (17k pages), but this issue started happening all of a sudden a few days ago and the list has barely changed in recent weeks. I don't think I've ever once seen the error before then. It's also inconsistent. If I just refresh a few times, it'll display. — Rhododendrites talk \\ 13:44, 1 June 2024 (UTC)[reply]
But the software and servers change all the time. If you are up to those numbers, even half percent of change in performance on that side can easily push you over an edge. —TheDJ (talkcontribs) 14:07, 1 June 2024 (UTC)[reply]
@Rhododendrites You can try User:Ahecht/Scripts/watchlistcleaner to clean out unneeded or stale pages from your watchlist, but with 17k pages you may have to let it run overnight. I've only tested it on about half that many pages. --Ahecht (TALK
PAGE
)
01:53, 3 June 2024 (UTC)[reply]
Thanks. Frankly, though, I don't want to change my watchlist. It's huge, yeah, and includes a ton of e.g. deleted pages, but I like being able to see when something is recreated or when someone edits a page from way-back-when that probably shouldn't be edited anymore. Edits to inactive pages sneak through too easily sometimes. I'm just kind of surprised that I've had a massive watchlist for years (I became an active editor playing with counter-vandalism tools and AWB, so built up a huge watchlist early) and it's never caused a problem. Of all the things that use memory on Wikipedia, it's volunteers' watchlists that need to be limited? — Rhododendrites talk \\ 14:29, 3 June 2024 (UTC)[reply]
Almost everything is limited. It’s just that most people don't know about that because they hardly ever run into those limits. —TheDJ (talkcontribs) 17:23, 3 June 2024 (UTC)[reply]
The likelihood of a timeout can vary depending on how much load the servers are under. More load, more likelihood of a timeout. Watchlists are actually the single most database intensive feature on Wikipedia, probably by a fairly wide margin. On smaller wikis, adjusting the time period to search can help a lot but on a wiki the size of Wikipedia not so much. (Essentially there are two methods of calculating the watchlist depending on if the number of changes in the time period being search is smaller or larger than the amount of entries in your watchlist. On Wikipedia you'd probably have to set that super low before it made a difference because so many edits are happening all the time). Most of the other filters (including total number of results to show) don't make much of a difference most of the time, although there might be edge cases where they matter. Bawolff (talk) 00:04, 4 June 2024 (UTC)[reply]
Thanks for this background. Did not know they were the most database intensive feature, but I guess that makes sense. So I take this to mean the only way to fix it is to remove pages from the list? — Rhododendrites talk \\ 00:07, 4 June 2024 (UTC)[reply]

Desktop and mobile view on same page[edit]

I just got a new Windows 11 laptop. When I start using Wikipedia, it shrinks the display area (but not the very top menu bar} to about 2/3 of the available width, then below the normal desktop view it shows a sort-of mobile view of the same page. See screenshot to the right. Wikipedia still looks fine on the old laptop. Is this a bug or some obscure configuration problem? Aymatth2 (talk) 13:46, 1 June 2024 (UTC)[reply]

You installed this (old) script which does this: User:קיפודנחש/mobile-sidebarcopy.js. —TheDJ (talkcontribs) 14:10, 1 June 2024 (UTC)[reply]
Thanks. I thought it was something dumb like that. Taking out the old script fixes the problem. Both laptops are fairly up to date Windows 11, but there must be some difference in their configuration. Aymatth2 (talk) 15:03, 1 June 2024 (UTC)[reply]

Broken parsing/HTML generation near math tags[edit]

Look at the vertical spacing here. The source code has a single blank line to separate the paragraphs, as usual, but the result is terrible. Moreover, examining the HTML DOM in both Firefox and Chrome reveals that the end on the first paragraph ("In fact...") is actually outside any paragraph tags, but there's an empty <p></p> between "...Killing form)." and "This cross-product..." (which apparently creates that huge gap). A similar situation can be seen in the next section as well (before "Alternatively, one may...").

I've noticed that vertical spacing around <math> some time ago became noticeable broken in some cases (seemingly regardless of <math display="block"> or : <math> and blank lines before/after). Initially I was expecting that somebody else will notice that quickly and repair, then I forgot and was lazy to investigate, but this outstandingly wrong occurrence made me think that it must be at least reported... — Mikhail Ryazanov (talk) 09:41, 2 June 2024 (UTC)[reply]

I suggest making screenshots, because I’m not sure what you mean with ‘terrible’ —TheDJ (talkcontribs) 11:52, 2 June 2024 (UTC)[reply]
I've made screenshots at archive.is (to be sure that it's not my local problem):
Now it seems to me that even though the "legacy" skin didn't have so obvious problems, they were still present, but partially hidden because paragraphs didn't have bottom padding added (for what reason?) in the new skin. Please also take a look at some tests with comments that I've made in my sandbox:
Examining the DOM again reveals that the generated HTML is not correct (or recent versions of both Firefox and Chrome can't parse it properly, which is unlikely). — Mikhail Ryazanov (talk) 01:11, 3 June 2024 (UTC)[reply]
Thanks for the screenshot. So "the result is terrible" means a few mm extra whitespace. Your link [8] uses <math display="block">. We add whitespace to that with code in MediaWiki:Common.css:
/* Make <math display="block"> be left aligned with one space indent for 
 * compatibility with style conventions
 */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
	margin-left: 1.6em !important;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}
Compare to a safemode link where local CSS like MediaWiki:Common.css is ignored. PrimeHunter (talk) 02:23, 3 June 2024 (UTC)[reply]
Paragraph spacing is the subject of much recent discussion in phab:T362939 after the WMF changed paragraphs to use padding rather than margin. I would guess this is the issue you have identified. They intend to fix their previous decision making. (Apparently a math-specific one is phab:T361273 but that probably should be closed duplicate.)
As for a bad DOM, that's probably phab:T182041. Izno (talk) 02:28, 3 June 2024 (UTC)[reply]
OK, phab:T182041 is apparently the root cause (made more obvious by phab:T362939 changes), reported many years ago, but nobody really cares... Would it be too difficult to use <span> instead of <div> to make it work properly? — Mikhail Ryazanov (talk) 04:07, 3 June 2024 (UTC)[reply]

Detecting transclusion through a redirect[edit]

In Wikipedia:Templates for discussion/Log/2024 May 22#Template:Edit semi-protected a reason some editors, including myself, are opposed to merging is that the merged template will no longer be able to work properly if used on an unprotected page (which can happen in the case of an unprotected WP:ARBECR page, for example). SilverLocust put it like this: If these were all redirected to one template, then there would be a loss of functionality unless someone knows how to tell a module not merely which wrapper is invoking a module (since there would only be one merged wrapper), but rather which redirect is being used to transclude the wrapper that invokes the module (and I don't think that is possible). So, is that right? Or is there a way to detect which redirect is used and merge the templates without any loss of functionality? Nickps (talk) 14:07, 2 June 2024 (UTC)[reply]

@Nickps The module could use getContent() to get the text of the current page and then search it for one of the redirect templates. --Ahecht (TALK
PAGE
)
02:30, 3 June 2024 (UTC)[reply]
I would oppose that as confusing and probably inefficient. Editors expect it to make no difference whether a redirect is used. If we really want a certain "redirect" to behave differently then don't make it a redirect but a wrapper which passes a certain parameter. PrimeHunter (talk) 02:47, 3 June 2024 (UTC)[reply]
Yes, and that's exactly what has been done (but is proposed to be undone by merging the templates). Certes (talk) 13:56, 3 June 2024 (UTC)[reply]

Recent change somewhere in Wikipedia/Wikimedia has broken chart labels in Module:Chart[edit]

Something changed recently and now all charts generated by Module:Chart have broken and the top text label no longer displays properly. As you can even see on the help page for the charts, the top label of the chart has half the text chopped in half. I can't track down why this would have happened. Does anyone know where this could come from? It didn't use to do this a few weeks ago and nothing has changed on the page itself so it must be inherited from elsewhere on wikipedia. I've tested with Firefox, Safari and Chrome and all seem to have this issue so it doesn't appear to be limited to certain browser versions. Looking at archives on archive.org for some pages, it was still working as of the beginning of May but haven't found any page archives within the last few weeks yet. Here's one example of what it should look like. And here's what that section looks like currently. Ergzay (talk) 06:41, 3 June 2024 (UTC)[reply]

Through some asking questions I found that apparently a "overflow-x: auto;" media query was added globally across wikipedia, something that is very wrong to do. Anyone know where the code is for this so a bug report can be filed? Ergzay (talk) 07:52, 3 June 2024 (UTC)[reply]
It appears that gerrit:c/mediawiki/core/+/1035574 moved the "noresize" class from the Minerva skin to core code loaded by all skins. Anomie 10:46, 3 June 2024 (UTC)[reply]

update Credits[edit]

Who is responsible for running the maintenance script updateCredits.php, and how often is it run? wbm1058 (talk) 15:41, 3 June 2024 (UTC)[reply]

Generally it is run once per major MediaWiki release by those making the release. So every 6 months or so. —TheDJ (talkcontribs) 17:20, 3 June 2024 (UTC)[reply]
So, next up in 1.42, expected later this month. Thanks! wbm1058 (talk) 14:21, 4 June 2024 (UTC)[reply]

Tech News: 2024-23[edit]

MediaWiki message delivery 22:32, 3 June 2024 (UTC)[reply]

Are images transfers to WikiData working? (repost from help desk)[edit]

I use Wiki Shoot Me to take photos for Wikipedia while I’m traveling. Typically you can identify articles that need photos by looking for yellow dots indicating Wikipedia articles and larger red circles near by indicating WikiData items without photos (as previously these seemed to sync). In two cases recently I noticed articles with CC-licensed images placed correctly in the lead and appropriately sized that did not have their photos synced with WikiData: National Hotel (Q65056276) and Wet Mountain Valley (Q7989973). I know the page image is being picked up because they display correctly on Special:Nearby using their coordinates: National Hotel and Wet Mountain Valley. It looks like they’re just not making it to WikiData. - Scarpy (talk) 05:46, 4 June 2024 (UTC)[reply]

I'm not aware of any bot or tool which scrapes Wikipedia articles for suitable images to import into Wikidata. This may be an idea worth exploring, but there would be plenty of false positives. For example, on an article about an artist, if we do not have an image of the artist it is common to include a picture of one of their well known works instead. This would not be suitable for importing to Wikidata, and I can't think of a reliable way for an automatic process to detect these. Perhaps a semi-automated tool (which makes suggestions but requires manual review) is the way to go? I suggest you post at Wikidata:Project chat for a more informed response. — Martin (MSGJ · talk) 07:50, 4 June 2024 (UTC)[reply]
I found WDFIST which seems to do something like this — Martin (MSGJ · talk) 07:53, 4 June 2024 (UTC)[reply]

Thanking other users[edit]

The link for thanking other users for their edits H:THANK is currently not available on my browser based interface. Am I missing something here? ♦IanMacM♦ (talk to me) 19:51, 4 June 2024 (UTC)[reply]