Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Server error: ---Response.
→‎Rebase: Reply
 
Line 1: Line 1:
<noinclude>{{Short description|Page for discussing Wikipedia technical issues}}<!--
<noinclude>
-->{{pp-move-indef|small=yes}}<!--
{{Village pump pages|alpha=yes|start=88|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)
|center=<div id="villagepumpfaq">{{FAQ|see also=[[Wikipedia:Technical FAQ]]|style=margin:0 1em;}}</div>
| counter = 212
|3=WP:VPT|4=WP:VP/T|5=WP:TECHPUMP|6=WP:PUMPTECH}}<!--
| maxarchivesize = 500k

| minthreadsleft = 4
-->__NEWSECTIONLINK__<!--
| minthreadstoarchive = 1

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


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

--><!--


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


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


== IP Information tool ==
[[ar:ويكيبيديا:الميدان/تقنية]]
{{Tracked|T363118}}
[[as:Wikipedia:ৱিকি মিস্ত্রিৰ দোকান]]
Facing a new issue today regarding the [[:foundation:Legal:IP Information tool guidelines|IP Information Tool]] where access to some of the non-admin information does not show up in the Special:Contributions page for an IP as it did before. That page now only shows "Version", "Active blocks", and "Contributions". Oddly, the country (not city) location still pops up on the watchlist preview, even though it does not show on the Contributions page. Anyone else seeing similar? Best, [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 08:00, 15 May 2024 (UTC)
[[ca:Viquipèdia:La taverna/Ajuda]]
:The IP information drop down has been returning no information for me other than the version (IPv4 vs. IPv6), local block info and contribs for the last two days. It's like it can't access any of the data from whichever database it draws from. Every other field simply states "not available".-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 21:43, 15 May 2024 (UTC)
[[cs:Wikipedie:Pod lípou (technika)]]
::And regarding my odd note on watchlist preview, this only happens ''sometimes'', with even different edits from the same IP showing me country location in one instance but not another. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 01:50, 16 May 2024 (UTC)
[[es:Wikipedia:Café/Portal/Archivo/Técnica/Actual]]
::Further learning, I can refresh the same IP contributions page repeatedly and sometimes it will show me the country, sometimes it will show no access. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 03:25, 16 May 2024 (UTC)
[[fa:ویکی‌پدیا:قهوه‌خانه/فنی]]
:::Can someone link a page where this has recently happened to them, so that I can try to reproduce? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 07:15, 16 May 2024 (UTC)
[[ka:ვიკიპედია:ფორუმი/ტექნიკური საკითხები]]
::::{{ping|Novem Linguae}} it happens on any IP contributions page ([https://en.wikipedia.org/wiki/Special:Contributions/67.84.32.54 this one], for example).-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 15:29, 16 May 2024 (UTC)
[[kk:Уикипедия:Ауыл құдығы/техникалық]]
:::::Thanks, I'm able to reproduce. According to https://phabricator.wikimedia.org/T363118#9804312, "not available" is case #2. {{tq|This means Spur/Maxmind doesn't have that data. Looking at these fields, they're all populated by Spur. Maxmind and Spur have different coverage, so we may have a location for an IP but no other data for it.}}. So that one is not a bug and they have no plans to patch it, it looks like. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 15:56, 16 May 2024 (UTC)
[[hu:Wikipédia:Kocsmafal (műszaki)]]
::::::I don't understand how that data was available consistently for all IPs, then suddenly is missing for nearly all of them. It renders the entire IP contribs drop down useless. Oh well.-- [[User:Ponyo|<span style="color: Navy;">'''Ponyo'''</span>]]<sup>[[User talk:Ponyo|<span style="color: Navy;">''bons mots''</span>]]</sup> 16:13, 16 May 2024 (UTC)
[[mk:Википедија:Селска чешма (Техника)]]
:::::::Someone just commented in the ticket that they think it's happening way more than it used to and they think something is broken. So it may be a bug after all. Here's hoping the devs figure it out. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 16:47, 16 May 2024 (UTC)
[[mr:विकिपीडिया:चावडी/तांत्रिक प्रश्न]]
::::::::If I refresh sometimes, sometimes, the location info magically just appears. So the data is there. Sometimes. This is all on the same IP page. The one listed just above if I refresh does show the location 1 time out of 4 or so. [[User:Canterbury Tail|<b style="color: Blue;">Canterbury Tail</b>]] [[User talk:Canterbury Tail|<i style="color: Blue;">talk</i>]] 15:58, 21 May 2024 (UTC)
[[ms:Wikipedia:Kedai Kopi (teknikal)]]
{{od}}
[[pl:Wikipedia:Kawiarenka/Kwestie techniczne]]
This has now been split into two separate Phab issues, [[Phab:T355392]] and [[Phab:T355393]]. [[User:Chipmunkdavis|CMD]] ([[User talk:Chipmunkdavis|talk]]) 01:42, 24 May 2024 (UTC)
[[pt:Wikipédia:Café dos programadores]]
[[ru:Википедия:Форум/Технический]]
[[sr:Википедија:Трг/Архива/Техника/20]]
[[fi:Wikipedia:Kahvihuone (tekniikka)]]
[[uk:Вікіпедія:Кнайпа (технічні питання)]]
[[zh-yue:Wikipedia:城市論壇 (技術)]]
[[zh:Wikipedia:互助客栈/技术]]
</noinclude><!--


== Dark mode is available in Vector 2022 as a beta feature ==
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.


[[File:Accessibility for reading mockup with dark mode on.png|thumb]]
-->
Hi everyone, the [[mw:Reading/Web|Wikimedia Foundation Web team]] has just released dark mode for logged-in users on desktop across all wikis for testing purposes. It's part of the [[Special:Preferences#mw-prefsection-betafeatures|Accessibility for Reading (Vector 2022)]] beta feature.


Just like [[Wikipedia:Village_pump_(technical)/Archive_212#Early_access_to_the_dark_mode_(mobile_web,_logged-in)|previously, when we were releasing this feature for logged-in users on mobile]], our goals for the early rollout are to:
== Creating pages with preloaded content ==
* Show what we've built very early. The earlier you are involved, the more your voices will be reflected in the final version
* Get your help with flagging bugs, issues, and requests
* Work with technical editors to adjust various templates and gadgets to the dark mode


'''Known limitations'''
Hi. I asked this at the Help desk yesterday but have gotten no response, so I thought I would ask here. If I need to ask somewhere else, please direct me.


* Dark mode is only available for logged-in users: on desktop as a beta feature, and on mobile in the advanced mode.
I would like to be able to create a page from a redlink with preloaded content. [[Wikipedia:Requests for adminship/Nominate#To nominate yourself|this section on WP:RFA]] does it with an input box using the {{para|preload|page}} parameter, but I would like to do it with a redlink. There are redlinks in [[Template:NRHP Article Archive]] and [[Template:NRHP Picture Archive]] that users click on to archive new pictures/articles every month. Each month's archive has the same basic formatting: archive header at the top, followed by a search box, followed by a link to the opposite archive (i.e. picture archives link to article archives and vice versa), then an h2 heading, followed by the list. I've successfully moved a lot of this into the two templates above, but when a user clicks on the redlinks, I would like for the resultant pages to preload the template call, as well as the month/year heading seen on all the archive pages in the above templates. Specifically, I would like the new pages to be preloaded with the following content:
* Gadgets may initially not work well with dark mode and may have to be updated.
;Article archives:
* Our first goal is making dark mode work on articles. Special pages, talk pages, and other namespaces (including Wikipedia) have not been updated to work in dark mode yet. We have temporarily disabled dark mode on some of these pages.
<pre>
{{NRHP Article Archive}}


'''What we would like you to do'''
== {{subst:SUBPAGENAME}} ==


Our request to you is exactly the same as previously:
</pre>


# To opt into dark mode, select the [[Special:Preferences#mw-prefsection-betafeatures|Accessibility for Reading beta feature]] from the beta feature list. This will opt you into the Appearance menu displayed in the right sidebar on every page. [[#May 2024 Accessibility for Reading Update: appearance menu, upcoming font size changes and customization, dark mode, and more|More about the menu itself here]].
;Picture archives:
# Next, go to different articles and look for issues:
<pre>
#* If you have noticed an issue with a template but do not know how to fix it
{{NRHP Picture Archive}}
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example
</pre>
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
:AFAIK, it is not (strictly speaking) possible to preload with a redlink. But you could do some fancy template stuff to make it happen if you really want to. — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 10:14, 26 September 2011 (UTC)
#* If you want to debug many templates in dark mode
#*# Go to https://night-mode-checker.wmcloud.org/ and identify templates that need to be fixed. The tool flags the top 100 most read articles.
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
#* If you want to identify problems beyond the top 100 articles.
#*# Install the WCAG color contrast browser extension ([https://chromewebstore.google.com/detail/wcag-color-contrast-check/plnahcmalebffmaghcpcmpaciebdhgdf Chrome], [https://addons.mozilla.org/en-US/firefox/addon/wcag-contrast-checker/ Firefox]) and visit some articles. Use it to identify problems
#*# Go to the [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|recommendations page]] and find relevant examples
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]]
#* If you have a bug report for dark mode that is not related to templates
#*# Take a screenshot of what you are observing.
#*# [[mw:Talk:Reading/Web/Accessibility for reading|Contact us]]. If possible, please write down your browser version and operating system version.


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


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


== Configuring Git for Gerrit ==
:Are you referring to the Language field at [[Special:Preferences]]? Please specify which language you try to select, whether you do it there and click Save, and where it is not working. I saw many messages change when I tried German and Danish at [[Special:Preferences]] but not everything is translated. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 17:58, 23 September 2011 (UTC)


I have a sort of "hello, world" MediaWiki coding change I'd like to submit as my first-ever contribution to MediaWiki, and to get myself started and oriented with the system for submitting coding changes. If all goes well with that, I hope to follow that up with a more substantial change sometime, hopefully soon, after that. I already have a Wikimedia developer account, with accounts on [[mw:User talk:Wbm1058|MediaWiki]] and [[wikitech:User talk:Wbm1058|Wikitech]]. My usernames there, including my SSH access (shell) username, are the same as my English Wikipedia username. Now [[mw:Gerrit/Tutorial#Configure Git]] is telling me I need to have my "own Gerrit username". Is this a name which is unique to Gerrit, and not used anywhere else, such as the Toolforge? Also, I see on the [https://gerrit.wikimedia.org/r/settings/ Gerrit settings] page a "Username" (is that the same as Git's "own Gerrit username"?), "Full name", and "Display name" – how are each of these used? Which of these names are used for the [https://gerrit.wikimedia.org/g/mediawiki/core/+/d880c2a73683810512e93b20f183036643214985/CREDITS CREDITS] page, the list that's updated by [https://gerrit.wikimedia.org/g/mediawiki/core/+/d880c2a73683810512e93b20f183036643214985/maintenance/updateCredits.php updateCredits.php]? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 20:35, 17 May 2024 (UTC)
::The language selection in {{myprefs}} has a large number of selections, but defaults to <code>en</code>. Changing the language does not translate pages; for example, setting <code>en-gb</code> for British English does not change color to colour.
: Your Gerrit username is more properly your developer account username, which is the same as on Toolforge and other places. For those three fields, username is what you log in as, I don't think Full name is used anywhere, and display name is how your name appears on the Gerrit UI. updateCredits.php seems to parse "git log", so the name used is whatever shows up in Git, which usually is the same as one of the above but not necessarily. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 20:52, 17 May 2024 (UTC)
::Full name is actually what's used for sign-ins via web UIs ([https://wikitech.wikimedia.org/w/index.php?title=Special:UserLogin Wikitech], [https://toolsadmin.wikimedia.org/auth/login/ Toolsadmin]). "Username" is only used for SSH access (toolforge / git review). The CREDITS page uses the name from git log, which you'd set through the <code>git config --global user.name</code> command. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 21:22, 17 May 2024 (UTC)
:: Oh, oops, aparently I'm just as confused. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:24, 17 May 2024 (UTC)
:::Thanks. Further complicating naming matters, I see there is an "LDAP" ([[Lightweight Directory Access Protocol]]) username. See [[wikitech:SRE/LDAP]]. Per [[wikitech:SRE/LDAP/Renaming users]], "We do not rename users (Developer accounts) anymore. It can (and has) lead to various problems and errors all over the many separate systems which consume Developer accounts as their local databases and authentication methods will get out of sync." So I guess I'm stuck for now with the name I have (not that I want to change it). But a reason for proceeding cautiously here. I don't want to stumble into doing something irreversible that I wish I'd done differently later, after I figured out what I was actually doing, rather than signing up for it by trial and error. I don't recall seeing the [[mw:Developer account]] page before, and I think I created mine before the {{keypress|Create a Wikimedia developer account}} form was created. Today I just ran into the [https://idm.wikimedia.org/ Bitu Identity Manager], which shows me "My LDAP properties". (see [[wikitech:IDM]]). Phabricator says my '''LDAP User''' is "Unknown". I don't know if there's a way I can personally make it known, or whether it being unknown is a problem. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 22:14, 17 May 2024 (UTC)
::::I think theres basically 2 logins. #1 is the oauth / centralauth / all wikis but wikitech one. #2 is ldap / gerrit / toolforge / wikitech. Lots of synonyms here. I forget if phabricator is one of those two, or a third one. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 22:26, 17 May 2024 (UTC)
:::::I suppose Phabricator is probably bilingual. Obviously I sign into it using my #1 because my #2 is unknown to the phabulous Phabricator. On the other hand, there must be some developers using it who may not have a #1. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 22:43, 17 May 2024 (UTC)
::::::Yes, phab supports sign-in via either of the two. You can still link phab with the other account through Settings > External accounts. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 06:21, 18 May 2024 (UTC)
:::::::{{facepalm}} I looked at that screen twice and all I saw was date & time settings! Thanks! Now my account is linked with all (two) available providers. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 10:45, 18 May 2024 (UTC)
:::::Shout-out to {{ping|BMueller (WMF)}}. I watched your online presentation given at [https://www.youtube.com/watch?v=0xEe6YqdEro&t=1133s last month's conference in Portland] and thought you might be interested in reading this thread. Enjoyed meeting you in Toronto last year. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 23:21, 17 May 2024 (UTC)
:::Now I just found and opened the [https://gerrit-review.googlesource.com/Documentation/user-privacy.html Gerrit Code Review - User Privacy] page... so Google, as well as Wikimedia, is part of the loop! layers upon layers – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 11:29, 18 May 2024 (UTC)
::::Hmm, [[Gerrit]] is a [[Dutch language|Dutch]] male name meaning "''brave with the spear''", the Dutch and Frisian form of [[Gerard]]. And [[Gerrit (software)]] was authored by Google. Whereas [[Git]] was written by the guy behind Linux. Learn something new every day. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 11:48, 18 May 2024 (UTC)
:::: When asked why he called the new software, 'git', [[British English|British]] slang meaning 'a rotten person', [[Linus Torvalds|Torvalds]] said 'I'm an egotistical bastard, so I name all my projects after myself. First Linux, now git.' Ha! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 12:00, 18 May 2024 (UTC)
:::: Google is not part of the loop exactly. Google wrote the software, but it's open-source and the website https://gerrit.wikimedia.org is hosted by Wikimedia with no involvement from Google. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 13:23, 18 May 2024 (UTC)
:::More from the "I figured out what was happening only after it already happened" department. '''Wikimedia Code Review''' https://gerrit.wikimedia.org/r/settings says I registered @ Monday, May 13, 2024, 9:08:55 PM UTC-04:00 ... what? I don't recall doing anything specific to "register" there last Monday. What was I doing at that time? I thought per [[mw:Gerrit/Tutorial]] I had to configure Git in order to register for Gerrit, but here I am already registered for Gerrit, and I haven't configured Git yet! O I C. I think I was looking at a [https://gerrit.wikimedia.org/r/c/mediawiki/core/+/256014/1/includes/specials/SpecialMovepage.php previous code review] related to the task I'd decided to work on, when I noticed "Sign up" and "Sign in" links on the upper right corner of that page. Clicking "Sign up" took me to this new IDM "Create account" page to create a Wikimedia developer account. Hey, I thought, I think I already have one of those that I needed for Wikitech/Toolforge. So I left that page, and clicked "Sign in". Voila, my Wikitech password got me in. I thought I had simply logged into Gerrit, not registered for it. What I didn't realize was that the "Bitu Identity Manager" would not only sign me in, but register me as well! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 16:12, 18 May 2024 (UTC)


=== SSH keys ===
::The language selection allows localization for messages. Many system messages that appear in the Wikipedia interface are stored in the MediaWiki namespace. Each of those pages has a version for each language selection. Many of those interface pages do not exist by default or have been heavily customized for the English Wikipedia. Only a very few of the non-<code>en</code> pages have been customized. You can view system messages through [[Special:AllMessages]] and select the desired language.
I already have SSH keys set up for Toolforge at [https://toolsadmin.wikimedia.org/profile/settings/ssh-keys/ Toolsadmin] which I use on [[PuTTY]] and [[WinSCP]] but not directly from the Windows command prompt.


[[mw:SSH keys]] seems to indicate that I can't use my Toolsadmin SSH but will need another one, set up from the Windows command prompt. Correct?
::Frankly, I don't see the language selection as very useful. Even if all messages were translated, the article content would be untouched. ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 19:09, 23 September 2011 (UTC)
:::I'm talking about:
<source lang="html5">
<div class="multilingual">
<div class="lang-en" lang="en">...</div>
<div class="lang-fr" lang="fr">...</div>
</div>
</source>
. It is not working. My selected language is English. ~~[[User:ebe123|<span style="text-shadow:#ff9996 3px 3px 2px;"><span style="color:#21421E;font-weight:bold">Ebe</span><span style="color:#000000">123</span></span>]]~~ (+) <small>{{Su|p=[[User talk:Ebe123|<small style="color:#0000FF">talk</small>]]|b=<small>[[Special:Contributions/Ebe123|Contribs]]</small>}}</small> 20:35, 23 September 2011 (UTC)


:This refers to a feature at [[meta:Meta:Language select]]. I haven't heard of it before and don't know how it works. I'm not sure of the point in using it at the English Wikipedia or other wikis for a specific language. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 22:33, 23 September 2011 (UTC)
Also, regarding configuring Git personal information. The guide says "You should have to do this only once." Is that literally true, or does it mean once on my desktop and once on my laptop, if I have two machines that I might want to submit code from? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 18:06, 18 May 2024 (UTC)


:@[[User:Wbm1058|Wbm1058]] You can reuse the same SSH key across multiple projects (in this case toolsadmin and Gerrit). The tutorial assumes that you have not setup the keys before.
::This is implemented in [[commons:Template:LangSwitch]], for instance. It's not useful here. &ndash;&nbsp;[[User:Adrignola|Adrignola]]&nbsp;<small>[[User talk:Adrignola|talk]]</small> 00:15, 24 September 2011 (UTC)
:::I know, but it could be useful here too. ~~[[User:ebe123|<span style="text-shadow:#ff9996 3px 3px 2px;"><span style="color:#21421E;font-weight:bold">Ebe</span><span style="color:#000000">123</span></span>]]~~ (+) <small>{{Su|p=[[User talk:Ebe123|<small style="color:#0000FF">talk</small>]]|b=<small>[[Special:Contributions/Ebe123|Contribs]]</small>}}</small> 10:06, 24 September 2011 (UTC)
:Regarding the configuration of Git, you will need to do it once per machine. [[User:Sohom Datta|<b style="color:#795cb2;">Sohom</b>]] ([[User talk:Sohom Datta|<span style="color: #36c;">talk</span>]]) 23:08, 18 May 2024 (UTC)
::My desktop is still running [[Windows 7]]. I know, I know, long in the tooth, but I'm proud to have kept it going for 14 years and would like to make it to 15. It still works for me, for the most part. I've downloaded the production version MediaWiki 1.41.1 and have it running for debugging. I generated my SSH keys with [[PuTTYgen]], since the Windows 7 command prompt does not support the <code>ssh</code> command. I suppose I'd need to use [[PuTTY]] on that machine to connect to Gerrit, as I use it to connect to the Toolforge bastion. I think I can figure that out; haven't found documentation on how to use Gerrit on a Windows 7 machine. I haven't set up SSH on my [[Windows 10]] laptop yet (only do Toolforge from my desktop). I don't know how to copy my keys from PuTTY to the required location on Windows 10. Might be easier to generate new keys on Windows 10. I have an <code>ssh-rsa</code> key for Toolforge access; the documentation says to use the <code>ed25519</code> type for optimum security and performance. Can I use different SSH keys on each machine? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 16:53, 19 May 2024 (UTC)
:Go to http://te.wikipedia.org/wiki/ప్రత్యేక:గుంపుహక్కులజాబితా and tell me whether Bureaucrats on the Telugu Wikipedia are able to remove administrator rights (a perfectly reasonable question). Now go to http://te.wikipedia.org/wiki/ప్రత్యేక:గుంపుహక్కులజాబితా?uselang=en and tell me the same thing. ''That's'' what the language selector is for. [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 11:11, 24 September 2011 (UTC)
:::As a matter of fact, you are kind of expected to use different keys per user per machine. That’s why all the ssh settings of toolforge and Gerrit allow you to add multiple public keys. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 16:58, 19 May 2024 (UTC)
::::What TheDJ said, you are expected different SSH keys across machines. However, if you are using one machine, you can reuse the key across multiple things (I have mine on Github/Gitlab/Toolforge and Gerrit as well as a bunch of private services). [[User:Sohom Datta|<b style="color:#795cb2;">Sohom</b>]] ([[User talk:Sohom Datta|<span style="color: #36c;">talk</span>]]) 18:15, 19 May 2024 (UTC)
:::::OK, thanks! New state-of-the-art <code>ed25519</code> keys generated and installed for my Windows 10 laptop (which MSFT tells me will be unsupported after next year, and my hardware is too old to run Windows 11(.
:::::I successfully did a git clone. I'm a bit confused by the instructions at [[mw:Download from Git#Download for development]]:
::::::"This clones the entire MediaWiki core repository, synced to the master branch, into a sub-directory named <code>mediawiki</code>"
:::::I previously installed MediaWiki 1.40.1 on my laptop last November at the Toronto wikiconference, by downloading the then-current version from [[mw:Download]], and successfully installed that, for testing.
:::::I want to overwrite my previous 1.40.1 installation with the new files I just <s>git</s> got.
:::::The standard <code>mediawiki</code> directory holds <code>core</code> and <code>data</code> sub-directories.
:::::It doesn't appear that the git download includes any <code>data</code>. It appears to be a <code>core</code> directory, which includes some extra files that aren't part of the [[mw:Download]] version. Why don't the instructions say to download to a sub-directory named <code>core</code> rather than a sub-directory named <code>mediawiki</code>?
:::::Oh, I see. [[mw:Manual:Upgrading#Using Git]]:
::::::If using Git, export the files into a clean location, and then copy the old customized files into the new location as described in the previous section.
::::::
::::::You will also need to install some external PHP libraries using Composer or a provided collection maintained for the Wikimedia wiki farm. More details on installing and updating external libraries can be found in the Git download documentation
:::::So, for some reason, although I can test using 1.40.1 without having any PHP problems, I'll need to figure out this "Composer" thing in order to do development testing.
:::::Hopefully it's not a problem that I'm running the PHP 8.2.12 Development Server – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 23:11, 19 May 2024 (UTC)
::::::I think all mediawiki unit tests are passing on php 8.1. Not sure about php 8.2. May want to switch to 8.1 to prevent hard to diagnose bugs. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 00:45, 20 May 2024 (UTC)
:::::::The tests pass on php 8.2 as well [https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php82-phpunit-standalone/], – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 12:16, 20 May 2024 (UTC)


=== Composer ===
::Your Telugu links are for an automatically generated special page called [[Special:ListGroupRights]] here. A chosen language for special pages and interface messages can be useful but does the displayed language in these have anything to do with the feature Ebe123 is asking for? I thought Ebe123's feature request was for text written by editors on normal pages. I think editors will rarely bother to write text in multiple languages at a Wikipedia for a specific language, and if the feature exists then there are potential problems such as language-specific vandalism or gross errors that may never be discovered because it's never seen by an editor who knows the language and bothers to fix it. Even with well-meaning editors, it also seems a big work to maintain a page in multiple languages and keep the language versions in sync. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 13:39, 24 September 2011 (UTC)
'''c:\php\mediawiki\core>'''<code>php maintenance/run.php update.php</code><br>
:::That is why we have Wikipedia in multiple languages, and the [[H:ILL|interlanguage link]] feature. If I want to write in English about the city of Oxford, I do it at [[:en:Oxford]]; if I want to write in French, I do it at [[:fr:Oxford]]. When editing that French page, the stuff around the edit box is all in French, unless I set my language to English, when some of it gets translated - including, crucially, the "Save page", etc. buttons. These are not always in the same places as on English Wikipedia; the [[:zh:|Chinese Wikipedia]], for instance, doesn't present the "Save page" button until you have already tried "Show preview". --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 18:07, 24 September 2011 (UTC)
Error: You are missing some external dependencies.<br>
::::Precisely; why would you want the English wikipedia to host content in a language other than english? We even have a CSD criterion for such material, IIRC. The interface language selector exists to make it easier to work and edit on wikis in languages that are not your native tongue. [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 17:51, 24 September 2011 (UTC)
MediaWiki has external dependencies that need to be installed via Composer
In fairness to the OP, it's more a matter of "that's not how we do that" than "it's not useful/a good idea". Indeed there are pages on en: where it would be useful, I'm thinking, for example, of the "please do not post content in Klingon without translating them first" templates, and maybe pages around intertanslatewiki. ''[[User:Rich Farmbrough|Rich]]&nbsp;[[User talk:Rich Farmbrough|Farmbrough]]'', <small>22:19, 26 September 2011 (UTC).</small><br />
or from a separate repository. Please see<br>
https://www.mediawiki.org/wiki/Manual:Installation_requirements#PHP and<br>
https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries<br>
for help on installing the required components.
* [[mw:Manual:Installation requirements#PHP]] does not mention "Composer". It says "MediaWiki only requires PHP extensions that are enabled in PHP by default." I assume that's why I didn't get this error when I ran update.php on my desktop, where I'm just running the official MediaWiki releases. "If your hosting provider provides a basic [[LAMP (software bundle)|LAMP]] environment without these, you may need to install or enable these manually."
* OK, I'm going to follow the instructions at [[mw:Download from Git#Fetch external libraries]].
* Hmm, I guess I should [[mw:Download from Git#Update the Git submodules]] first? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:22, 20 May 2024 (UTC)


:I don't think submodules is what you need. The <code>php maintenance/run.php update.php</code> script just wants you to <code>composer install</code> in the mediawiki directory, that should download the required directories. [[User:Sohom Datta|<b style="color:#795cb2;">Sohom</b>]] ([[User talk:Sohom Datta|<span style="color: #36c;">talk</span>]]) 14:34, 20 May 2024 (UTC)
== Edit summary max length and behaviour ==
:Indeed only the second link is relevant here. I'm clarifying this message in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1034113. Thanks for writing all of this up, it's helpful to see things from a different perspective sometimes. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 16:07, 20 May 2024 (UTC)


'''c:\php\mediawiki>'''<code>composer update --no-dev</code><br>
Hello,
Composer could not find a composer.json file in c:\php\mediawiki
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
:I'm going to reboot my machine and try again. Composer install warned me that I might have a PATH problem. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:56, 20 May 2024 (UTC)


:Judging by your previous comments, you're just not in the directory that Composer expects – try going to '''c:\php\mediawiki\core''', where you (and Composer) should find the composer.json file. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 16:09, 20 May 2024 (UTC)
I encounter an annoyance and a bug in the English Wikipedia.
::Yes, thanks, that was it. Once again the instructions misled me: "then run <code>composer update --no-dev</code> from your <s>MediaWiki</s> core directory." It's still running. This step takes significant time! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 16:20, 20 May 2024 (UTC)
::I ''think'' it worked. The console log is long, with a pile of "failed to download" warning messages, but it appears to have successfully worked around all of them. Here's the end of the log, showing just the last 3 of many installations:
<syntaxhighlight source lang=text>
- Installing wikimedia/timestamp (v4.1.1): Cloning 138f3099b4 from cache
- Installing wikimedia/xmp-reader (0.9.1): Cloning 8338d67969 from cache
- Installing zordius/lightncandy (v1.2.6): Cloning b451f73e8b from cache
44 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
11 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> MediaWiki\Composer\ComposerVendorHtaccessCreator::onEvent
No security vulnerability advisories found.
</syntaxhighlight>
I think I'm ready to try running update.php again. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 16:51, 20 May 2024 (UTC)


'''c:\php\mediawiki\core>'''<code>php maintenance/run.php update.php</code><br>
The edit summary has a max length a bit too short.
Error: The MinervaNeue skin cannot be loaded. Check that all of its files are installed properly.


#0 C:\php\mediawiki\core\includes\GlobalFunctions.php(91): ExtensionRegistry->queue('C:\\php\\mediawik...')<br>
I am typing some text, and I reach the max length. So I select a few characters, and I type the letter "y". This must replace the characters by a "y". This does not. I guess that the culprit is some crappy ayatollesque JavaScript input restriction.
#1 C:\php\mediawiki\core\LocalSettings.php(166): wfLoadSkin('MinervaNeue')<br>
#2 C:\php\mediawiki\core\includes\Setup.php(216): require_once('C:\\php\\mediawik...')<br>
#3 C:\php\mediawiki\core\maintenance\run.php(49): require_once('C:\\php\\mediawik...')<br>
#4 {main}<br>
PHP Fatal error: Error Loading extension. Unable to open file C:\php\mediawiki\core/skins/MinervaNeue/skin.json: filemtime(): stat failed for C:\php\mediawiki\core/skins/MinervaNeue/skin.json in C:\php\mediawiki\core\includes\registration\MissingExtensionException.php on line 96
Fatal error: Error Loading extension. Unable to open file C:\php\mediawiki\core/skins/MinervaNeue/skin.json: filemtime(): stat failed for C:\php\mediawiki\core/skins/MinervaNeue/skin.json in C:\php\mediawiki\core\includes\registration\MissingExtensionException.php on line 96
:Sigh. I didn't need no extensions when testing changes to the official release core page-moving functions. Now I do. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 18:04, 20 May 2024 (UTC)


:You shouldn't ''need'' any extensions to run MediaWiki core. It's only trying to load the MinervaNeue skin, because you have a line in your LocalSettings.php like <code>wfLoadSkin('MinervaNeue');</code> (maybe you copied it from your previous installation?). You can remove it or comment it out if you don't want it.
Please improve and correct that. Thanks.
:If you do want it, then you can install the skin using Git similarly to how you installed MediaWiki, just replacing the path in the <code>git clone</code> command: instead of <code>mediawiki/core</code>, use <code>mediawiki/skins/MinervaNeue</code> (and make sure to put it in the ''skins'' directory, where MediaWiki is looking for it). Similarly for all other skins and extensions. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 18:13, 20 May 2024 (UTC)
::Thanks! I just used the default LocalSettings.php that came with the release-version installation. Figuring I only need one skin, I just copied the folder from my backup of the release version, and commented out the others. That did the trick, and the database update looks like it ran successfully. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 20:28, 20 May 2024 (UTC)
MediaWiki internal error.


Original exception: [6d2f7f0574eb09bb447c9687] /index.php/Main_Page Error: Class "ResourceLoaderSkinModule" not found<br>
--[[User:Nnemo|Nnemo]] ([[User talk:Nnemo|talk]]) 21:01, 24 September 2011 (UTC)
Backtrace:<br>
:I can confirm this in Firefox 6.0.2 and Chrome 14.0.835.186. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 21:04, 24 September 2011 (UTC)
from C:\php\mediawiki\core\includes\ResourceLoader\ResourceLoader.php(417)
::The maximum length was increased in February 2011 and is unlikely to be increased again. In cases as described above, the workaround is to select the text, then press either "Delete" or the backspace key; and ''then'' type in your new text. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:11, 24 September 2011 (UTC)
:::Yet why should that workaround be necessary? To be clear, this bug happens when you are at the maximum edit summary length and try to replace a series of characters in the input box with a single character (so you are not going past the maximum length). That ought to be possible. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 21:55, 24 September 2011 (UTC)
::::Without access to the low-level source I can't be certain, but I might guess that it tries to insert the new text before the old is actually deleted. This is probably a question to ask at [[mw:|MediaWiki]], who deal with the user interface. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 22:01, 24 September 2011 (UTC)
:::::I suppose so, and in that case the problem is more likely to be in the browser than in MediaWiki. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 22:02, 24 September 2011 (UTC)


Another missing piece. The console log looks good, but this come up on the webpage. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:04, 20 May 2024 (UTC)
::::::Oh no, the problem does not lies in the Web browser, but in the Web site. I had first believed [http://www.apple.com/safari my Web browser] was wrong, so I [http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_maxlength tested] him, and he is perfectly innocent.

::::::
:Did you git clone, composer install, and npm ci inside your default skin? Probably skins/Vector –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 21:17, 20 May 2024 (UTC)
::::::--[[User:Nnemo|Nnemo]] ([[User talk:Nnemo|talk]]) 22:41, 24 September 2011 (UTC)
:The ResourceLoaderSkinModule class was recently renamed ([[gerrit:994854]]). It seems that you've just updated your MediaWiki to a version that doesn't have it any more, but one of your skins is an older version that is still using it. This will occasionally happen with skins and extensions.
:::::::I'm sorry for the incorrect assumption. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 12:46, 25 September 2011 (UTC)
:If you've already installed the skin from Git, running <code>git pull</code> in the affected skin's repository should fix it. If you haven't, it's probably best if you do :) but you can also remove it from LocalSettings.php, or download the latest ''master'' snapshot from [[mw:Special:SkinDistributor|SkinDistributor]]/[[mw:Special:ExtensionDistributor|ExtensionDistributor]]. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:51, 20 May 2024 (UTC)
::Thanks for the nice, detailed response. [[mw:Special:SkinDistributor/Vector]] even offers the "master (latest development version)" but https://extdist.wmflabs.org/dist/skins/Vector-master-685a02f.tar.gz gives me a 404 Not Found error. I'll just figure out how to git it the preferred way ) [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 00:23, 21 May 2024 (UTC)
:::Weird, that link works for me now. Maybe it took a few minutes to generate. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 00:35, 21 May 2024 (UTC)
::::Indeed. Just worked for me too. But rather than tinker with telling my Windows how to unzip that "gz" file ("Look for an app in the Miocrosoft Store"?!), I'm going to [[mw:Download from Git#Using Git to download MediaWiki skins]].
::::Follow the exact same procedure as for extensions (described in the [[mw:Download from Git#Download an extension|previous section]]), but using <code>skins</code> rather than <code>extensions</code> in all URLs and paths. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 01:01, 21 May 2024 (UTC)
'''c:\php\mediawiki\core\skins>'''<code>git clone https://gerrit.wikimedia.org/r/mediawiki/skins/Vector</code><br>
Cloning into 'Vector'...<br>
Enter passphrase for key '/c/Users/Bill/.ssh/id_ed25519':<br>
remote: Counting objects: 99, done<br>
remote: Finding sources: 100% (94/94)<br>
remote: Getting sizes: 100% (70/70)<br>
remote: Compressing objects: 100% (1041262/1041262)<br>
remote: Total 37958 (delta 29), reused 37891 (delta 9)<br>
Receiving objects: 100% (37958/37958), 11.37 MiB | 8.91 MiB/s, done.<br>
Resolving deltas: 100% (28242/28242), done.

'''c:\php\mediawiki\core\skins>'''

Appears to have worked. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 01:17, 21 May 2024 (UTC)
:{{done}}. Success. I have a development environment which seems to be operating identically with the official-release environment I just replaced. Tomorrow I move to the next step. Make minor "hello, world!" type changes in two files, and then figure out how to submit them for review. FYI, the project I'm working on, where I hope to make more substantial enhancements soon, is discussed on my talk: [[User talk:Wbm1058#My MediaWiki core developers thread]]. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 01:40, 21 May 2024 (UTC)

=== mw:Local development quickstart ===
:::It's just that the way you have cloned the repo is unconventional. mediawiki/core should be cloned to a directory named "mediawiki", not "core". {{pb}}I think you will have a lot easier time going through [[mw:Local development quickstart]] instead, which unfortunately isn't advertised more prominently. You may want to discard the existing mediawiki install and use the quick start. You have already done step 1, so start with step 2. It's easy! – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 16:40, 20 May 2024 (UTC)
::::That "quick start" page has stuff I've already done previously, and insufficient info about stuff I needed to do.
::::I've had an "official release" version installed on my laptop since November. It makes a lot of sense to me to have started that way, because as complicated as installing the official release was, installing the developers' version is way more complicated yet.
::::*I've had PHP installed directly on Windows for over a decade now. My bots use that.
::::*There was no need for me to update my php.ini file to load the required PHP extensions. I already did that a long time ago. The problem is that this "composer" system basically "ignores" that, it seems to me.
::::*It just says to "use Git" to clone the core, as if that's easy. No it wasn't. See above for what steps I went through to figure it out.
::::*I installed SQLite already last year; I don't need to do that again.
::::*I already knew how to start my server, though I was told by someone to use "localhost:80" in Boston in 2019, not "localhost:4000". I don't know whether it matters which number I use there.
::::What I need is a "quickstart" page for upgrading from an "official release" version to the developers' version. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 17:28, 20 May 2024 (UTC)
:::::1 and 2. yes I said as much - you have already done step 1. <br>3. There's no need to configure git before cloning repos. The steps from [[mw:Gerrit/Tutorial#Configure_Git]] are only to prepare for pushing changes. <br>4. <code>composer mw-install:sqlite</code> is not for installing sqlite (not required). Instead it initialises ''MediaWiki'' itself with sqlite as the db backend. This is a shortcut to avoid going through the web installer. <br>5. Running something on port 80 is only advisable on linux. On Windows/macOS, it's better to use a non-reserved port (> 1023) to avoid issues with firewalls.<br>{{tq|What I need is a "quickstart" page for upgrading from an "official release" version to the developers' version.}} The easiest way to do that is to delete or forget about the release version and setup the developers' version from scratch. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:56, 20 May 2024 (UTC)
::::What I did need to do before cloning was download and install Git, and setup SSH to use it. None of that was necessary to download and install the release version, which makes installing the release version an easier task.
::::Oh I see. {{lightbulb}} a shortcut to avoid going through the web installer... well, now I know. I was wondering how that was done. But now, water under the bridge. I'd like to keep the database I started last year, for sentimental reasons, and just upgrade. I think upgrading should be easier than installing from scratch every time.
::::I've noted that my server runs really slowly on my system. Wrote that off as bloatware overwhelming my 14-year old processor, but, now that you mention it, could be a symptom of firewall intervention. I'll switch to port 4000 and see whether that runs faster.
::::I also noticed [[mw:Gerrit/Tutorial/tl;dr]], and have kept that open in another browser window for comparison and reference. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 20:17, 20 May 2024 (UTC)

=== git-review ===
{{collapse top|Running command as an administrator:}}

Microsoft Windows [Version 10.0.19045.4412]
(c) Microsoft Corporation. All rights reserved.

'''C:\WINDOWS\system32>'''pip install git-review<br>
Collecting git-review<br>
: Downloading git_review-2.4.0-py3-none-any.whl.metadata (2.0 kB)<br>
Collecting requests>=1.1 (from git-review)<br>
: Downloading requests-2.32.1-py3-none-any.whl.metadata (4.6 kB)<br>
Collecting charset-normalizer<4,>=2 (from requests>=1.1->git-review)<br>
: Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)<br>
Collecting idna<4,>=2.5 (from requests>=1.1->git-review)<br>
: Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)<br>
Collecting urllib3<3,>=1.21.1 (from requests>=1.1->git-review)<br>
: Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)<br>
Collecting certifi>=2017.4.17 (from requests>=1.1->git-review)<br>
: Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)<br>
Downloading git_review-2.4.0-py3-none-any.whl (52 kB)<br>
: ---------------------------------------- 52.9/52.9 kB 547.6 kB/s eta 0:00:00<br>
Downloading requests-2.32.1-py3-none-any.whl (63 kB)<br>
: ---------------------------------------- 63.7/63.7 kB 862.4 kB/s eta 0:00:00<br>
Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)<br>
: ---------------------------------------- 163.8/163.8 kB 2.0 MB/s eta 0:00:00<br>
Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB)<br>
: ---------------------------------------- 100.4/100.4 kB 1.2 MB/s eta 0:00:00<br>
Downloading idna-3.7-py3-none-any.whl (66 kB)<br>
: ---------------------------------------- 66.8/66.8 kB 725.6 kB/s eta 0:00:00<br>
Downloading urllib3-2.2.1-py3-none-any.whl (121 kB)<br>
: ---------------------------------------- 121.1/121.1 kB 1.8 MB/s eta 0:00:00<br>
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests, git-review<br>
Successfully installed certifi-2024.2.2 charset-normalizer-3.3.2 git-review-2.4.0 idna-3.7 requests-2.32.1 urllib3-2.2.1
{{collapse bottom}}
Per instructed at [[mw:Gerrit/Tutorial#Setting up git-review]]:

'''c:\php\mediawiki\core>'''<code>git review -s --verbose</code><br>
git: 'review' is not a git command. See 'git --help'.

'''c:\php\mediawiki\core>'''<code>git-review -s --verbose</code><br>
'git-review' is not recognized as an internal or external command,
operable program or batch file.

?? – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:09, 21 May 2024 (UTC)
* To use <code>git review</code>, you have to be in a git clone directory that already contains a (possibly hidden) <code>.gitreview</code> configuration file (see [[mw:Special:MyLanguage/Gerrit/Advanced usage#Setting up a repository for git-remote|Setting up a repository for git-remote]]) — hmm [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:48, 21 May 2024 (UTC)

:It looks like the directory where git-review got installed is not in your [[%PATH%]] environment variable. First of all, try closing the command-line window and opening it again, and retry – maybe it is just seeing outdated env variables.
:If that doesn't help, you'll need to change that env variable, the option to do that is somewhere in your operating system settings. Add the directory where git-review is, probably something like like C:/Python310/Scripts/ (that's where it is on my machine). Note that you need to open a new command-line window every time for the changes to take effect when testing.
:(If I recall, there's a checkbox to do that automatically when you install Python, which you may have left unchecked. You can also try reinstalling Python and finding that checkbox.) [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 15:04, 21 May 2024 (UTC)
::Yes, I checked the box on the Python installation. Closing my command window and opening a new one did the trick, of course. The instructions could explicitly say to do that. Thanks again for all your help – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:20, 21 May 2024 (UTC)
* That directory has a '''.gitreview''' file in it, with the following content:<br>
host=gerrit.wikimedia.org<br>
port=29418<br>
project=mediawiki/core.git<br>
track=1<br>
defaultrebase=0<br>

Is that good? [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:58, 21 May 2024 (UTC)

==== review installation log ====
'''c:\php\mediawiki\core>'''<code>git review -s --verbose</code><br>
2024-05-21 11:12:37.452765 Running: git config --get gitreview.remote<br>
2024-05-21 11:12:37.468379 ... gitreview.remote = origin<br>
2024-05-21 11:12:37.468379 Config['remote'] = origin<br>
2024-05-21 11:12:37.468379 Running: git config --get gitreview.branchauthor<br>
2024-05-21 11:12:37.499631 Config['branchauthor'] = name<br>
2024-05-21 11:12:37.499631 Running: git symbolic-ref -q HEAD<br>
2024-05-21 11:12:37.530879 Running: git for-each-ref --format=%(upstream) refs/heads/master<br>
Following tracked origin/master rather than default origin/master<br>
2024-05-21 11:12:37.609011 Running: git config --get gitreview.scheme<br>
2024-05-21 11:12:37.671503 Config['scheme'] = ssh<br>
2024-05-21 11:12:37.671503 Running: git config --get gitreview.hostname<br>
2024-05-21 11:12:37.687125 Config['hostname'] = gerrit.wikimedia.org<br>
2024-05-21 11:12:37.687125 Running: git config --get gitreview.port<br>
2024-05-21 11:12:37.718370 Config['port'] = 29418<br>
2024-05-21 11:12:37.718370 Running: git config --get gitreview.project<br>
2024-05-21 11:12:37.749619 Config['project'] = mediawiki/core.git<br>
2024-05-21 11:12:37.749619 Running: git log --color=never --oneline HEAD^1..HEAD<br>
2024-05-21 11:12:38.687096 Running: git remote<br>
2024-05-21 11:12:38.765224 Running: git branch -a --color=never<br>
2024-05-21 11:12:38.890218 Running: git rev-parse --show-toplevel --git-dir<br>
2024-05-21 11:12:38.937083 Running: git config --get core.hooksPath<br>
2024-05-21 11:12:38.983962 Running: git config --get core.hooksPath<br>
2024-05-21 11:12:39.015203 Running: git submodule foreach cp -p .git\hooks\commit-msg "$(git rev-parse --git-dir)/hooks/"

'''c:\php\mediawiki\core>'''

I don't see the "found origin push URL" and "fetching commit hook" that the instructions said I should see. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:47, 21 May 2024 (UTC)

:The instructions are probably outdated and everything is probably okay. git-review is being somewhat actively developed, and the example output in [[mw:Gerrit/Tutorial#Setting_up_git-review]] has a 2019 date. If it didn't work, you'll find out later if you get an error complaining about a missing Change-Id line. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 20:57, 21 May 2024 (UTC)

I don't know whether that's a problem or not, but I proceeded as if it wasn't.

'''c:\php\mediawiki\core>'''<code>git pull --rebase origin master</code><br>
Enter passphrase for key '/c/Users/Bill/.ssh/id_ed25519':<br>
remote: Counting objects: 11860, done<br>
remote: Finding sources: 100% (60/60)<br>
remote: Getting sizes: 100% (26/26)<br>
remote: Compressing objects: 100% (108354/108354)<br>
remote: Total 60 (delta 35), reused 35 (delta 28)<br>
Unpacking objects: 100% (60/60), 36.46 KiB | 13.00 KiB/s, done.<br>
From ssh://gerrit.wikimedia.org:29418/mediawiki/core<br>
: * branch master -> FETCH_HEAD<br>
: 2d68215ff7a..25895192125 master -> origin/master<br>
Successfully rebased and updated refs/heads/T12814-hello.<br>

'''c:\php\mediawiki\core>'''<code>git review -R</code><br>
wbm1058@gerrit.wikimedia.org: Permission denied (publickey).<br>
fatal: Could not read from remote repository.

Please make sure you have the correct access rights<br>
and the repository exists.

If you get a <code>Permission denied (publickey). fatal: Could not read from remote repository.</code>, review the instructions at [[mw:SSH keys#Add SSH Private key to use with Git]] to make sure your ssh agent is running and your identity is added. If you close your Git Bash shell, you will be signed out and need to re-follow these instructions each time.

'''c:\php\mediawiki\core>'''<code>eval `ssh-agent`</code><br>
'eval' is not recognized as an internal or external command,<br>
operable program or batch file.

Is there a way to run git bash from the Windows cmd prompt?

Inside a git bash window:

Bill@Mobile-laptouch MINGW64 ~<br>
$ eval `ssh-agent`<br>
Agent pid 272<br>

Bill@Mobile-laptouch MINGW64 ~<br>
$ ssh-add ~/.ssh/id_ed25519<br>
Enter passphrase for /c/Users/Bill/.ssh/id_ed25519:<br>
Identity added: /c/Users/Bill/.ssh/id_ed25519 (wbm1058-wikipedia@yahoo.com)<br>

Then I went back to Windows command window, tried "review" again, and still got the "permission denied" error. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 20:28, 21 May 2024 (UTC)

:I haven't seen this exact error before, and your setup is rather different from mine, so this is a guess, but: the <code>eval `ssh-agent`</code> command actually works by setting environment variables, which everything else on your system can read to access the SSH agent. Maybe you just need to close and reopen the command prompt window again, so that it sees the new env variables? [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:02, 21 May 2024 (UTC)
:"Is there a way to run git bash from the Windows cmd prompt?" You can run something like <code>"C:\Program Files\Git\usr\bin\bash.exe"</code> from the command prompt, and it will run, but this is unlikely to do anything good. It will probably be confused about text encodings, file paths, and [[ANSI escape code|ANSI escape codes]]. (On Windows 10, they're slightly less incompatible.) Can you say why you want to do it? [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:15, 21 May 2024 (UTC)
::(edit conflict) I just tried doing it from my git bash window instead of command prompt...

Bill@Mobile-laptouch MINGW64 /c/php/mediawiki/core (T12814-hello)<br>
$ git review -R<br>
remote:<br>
remote: Processing changes: new: 1 (\)<br>
remote: Processing changes: new: 1 (|)<br>
remote: Processing changes: new: 1 (/)<br>
remote: Processing changes: new: 1 (-)<br>
remote: Processing changes: new: 1 (\)<br>
remote: Processing changes: new: 1 (|)<br>
remote: Processing changes: refs: 1, new: 1 (|)<br>
remote: Processing changes: refs: 1, new: 1 (|)<br>
remote: Processing changes: refs: 1, new: 1, done<br>
remote:<br>
remote: SUCCESS<br>
remote:<br>
remote: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1034588 Show the page name on the MovePage checkbox for "Yes, delete the page" [NEW]<br>
remote:<br>
To ssh://gerrit.wikimedia.org:29418/mediawiki/core.git<br>
: * [new reference] HEAD -> refs/for/master%topic=T12814-hello

I guess that worked?! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:11, 21 May 2024 (UTC)
: Yep, that worked. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:15, 21 May 2024 (UTC)
:Yeah, just doing everything from the Git Bash window is probably the best way to have the least amount of weird issues. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:16, 21 May 2024 (UTC)
::Time for a lager! Cheers! :) [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:25, 21 May 2024 (UTC)

=== Rebase ===
[[User:Matma Rex|Matma Rex]], responding to your request at [https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1034588 code review] to edit another file. Per the instructions at [[mw:Gerrit/Tutorial#Rebasing]], I clicked on the REBASE button in Gerrit's web interface, and it responded with a "Confirm rebase" box with radio buttons for "Rebase on top of the master branch" or "Rebase on a specfic change, ref, or commit". I'm unclear on which I should choose, and whether to check the "Allow rebase with conflicts" box. "It's best to make rebase updates a separate patch, so that your code reviewers have an easy time seeing what changes you've made."


"Hard reset and checkout the change with this command: (BEWARE: git review -d performs a hard reset that destroys all local changes. Stash or commit changes first which you wish to preserve!)" – what is meant by "stash" a change? That term only appears that one place on that page; it's not defined there. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:22, 22 May 2024 (UTC)
::::: The code is available at http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/jquery/jquery.byteLimit.js?view=co. The problem is that it doesn't take into account the length of the selected text that will be deleted when checking to see if the new character will fit. It appears that determining the selected range must be done differently on different browsers.
: That patch doesn't have a merge conflict so you don't need to worry about rebasing it at all. And "stash" in that context refers to [https://git-scm.com/docs/git-stash the <code>git stash</code> command]. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 23:17, 22 May 2024 (UTC)
::::: FYI, the maximum length is 250 bytes (not characters) because the underlying database field has a maximum length of 255 bytes; the limit on the edit summary field was formerly lower because an HTML input field's maxlength property works in characters and no javascript was being used to determine the byte length of the characters entered, so it had to be pessimistic. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 04:59, 25 September 2011 (UTC)
:: Don't I want to amend / add a file to my existing commit rather than add a second commit to my existing branch? Branches and commits, I'm still not comfortable with the terminology and how they fit together.
:: Funny, when I entered 'git' to get the usage and list of "common git commands" it didn't list "stash". – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 00:46, 23 May 2024 (UTC)
:::For gerrit and git review, yes. For patchset 2 or higher, you'll want to git stage, then git commit --amend, then git review -R –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 02:13, 23 May 2024 (UTC)
::::Ack, though I see the term "stage" several times in [[mw:Gerrit/Tutorial]], I don't see any explicit "git stage" command. Oh (looking it up), that's [https://git-scm.com/docs/git-stage a synonym for "git add"].
::::I was looking at [[mw:Gerrit/Tutorial#Amending a change (your own or someone else's)]], and [[mw:Gerrit/Tutorial#Rebasing]] is a subsection of that section. The way I'm reading it, it implies that rebasing is a mandatory, not optional, step that's part of the "amending a change" process.
::::Oh, I see. the <code>--amend</code> tells it to amend my first commit rather than add a second commit. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 03:02, 23 May 2024 (UTC)
:::::I think if you do git review without the -R, it will auto rebase. But i was taught not to auto rebase, and just to do it manually when needed. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 03:05, 23 May 2024 (UTC)
:I think a few things on that tutorial page are outdated – both Gerrit and git-review have had some changes related to rebases since it was written, and they mostly removed the footguns that this page tries to teach you to avoid. I'll have to read it more carefully and update it. Generally, you shouldn't have to think about rebasing, or do anything to avoid it, or click the "Rebase" button, unless you see an error somewhere telling you that there is a merge conflict in your change. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 15:48, 23 May 2024 (UTC)
::Thanks, that makes sense. In baseball, a runner taking a big lead off first base sometimes needs to rebase when he sees a pitch conflict (pitch going to first base rather than home plate). Ha! [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 17:14, 23 May 2024 (UTC)
:::I removed all of the bad and outdated advice from that section: [https://www.mediawiki.org/w/index.php?title=Gerrit/Tutorial&diff=prev&oldid=6537993][https://www.mediawiki.org/w/index.php?title=Gerrit/Tutorial&diff=prev&oldid=6538002][https://www.mediawiki.org/w/index.php?title=Gerrit/Tutorial&diff=prev&oldid=6538005][https://www.mediawiki.org/w/index.php?title=Gerrit/Tutorial&diff=prev&oldid=6538028] and added some good advice instead: [https://www.mediawiki.org/w/index.php?title=Gerrit/Tutorial&diff=prev&oldid=6538035]. Hope that helps explain it. I concede that it is not entirely unlike baseball. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 23:14, 24 May 2024 (UTC)


== Page misbehaving in search results ==
: I can confirm this is the intented behaviour: once you reach the limit only special keys (like del or backspace) are accepted. The source that's live now is probably [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/mediawiki.action/mediawiki.action.edit.js?revision=80582&view=markup this one]; later it was moved to [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/jquery/jquery.byteLimit.js?view=log jquery.byteLimit.js] (not live yet). I suspect that the code to allow you to paste-then-undo would have to be much more complicated. — [[user:Alex Smotrov|AlexSm]] 04:48, 25 September 2011 (UTC)
:This is [[bugzilla:29467|bug #29467]]. You can [https://bugzilla.wikimedia.org/page.cgi?id=voting/user.html&bug_id=29467#vote_29467 vote] for it if you have an account on Bugzilla. [[User talk:Helder.wiki|Helder]] 22:26, 25 September 2011 (UTC)
{{myprefs|9|Allow up to 50 more characters in each of your edit summaries.}} ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 12:13, 25 September 2011 (UTC)
:I've noticed that strange setting. Is there a brief explanation somewhere? How can ticking a box provide room for 50 more characters? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 12:22, 25 September 2011 (UTC)
::I think it has to do with what Anomie said: the hard (database) limit on the size of the field is 255 ''bytes'', but the HTML used to limit the size of the edit summary measured in ''characters'', which may be more than one byte long. Therefore, the standard maximum length of the edit summary is set at 200 instead of 255 to allow some room for multibyte characters. However, with JavaScript it is possible to check not just the character but also the byte count, so it is safe to go up to 250 characters. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 12:46, 25 September 2011 (UTC)
:::Yes. I dug up the discussion at [[Wikipedia:Gadget/proposals/Archive 2#Long edit summaries]].
::::That gadget has had no effect since the rollout of MediaWiki 1.17 in February 2011 - whether it's set "on" or "off", the limit is always 250 chars. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 13:18, 25 September 2011 (UTC)


I use [https://en.wikipedia.org/w/index.php?sort=last_edit_desc&search=all%3Aincategory%3A%22Candidates+for+speedy+deletion%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1 this search query] to see pages tagged for speedy deletion. For several days it has returned [[BBL Drizzy]] as a result even though that page is not tagged for deletion. The search results say it was last edited at 01:12 on 13 May 2024, which corresponds with [[Special:Diff/1223572833]] (now in the history of {{noredirect|Draft:BBL Drizzy}}). Purging or null-editing either the article or the draft will make it disappear from the results temporarily, but so far it's always come back shortly thereafter. Today I tried deleting and undeleting the pages, but this didn't help either. Any suggestions? ([https://en.wikipedia.org/w/index.php?search=intitle%3A%22BBL+Drizzy%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1 This query] brings up strange results too, for what it's worth.) [[User:Extraordinary Writ|Extraordinary Writ]] ([[User talk:Extraordinary Writ|talk]]) 03:01, 19 May 2024 (UTC)
== Is this *ever* going to be fixed? ==


:I don't experience this. BBL Drizzy is not a result for the first query, and the last query only brings up BBL Drizzy (last edited 19:04, 18 May 2024). &ndash; [[Special:Contributions/2804:F14:80B7:8201:FD78:5FBE:737F:938A|2804:F1...7F:938A]] ([[User talk:2804:F14:80B7:8201:FD78:5FBE:737F:938A|talk]]) 03:15, 19 May 2024 (UTC)
I find it incredible that a massive and popular site like Wikipedia still suffers from this stupid bug whereby stale pages are regularly shown and/or pages are incorrectly shown as uneditable until one adds that stupid "?action=purge" thing to the URL. What a total load of nonsense. There is even a page somewhere I think that explains this "purging" crud as if it was some kind of a beneficial feature rather than a ridiculous bug that should have been fixed years ago.
::Strange. The second query returns [https://ibb.co/5j1njq5 this] for me, and some fiddling around at [https://geotargetly.com/geo-browse this site] (pick Australia, Indonesia, India, etc.) suggests I'm not alone. [[User:Extraordinary Writ|Extraordinary Writ]] ([[User talk:Extraordinary Writ|talk]]) 03:40, 19 May 2024 (UTC)
:I've been seeing some outdated search results also related particularly to a couple page moves that got done between when the search was crafted and when my fix was made. Particularly, in [https://en.wikipedia.org/w/index.php?title=Special:Search&limit=100&offset=0&ns118=1&search=incategory%3A%22CS1+maint%3A+others%22 this search] I'm seeing [[Draft:Peter the Great Interrogating the Tsarevich Alexei Petrovich at Peterhof]] and [[Draft:Ellen Webster Palmer]] when I hit one or another of the data centers (which I assume is at least part of the problem), but at least once I've gotten a search not to return those two, because neither are drafts any longer nor do either carry the problem that makes them show up in this search. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 20:36, 19 May 2024 (UTC)


== The Appearance menu and new default standard font size will be available for logged-out users ==
The usual disclaimers that I know WP is free, built mostly by volunteers, etc., etc., all apply, so there is no need to trot all that out. Just someone PLEASE fix it!!! [[Special:Contributions/109.151.36.98|109.151.36.98]] ([[User talk:109.151.36.98|talk]]) 00:30, 25 September 2011 (UTC)


[[File:Accessibility for reading unpinned.jpg|thumb|200px]]
:It appears nobody filed a bugzilla request after my above post at [[#Article appears protected when it isn't]]. I will probably file one next week when I have more time if it hasn't been done by then, but I don't know how hard it would be to solve the problem. By the way, the [[WP:PURGE|purge]] function is old, has other uses and was not created to fix instances of this problem but is able to do it. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 00:44, 25 September 2011 (UTC)
Hi everyone! We are the [[mw:Special:MyLanguage/Reading/Web|Wikimedia Foundation Web team]].
We work on making it easier to read Wikimedia projects as part of the objective "[[m:Special:MyLanguage/Wikimedia Foundation Annual Plan/2023-2024/Product & Technology/OKRs#WE2: Reading and media experience|Reading and media experience]]" of the current year’s annual plan. To achieve this goal, we have introduced the [[Special:Preferences#mw-prefsection-betafeatures|"Accessibility for Reading" beta feature]]. It adds a menu which works on the Vector 2022 skin and allows logged-in users to choose different font sizes and color schemes based on individual needs.


The menu introduces a new Standard font setting. It slightly increases the size and height of the font. It was selected based on multiple sources. You will find more information on this in the section "About the new Standard font setting". [[Wikipedia:Village_pump_(technical)/Archive_212#May_2024_Accessibility_for_Reading_Update:_appearance_menu,_upcoming_font_size_changes_and_customization,_dark_mode,_and_more|As we announced last week]], we are now ready to begin bringing some of these feature out of beta and making them available to more people.
::(That section link is now [[WP:Village pump (technical)/Archive 93#Article appears protected when it isn't]].) --[[Special:Contributions/142.205.241.254|142.205.241.254]] ([[User talk:142.205.241.254|talk]]) 22:27, 26 September 2011 (UTC)


'''What will change'''
== Who can fix a table? ==


* We are now ready to make the '''new Appearance menu available for logged-out and logged-in users'''.
I am reworking some lists and would like to have two tables on the page look alike. The top one, at [[User:GeorgeLouis/Sandbox3#1889.E2.80.931909_.28nine_wards.29]], should look like the bottom one, at [[User:GeorgeLouis/Sandbox3#1925_and_after_.28fifteen_districts.29]]. In other words the "wards" table should have the names aligned at the top of the columns instead of being repeated, as they are now. Who can assist? Beseechingly, I am [[User:GeorgeLouis|GeorgeLouis]] ([[User talk:GeorgeLouis|talk]]) 07:52, 25 September 2011 (UTC)
* At the same time, we will also make the '''Standard option the new default for logged-out users only'''.
:{{done}} -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 10:51, 25 September 2011 (UTC)
* If no breaking technical issues are found, we plan on making this change within the next three weeks.
* Later, this menu will also include the option to select dark mode, which for the time being will remain a beta feature. For more information, check out [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading|our project page]].


'''About the menu'''
== Edit link on sections doesn't appear ==


The new menu will allow logged-in and logged-out users to set preferences for:
{{resolved}}
Hi,
in [[Wikipedia:WikiProject_Morocco|this project page]] the "Edit section" link doesn't appear as it should. Can't figure out why. Also the TOC didn't appear automatically as it should then I forced it with the "_TOC_". Anyone knows why is this happening? --[[User:Tachfin|Tachfin]] ([[User talk:Tachfin|talk]]) 11:42, 25 September 2011 (UTC)


# '''Text size and line height''' (available now as the beta feature): Users will be able to choose between the Small (current default), Standard (recommended for better accessibility), and Large options. Selecting an option will change both the font size and line height of the text.
:[[Wikipedia:WikiProject Morocco/Tabs]] includes <nowiki>__NOTOC__</nowiki>. There is probably a template that includes <nowiki>__NOEDITSECTION__</nowiki> ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 11:59, 25 September 2011 (UTC)
# '''Dark mode''' (available now as the beta feature): Users will be able to choose to see the site in night mode on a permanent basis, or select an "automatic" setting which will set day or night mode based on the device or browser preferences.
::The problem seems to be in the templates placed at the top in fact. When I remove them the "edit section" link appears. I suspected that before and tried to solve the problem with <nowiki><noinclude></nowiki> but didn't work. I verified the templates they don't include the _NOEDITSECTION_ [[User:Tachfin|Tachfin]] ([[User talk:Tachfin|talk]]) 12:23, 25 September 2011 (UTC)
# [[File:Screenshot of the Vector-2022 skin's fullscreen toggle.png|thumb]]'''Content width''' (previously available as a toggle button): We have moved the content width toggle from an icon at the bottom of the page to a labeled radio button in the new menu. It will work exactly the same as the toggle. The previous toggle button will no longer be available.
:::[[Special:ExpandTemplates]] is your friend. It turns out that the project page is transcluding [[Template:Box-header]] about four levels deep, which puts <nowiki>__NOTOC__ and __NOEDITSECTION__</nowiki> on the page. I'll try to fix it. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 12:51, 25 September 2011 (UTC)
::::Yes that seems to be the source of the problem. From [[template:Box-header]], what does this do "<nowiki>{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}</nowiki>"? [[User:Tachfin|Tachfin]] ([[User talk:Tachfin|talk]]) 13:02, 25 September 2011 (UTC)
:::::It sets <nowiki>__NOTOC__</nowiki> if the {{para|TOC}} parameter is not set, and does the analogous thing for {{para|edit}}. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 13:05, 25 September 2011 (UTC)
::::::Your edit worked I restored them. I changed the template transcluded on projects page before I guess that's why you reverted your edit...Thank you! [[User:Tachfin|Tachfin]] ([[User talk:Tachfin|talk]]) 13:17, 25 September 2011 (UTC)


This menu has been [[mw:Special:MyLanguage/Reading/Web/Accessibility_for_reading/Updates#December_2023:_A_new_beta_feature:_Accessibility_for_Reading_(Vector_2022)|tested as a beta feature]] by logged-in users across wikis as well as in [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Repository/Usability testing|user testing with readers]]. Based on the findings of these tests, we changed the menu to improve discoverability and ease of use, and to accommodate gadget compatibility.
== bits.wikimedia.org ==


The menu will appear to the right of the page, immediately under the Tools menu if that has been pinned. Unlike the Tools menu, the Appearance menu is pinned by default, but can be unpinned. Once unpinned, it collapses under an icon at the top of the page.
In particular http://bits.wikimedia.org/meta.wikimedia.org/load.php?debug=false&lang=en&modules=jquery|mediawiki&only=scripts&skin=monobook&version=20110912T172820Z:1 - this page (or bits in general) takes a load of downloading (32k, apparently with every WP page) and often stalls the browser trying to execute. What's it supposed to be doing, and how can I turn it off. (Incidentally I'm not terrifically happy with cross-site scripting, even if it is in the same second level domain.) ''[[User:Rich Farmbrough|Rich]]&nbsp;[[User talk:Rich Farmbrough|Farmbrough]]'', <small>15:21, 25 September 2011 (UTC).</small><br />
:It's all the javascript for [[jQuery]], the core mediawiki script loader, and the scripts for the monobook skin. It's not downloading every page request, because your browser will cache it (unless your browser is stupid/broken). It is the basis for all javascript execution on wikipedia pages. It cannot be disabled, other than by fully disabling Javascript for the entire website I think. The reason it is on a different server is actually that it has an entirely different caching architecture. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 16:17, 25 September 2011 (UTC)
::(The caching is Varnish rather than Squid (I believe) for anyone interested.) It may be two distinct issues, then. One is that the script is not "responding" according to Firefox, basically it's some sort of resource hog. Secondly I certainly see "waiting for bits.wikimedia.org" regularly when I open a page. ''[[User:Rich Farmbrough|Rich]]&nbsp;[[User talk:Rich Farmbrough|Farmbrough]]'', <small>23:16, 25 September 2011 (UTC).</small><br />
:::Must say I get the same thing and the loading stops for ages at that point. [[User:Keith D|Keith D]] ([[User talk:Keith D|talk]]) 23:54, 25 September 2011 (UTC)
:::
:::Digging a little more, I notice a couple of anomalies. Firstly it also calls for the Chick/main.css. Secondly each of the connections (5 to bits, 2 to text and 1 to wikimedia-lb (all at esams.wikimedia.org)) was closed with a RST, which seems most odd. ''[[User:Rich Farmbrough|Rich]]&nbsp;[[User talk:Rich Farmbrough|Farmbrough]]'', <small>01:27, 26 September 2011 (UTC).</small><br />


'''About the new Standard font setting'''
== Javascript help ==


The "Small" option is the current default. We will be changing this default to "Standard" for logged-out users, while keeping "Small" as the default for logged-in users. The "Standard" and "Large" options were built and tested based on the following:
I have tried to narrow down the problem, to no avail. Just to note, I am not that experienced with Javascript, but I cannot for the life of me tell what is wrong with my [[User:LikeLakers2/addtool.js|addtool.js script]]. Any help with the javascript code I have used would be greatly appreciated.


* [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Repository/Readability research report|Academic studies and recommendations]] for the best average font size for the majority of readers. These recommendations stated that our current size is too small for the majority of people to read comfortably. This means that on average, people read more slowly, strain their eyes while reading, or have difficulty clearly seeing the text. Increasing the font size by default improves these issues for all users, including users who might not have sufficient time to spend adjusting a setting via the appearance menu or browser. Information density is also important, which is why we wanted to increase font size without sacrificing information density. We have achieved this by changing not only font size, but also line height and paragraph spacing.
P.s. I think I may know one or two possible reasons for the problem, but I can't exactly figure it out. [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 22:50, 25 September 2011 (UTC)
* Designs [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Community prototype testing|submitted]] by more than 630 Wikipedians from across 13 wikis of different languages, scripts, and sizes. The majority (~450) of these users opted for a font size that was larger than the default. "Standard" represents the average of the most popular cluster of responses (15-20 pixels). "Large" represents the need for an even larger option, as represented by the cluster of sizes between 21-26 pixels. You can read more on [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Repository/Community prototype testing/Analysis|how we included volunteers in the process and landed on these options]].
:Could you tell us what the script is supposed to do and what is going wrong? That makes it a lot easier to debug. In looking over your code, it seems as if you're using rather more code, especially more functions, than you really need. It looks like you could do pretty much all the processing you do with a few switches and variable assignments. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 23:28, 25 September 2011 (UTC)
* Beta feature usage showed that the majority of users who interact with the feature at least once [[phab:T359418#9694334|opt for a font size that is larger]] than the current default.
::It is basically a easy toolbox tool adder. This code:
:::<code>addtool("tb","javascript:Asteroids()","Play Asteroids2","ca-testtool-tb","Test tool");</code>
::Is supposed to work the same as:
:::<code>addPortletLink("p-tb", "javascript:Asteroids()", "Play Asteroids2", "ca-testtool-tb", "Test tool", "");</code>
::But apparently, something in the code is making MediaWiki not want to do that. I don't know what it is that is causing it. [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 23:39, 25 September 2011 (UTC)
::Also, the functions are basically to split it into parts. [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 23:39, 25 September 2011 (UTC)
:::Sometimes splitting code into parts isn't a good idea—here, it makes the code only less readable to me.
:::Running this code in [[Firebug]] tells me that "addtool2 is not defined". So, the reason your code isn't executing is presumably that you're using an object "addtool2" that doesn't exist. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 23:52, 25 September 2011 (UTC)
::::So it would have been better as step2(), step3(), etc.? That seems to be what you are saying. [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 23:58, 25 September 2011 (UTC)
:::::That might make it work, yes. It wouldn't be very good coding, though. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 00:02, 26 September 2011 (UTC)
::::::Having undone the edit I thought was related to what you said, as seen [http://en.wikipedia.org/w/index.php?title=User:LikeLakers2/addtool.js&diff=prev&oldid=452439350 here], it still doesn't seem to work, apparently. Mind rerunning it through FireBug, but with the current code? [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 00:04, 26 September 2011 (UTC)
:::::::Firebug doesn't return any errors, which means it parses correctly. However, when I make it execute addtool(), it still complains about addtool2 not being defined; I guess I have it cached somewhere. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 00:23, 26 September 2011 (UTC)
::::::::After figuring out that Internet Explorer already has a javascript debugger, I've finally figured it out. I apparently need to wrap the addtool functions around in a onloadhook function, like so:
:::::::::<code>addOnloadHook(function(){</code>
:::::::::{{sp}}{{sp}}<code>addtool("tb","javascript:Asteroids()","Play Asteroids2","ca-testtool-tb","Test tool");</code>
:::::::::<code>});</code>
::::::::That apparently makes it work. [[User:LikeLakers2|LikeLakers2]] ([[User talk:LikeLakers2|talk]] &#124; [[User:LikeLakers2/guestbook|Sign my guestbook!]]) 00:26, 26 September 2011 (UTC)


'''Our works so far and next steps'''
== Broken Flag Box ==


Logged-in users will remain with the "small" setting for the time being as their default, but can change to any other setting at any time. In a few months, we will study how many logged-in users switch to standard and start a conversation on whether it makes sense for logged-in users to make the switch as well. From the [[phab:T359418#9694334|early data]] from the beta feature, 55% of sessions who interacted with the feature chose to use a setting that was standard or larger.
Can anyone determine what is the bug when you put the [[Northern Mariana Islands]] into this user box?
{{User:HokieRNB/userboxes/visit|Northern Mariana Islands}}
There is a flag icon present, as an SVG but the box doesnt link to it. This is the only region I've had trouble creating the userbox. Thank you! -[[User:OberRanks|OberRanks]] ([[User talk:OberRanks|talk]]) 04:37, 26 September 2011 (UTC)


If you'd like to help, we have a few simple requests for you:
:The flag SVG is ''File:Flag of '''the''' Northern Mariana Islands.svg''; see the following. It uses a redirect, but the flag shows. --[[User:Stemonitis|Stemonitis]] ([[User talk:Stemonitis|talk]]) 07:48, 26 September 2011 (UTC)
{{User:HokieRNB/userboxes/visit|the Northern Mariana Islands}}
{{clear}}
:I have added the flag name to the userbox [http://en.wikipedia.org/w/index.php?title=User:HokieRNB/userboxes/visit&diff=452500206&oldid=406609452] so both versions display the flag now. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 10:18, 26 September 2011 (UTC)
::Thank you very much! I was starting up a [[User:OberRanks/Travel Log|Travel Log]] for my user page and this was the last box to add. It looks great! -[[User:OberRanks|OberRanks]] ([[User talk:OberRanks|talk]]) 16:09, 26 September 2011 (UTC)


# Please, [[Special:Preferences#mw-prefsection-betafeatures|turn on the beta feature]] ("Accessibility for Reading (Vector 2022)")
== [[User talk:168.213.7.230]] ==
# Try out the new menu. Is anything confusing? Do you understand all the labels and how the menu works?
# Try out the small, standard, and large sizes, the color schemes, and the width toggle. Reach out to us if you notice any bugs, or have questions or concerns.


If you'd like to learn more about the project, see our [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Frequently asked questions|FAQ]]. Comments and questions are most welcome. Thank you! [[user:OVasileva (WMF)|OVasileva (WMF)]] and [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|talk]]) 13:58, 20 May 2024 (UTC)
{{resolved|[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 17:49, 26 September 2011 (UTC)}}
As I often do on school IP pages with a history of vandalism, I attempted to collapse the bulk of the previous warnings and block notices as they clutter the page. The idea being that students will see the notice to create an account at home and use it to edit at school. Anyway, for some reason in this instance it seems to have made a complete copy of all the notices and placed them inside the collapsed area, adding to the clutter instead of reducing it. What's up with that and how can it be fixed? [[User:Beeblebrox|Beeblebrox]] ([[User talk:Beeblebrox|talk]]) 16:51, 26 September 2011 (UTC)
:{{done|Fixed}}, see {{diff|User talk:168.213.7.230|prev|452555690|here}}, also [[Wikipedia:WikiProject user warnings/Usage and layout#Archiving warnings for anonymous users]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 17:49, 26 September 2011 (UTC)
::Oh, cool. Actually I've seen that before but never used it myself. Still curious as to why normal collapsing didn't work, but thanks for the fix! [[User:Beeblebrox|Beeblebrox]] ([[User talk:Beeblebrox|talk]]) 17:57, 26 September 2011 (UTC)
:::I ''think'' that there is an imbalance between opening {{tag|div|o}} and closing {{tag|div|c}}. {{user|Kralizec!}} issued a {{tlxs|uw-vblock}} at 16:18, 4 November 2008, and that template begins with an opening {{tag|div|o|params=class="user-block"}} then a [[:Image:Stop x nuvola with clock.svg]]; if I add a second opening {{tag|div|o}} immediately before those, your version seems to work. To be certain I would need to analyse the page properly; ideally I would then check the various warning templates against their originals to see if one of them has a {{tag|div}} imbalance. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 19:27, 26 September 2011 (UTC)


== Wikilinks to `((RSS))` article are broken ==
== Weird new look? ==


I noticed this at [[Aaron Swartz]] and [[Web feed]]: links to the article on the web feed format RSS (link here > [[RSS]] <) are not displaying on Wikipedia articles
The editing box just changed its look-the buttons are now above where the used to be and I don't have my special toolbar anymore. Also, the search box's font is larger and changed. What just happened? Also, the toolbar functionality is horrible and I don't have a reference button anymore. How do I switch back? '''[[User:Hurricanefan25|<span style="font-variant:small-caps; color: #AC0000">HurricaneFan</span>]][[User talk:Hurricanefan25|<span style="font-variant:small-caps; color: #35628F">25</span>]]''' 17:07, 26 September 2011 (UTC)
:Me too. Cite and link options vanished in the blink of an eye. As I type this, the "Page notice" at the top repeats itself. I have Firefox 3.6.22 with Windows XP. [[User:Maile66|Maile66]] ([[User talk:Maile66|talk]]) 17:16, 26 September 2011 (UTC)
::Also, on [[Google Chrome]], there are no 'show' tags in the WikiProject boxes... &ndash; <span style="background-color:lime;color:green;">Plarem</span> <sup>([[User:Plarem|User]] [[User talk:Plarem|talk]] [[Special:Contributions/Plarem|contribs]])</sup> 17:25, 26 September 2011 (UTC)
:::Me also (Firefox). I have the clock gadget for refreshing pages, and that appears only on my watchlist but not anywhere I want to edit. I suspect some incomplete software update is happening, and isn't finished, so that some functionality is lost. This happened a few days ago too, then went back to normal. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 17:29, 26 September 2011 (UTC)
::::For me, it went back to normal just as I saved the comment above. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 17:30, 26 September 2011 (UTC)
:::::Mine just went back to normal, too. System must have hiccuped. [[User:Maile66|Maile66]] ([[User talk:Maile66|talk]]) 17:31, 26 September 2011 (UTC)
::::::Mine still looks like the time I changed it to monobook. I am using Firefox 3 on a MacBook Air. '''[[User:Hurricanefan25|<span style="font-variant:small-caps; color: #AC0000">HurricaneFan</span>]][[User talk:Hurricanefan25|<span style="font-variant:small-caps; color: #35628F">25</span>]]''' 17:33, 26 September 2011 (UTC)
See [[#What's going on with the servers?]], below, for what is probably the answer. --[[User:Tryptofish|Tryptofish]] ([[User talk:Tryptofish|talk]]) 00:04, 27 September 2011 (UTC)


Type <nowiki>"[[RSS]]"</nowiki> for "[[RSS]]" and it displays as <nowiki>""</nowiki> for me. [[User:PK-WIKI|PK-WIKI]] ([[User talk:PK-WIKI|talk]]) 19:19, 20 May 2024 (UTC)
== Templates not transcluding at [[Barack Obama]] ==
: Works for me: [[RSS]] [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 19:57, 20 May 2024 (UTC)
::The link displays and works normally for me in all five tested browsers. It sounds like something in your browser is messing with the link, maybe an extension for RSS feeds. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 20:08, 20 May 2024 (UTC)
:::{{Bug resolved}} Thanks, didn't even think that text on Wikipedia would be targeted by a content blocker. 1Blocker "Block Annoyances" setting responsible. [[User:PK-WIKI|PK-WIKI]] ([[User talk:PK-WIKI|talk]]) 20:21, 20 May 2024 (UTC)


== Strange CSS behavior ==
(Please see [[Talk:Barack Obama#Templates]]) Transclusion of the final thirteen templates at [[Barack Obama]] has failed and, instead, regular links to the templates are being displayed. What could be causing this? Thank you, -- '''[[User:Black Falcon|Black Falcon]]''' <sup>([[User talk:Black Falcon|talk]])</sup> 17:13, 26 September 2011 (UTC)
:Probably [[Wikipedia:Template limits]]—the page is transcluding too many and too large templates. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 17:21, 26 September 2011 (UTC)
::Specifically, it's the post-expand include size:
<pre>
NewPP limit report
Preprocessor node count: 282439/1000000
Post-expand include size: 2048000/2048000 bytes
Template argument size: 879412/2048000 bytes
Expensive parser function count: 24/500
</pre>
::(Those numbers are in the HTML source of the page.) [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 17:22, 26 September 2011 (UTC)
:::Thank you, that clarifies the cause of the problem. I noticed, too, that the article now appears in [[:Category:Pages where template include size is exceeded]]. Can anything, other than removing a few templates from the article (possible but not ideal), be done to correct this? -- '''[[User:Black Falcon|Black Falcon]]''' <sup>([[User talk:Black Falcon|talk]])</sup> 23:48, 26 September 2011 (UTC)
::::It's either that or making the templates smaller. {{tl|Navbox}} and its subtemplates, for example, are huge and could perhaps be streamlined. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 23:54, 26 September 2011 (UTC)


I recently noticed that the CSS style <code>background:transparent</code> seems to turn the text color dark gray when combined with the class <code>thumbinner</code> and viewed through the beta vector night mode. Does anyone know why this happens? [[User:I Am Andumé|Andumé ]] ([[User talk:I Am Andumé|talk]]) 20:12, 20 May 2024 (UTC)
{{od|4}}
:The text color generally is a dark grey. Can you be more specific ? —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 09:58, 21 May 2024 (UTC)
I have offered a possible fix at [[Talk:Barack Obama#Templates]]), which reduces the template processing counts to:
::In general however, if you define a background color, you should ALWAYS define a text color and vice versa, if you want to avoid problems with night/dark mode. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 10:00, 21 May 2024 (UTC)
<pre>
:In dark mode, there is some [https://github.com/wikimedia/mediawiki-extensions-WikimediaMessages/blob/master/modules/ext.wikimediamessages.styles/theme-night.less#L62 blanket CSS] for "it has a background but is relying on inherited color" which obviously doesn't work in a lot of places. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:13, 21 May 2024 (UTC)
NewPP limit report
Preprocessor node count: 205464/1000000
Post-expand include size: 1572569/2048000 bytes
Template argument size: 673222/2048000 bytes
Expensive parser function count: 10/500
</pre>


== My script (I use Vector 2022) stopped working this week ==
As this fix may cause problems in future maintenance, I have not implemented it immediately, but described it on [[Talk:Barack Obama#Templates]], so that editors there can decide what they want to do.
=== Link classifier missing in Vector 2022 ===


The Link Classifier which if I recall is maintained by [[User:Anomie|Anomie]] has disappeared from my Vector (2022) skin. I use this frequently and have just now noticed it, so I is likely something very recent. I switched back to Vector (2010) just to check and it was still available there. Any suggestions about how to get this back in Vector (2022)? [[User:Bkonrad|older]] ≠ [[User talk:Bkonrad|wiser]] 21:29, 20 May 2024 (UTC)
--[[User:NSH001|NSH001]] ([[User talk:NSH001|talk]]) 15:50, 2 October 2011 (UTC)


:WMF has recently changed the software so that in Vector 2022 personal Javascript/CSS are loaded only from [[Special:MyPage/vector-2022.js]] and [[Special:MyPage/vector-2022.css]]. You are loading it only in [[Special:MyPage/vector.js]]. You will need to copy whatever you want from there to the vector-2022 version, or to your Common.js at [[Special:MyPage/common.js]] (which is the best place for it - scripts are/should be responsible for loading where they should; styles may vary more so they may not be as obvious to move). Remove it from vector.js if you add it to common.js. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:06, 20 May 2024 (UTC)
== Wikipedia is a phising site? ==
::Thank you. That worked. [[User:Bkonrad|older]] ≠ [[User talk:Bkonrad|wiser]] 23:40, 20 May 2024 (UTC)
::Thanks, this probably should solve the above problem as well. I will try later today. [[User:Ymblanter|Ymblanter]] ([[User talk:Ymblanter|talk]]) 08:36, 21 May 2024 (UTC)
:: Copied Ymblanter's comment from above: {{tq2|1=Not sure whether it is related but I am using one of the user scripts (do not have time now to search which one) which, in particular, highlights in pink pages proposed for deletion. The highlighting is gone today (checked on two different devices, different browsers), which gives me a HUGE headache for CFD handling. [[User:Ymblanter|Ymblanter]] ([[User talk:Ymblanter|talk]]) 08:35, 21 May 2024 (UTC)}} [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:09, 21 May 2024 (UTC)


=== Prompt for edit summary on rollback from watchlist? ===
So when I try and log in at English Wikipedia, I get this message in the log in screen:


Hi there, long time fan, first time caller...
''You are viewing this page on //en.wikipedia.org, which might be a proxy or phishing site. This site can intercept your password; you are strongly advised to log in from en.wikipedia.org.''


I very much like having a link on my watchlist page that will allow me to perform rollback while prompting me for a custom edit summary. My JS pages were a bit of a mess, but I believe I'd been using [[User:Nageh/rollbackSum.js]] for this purpose.
So, I logged in at Meta. Is this something new or a problem with me? My IP hasn't changed (this didn't occur yesterday or when I logged in my alternate account earlier today) and I haven't reconfigured any settings. <span style="font-family:Calibri;font-size:14px"><b><font color="#4682B4">[[User:Elockid|Elockid]]</font></b></span> <sup>(<font color="#99BADD">[[User talk:Elockid|Talk]]</font>)</sup> 20:17, 26 September 2011 (UTC)
:What browser are you using? I wonder whether this might be related in some way to [http://www.mediawiki.org/wiki/MediaWiki_1.18#Protocol-relative_URLs protocol-relative URLs]. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 20:23, 26 September 2011 (UTC)


Earlier this week the 'sum' links provided by that script disappeared for me. {{user|Nageh}} hasn't edited since 2014 and, while I tried a few other scripts that I found, none of them seemed to re-add such a link to my watchlist either. Has something changed that makes this no longer possible? The ability to add a custom edit summary when doing rollback from my watchlist is very valuable to me, so it would be a shame if the upshot was that this simply is no longer possible. Thanks for your help! [[User:Doniago|DonIago]] ([[User talk:Doniago|talk]]) 03:43, 24 May 2024 (UTC)
::I tried it on Firefox (6.0.2) and Chrome (14.0.835.186). <span style="font-family:Calibri;font-size:14px"><b><font color="#4682B4">[[User:Elockid|Elockid]]</font></b></span> <sup>(<font color="#99BADD">[[User talk:Elockid|Talk]]</font>)</sup> 20:26, 26 September 2011 (UTC)
:::I am experiencing the same issue with Firefox 6.0.2. The secure site login is fine. <span style="font-family:Verdana;color:#000000;font-weight:bold;">—[[User:MC10|<span style="color:#000000">mc10</span>]] ([[User talk:MC10|<span style="color:#000000">t</span>]]/[[Special:Contributions/MC10|<span style="color:#000000">c</span>]])</span> 20:31, 26 September 2011 (UTC)


:@[[User:Doniago|Doniago]], see section header of which I've made your question a subsection. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:27, 24 May 2024 (UTC)
::I experienced this same issue. I was logging in from the login screen, and got this message in a red box:
::Thanks Izno. I've tried copying a version of rollback.js to my common.js page with no evident change at this time. [[User:Doniago|DonIago]] ([[User talk:Doniago|talk]]) 16:12, 24 May 2024 (UTC)
::{{quote|You are viewing this page on //en.wikipedia.org, which might be a proxy or phishing site. This site can intercept your password; you are strongly advised to log in from en.wikipedia.org.}}
:::The line above it has no <code>;</code> and misspells importScript with a lowercase s. This may or may not cause issues. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 16:32, 24 May 2024 (UTC)
::<font face="Papyrus">'''<font color=#9966CC>-</font>[[User:Download|<font color=#7B68EE>down</font>]][[User:Download/Guestbook|<font color=#9966CC>load</font>]] <font color=#7B68EE>׀</font> [[User talk:Download|<font color=#8A2BE2>talk</font>]]'''</font> 20:29, 26 September 2011 (UTC)
::::Thanks Izno! I'm not sure which of the changes I made per your notes fixed it, but it seems to be fixed! [[User:Doniago|DonIago]] ([[User talk:Doniago|talk]]) 16:55, 24 May 2024 (UTC)
:::Was logging in from [http://en.wikipedia.org/w/index.php?title=Special:UserLogin&returnto=Main_Page&campaign=ACP2] with Firefox 6.0. <font face="Papyrus">'''<font color=#9966CC>-</font>[[User:Download|<font color=#7B68EE>down</font>]][[User:Download/Guestbook|<font color=#9966CC>load</font>]] <font color=#7B68EE>׀</font> [[User talk:Download|<font color=#8A2BE2>talk</font>]]'''</font> 20:30, 26 September 2011 (UTC)
::See the thread directly above this. [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 20:31, 26 September 2011 (UTC)


== Tech News: 2024-21 ==
:I get the same message. It's apparently made by [[MediaWiki:Loginend]] because <code><nowiki>{{SERVERNAME}}</nowiki></code> currently returns <code>//en.wikipedia.org</code> and not <code>en.wikipedia.org</code>. At the time this page is rendered, <nowiki>{{SERVERNAME}}</nowiki> returns {{SERVERNAME}}. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 20:32, 26 September 2011 (UTC)


<section begin="technews-2024-W21"/><div class="plainlinks">
::I see. Thanks for the info. So, nothing to worry about then? <span style="font-family:Calibri;font-size:14px"><b><font color="#4682B4">[[User:Elockid|Elockid]]</font></b></span> <sup>(<font color="#99BADD">[[User talk:Elockid|Talk]]</font>)</sup> 20:38, 26 September 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.
:::No. {{diff2|452581150|This}} edit by WOSlinker (I was about to do the same thing) should fix the issue. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 20:40, 26 September 2011 (UTC)
::::This may be related to the impending MediaWiki 1.18 rollout. One of the new features is that omitting the http: from a full URL will detect whether you're coming from the normal server or the secure server, and adjust the URL accordingly. See [[mw:MediaWiki 1.18#Protocol-relative URLs]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:40, 26 September 2011 (UTC)
::::Thanks guys for the quick responses. <span style="font-family:Calibri;font-size:14px"><b><font color="#4682B4">[[User:Elockid|Elockid]]</font></b></span> <sup>(<font color="#99BADD">[[User talk:Elockid|Talk]]</font>)</sup> 20:41, 26 September 2011 (UTC)
:::::Confirm it is fixed now. Thanks all. [[User:Glane23|<font face="Bauhaus 93" color="blue" size="2">Geoff</font>]] [[User talk:Glane23|<sup><font color="blue">''Who, me?'' </font></sup>]] 21:29, 26 September 2011 (UTC)
:Reported in [[bugzilla:31176]]. [[Special:Contributions/62.140.137.139|62.140.137.139]] ([[User talk:62.140.137.139|talk]]) 23:14, 26 September 2011 (UTC)


'''Recent changes'''
::<nowiki>{{SERVERNAME}}</nowiki> has been fixed. It returns en.wikipedia.org at the time of writing, as it should. It returns {{SERVERNAME}} at the time of rendering.
* 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]
::But I think there is still an issue with <nowiki>{{SERVER}}</nowiki>. At the time of writing it returns <nowiki>//en.wikipedia.org</nowiki>. At the time of rendering it returns {{SERVER}}. As far as I know it returned <nowiki>http://en.wikipedia.org</nowiki> before yesterday and is supposed to return that. I haven't found a way to search for instances of "<nowiki>{{SERVER}}</nowiki>" so I don't know whether this change affects the English Wikipedia. If you think you know a search method that would catch <nowiki>{{SERVER}}</nowiki> but it doesn't find any occurrence then try whether the method can find the old known occurrence of <nowiki>{{SERVERNAME}}</nowiki> at [[MediaWiki:Loginend]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 14:29, 27 September 2011 (UTC)
* 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]
:::You should read the first comment of the bug report. "<nowiki>{{SERVER}}</nowiki> which is supposed to output the protocol and host)" the protocol is now protocol relative, so correctly returning <nowiki>//en.wikipedia.org</nowiki>, which indeed is different from before, nevertheless correct and expected behavior. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:28, 27 September 2011 (UTC)
::::Thanks for the explanation. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 23:59, 27 September 2011 (UTC)


'''Changes later this week'''
== What's going on with the servers? ==
* [[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]
* [[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]].''
I keep getting messages today that the servers are having technical problems. The info at the bottom of the message is of the following sort (from the most recent time I got this):
</div><section end="technews-2024-W21"/>
<blockquote>Request: GET http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical), from 208.80.152.71 via sq65.wikimedia.org (squid/2.7.STABLE9) to ()
Error: ERR_CANNOT_FORWARD, errno (11) Resource temporarily unavailable at Mon, 26 Sep 2011 22:48:41 GMT </blockquote>
What's going on? <font face="Lucida Calligraphy">[[User:LadyofShalott|<font color="#ee3399">Lady</font>]]<font color="#0095c6">of</font>[[User_Talk:LadyofShalott|<font color="#442288">Shalott</font>]]</font> 22:54, 26 September 2011 (UTC)
:They are preparing the databases for the 1.18 upgrade. For this they need to switch around something with the master databases. Two of these switches failed and took everything down for a few minutes. Earlier today there was another problem, where someone accidentally unplugged an entire rack of Apache servers :D (source #wikimedia-tech and the [http://wikitech.wikimedia.org/view/Server_admin_log server admin log] ) —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 23:01, 26 September 2011 (UTC)
::Thanks. Any idea when things will be back to normal... save for random tripping over plugs? <font face="Lucida Calligraphy">[[User:LadyofShalott|<font color="#ee3399">Lady</font>]]<font color="#0095c6">of</font>[[User_Talk:LadyofShalott|<font color="#442288">Shalott</font>]]</font> 23:10, 26 September 2011 (UTC)
::: The final stage of the [http://blog.wikimedia.org/2011/09/16/mediawiki118iscomin/ MW 1.18 rollout] is scheduled for Tuesday, October 4, and things will probably settle down within a day or so thereafter. ~ 14:19, 27 September 2011 (UTC)


<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 23:01, 20 May 2024 (UTC)
== "edit toolbar" vs "enhanced editing toolbar"... slowness of the enhanced toolbar ==
<!-- 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 -->
: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)


== Where is the code for an info-box? Where does it go? ==
There are two editing toolbar that are selectable under the "editing" tab in preferences. It seems like selecting the enhanced toolbar overrides the "edit toolbar". This is a little confusing when both are selected and you unselect the "edit toolbar" and nothing changes.


I'm trying to create some info-boxes on a small hobby wiki. It had been running fine on "freewiki.in" but that domain disappeared last year. I've re-created it on a domain I control using MediaWiki v1.41.1. I've put up all the article text from .XML backups, but all the formatting is gone. <br>
Also, the "enhanced toolbar" loads unacceptably slow under Firefox 3.6.22. It takes as long as 5 seconds sometime. Any edits made before the page finishes loading, and sometimes you forget to wait, are lost. (Firefox 3.6 is not an obsolete browser so I'm preemptively saying so.) It interferes with editing. This is on a very fast machine running Ubuntu 10.04 LTS fully patched. This problem has existed since Vector was launched. ''Maybe'' it's gotten worse but I don't know. I've a"sucked it up" until now but I have to complain about it. [[User:Jason Quinn|Jason Quinn]] ([[User talk:Jason Quinn|talk]]) 23:21, 26 September 2011 (UTC)
The software manual at https://www.mediawiki.org/wiki/Global_templates/Taxonomy explains how to use <nowiki> {{ambox}} </nowiki> but not the code required for it to work. It sends me to Wikipedia, to https://en.wikipedia.org/wiki/Module:Message_box.
:Per comments on [[bugzilla:27620#c14|bug 27620]], this slowness is because [[bugzilla:27488|bug 27488]] is still not fixed. You can [https://bugzilla.wikimedia.org/page.cgi?id=voting/user.html&bug_id=27488#vote_27488 vote for it]!
That, finally, has 600+ lines of code. <br>
:See also the links provided on [[mw:Thread:Talk:ResourceLoader/Version_2_Design_Specification/Top-loaded_site_scripts]]. [[User talk:Helder.wiki|Helder]] 00:52, 27 September 2011 (UTC)
Where does this code go? Somewhere on the wiki? Somewhere on the server in one of the .PHP files? There's gotta be a step-by-step procedure somewhere but I can't find it. And I'm not about to do my experimenting here on Wikipedia... <br>
::There is no need to vote on it. That bug is added to the RL 2.0 project which means it will be taken care of by the time RL 2.0 is ready, which is a high-priority project on itself. The order in which the specification items are done is not really of importance here since it will be deployed as a whole anyway. Right now the RL2.0 developers (including me) are working on the new and improved gadget repositories allowing shared gadgets and a nice visual gadget manager. The next thing is likely going to be the research into top loading and changing the loader system from a "top/bottom" separation (where "top" is a list of blocking loads in the {{tag|head|o}} and "bottom" is a list of async/simultaneous loads in the bottom of "{{tag|body|o}}"), to a system with "head/other", where "head" is a list of blocking loads in the {{tag|head|o}} and "other" queue starts loading asynchronously as soon as the {{tag|body|o}} tag opens and is executed right away or on document ready (decided by the module).
Answers can be here, if this is of general interest. If not, I'd be perfectly happy getting help at my talk page. [[User:SandyJax|SandyJax]] ([[User talk:SandyJax|talk]]) 13:05, 21 May 2024 (UTC)
:The most notable change is that instead of starting to download after the document is ready and then executing it, it will download simultaneously while the body contents are downloaded as well and executed right away as soon as the bottom is reached (instead of starting the download when the bottom of the body is reached). [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 16:59, 27 September 2011 (UTC)


:It goes exactly where it is here, on the page <code>Module:Message box</code>. [[User:Snowmanonahoe|Snowmanonahoe]] ([[User talk:Snowmanonahoe|talk]] '''·''' [[Special:Contributions/Snowmanonahoe|contribs]] '''·''' [[User:Snowmanonahoe/Typos|typos]]) 16:42, 21 May 2024 (UTC)
:Wow! Thanks, Helder. After I wrote my comment, I thought that perhaps my comment is too vague for anything to be done about it or for other editors to know what I meant. I regretted posting it. But... your reply was just about exactly what I was looking for without even knowing what answer I hoped to get! I know now that's it's a known issue and where to watch to follow any updates. Thanks a lot! [[User:Jason Quinn|Jason Quinn]] ([[User talk:Jason Quinn|talk]]) 15:25, 27 September 2011 (UTC)
:... but otherwise requires only the use of [[mw:Extension:Scribunto]] and [[mw:Extension:TemplateStyles]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:08, 21 May 2024 (UTC)
::If you preview code, e.g. an infobox call, then the bottom of the window shows all transcluded templates and modules at "Templates used in this preview". It can be a long list, and the list can change if the same template is called with different parameters or circumstances (e.g. the namespace it's called from). Some of the infobox styling in the English Wikipedia is in [[MediaWiki:Common.css]] which is not listed at "Templates used in this preview" since it's not transcluded but used in another way. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 18:30, 21 May 2024 (UTC)
==Template dagger malfunctioning==
{{Solved}}
Immediate assistance required because [[template:dagger]] currently outing this {{dagger}}.
[[User:Anoopspeaks|Anoop Bhatia]] ([[User talk:Anoopspeaks|talk]]) 01:14, 22 May 2024 (UTC)


:Link to an edit request about it: [[Template talk:Dagger#Template-protected edit request on 22 May 2024]]. &ndash; [[Special:Contributions/2804:F14:80B7:8201:C4DC:E500:5610:A60F|2804:F1...10:A60F]] ([[User talk:2804:F14:80B7:8201:C4DC:E500:5610:A60F|talk]]) 02:37, 22 May 2024 (UTC)
== [[MediaWiki:Gadget-LongEditSummaries]] and [[MediaWiki:Gadget-LongEditSummaries.js]] ==
::It is not malfunctioning, it is doing what it is supposed to do, to notify everyone about the ongoing discussion. But I can see how this can be disruptive to the reading experience when it is being used multiple times within a short space, i.e. at [[Atlanta Braves#Braves Hall of Fame]]. [[User:Robertsky|– robertsky]] ([[User talk:Robertsky|talk]]) 03:45, 22 May 2024 (UTC)
:::{{ping|Robertsky}} Thanks 👍🏻. [[User:Anoopspeaks|Anoop Bhatia]] ([[User talk:Anoopspeaks|talk]]) 04:03, 22 May 2024 (UTC)


== The IPA in Wikipedia comes with some errors. ==
This gadget no longer works; see [[#Edit summary max length and behaviour]] above, and try the gadget out for yourself - it makes no difference.


SUBJECT
Could an admin please delete these two pages and remove the gadget's entry from [[MediaWiki:Gadgets-definition]] (second entry under "editing" section)? There is no need to fool users into believing they can obtain longer edit summaries when they in fact cannot. — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 03:51, 27 September 2011 (UTC)
:Done. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 11:28, 27 September 2011 (UTC)
::There is no need to delete [[MediaWiki:Gadget-LongEditSummaries]] and [[MediaWiki:Gadget-LongEditSummaries.js]]. Can you please undelete those so that the code can still be seen by others ? The existance of those pages alone doesn't have any influence on the Gadgets system. Assuming you want someone to be able to fix/redo that script... [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 17:06, 27 September 2011 (UTC)


The IPA in Wikipedia comes with some errors.
== Insert Link target icon on toolbar ==


Another hiccup in the system, I think. On the Edit toolbar, there is an icon for Insert. "To a wiki page" and "To an external web page" are at the bottom when you use this icon. Normally, if you copy a Wikipedia URL and paste it there, a secondary box will pop up and ask you if you want an Internal or External link. Indicating Internal will give you a link like this: [[National Register of Historic Places listings in Shelby County, Tennessee]]. As of today, if you do that, the box does not pop up asking you what kind of link. So, you pre-select wiki page button at the bottom, and you get this: [[http://en.wikipedia.org/wiki/National_Register_of_Historic_Places_listings_in_Shelby_County,_Tennessee|National Register of Historic Places listings in Shelby County, Tennessee]]. Sometimes the copy and paste is preferable to typing in a name, just to insert a link. What's different today in how it works? [[User:Maile66|Maile66]] ([[User talk:Maile66|talk]]) 15:43, 27 September 2011 (UTC)


I am quite happy that Wikipedia uses the IPA as a pronunciation guide. I know the IPA moderately well, so its use is convenient for me. Promoting the IPA in Wikipedia might also encourage people to learn it, which probably might not be a bad idea.
== Gadgets ==


I think that the use of the IPA in Wikipedia might often or consitently make some errors. I don’t see these errors being made in Wiktionary though. The IPA there seems to be largely fine.
Where do I find out who maintains the gadget "Adds two new dropdown boxes below the edit summary box, with some useful default summaries"? It does not input a logical summary when you use a minor edit summary. Thanks--<span style="">[[User:Gilderien|Gilderien]] <span style="font-size:70%; vertical-align:sub;">[[User talk:Gilderien|Talk]]|[[Special:Contributions/Gilderien|Contribs]]</span></span> 19:48, 27 September 2011 (UTC)


:Start on [[Special:Gadgets]], look for description above, find [[MediaWiki:Gadget-defaultsummaries.js]], check history. — [[user:Alex Smotrov|AlexSm]] 20:08, 27 September 2011 (UTC)


'''the approximant rhotic (also the approximant alveolar)'''
== Template Question, time since last edit ==


/ɹ/
Is it possible to have a template add a page to a category based on how long it has been since the page was edited? For example, if the template is placed on a page at the time of page creation, would it be technically possible for it to add the page to a category 30 or 90 days after the last edit to the page by anyone? If so, will the category addition occur even if no one ever again accesses the page, or would the cached version, with no category, remain until the first time it was accessed after the timer ran out? [[User:Monty845|<font color="Green">Monty</font>]][[User talk:Monty845|<small><sub><font color="#A3BFBF">845</font></sub></small>]] 23:56, 27 September 2011 (UTC)
:Yes, I think this could be done using two of the [[Help:magic words|magic words]], <code><nowiki>{{REVISIONTIMESTAMP}}</nowiki></code> and <code><nowiki>{{CURRENTTIMESTAMP}}</nowiki></code>. But the software would not realise that the page needed to be re-built and re-categorised after N days, so the idea wouldn't work especially well. Also, depending on what you were hoping to use the template for, the scheme might be broken by an automated/semi-automated "[[WP:gnome|gnome]]" edit that didn't affect the part of the page you had in mind. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 11:54, 28 September 2011 (UTC)
::Thanks for the reply, the lack of re automated rebuilding would stop the idea from working, which is what I feared. [[User:Monty845|<font color="Green">Monty</font>]][[User talk:Monty845|<small><sub><font color="#A3BFBF">845</font></sub></small>]] 18:59, 28 September 2011 (UTC)
:::You could employ a bot to make [[m:Help:Null edit|null edits]] on those pages every day, I know we have such a bot in my home wiki. — [[user:Alex Smotrov|AlexSm]] 20:03, 28 September 2011 (UTC)
::::This kind of bot has been proposed before and rejected. There is a reason the software works in the way it does, using null-edits to force updates is not the correct way to go about things. - [[User:Kingpin13|Kingpin]]<sup>[[Special:Contributions/Kingpin13|13]]</sup> ([[User talk:Kingpin13|talk]]) 20:20, 28 September 2011 (UTC)


The English language uses primarily for a rhotic the approximant alveolar which in the IPA is represented as: /ɹ/.
:::::You shouldn't need null edits for this - I recently added this exact feature to create [[:Category:Stale Userspace drafts]] - and the category filled up with 12k pages in no time. <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub> @ 14:34, 1 Tishrei 5772 / 14:34, 29 September 2011 (UTC)
::::::Your edit to {{tp|Userspace draft}} made the software re-cache all the pages using that template. Going forwards I think you will have to make a monthly edit to the template to make the software rethink the categories for each draft. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 15:39, 29 September 2011 (UTC)


In Wikipedia, this rhotic seems to always get represented by /r/, which actually represents the rolled “r”, as the “r” in the Spanish word “perro”.
== Is it possible to remove automatic new line after image using template:wide image? ==


I’ve suspected that this error is deliberate in that maybe the people setting up the IPA transcriptions are concerned that an upside down “r” might confuse people. Although, this doesn’t make very good sense since much of the rest of the IPA will still confuse people who are not familiar with it.
{{Hidden
|header=Why?
|content="[[File:Solar System size to scale.svg|thumb|400px|[[Planet]]s and [[dwarf planet]]s of the Solar System. Sizes are to scale, but relative distances from the Sun are not.]]The above image is taken from Wikipedia's entry on the Solar System, and I'll give you five seconds to point out as many flaws as you can. All done? Where do we start? Clearly our sun is dying, its once-dazzling surface now an ember, and there's some other star, several times larger / closer / brighter than our own sun, tucked just out of view in the upper right frame. To be honest, I find that kind of geocentrist shading interesting more than anything else, but it's not what we're here to discuss. Similarly, I'm going to ignore the presence of "dwarf planets", which everyone knows is a concession by International Astronomical Union to keep Arizona happy. No, I'm talking about the fact the planets seem to be breathing down one another's necks, Jupiter within fist-bumping distance of Mars, the asteroid belt apparently slipped from the gaunt hips of our emaciated sun.


From Wikipedia showing the incorrect /r/ use :
Now, there's a very good reason that the planets are often presented squished up together like this: it's because black ink is really expensive. Given the choice between illustrating planets as pixel-sized dots on a single page, or going all-in on a 30 page wide fold-out showing planets in all their glory and scale, most artists prefer to cut out all that "empty" space and bring celestial bodies into frame. It's an obvious design solution, but one that nevertheless impacts upon the public's understanding of astronomy. Even though the Wikipedia page makes pains to point out that the scale in this image has been messed about, the industry-wide practice of moving planets about trickles down into public consciousness." From [http://scienceblogs.com/sciencepunk/2011/09/five_iconic_science_images_and.php?utm_source=twitterfeed&utm_medium=twitter Five iconic science images, and why they're wrong]
}}


Tripoli (/ˈtrɪpəli/; Arabic: طرابلس الغرب, romanized: Ṭarābulus al-Gharb, lit. 'Western Tripoli')
[[Template:Wide image]] is unusable with multiple images (see [[User:Bulwersator/test2]]) [[User:Bulwersator/test]] is better but it is ugly and results in wiiiiiideeeeee page ([[:pl:User:Bulwersator/test]] is ''only'' ugly). Is it possible to remove automatic new line after image using template:wide image? [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 07:24, 28 September 2011 (UTC)


From Wiktionary using the correct /ɹ/. use :
:That template is not intended for multiple images. You want something like {{tl|Multiple image}}. ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 10:54, 28 September 2011 (UTC)


'''entourage'''
== edits not showing up ==


Pronunciation
Hi,


(UK) IPA(key): /ˈɒn.tʊ.ɹɑːʒ/, /ˈɑ̃ː.tʊ.ɹɑːʒ/
I am trying to update the page for my organisation which is rather badly out of date.


(US) IPA(key): /ˈɑn.tə.ɹɑʒ/
I've made the updates, and clicked Save, but now I visit the page, twenty minutes later, the old version of it has come up.


How do I get my edits to last?


'''/ɑ/, /a/, /æ/'''
James Murphy
Director of Communications
National Youth Orchestra


These might be described as the “basic a” vowels: /ɑ/, /a/, /æ/
Page in question: http://en.wikipedia.org/wiki/National_Youth_Orchestra_of_Great_Britain <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:NationalYouth Orchestra|NationalYouth Orchestra]] ([[User talk:NationalYouth Orchestra|talk]] • [[Special:Contributions/NationalYouth Orchestra|contribs]]) 09:48, 28 September 2011 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->


/a/ and /æ/ are similar and are like the “a” in “cat”.
:Your addition was automatically reverted.[http://en.wikipedia.org/w/index.php?title=National_Youth_Orchestra_of_Great_Britain&action=history] You have other issues and I am taking them to your talk page. ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 10:42, 28 September 2011 (UTC)


/a/ is more open and might be more typical for Received Pronunciation or a British English. /æ/ is similar sounding but just with an articulation that is a bit more close (closed jaw) and is probably more typical for General American English or Standard Canadian English. Distinguishing between these two is not too much of a big deal, I don’t think for general pronunciation purposes.
== "Decent Article" symbols for iw links ==


The /ɑ/, described as a back, open, unrounded vowel, is like the “o” in the English word “top”. This vowel is more of what is considered an “a” vowel in languages such as Spanish, Italian, and other languages. This /ɑ/ though is significantly different from the /a/ and /æ/.
What is the current standard for adding little status symbols for iw links? FA and GA symbols are added, how about the "decent article" status that's used in [[:da:Wikipedia:Lovende artikler|da]], [[:fi:Wikipedia:Lupaavat artikkelit|fi]] and [[:fi:Wikipedia:Rekommenderade artiklar|sv]] Wikipedias. The status equals roughly the B quality in here, being a status with more relaxed standards and more casual promotion process than GA or FA. [[User:Pitke|Pitke]] ([[User talk:Pitke|talk]]) 14:11, 28 September 2011 (UTC)
:Just worked this out. You are referring to the {{tlx|link GA}} and {{tlx|link FA}} templates which put [[File:Monobook-bullet-ga.png]] and [[File:Monobook-bullet-star.png]] symbols on the left of the "languages" list (or, if in MonoBook skin, the templates which amend the style of the bullets in the same list), as seen against "Deutsch" and "Español", etc. on [[Vietnam war]]. This seems to be done via css; the effect of {{tlx|link FA|es}} is to add an empty HTML element: {{tag|span|params=id="interwiki-es-fa"|content=}} so I ''personally'' can't do anything to add the equivalent for this class (which seems to be exclusive to the Danish, Finnish and Swedish Wikipedias). --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 19:36, 29 September 2011 (UTC)
::Ok, thanks. All that remains is to probe whether such symbols would be welcome in a wiki that doesn't use the classification itself. Kinda. [[User:Pitke|Pitke]] ([[User talk:Pitke|talk]]) 10:39, 30 September 2011 (UTC)
:::Have found in [[MediaWiki:Common.js]] that there is <code>function LinkFA()</code> - this seems to be highly relevant here. At the top of that function there is a note that it's maintained by {{user|R. Koot}}, so you could try contacting him. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 23:33, 1 October 2011 (UTC)


I’ve seen on a number of occasions in Wikipedia in which words with the /ɑ/ sound were given IPA transcriptions of /a/. I went looking for examples in Wikipedia of this today, but had difficulty finding this.
== there is no attribute "class" ==


Here’s an example from Wiktionary where the /ɑ/ sound is written as /a/.
The [[W3C Markup Validation Service]] is giving this error on every page:


Pronunciation
<blockquote style="border: 1px solid blue; padding: 2em;"><poem<
there is no attribute "class"


(UK) IPA(key): /ˈɒn.tʊ.ɹɑːʒ/, /ˈɑ̃ː.tʊ.ɹɑːʒ/
<html lang="en" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml"...
</poem></blockquote>


(US) IPA(key): /ˈɑn.tə.ɹɑʒ/
I am guessing this is part of the RTL/LTR updates? ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 21:03, 28 September 2011 (UTC)
:It looks like our DOCTYPE doesn't allow a class on the html element. The following also generates an error in the validator:
<pre>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="foo" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title</title>
</head>
<body>
<p>Text</p>
</body>
</html>
</pre>
:(The DOCTYPE is copied from Wikipedia.) Possibly recent changes to MediaWiki introduced a class for the html element. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 21:22, 28 September 2011 (UTC)
::I didn't think you ''could'' have a <code>class=</code> on the {{tag|html|o}} - after all, the CSS files are brought in during the {{tag|head}} (in our case, with the {{tag|link|s}} elements), which hasn't been parsed yet. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:31, 28 September 2011 (UTC)
:::I don't see <code>class</code> listed as an attribute for {{tag|html|o}}.[http://www.w3schools.com/tags/tag_html.asp] ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 23:43, 28 September 2011 (UTC)
:See [[bugzilla:30497|bug 30497]]. [[User talk:Reach Out to the Truth|Reach Out to the Truth]] 00:34, 29 September 2011 (UTC)
::Hi, I'm the developer who created that patch. There's no technical reason why you can't have a class tag on the {{tag|html|o}} tag, CSS is applied to all elements, no matter what their position. I wasn't aware that it would cause a failure in validation, so I'm happy to fix it so that it will be applied to {{tag|body|o}} instead. [[User:Johnduhart|Johnduhart]] ([[User talk:Johnduhart|talk]]) 01:15, 29 September 2011 (UTC)


== large numbers are rendered differently by various servers, leading to number formatting errors. ==


I finally managed to find an example of the /ɑ/ sound being written as /a/.
Large numbers, such as 82000000 are getting rendered as 8.2E+7 by some server (srv*) and as 82000000 by others (wm*). The 8.2E+7 notation causes templates that format numbers (such as {{tl|val}}) to fail and pages using these templates to be rendered incorrectly. It seems obvious that all server should return the same results in order to be able to create reliable rendering of large numbers. Assuming there is no use case for 8.2E+7 notation, I'd like to get all servers to return 82000000 when you type 82000000.


Croatia (/kroʊˈeɪʃə/ ⓘ, kroh-AY-shə; Croatian: Hrvatska, pronounced [xř̩ʋaːtskaː]
To test this, you can install [http://skypher.com/SkyLined/dump/Wikipedia/WikiServerExtension.crx this Chrome extension] I created: it takes the name of the server that rendered each Wikipedia page from the comments inside the HTML and makes it visible at the bottom of the page. Alternatively, you can use view-source to see this information manually. Then try refreshing this page to see how the below test is rendered by various servers:
:<nowiki>{{#expr:82000000}}</nowiki> = {{#expr:82000000}}
Any help in tracking down people that can help resolve this is appreciated. &nbsp;&nbsp;&nbsp;&nbsp;<span style="white-space: nowrap">— [[User:SkyLined|<tt style="text-shadow:#80FF80 0.1em 0.1em 0.2em; color:#008000;">SkyLined</tt>]] <small>([[User_talk:SkyLined|talk]])</small></span> 21:55, 28 September 2011 (UTC)
:NB: I just found that not all srv* server render it as 8.2E+7: some do, some don't.&nbsp;&nbsp;&nbsp;&nbsp;<span style="white-space: nowrap">— [[User:SkyLined|<tt style="text-shadow:#80FF80 0.1em 0.1em 0.2em; color:#008000;">SkyLined</tt>]] <small>([[User_talk:SkyLined|talk]])</small></span> 21:57, 28 September 2011 (UTC)
::This is a known issue, I believe; some of the servers are configured differently than others, and this causes some math operations to return different values depending on the server. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 00:43, 29 September 2011 (UTC)
:::This is, AFAIK, ultimately down to features of the operating system and hardware, since MediaWiki uses PHP maths functions, PHP uses the system's native C functions, and the C functions use direct OS/assembler-level maths. Some of the modern servers are 64-bit architecture while the older ones are 32-bit, which probably makes a substantial difference. Essentially not something which is likely to be resolved. [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 20:57, 29 September 2011 (UTC)
:::::A long time ago (three years ago, or some such), I recall being told that many changes like this would go away once all the servers were updated to run the same version of PHP, which apparently wasn't the case at the time. Is there any way to tell which version(s) of the infrastructure software are being run currently? [[User:Dragons flight|Dragons flight]] ([[User talk:Dragons flight|talk]]) 21:30, 29 September 2011 (UTC)
::::If you want faster/consistent servers, visit [[foundation:Fundraising]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:27, 29 September 2011 (UTC)
:::::Helpful, Redrose, except for the complete and utter absence of any analysis of a connection between a lack of funding for servers and the issue under discussion. Is there a bugzilla bug filed on this subject, does anyone know? "Not something which is likely to be resolved" somewhat lacks the can-do spirit --[[User:Tagishsimon|Tagishsimon]] [[User_talk:Tagishsimon|(talk)]] 21:31, 29 September 2011 (UTC)
:::::Funny, that. They are more likely just hire more HR people. Or perhaps another [[wmf:Job openings/Storyteller|storyteller]]! [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 23:01, 1 October 2011 (UTC)
:My half-informed guess is that this is likely to be caused by the lucid upgrade. This upgrade is being rolled out to all servers in a staggered fashion, so if we don't fix it, this problem will only get worse over time, as the probability that you'll hit a server that wrongly formats 82000000 as 8.2E+7 rises and eventually becomes 100%. I tried to ping the guy who's doing the lucid upgrades so he can take a look, but since he's not around and since I should really go to sleep now, it's probably best to file this as a bug in Bugzilla. We like bug reports for tracking purposes anyways. --[[User:Catrope|Catrope]] ([[User talk:Catrope|talk]]) 23:14, 29 September 2011 (UTC)
::I'm happy to file a bug if you'll tell me where to find the Bugzilla. &nbsp;&nbsp;&nbsp;&nbsp;<span style="white-space: nowrap">— [[User:SkyLined|<tt style="text-shadow:#80FF80 0.1em 0.1em 0.2em; color:#008000;">SkyLined</tt>]] <small>([[User_talk:SkyLined|talk]])</small></span> 23:19, 29 September 2011 (UTC)
:: Nm; found it using google at [https://bugzilla.wikimedia.org/] &nbsp;&nbsp;&nbsp;&nbsp;<span style="white-space: nowrap">— [[User:SkyLined|<tt style="text-shadow:#80FF80 0.1em 0.1em 0.2em; color:#008000;">SkyLined</tt>]] <small>([[User_talk:SkyLined|talk]])</small></span> 23:26, 29 September 2011 (UTC)
::: Filed [https://bugzilla.wikimedia.org/show_bug.cgi?id=31259 bug 31259]. &nbsp;&nbsp;&nbsp;&nbsp;<span style="white-space: nowrap">— [[User:SkyLined|<tt style="text-shadow:#80FF80 0.1em 0.1em 0.2em; color:#008000;">SkyLined</tt>]] <small>([[User_talk:SkyLined|talk]])</small></span> 23:37, 29 September 2011 (UTC)


Specifically, the [xř̩ʋaːtskaː]
== 5,000-revision deletion limit counted incorrectly ==


On [[List of Wrestling Observer Newsletter awards]], the page said that there were "3,734 deleted edits" while deleted, but when undeleted (or before it was deleted) says that it has over 5,000 revisions and can only be deleted by a steward. What is the reason for this discrepancy? -- [[User:King of Hearts|King of]] [[User:King of Hearts|<font color="red">&hearts;</font>]] [[User talk:King of Hearts|<font color="red">&diams;</font>]] [[Special:Contributions/King of Hearts|<font color="black">&clubs;</font>]] &spades; 22:40, 28 September 2011 (UTC)
:[[Wikipedia:Village pump (technical)/Archive 84#Upper page limit for deletions]] may answer your question. [[User:Jenks24|Jenks24]] ([[User talk:Jenks24|talk]]) 22:49, 28 September 2011 (UTC)


I noticed in my search for words with an /ɑ/, for words that have this sound in General American English or Standard Canadian English, that same sound in Received Pronunciation often gets pronounced as /ɒ/, which is a very open “o” and pronunciation given in Wikipedia may tend to favor Received Pronunciation.
== Bing isn't updating urls ==


I moved [[Bunker (golf)]] to [[Hazard (golf)]] on 14 May 2009. Although Bing has updated the article title in [http://www.bing.com/search?q=bunker+golf&go=&qs=n&sk=&sc=8-11&form=QBRE its search results], clicking the link still takes you to the redirect. How do we get Microsoft's attention on this? [[User:Marcus Qwertyus|<font color="#21421" >'''Marcus'''</font>]] [[User talk:Marcus Qwertyus|<font color="#CC7722" >'''Qwertyus'''</font>]] 08:42, 29 September 2011 (UTC)
*Redirecting from Bunker to Hazard is OK on "bunker golf" search, but [http://www.bing.com/search?q=hazard+golf&go=&qs=n&sk=&form=QBRE "Hazard golf" search] also links to redirect. Anyway, I think it is rather Bing problem. [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 09:32, 29 September 2011 (UTC)


'''the schwa and the caret'''
== Amazon Elastic Compute Cloud cache of WP ==


This is an issue that probably would have to be directed towards the IPA Association or something like that, and not Wikipedia. But, I’ll mention it here anyways.
In [http://arstechnica.com/gadgets/news/2011/09/amazon-to-unveil-199-70inch-kindle-fire-tablet.ars this arstechnica piece] on the [[Kindle Fire]] they mention an X-ray read-ahead cache of related Wikipedia content. Does this mean that we should expect [[Amazon Elastic Compute Cloud]] to be caching WP from now on? If so, does it open up any new performance possibilities? Just wondering... [[User:LeadSongDog|LeadSongDog]] <small>[[User talk:LeadSongDog#top|<font color="red" face="Papyrus">come howl!</font>]]</small> 18:41, 29 September 2011 (UTC)


Apparently, any phonetics course, most phonetics courses, will tell you that no word in English ends with a caret. So, take the word “the” or “California”. Wiktionary will transcribe these into the IPA as :
== Creating new usernames ==


the:
A current WP:ANI discussion about [[Wikipedia:Long-term abuse/MascotGuy|a longterm anticontributor]] leads me to wonder: how does one create an account? I thought that there were only two ways to create accounts (either by creating the account with itself, [http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=newusers&user=Nyttend as I did], or by becoming an AccountCreator), but [http://en.wikipedia.org/w/index.php?title=Special:Log&user=I_Was_A_Teenage_Mascot he's obviously figured out some other way to do it], since surely we didn't give a longtime vandal the AccountCreator right. [[User:Nyttend|Nyttend]] ([[User talk:Nyttend|talk]]) 04:58, 30 September 2011 (UTC)
:If I'm right, the Account Creator flag simply removes a ''limit of 6 accounts''/IP address/day. Any user that isn't blocked with "account creation blocked" enabled can create accounts, but anyone who wants to make more than 6/IP address/day needs to have the flag.[[User:Jasper Deng|Jasper Deng]] [[User talk:Jasper Deng|(talk)]] 05:01, 30 September 2011 (UTC)
::Indeed. Any account which isn't ACB blocked can register more just by visiting [http://en.wikipedia.org/w/index.php?title=Special:UserLogin&type=signup signup] whilst logged in. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 06:09, 30 September 2011 (UTC)
:::It's that signup page I've never before seen. Is it linked from somewhere? I can't get useful results from WhatLinksHere. [[User:Nyttend|Nyttend]] ([[User talk:Nyttend|talk]]) 11:24, 30 September 2011 (UTC)
::::[[Special:UserLogin/signup]] also. The signup is just a version of, and linked from, [[Special:UserLogin]]. It's linked specifically from some username block templates, and more generally [[Special:SpecialPages]]. However all you need to do is have a browser tab open where you aren't logged in and you can copy-paste or click the link into a new tab all you like (up to the account limit). I expect this vandal also has it has a bookmark. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:38, 30 September 2011 (UTC)
:::::The main problem with trying to use [[Special:WhatLinksHere]] in this manner is that it it doesn't work for [[Wikipedia:Namespace|virtual namespaces]] - those with a negative number, such as Special: pages. Another problem is that it only lists links established using [[Help:Link#Wikilinks|wikilinks]], not the http: form. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 14:44, 30 September 2011 (UTC)
::::::The first problem is [[bugzilla:17597|bug 17597]]. You can [https://bugzilla.wikimedia.org/page.cgi?id=voting/user.html&bug_id=17597#vote_17597 vote for it]. [[User talk:Helder.wiki|Helder]] 17:15, 30 September 2011 (UTC)


(when unstressed and preconsonantal)
== Problem with [[Template:Infobox election]] ==


enPR: thə, IPA(key): /ðə/
Someone in there, there seems to be a problem with a colspan being one greater than it should be. Specifically, if you render [[United Kingdom general election, 2005]] in PDF, the map seems to span one column more than candidates.


California:
I've been trying to figure out where this extra column is comning from for the last few hours, to no avail. Can someone confirm/deny if the colspan is set to 4 throughout the infobox? <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|talk]] / [[Special:Contributions/Headbomb|contribs]] / [[WP:PHYS|physics]] / [[WP:WBOOKS|books]]}</span> 06:33, 30 September 2011 (UTC)
: There is no column span problem, and no extra column. It appears that the PDF renderer ignores the CSS width specified on the tables. So while the browser displays the nested tables at 100% of the width of the outer table, the PDF version sizes it to fit its content and (since the cell content is left-aligned) it leaves empty space on the right. This sounds like something to bring up on [[Help:Books/Feedback]]. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:49, 30 September 2011 (UTC)


(General American) IPA(key): /ˌkæl.ɪˈfoɹ.njə/, /ˌkæl.ɪˈfoɹ.ni.ə/, [ˌkʰæl.ɪˈfo̞ɹ.njə]
::Ah nested tables. Should have known. <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|talk]] / [[Special:Contributions/Headbomb|contribs]] / [[WP:PHYS|physics]] / [[WP:WBOOKS|books]]}</span> 15:39, 30 September 2011 (UTC)


It’s typical to see IPA transcriptions of the words “the” and “California” as ending with the schwa, /ə/.
== dual wikipedia pages ==


I am in a discussion about the aspartame controversy at NPV. If I do not sign on the discussion is not visible. It appears when I sign on. Is this normal? Do you have dual pages? <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Arydberg|Arydberg]] ([[User talk:Arydberg|talk]] • [[Special:Contributions/Arydberg|contribs]]) 07:16, 30 September 2011 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:No, we don't have dual pages, but sometimes an old version gets [[cache|cached]] incorrectly. I have [[Help:purge|purge]]d the page so that the latest version will be copied again to all the Wikipedia servers. You could also try [[WP:BYPASS|bypassing your browser cache]]. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 08:02, 30 September 2011 (UTC)
::Logged in users are accessing pages using a more frequently updated server while IPs use a server that relies more heavily on cached content. [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 22:50, 1 October 2011 (UTC)


Transcribing the final vowel in the words “the” and “California” as /ə/ to me seems wrong. Maybe my hearing sense is off. Maybe the articulation is /ə/ but to me sounds like /ʌ/ or /ɐ/.
== DNS entry hacked? ==


Give it a try? The /ə/ or schwa is the vowel sound you more or less get between the “p” and “l” in “apple” in General American and probably Received Pronunciation. Or find some online IPA chart with audio pronunciation to find out how /ə/ is pronounced.
Did the main DNS entry get hacked? It whois now shows it as


Now try sticking that sound into the word “the” or at the end of the word “California”. Maybe I’m not getting this right, but it consistently sounds wrong! Like weird!
:Domain names in the .com and .net domains can now be registered
:with many different competing registrars. Go to http://www.internic.net
:for detailed information.
:
:WIKIPEDIA.ORG.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
:WIKIPEDIA.ORG.IS.WRONG.GO.4.GULLI.COM
:WIKIPEDIA.ORG


Maybe when speaking quickly these sounds will reduce to an /ə/ sound. But even when spoken quickly, these words can often just sound like they end with a quick /ʌ/ or /ɐ/.
And you can't connect. [[User:Vegaswikian|Vegaswikian]] ([[User talk:Vegaswikian|talk]]) 18:57, 30 September 2011 (UTC)


:It came back for a few and then went down again. [[User:Vegaswikian|Vegaswikian]] ([[User talk:Vegaswikian|talk]]) 19:08, 30 September 2011 (UTC)
::Where do you get that? whois.org and command-line <code>whois wikipedia.org</code> show normal results for me, and connecting to the site works fine. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 19:23, 30 September 2011 (UTC)
:: That's known as "whois spam", and has nothing to do with DNS. Some methods of querying the whois database search for any record containing the entered text (rather than just an exact match), so some spammers include the names of high-profile websites in their own records in some strange attempt to get traffic to their sites. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 19:25, 30 September 2011 (UTC)
:::I got that from SamSpade. http://www.internic.net/whois.html also seems to be having trouble finding the site with their whois function. But still no access. [[User:Vegaswikian|Vegaswikian]] ([[User talk:Vegaswikian|talk]]) 19:28, 30 September 2011 (UTC)
::::For a period commencing approx. 19:00 UTC I was unable to access any Wikipedia page - the error generated by Firefox was something like "Firefox is unable to locate the server at en.wikipedia.org" and the usual "make sure it's spelled correctly" stuff. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 19:46, 30 September 2011 (UTC)


I used to think that “the” and “California” should be transcribed as /ðʌ/ and /ˈkalɪfɔɹnjʌ/, with the the /ʌ/ at the end of the word. This makes auditory sense to me.
== Secure login link ==


More recently though, when realizing that / ʌ/ and /ɐ/ sound very similar, that for that sound, if the preceeding consonant is more forward, then maybe the more forward of /ʌ/ and /ɐ/ would actually be articulation being used, which is the /ɐ/. So, the word “the” would more likely be transcribed as:
I think the secure login link on the login page needs to be changed: it gives https://secure.wikimedia.org/wikipedia/en/wiki/Special:UserLogin.


/ðɐ/
However, when switching between wikipedias (interwiki), it goes to a simple https://xx.wikipedia.org --- and therefore logs me out. [[User:Seb az86556|Choyoołʼįįhí:Seb az86556]] <sup>[[User_talk:Seb_az86556|> haneʼ]]</sup> 04:10, 1 October 2011 (UTC)
:The cross wiki problem is a known issue. I have changed the Login page to point to the new urls. There is one snag, I don't think there is a replacement atm for the "<nowiki>{{#ifeq: {{SERVERNAME}} | secure.wikimedia.org</nowiki>" trick that we used to change the content between secure and insecure servers. If anyone has an idea for a replacement, please do share. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 11:11, 1 October 2011 (UTC)


With “California”, this might be different. The /j/ sound before the final vowel, it’s more central so would it make the final vowel sound /ɐ/ or /ʌ/? Maybe the /ʌ/ sound fills an entire linear area that connects the more middle /ɐ/ and the more back /ʌ/, in which case it could get kind of complicated or difficult to figure out where the articulation of this sound is taking place exactly.
:That line is added dynamically in [[MediaWiki:Loginend]] when a user is not on secure.wikimedia.org. Unfortunately, there is no magic word to query the used protocol (there is $wgProto, but no &#123;{SERVERPROTO}}), meaning that check will have to be removed. <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> 11:15, 1 October 2011 (UTC)
::[[bugzilla:31293]] proposes to simply split up the user message for the Special:UserLogin page from the server side. That would fix this specific problem. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:20, 1 October 2011 (UTC)
:::Great. I hope this will be done for all wikipedias. [[User:Seb az86556|Choyoołʼįįhí:Seb az86556]] <sup>[[User_talk:Seb_az86556|> haneʼ]]</sup> 02:35, 2 October 2011 (UTC)


I suspect that if the /ʌ/ sound is preceeded by a more back consonant, such as in the English word “gut”, then the /ʌ/ sound will take more of a back /ʌ/ articulation, as you get with the Wiktionary transcription of “gut”.
== Bandwidth throttling ==


gut
Does wikipedia use bandwidth throttling, and if yes which conditions engage/disengage it ? [[User:Gzilirion|Gzilirion]] ([[User talk:Gzilirion|talk]]) 07:00, 1 October 2011 (UTC)
:To my knowledge, there is no throttling of any kind. <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> 11:20, 1 October 2011 (UTC)
::[[Wikipedia:Database_download#Sample_blocked_crawler_email]] [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 11:23, 1 October 2011 (UTC)


Pronunciation
== Suggestion re some images ==


IPA(key): /ɡʌt/
Would it be feasible to have a prefference option so that stuff tagged as {{tl|badimage}} will not display, thumbnail or make http requests for the image at all?


This would be of great assistance to certain users that don't want to see that sort of content.
[[User:Sfan00 IMG|Sfan00 IMG]] ([[User talk:Sfan00 IMG|talk]]) 10:52, 1 October 2011 (UTC)
*Have you seen a little something called the image filter? [[User:Ironholds|Ironholds]] ([[User talk:Ironholds|talk]]) 10:55, 1 October 2011 (UTC)
*http://meta.wikimedia.org/wiki/Image_filter_referendum [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 11:19, 1 October 2011 (UTC)
*[[Help:Options to not see an image]]. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:25, 1 October 2011 (UTC)
: https://bugzilla.wikimedia.org/show_bug.cgi?id=31298 - I've put in an 'enhancement' request.. [[User:Sfan00 IMG|Sfan00 IMG]] ([[User talk:Sfan00 IMG|talk]]) 19:04, 1 October 2011 (UTC)


[[User:Zbniorb|Zbniorb]] ([[User talk:Zbniorb|talk]]) 06:34, 22 May 2024 (UTC)
== Auto-include talk header template ==


I suggest that the wiki software auto-included <nowiki>{{talk header}}</nowiki> at the top of every talk page at the moment of its creation. It's a really good reminder for experienced editors and a good intro for new editors. Maybe even create a bot to add it at the top of every page that lacks it now. Thanks for listening! [[User:Woz2|Woz2]] ([[User talk:Woz2|talk]]) 17:10, 1 October 2011 (UTC)
:This is not a technical inquiry. The appropriate venue is the talk page of the IPA key for each language, though I strongly suggest you read the ''Handbook of the IPA'' and learn the difference between a [[phone (linguistics)|phone]] and a [[phoneme]] and the concept of [[Phonetic transcription#Narrow versus broad; phonemic versus phonetic|narrowness]] first. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 06:57, 22 May 2024 (UTC)
:If we want that thing on every page, let's do it in some sensible way—sitewide JavaScript or a MediaWiki message—not by transcluding a template on every single talk page on this project. [[User:Ucucha|Ucucha]] ([[User talk:Ucucha|talk]]) 17:13, 1 October 2011 (UTC)
:: The documentation currently states "This template should be used only when needed. There is no need to add this template to every talk page." Has [[WP:CCC|consensus changed]] on that? I hope not. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 17:31, 1 October 2011 (UTC)
:::It also states that it is "intended to be used on particularly active talk pages that attract commentary from inexperienced editors, and/or high levels of debate from everyone", none of which can possibly apply to non-existent pages. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 18:18, 1 October 2011 (UTC)
Hmmm... What's the downside of including it? [[User:Woz2|Woz2]] ([[User talk:Woz2|talk]]) 17:39, 1 October 2011 (UTC)
:Clutter. At one time, absent talk pages were commoner than talk pages that existed; so the "discussion" link being coloured blue could be seen as an indicator that discussion had started. Then WikiProject banners were invented, and so the red "discussion" link is a rarity. Many talk pages ([[Talk:Bishop's Stortford railway station|like this one]]) consist of nothing but project banners, there is no discussion as such. These are tolerated, but I doubt that a general use of {{tlx|talk header}} would be. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 18:18, 1 October 2011 (UTC)
Ok Thanks! [[User:Woz2|Woz2]] ([[User talk:Woz2|talk]]) 18:23, 1 October 2011 (UTC)


== Server error ==
== Issue with template ==


Hi there. There seems to be some kind of issue with {{tl|Population WD}}. I would like to use it to get the bare population figure. At first, <code><nowiki>{{population WD|qid=Q559227|show=value}}</nowiki></code> was not working, and I was getting the figure plus a "<span" at the end. [[User:Primefac|Primefac]] has [https://en.wikipedia.org/w/index.php?title=Template%3APopulation_WD&diff=1225084006&oldid=1076332183 solved] it, at least partially. But there still seem to be some issues, as can be seen [[User:Alavense/sandbox|here]]. Thanks in advance for the help, [[User:Alavense|Alavense]] ([[User talk:Alavense|talk]]) 08:19, 22 May 2024 (UTC)
I keep getting the following error message when I attempt a contributions search in the Wikipedia Talk namespace:
:My guess is that the {{t|first word}} is cutting off the coding to show the "edit at Wikidata" icon, but I have a) no idea why it's doing that, and b) no idea how to fix it. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 08:37, 22 May 2024 (UTC)
:: Yes, something like that. The createicon function in Module:WikidataIB starts off with a non-breaking space, so {{t|first word}} is grabbing a few more tokens than we want. '''[[user:jmcgnh|<span style="color:#2eb85c">—&nbsp;jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]]&nbsp;[[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 08:57, 22 May 2024 (UTC)
:: And, yes, nbsp is not considered one of the ASCII whitespace characters by some regular expression engines, including, according to what we've seen here, Lua's %s. '''[[user:jmcgnh|<span style="color:#2eb85c">—&nbsp;jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]]&nbsp;[[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 09:19, 22 May 2024 (UTC)
::: This [[Special:Diff/1225091340]] seems to be a possible fix. It returns just the population value, whichever way the noicon parameter is set. Of course, if you really wanted that pencil icon, you'll need to use something different from {{t|first word}}. {{ping|Primefac|Alavense}} '''[[user:jmcgnh|<span style="color:#2eb85c">—&nbsp;jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]]&nbsp;[[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 09:37, 22 May 2024 (UTC)
::::There should not be any regexes that treat a nbsp as whitespace. For a start, its value is outside the 0x00-0x7F range; second, whilst it's encoded as 0xA0 under Unicode, some character sets use the same value for a different, non-blank, printing character - for example, in [[Code page 437]], it's used for the "&aacute;" character. Third, ASCII whitespace is defined as characters 0x09 through 0x0c inclusive plus 0x20. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 19:40, 22 May 2024 (UTC)
:::::@[[User:Redrose64|Redrose64]] That's a very outdated point of view. Regex engines these days generally operate on Unicode and understand Unicode characters, or at least have an option to do so, and "whitespace" often means all Unicode whitespace, not ASCII whitespace. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:16, 22 May 2024 (UTC)
::::::The [https://infra.spec.whatwg.org/#ascii-whitespace HTML spec is outdated then]. Pity, as it was [https://html.spec.whatwg.org/multipage/ last updated 22 May 2024], which was, er, today. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 23:04, 22 May 2024 (UTC)
:::::::Pity, as the HTML spec is irrelevant to how Lua or PHP process whitespace. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:36, 22 May 2024 (UTC)
:::::::The HTML spec is very careful to call it out as ''ASCII whitespace'' every time that term is used, precisely because just saying ''whitespace'' often means Unicode whitespace. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 15:40, 23 May 2024 (UTC)
:::@[[User:Jmcgnh|Jmcgnh]] Lua's <code>%s</code> should actually match non-breaking spaces, if I understand the documentation correctly.
:::[[Template:First word]] uses [[Module:String]], which uses <code>mw.ustring</code>. The docs for [[mw:Extension:Scribunto/Lua_reference_manual#Ustring_patterns|Ustring patterns]] say <code>%s</code> "represents all characters with General Category "Separator"", and NBSP is a separator (see e.g. the entry in [[Whitespace character#Unicode]] for reference).
:::I think the problem in the original code is that in <code><nowiki>[&amp;nbsp;%s]</nowiki></code> the entity isn't interpreted, so it finds the first occurrence of <code>&</code>, <code>n</code>, <code>b</code>, etc. It will probably work if you do just <code>[%s]</code>. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:14, 22 May 2024 (UTC)
:::: Oh, good, we're getting some people involved who know more than me. {{reply|Redros64|Matma Rex|Izno}} As I read it, {{t|First word}} already supplies <code>%s</code> as the default separator AND the results show that it is not treating nbsp as a member of <code>%s</code>. If I were going to spend more time on this, I'd first get rid of {{t|First word}} to see how many results are coming back - as an experiment. If there are multiple results (not just one string with multiple values in it), I'd argue that the job of selecting what to return needs to either be pushed down into WikidataIB or maybe do like the <code>show=year</code> branch and use <code>Ustring|gsub</code> to pull out the desired part of the data.
:::: Primefac's current fix provides the correct defaults, but if someone wants to specify <code>show=value|noicon=FALSE</code> it would be best if the result didn't contain stray markup tokens. I checked for how <code>show=year|noicon=FALSE</code> would behave and it seems to get it right for Alavense's test case. I wish I understood a little better how that <code>Ustring|gsub</code> expression matching worked. As I look at it, it shouldn't be working for this case. If I could figure that out better, I'd be in favor of getting rid of {{t|first word}} and using a Ustring call for <code>show=value</code> as well as for <show=year>. '''[[user:jmcgnh|<span style="color:#2eb85c">—&nbsp;jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]]&nbsp;[[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 02:34, 23 May 2024 (UTC)
:::::I don't know much, I just looked up the docs :)
:::::<blockquote>As I read it, {{tl|First word}} already supplies <code>%s</code> as the default separator AND the results show that it is not treating nbsp as a member of <code>%s</code>.</blockquote>
:::::I had a look at the output of <code><nowiki>{{#invoke:WikidataIB|...}}</nowiki></code> in [[Special:ExpandTemplates]], and I can at least explain that – it's because the WikidataIB module isn't emitting an actual nbsp character, but rather it's emitting the <code>&amp;nbsp;</code> HTML entity. The string matching functions just see that as a sequence of <code>&</code>, <code>n</code>, <code>b</code>, and so on. So you would need to make {{tl|First word}} look for that sequence, instead of individual characters, but it has no way to do that.
:::::You could probably implement this by invoking [[Module:String]] directly – but at this point I would take a step back, and see if there's some way to just output the bare population figure from Wikidata directly, instead of using a big template and applying another big template on top of it to discard most of its results, because that how you end up with pages that bump into parser limits. I'm not very familiar with this stuff, but there must surely be one. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 15:31, 23 May 2024 (UTC)
{{od}}
{{reply|Matma Rex}} I agree with your suggested direction and thanks for being so clear about the confusion I was exhibiting between Ustring characters and HTML character entities. On a cursory look at available templates or modules to use instead of WikidataIB, I was not coming up with anything obvious. I will return to study this in greater detail, including trying to understand all the parameters passed to WikidataIB, as time allows. I do conclude that {{tl|First word}} is simply the wrong template to use in this situation. '''[[user:jmcgnh|<span style="color:#2eb85c">—&nbsp;jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]]&nbsp;[[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 20:52, 24 May 2024 (UTC)


== Differentiation of subheading font sizes (or more accurately, lack thereof) ==
Proxy Error


I've just used subheadings for the first time, and was somewhat dismayed to see hardly any noticeable differentiation between Subheadings 2, 3, and 4. Couldn't the subheadings be differentiated more?
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /wikipedia/en/w/index.php.


Surely some other Wiki editors must have made similar comments long before I came on board ... [[User:Augnablik|Augnablik]] ([[User talk:Augnablik|talk]]) 11:54, 22 May 2024 (UTC)
Reason: Error reading from remote server


:Yes, I think many of us got confused at first and pointed out that h3 looks more prominent than h2, but there doesn't seem to be a consensus to change the styles and eventually we got used to it. I hope it doesn't lead too many readers astray. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 12:04, 22 May 2024 (UTC)
Apache/2.2.8 (Ubuntu) mod_fastcgi/2.4.6 PHP/5.2.4-2ubuntu5.12wm1 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g Server at secure.wikimedia.org Port 443
::How could there be any editorial disagreement about the need for a technical fix to remedy this situation, @[[User:Certes|Certes]]? Of course it could lead readers astray!
::It's not like the discussion going on elsewhere at the Village Pump on the topic of COI guidelines, with many senior editors all over the field as to just what COI is and what should be required of editors in self-reporting it. [[User:Augnablik|Augnablik]] ([[User talk:Augnablik|talk]]) 12:42, 22 May 2024 (UTC)
:::@[[User:Certes|Certes]], I hope it didn’t seem to you in my reply to you above that I was unhappy with you personally. I was just reacting in surprise — okay, shock — that Wiki editors who deal with this sort of thing wouldn’t have very easily come to consensus about the need to make h2 and h3 look different from each other … for the sake of readers. [[User:Augnablik|Augnablik]] ([[User talk:Augnablik|talk]]) 16:27, 22 May 2024 (UTC)
::::I wasn't at all insulted or offended. I agree with you that h2 should be more prominent relative to h3. I think the problem is that h3 is bolder than h2, which can give the illusion that it is more important despite not being larger. Of course, it's easy for the regulars to put together a bit of CSS to make it look how we prefer it, but we're a tiny minority of the audience: we're both thinking of the casual reader who can't be expected to jump through that hoop for each site they visit. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 19:58, 22 May 2024 (UTC)
:::::The appearance of headings and subheadings varies with several factors, including (but not limited to): zoom level, skin, browser, installed fonts, operating system. You can experiment using e.g. [[Special:PermaLink/1225175489|Wikipedia:Sandbox]] in various skins - <span class=plainlinks>[//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&&oldid=1225175489&useskin=cologneblue Cologne Blue]; [//en.m.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=1225175489&useskin=minerva MinervaNeue] (mobile); [//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&&oldid=1225175489&useskin=modern Modern]; [//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&&oldid=1225175489&useskin=monobook MonoBook]; [//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=1225175489&useskin=timeless Timeless]; [//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=1225175489&useskin=vector Vector legacy (2010)]; [//en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=1225175489&useskin=vector-2022 Vector (2022)]</span>. Notice that besides the font size, there are variations in font family, also underlining. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 20:40, 22 May 2024 (UTC)
::::::You can override the heading styles from your common.css, eg:
::::::<code>#content h3 { font-size: 116%; text-decoration-line: underline; }</code> <span class="nowrap">[[User:Verbarson|--&nbsp;Verbarson&nbsp;]]&nbsp;<sup>[[User talk:Verbarson|talk]]</sup><sub>[[Special:Contributions/Verbarson|edits]]</sub></span> 22:30, 24 May 2024 (UTC)


== trying to add new GeoJSON map to virgin river article - centering is getting messed up ==
Does anyone have any idea why this is happening? ---<font face="Georgia">'''[[User:RepublicanJacobite|<span style="color:#009900">RepublicanJacobite</span>]]'''<sub>''[[User talk:RepublicanJacobite|<span style="color:#006600">TheFortyFive</span>]]''</sub></font> 18:12, 1 October 2011 (UTC)


I'm trying to add this to [[Virgin River]]:
:I am still waiting and hoping for an answer to this question, because I am still getting this error message when I attempt to do a contributions search in the Wikipedia Talk namespace. I have not been able to conduct such a search in days, and it is rather frustrating. ---<font face="Georgia">'''[[User:RepublicanJacobite|<span style="color:#009900">RepublicanJacobite</span>]]'''<sub>''[[User talk:RepublicanJacobite|<span style="color:#006600">TheFortyFive</span>]]''</sub></font> 16:30, 2 October 2011 (UTC)
::Try using the new HTTPS servers [https://en.wikipedia.org NEW server]. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:02, 2 October 2011 (UTC)
:::Yeah, that connected right away. Thanks! ---<font face="Georgia">'''[[User:RepublicanJacobite|<span style="color:#009900">RepublicanJacobite</span>]]'''<sub>''[[User talk:RepublicanJacobite|<span style="color:#006600">TheFortyFive</span>]]''</sub></font> 17:38, 2 October 2011 (UTC)


<pre>{{mapframe|from=Virgin River (Utah).map|text=Route of the Virgin River and the North and East Forks|frame=yes|zoom=7|frame-coord|coord=37.174167,-113.326111}}</pre>
== Edit notice on BLP articles ==
{{Resolved|1=With many thanks for the friendly help from David Göthberg, TheDJ, Anomie, Edokter, and Redrose64. Now ''all'' BLP edits show the important notice, rather than just a minority of them. [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 15:04, 2 October 2011 (UTC)}}
There is a very helpful [[WP:Edit notice|edit notice]] that was created for Biographies of Living Persons, but unfortunately it only shows up when you click the "edit this page" at the top of the article. ''Never'' when you click to "edit" a ''section'' of a BLP article. Go to [[Fareed Zakaria]], the most recent BLP I edited, to see what I mean. All BLP articles exhibit this bug. Since the vast majority of edits are made to individual sections, can this be fixed so that the edit notice appears on ''all'' edits made to BLP articles? Thanks, [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 19:43, 1 October 2011 (UTC)
:This is a known problem, and it's been mentioned before. The relevant JavaScript is [[MediaWiki:Common.js]] and the notice is [[Template:BLP editintro]]; the doc page for that states "this edit intro is shown automatically when editing a page categorized as either [[:Category:Living people]] or [[:Category:Possibly living people]], provided that the edit page is accessed through the main edit tab". See also [[WP:EDITINTRO]] and [[MediaWiki talk:Common.js/Archive 16#BLP editintro]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:08, 1 October 2011 (UTC)
::I see. Too bad, since it does very little good the way it stands. If this could be fixed, it would help with one of Wikipedia's worst problems (certainly the worst public relations problem): people using Wikipedia articles to attack their enemies. See an example here.[http://blogs.telegraph.co.uk/news/cristinaodone/100096260/i-fell-out-with-johann-hari-–-then-david-rose-started-tampering-viciously-with-my-wikipedia-entry/] [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 20:43, 1 October 2011 (UTC)
:::If somebody is determined to defame another, they will ignore the {{tlx|BLP editintro}} whether it's shoved in their face or not. [[Wikipedia:Vandalism]] gives advice on spotting and dealing with cases like this. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:27, 1 October 2011 (UTC)
::::But for new editors and vandals, it will make them think twice, or maybe find a reference. I've also seen both new and long-time editors unknowingly violate BLP policies. As far as the PR issue, it only confirms to the press that we aren't doing everything we can to protect the reputations of innocent people. Though I do very much appreciate what we are doing on Wikipedia with limited volunteer technical time and expertise. [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 21:47, 1 October 2011 (UTC)


The problem is that every time I preview my proposed change the center of the map is completely off. It's like it's pulling the coordinates of the mouth from wikidata.org and using that vs using the more central coordinate that I'm using.
:Well, I see two ways we can fix this:
:1: We could use a for-loop: Currently the code in [[MediaWiki:Common.js]] looks for [[:Category:Living people]] and [[:Category:Possibly living people]] and if they exist then adds "&editintro=Template:BLP_editintro" to the edit link at the top of the page. This happens when we view the page, before we click the edit link. As far as I can see we can add a for-loop that locates all the section edit links since they are clearly marked with <nowiki><span class="editsection"></nowiki>, and then add the same "&editintro=Template:BLP_editintro" to all those section edit links.
:2: We could use a hidden category and an ajax call: I have noticed that hidden categories are visible on the edit page even if we edit another section than the one that adds the category. So we could add a hidden BLP category to all BLP pages (perhaps automatically by using the infoboxes). Then we can use javascript that runs when we edit the page (not before we edit the page) and checks for that category and then uses an ajax call to render {{tl|BLP editintro}} and inserts it.
:I prefer method one above (for-loop) since it is simpler to implement, it costs less server resources, and I am sure it will work. While I don't know enough about ajax coding to even be sure that method two would work. However, my javascript skills are too rusty and I am semi-retired from Wikipedia so you guys need to ask the experts over at [[MediaWiki talk:Common.js]] to implement it.
:--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 23:21, 1 October 2011 (UTC)


Assuming that that's the case idk that I necessarily want to change it. Ideally I'd like to just overwrite it for that one map. But if that's not possible I guess I could change the wikidata.org entries altho https://www.wikidata.org/wiki/Q1676970 shows multiple coordinate locations. Would just the first one need to be changed? I'm a little hesitant to save experimental changes like that. I'd rather Preview my changes before saving them but, assuming my hypothesis is correct then I'd prob need save it all the same, even if only to save just to preview [[User:TerraFrost|TerraFrost]] ([[User talk:TerraFrost|talk]]) 12:04, 22 May 2024 (UTC)
::Thank You! A possible solution for something that is worth solving. I'll put a note over there, including a paste of your message, to see what they can do. Regards, [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 23:39, 1 October 2011 (UTC)
: You are not setting {{para|frame-coord}} so it's retrieiving the coordinates from Wikidata. You have <code>|frame-coord|</code> which is acting as a positional parameter, equivalent to {{para|1|frame-coord}}. You want to use <code><nowiki>|frame-coord={{Coord|37.174167|N|113.326111|W}}</nowiki></code> which will allow you to shift the centre. —&nbsp;<span style="font-family:Arial;background:#d6ffe6;border:solid 1px;border-radius:5px;box-shadow:darkcyan 0px 1px 1px;">&nbsp;[[User:Jts1882|Jts1882]]&nbsp;&#124;[[User talk:Jts1882|&nbsp;talk]]&nbsp;</span> 14:11, 22 May 2024 (UTC)
:::Done. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 12:37, 2 October 2011 (UTC)
::::Well done, and thanks. [[User:First Light|First Light]] ([[User talk:First Light|talk]]) 14:57, 2 October 2011 (UTC)


== "Publish" is a little too quick on the draw ==
== Dis needed in [[Template:WikiProject Royalty]] ==


I've been editing the [[Houseboat]] article and once again when I tried to review my changes before publishing a few minutes ago, they got published — with no summary, because I wanted to be reminded of the things I'd done in my edits. This has happened a few times before as well.
Hmmm, how do I disambiguate royalty to [[royal family]] in [[:Template:WikiProject Royalty]]? I am not seeing it linked there... --<sub style="border:1px solid #228B22;padding:1px;">[[User:Piotrus|Piotr Konieczny aka Prokonsul Piotrus]]&#124;[[User talk:Piotrus|<font style="color:#7CFC00;background:#006400;"> talk to me</font>]]</sub> 01:51, 2 October 2011 (UTC)
: It uses {{tl|WPBannerMeta}}, which automatically generates the link (and all the rest of the box). In this case, you'd want to use {{para|MAIN_ARTICLE|<nowiki>[[Royal family|Royalty]]</nowiki>}} (if there is consensus for the change, of course). [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 02:00, 2 October 2011 (UTC)
::Similar to {{diff|Template:WikiProject Mills|prev|384604579|this edit}} which I did for WikiProject Mills over a year ago. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 12:47, 2 October 2011 (UTC)


And because these edits were major changes, including the addition of new information along with a supporting citation and the removal of some existing text for greater clarity, I'll probably get a finger wag from a senior editor about this. 🫤
== Show recent edits to pages I've edited ==


[[User:Augnablik|Augnablik]] ([[User talk:Augnablik|talk]]) 12:32, 22 May 2024 (UTC)
I'd like a page that can do something like "show me all recent edits to pages I've edited in the last n days", where "recent" is defined as "since the last time I edited that page". For bonus points, it could exclude pages where the only edits I made were marked as minor. Does anyone know of such a thing? [[User:Toohool|Toohool]] ([[User talk:Toohool|talk]]) 05:41, 2 October 2011 (UTC)
:Use " Add pages I edit to my watchlist"? [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 05:52, 2 October 2011 (UTC)
::The problem with that is that I don't want to watch those pages forever. If I leave a message on someone's talkpage, for example, I don't want to see every message that someone else leaves until forever. [[User:Toohool|Toohool]] ([[User talk:Toohool|talk]]) 06:03, 2 October 2011 (UTC)


:In [[Special:Preferences#mw-prefsection-editing]], you can select "Prompt me when entering a blank edit summary". That may help. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 12:38, 22 May 2024 (UTC)
:See [[Wikipedia:Village pump (proposals)/Archive 77#Functionality on "my contributions"]] for a discussion of [[User:Markhurd/hidetopcontrib.js]], which approaches the functionality you want.-<font face="cursive" color="#808080">[[User talk:gadfium|gadfium]]</font> 07:49, 2 October 2011 (UTC)
::Aha. Thanks ... but I wonder why we have to opt in about this, given that we're not supposed to send blank edit summaries? [[User:Augnablik|Augnablik]] ([[User talk:Augnablik|talk]]) 12:45, 22 May 2024 (UTC)
:::I recall there being a discussion about this somewhere - if my memory serves me correctly, the idea of not having this on by default is to avoid there being an extra layer of friction that may discourage newer good faith editors.
:::In any case, there is no formal obligation to provide an edit summary; rather, the edit should be explained in some manner, or be self-explanatory, something which can be achieved after the fact through talk page discussion. [[User:WindTempos|WindTempos]] <sup>([[User talk:WindTempos|talk]] • [[Special:Contributions/WindTempos|contribs]])</sup> 12:59, 22 May 2024 (UTC)
:If you have accidentally made major changes without a good edit summary and want to fix that, the standard way is to make a [[Help:Dummy edit|Dummy edit]]. —[[User:Kusma|Kusma]] ([[User talk:Kusma|talk]]) 13:08, 22 May 2024 (UTC)
::There are several keyboard actions that will trigger a save - in no particular order, they include:
::*Pressing {{keypress|Alt|Shift|S}} at any time
::*Pressing {{keypress|Enter}} when the focus is on one of: the edit summary; the "This is a minor edit" or "Watch this page" checkboxes; the {{button|Publish changes}} button
::*Pressing {{keypress|Space}} when the focus is on the {{button|Publish changes}} button
::We forget these when using a mouse all the time. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 19:56, 22 May 2024 (UTC)


== Edit Patrol on Android Wikpedia mobile app is now available on English Wikipedia and all wikis! ==
== Updating [[Template:Tel Aviv suburban railway map]] ==


We invite you to check out a [[c:File:Edit_Patrol_Demo_-_Updated_April_29_2024.webm|demonstration]] of the feature and explore more on our [[mw:Wikimedia_Apps/Team/Android/Anti_Vandalism|project page]]. If you have tried the feature, we would appreciate any feedback on our [[mw:Talk:Wikimedia_Apps/Team/Android/Anti_Vandalism|discussion page]], or your thoughts in response any of the following questions:
Recently, a new line was openned by [[Israel Railways]]. Unfortunately, I doin't quite undrstand how to edit {{tl|Tel Aviv suburban railway map}} correctly. Please update it in the following way:
# The line from [[Rishon LeZion HaRishonim Railway Station|HaRishonim ]] ends at [[Tel Aviv Savidor Central Railway Station|TA Savidor Central]].
# The line from [[Hod Hasharon Sokolov Railway Station|Hod Hasharon Sokolov]] goes to the end of Tel Aviv ([[Tel Aviv HaHagana Railway Station|Tel Aviv HaHagana]]), and then goes to the following stations (all new, not accessable):
##[[Holon Junction Railway Station]]
##[[Holon-Wolfson Railway Station]]
##[[Bat Yam-Yoseftal Railway Station]]
##[[Bat Yam-Komemiyut Railway Station]]
##[[Rishon LeZion Moshe Dayan Railway Station]]
An updated map on the company's site can be found at http://rail.co.il/HE/Stations/Map/Pages/RouteMap.aspx. [[User:Od Mishehu|עוד&nbsp;מישהו]] [[User talk:Od Mishehu|Od&nbsp;Mishehu]] 15:02, 2 October 2011 (UTC)
:{{doing}} I'll take this - I've amended many RDTs in the past. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 15:27, 2 October 2011 (UTC)
:{{done}} Five new stations, but only three new rows required. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 16:19, 2 October 2011 (UTC)


* What changes or additions would make this feature more useful to you?
== I can't access mobile.wikipedia.org since October 1, 2011. My browser gives me a parser error. ==
* Would you be interested in using this feature to patrol multiple language wikis at once?
* The feature is currently available to users with rollback rights: would you like to see this feature evolve into something that is available to a broader user group?
--[[User:ARamadan-WMF|ARamadan-WMF]] ([[User talk:ARamadan-WMF|talk]]) 10:33, 23 May 2024 (UTC)


== Sorting titles, some with appended text ==


Hello, regarding [[List of cult films: K]], it seems like the listings ''The Killer'' and ''The Killing'', both which neighbor listings that have longer titles starting with ''Killer'' or ''Killing'', wind up at the bottom of each respective group when sorting alphabetically, when they should come first, having nothing after that keyword. Am I doing something wrong? Is there a way to fix it? See for yourself [https://en.wikipedia.org/w/index.php?title=List_of_cult_films:_K&oldid=1225287867 here]. EDIT: I guess I fixed it by adding two spaces after each title, but this feels like too much of a hack. Is there a proper way to do this? [[User:Erik|Erik]]&nbsp;([[User talk:Erik|talk]]&nbsp;&#124;&nbsp;[[Special:Contributions/Erik|contrib]]) <sup>([[Template:Reply to|ping me]])</sup> 15:58, 23 May 2024 (UTC)
I am using a Samsung SCH-U430 cell phone to access the moblle version of Wikipedia. The URL that I have always used is http://mobile.wikipedia.org. All of a sudden the link won't work today, I get the error message "Parser Error".
:It probably should be using {{tl|sort}} rather than {{tl|sortname}}. The latter makes the sort key "Killer, The" because it is intended to be used with the name of a person. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 00:43, 24 May 2024 (UTC)
My phone is using Obigo Browser Q04C1-1.22 built on Apr 27 2010.
::{{ping|Erik}} The problem is that {{tl|sortname}} automatically inserts a comma. <code><nowiki>{{sortname|The|Killer}}</nowiki></code> is sorted as "Killer, The". The comma sorts after the space in "Killer Nun" while the title should logically have been sorted before. In [https://en.wikipedia.org/w/index.php?title=List_of_cult_films:_K&diff=prev&oldid=1225289007] you avoided the issue by placing spaces at the end in <code><nowiki>{{sortname|The|Killer }}</nowiki></code><code><nowiki></nowiki></code> so it sorts as "Killer&nbsp;&nbsp;, The". It works in the current implementation where spaces aren't stripped but it's not a pretty solution and other editors can easily remove the spaces without knowing the consequence. You could use <code>optional sort key</code> in {{tl|sortname}} to give "Killer" as the full sort key with no comma or "The". Should {{tl|sortname}} be changed to omit the automatic comma? Probably not. It's mostly used for people and often mixed with manually written sort keys like "Doe, John". Omitting the comma when the template is used would mess that up. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 20:03, 24 May 2024 (UTC)
I have tried other URL's such as m.wikipedia.org, en.mobile.wikipedia.org, and en.m.wikipedia.org.
:::Omitting the automatic comma wouldn't even fix this case where "Killer The" would still sort after "Killer Nun". A possibility would be for {{tl|sortname}} to add a special case where {{tlx|sortname|The|Anything}} ignores "The" and just sorts as "Anything". "The" is unlikely to be the first name of a person which should be included in the sort key. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 20:17, 24 May 2024 (UTC)
They still give me the same parser error.
::::But it's not a natural person's name right ? So why use sortname to being with ? —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:07, 24 May 2024 (UTC)
I also notice that that mobile Wikipedia site is a beta version.
:::::sortname is often used on "The", probably because it's well-known and convenient: {{search link|hastemplate:sortname insource:"sortname The"}}. I don't know how often it gives poor sorting but it's probably rare that the sorted items are close enough. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 22:33, 24 May 2024 (UTC)
Can anybody help me out to get mobile Wikipedia working again on my phone?
All my other bookmarks and other websites that I go to work as before. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/70.81.58.142|70.81.58.142]] ([[User talk:70.81.58.142|talk]]) 16:34, 2 October 2011 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
:This is because the old WAP 1.0 server (mobile.wikipedia.org) was switching to the new m.wikipedia.org mobileFrontend. This mobile frontend does support wap, but it only paginates per header, not by a fixed size. So likely the server is sending way too much data towards the user, and probably invalid WML as well, causing these errors. I think this switch should be undone, the new fronted is totally not ready to support WAP yet, as I have told the team multiple times. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:07, 2 October 2011 (UTC)

Latest revision as of 23:14, 24 May 2024

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

If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk. Discussions are automatically archived after remaining inactive for five days.

IP Information tool[edit]

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

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

This has now been split into two separate Phab issues, Phab:T355392 and Phab:T355393. CMD (talk) 01:42, 24 May 2024 (UTC)[reply]

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

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

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

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

Known limitations

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

What we would like you to do

Our request to you is exactly the same as previously:

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

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

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

Configuring Git for Gerrit[edit]

I have a sort of "hello, world" MediaWiki coding change I'd like to submit as my first-ever contribution to MediaWiki, and to get myself started and oriented with the system for submitting coding changes. If all goes well with that, I hope to follow that up with a more substantial change sometime, hopefully soon, after that. I already have a Wikimedia developer account, with accounts on MediaWiki and Wikitech. My usernames there, including my SSH access (shell) username, are the same as my English Wikipedia username. Now mw:Gerrit/Tutorial#Configure Git is telling me I need to have my "own Gerrit username". Is this a name which is unique to Gerrit, and not used anywhere else, such as the Toolforge? Also, I see on the Gerrit settings page a "Username" (is that the same as Git's "own Gerrit username"?), "Full name", and "Display name" – how are each of these used? Which of these names are used for the CREDITS page, the list that's updated by updateCredits.php? wbm1058 (talk) 20:35, 17 May 2024 (UTC)[reply]

Your Gerrit username is more properly your developer account username, which is the same as on Toolforge and other places. For those three fields, username is what you log in as, I don't think Full name is used anywhere, and display name is how your name appears on the Gerrit UI. updateCredits.php seems to parse "git log", so the name used is whatever shows up in Git, which usually is the same as one of the above but not necessarily. * Pppery * it has begun... 20:52, 17 May 2024 (UTC)[reply]
Full name is actually what's used for sign-ins via web UIs (Wikitech, Toolsadmin). "Username" is only used for SSH access (toolforge / git review). The CREDITS page uses the name from git log, which you'd set through the git config --global user.name command. – SD0001 (talk) 21:22, 17 May 2024 (UTC)[reply]
Oh, oops, aparently I'm just as confused. * Pppery * it has begun... 21:24, 17 May 2024 (UTC)[reply]
Thanks. Further complicating naming matters, I see there is an "LDAP" (Lightweight Directory Access Protocol) username. See wikitech:SRE/LDAP. Per wikitech:SRE/LDAP/Renaming users, "We do not rename users (Developer accounts) anymore. It can (and has) lead to various problems and errors all over the many separate systems which consume Developer accounts as their local databases and authentication methods will get out of sync." So I guess I'm stuck for now with the name I have (not that I want to change it). But a reason for proceeding cautiously here. I don't want to stumble into doing something irreversible that I wish I'd done differently later, after I figured out what I was actually doing, rather than signing up for it by trial and error. I don't recall seeing the mw:Developer account page before, and I think I created mine before the Create a Wikimedia developer account form was created. Today I just ran into the Bitu Identity Manager, which shows me "My LDAP properties". (see wikitech:IDM). Phabricator says my LDAP User is "Unknown". I don't know if there's a way I can personally make it known, or whether it being unknown is a problem. – wbm1058 (talk) 22:14, 17 May 2024 (UTC)[reply]
I think theres basically 2 logins. #1 is the oauth / centralauth / all wikis but wikitech one. #2 is ldap / gerrit / toolforge / wikitech. Lots of synonyms here. I forget if phabricator is one of those two, or a third one. –Novem Linguae (talk) 22:26, 17 May 2024 (UTC)[reply]
I suppose Phabricator is probably bilingual. Obviously I sign into it using my #1 because my #2 is unknown to the phabulous Phabricator. On the other hand, there must be some developers using it who may not have a #1. – wbm1058 (talk) 22:43, 17 May 2024 (UTC)[reply]
Yes, phab supports sign-in via either of the two. You can still link phab with the other account through Settings > External accounts. – SD0001 (talk) 06:21, 18 May 2024 (UTC)[reply]
Facepalm Facepalm I looked at that screen twice and all I saw was date & time settings! Thanks! Now my account is linked with all (two) available providers. – wbm1058 (talk) 10:45, 18 May 2024 (UTC)[reply]
Shout-out to @BMueller (WMF):. I watched your online presentation given at last month's conference in Portland and thought you might be interested in reading this thread. Enjoyed meeting you in Toronto last year. – wbm1058 (talk) 23:21, 17 May 2024 (UTC)[reply]
Now I just found and opened the Gerrit Code Review - User Privacy page... so Google, as well as Wikimedia, is part of the loop! layers upon layers – wbm1058 (talk) 11:29, 18 May 2024 (UTC)[reply]
Hmm, Gerrit is a Dutch male name meaning "brave with the spear", the Dutch and Frisian form of Gerard. And Gerrit (software) was authored by Google. Whereas Git was written by the guy behind Linux. Learn something new every day. wbm1058 (talk) 11:48, 18 May 2024 (UTC)[reply]
When asked why he called the new software, 'git', British slang meaning 'a rotten person', Torvalds said 'I'm an egotistical bastard, so I name all my projects after myself. First Linux, now git.' Ha! wbm1058 (talk) 12:00, 18 May 2024 (UTC)[reply]
Google is not part of the loop exactly. Google wrote the software, but it's open-source and the website https://gerrit.wikimedia.org is hosted by Wikimedia with no involvement from Google. * Pppery * it has begun... 13:23, 18 May 2024 (UTC)[reply]
More from the "I figured out what was happening only after it already happened" department. Wikimedia Code Review https://gerrit.wikimedia.org/r/settings says I registered @ Monday, May 13, 2024, 9:08:55 PM UTC-04:00 ... what? I don't recall doing anything specific to "register" there last Monday. What was I doing at that time? I thought per mw:Gerrit/Tutorial I had to configure Git in order to register for Gerrit, but here I am already registered for Gerrit, and I haven't configured Git yet! O I C. I think I was looking at a previous code review related to the task I'd decided to work on, when I noticed "Sign up" and "Sign in" links on the upper right corner of that page. Clicking "Sign up" took me to this new IDM "Create account" page to create a Wikimedia developer account. Hey, I thought, I think I already have one of those that I needed for Wikitech/Toolforge. So I left that page, and clicked "Sign in". Voila, my Wikitech password got me in. I thought I had simply logged into Gerrit, not registered for it. What I didn't realize was that the "Bitu Identity Manager" would not only sign me in, but register me as well! wbm1058 (talk) 16:12, 18 May 2024 (UTC)[reply]

SSH keys[edit]

I already have SSH keys set up for Toolforge at Toolsadmin which I use on PuTTY and WinSCP but not directly from the Windows command prompt.

mw:SSH keys seems to indicate that I can't use my Toolsadmin SSH but will need another one, set up from the Windows command prompt. Correct?

Also, regarding configuring Git personal information. The guide says "You should have to do this only once." Is that literally true, or does it mean once on my desktop and once on my laptop, if I have two machines that I might want to submit code from? wbm1058 (talk) 18:06, 18 May 2024 (UTC)[reply]

@Wbm1058 You can reuse the same SSH key across multiple projects (in this case toolsadmin and Gerrit). The tutorial assumes that you have not setup the keys before.
Regarding the configuration of Git, you will need to do it once per machine. Sohom (talk) 23:08, 18 May 2024 (UTC)[reply]
My desktop is still running Windows 7. I know, I know, long in the tooth, but I'm proud to have kept it going for 14 years and would like to make it to 15. It still works for me, for the most part. I've downloaded the production version MediaWiki 1.41.1 and have it running for debugging. I generated my SSH keys with PuTTYgen, since the Windows 7 command prompt does not support the ssh command. I suppose I'd need to use PuTTY on that machine to connect to Gerrit, as I use it to connect to the Toolforge bastion. I think I can figure that out; haven't found documentation on how to use Gerrit on a Windows 7 machine. I haven't set up SSH on my Windows 10 laptop yet (only do Toolforge from my desktop). I don't know how to copy my keys from PuTTY to the required location on Windows 10. Might be easier to generate new keys on Windows 10. I have an ssh-rsa key for Toolforge access; the documentation says to use the ed25519 type for optimum security and performance. Can I use different SSH keys on each machine? wbm1058 (talk) 16:53, 19 May 2024 (UTC)[reply]
As a matter of fact, you are kind of expected to use different keys per user per machine. That’s why all the ssh settings of toolforge and Gerrit allow you to add multiple public keys. —TheDJ (talkcontribs) 16:58, 19 May 2024 (UTC)[reply]
What TheDJ said, you are expected different SSH keys across machines. However, if you are using one machine, you can reuse the key across multiple things (I have mine on Github/Gitlab/Toolforge and Gerrit as well as a bunch of private services). Sohom (talk) 18:15, 19 May 2024 (UTC)[reply]
OK, thanks! New state-of-the-art ed25519 keys generated and installed for my Windows 10 laptop (which MSFT tells me will be unsupported after next year, and my hardware is too old to run Windows 11(.
I successfully did a git clone. I'm a bit confused by the instructions at mw:Download from Git#Download for development:
"This clones the entire MediaWiki core repository, synced to the master branch, into a sub-directory named mediawiki"
I previously installed MediaWiki 1.40.1 on my laptop last November at the Toronto wikiconference, by downloading the then-current version from mw:Download, and successfully installed that, for testing.
I want to overwrite my previous 1.40.1 installation with the new files I just git got.
The standard mediawiki directory holds core and data sub-directories.
It doesn't appear that the git download includes any data. It appears to be a core directory, which includes some extra files that aren't part of the mw:Download version. Why don't the instructions say to download to a sub-directory named core rather than a sub-directory named mediawiki?
Oh, I see. mw:Manual:Upgrading#Using Git:
If using Git, export the files into a clean location, and then copy the old customized files into the new location as described in the previous section.
You will also need to install some external PHP libraries using Composer or a provided collection maintained for the Wikimedia wiki farm. More details on installing and updating external libraries can be found in the Git download documentation
So, for some reason, although I can test using 1.40.1 without having any PHP problems, I'll need to figure out this "Composer" thing in order to do development testing.
Hopefully it's not a problem that I'm running the PHP 8.2.12 Development Server – wbm1058 (talk) 23:11, 19 May 2024 (UTC)[reply]
I think all mediawiki unit tests are passing on php 8.1. Not sure about php 8.2. May want to switch to 8.1 to prevent hard to diagnose bugs. –Novem Linguae (talk) 00:45, 20 May 2024 (UTC)[reply]
The tests pass on php 8.2 as well [1], – SD0001 (talk) 12:16, 20 May 2024 (UTC)[reply]

Composer[edit]

c:\php\mediawiki\core>php maintenance/run.php update.php
Error: You are missing some external dependencies.
MediaWiki has external dependencies that need to be installed via Composer or from a separate repository. Please see
https://www.mediawiki.org/wiki/Manual:Installation_requirements#PHP and
https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
for help on installing the required components.

I don't think submodules is what you need. The php maintenance/run.php update.php script just wants you to composer install in the mediawiki directory, that should download the required directories. Sohom (talk) 14:34, 20 May 2024 (UTC)[reply]
Indeed only the second link is relevant here. I'm clarifying this message in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1034113. Thanks for writing all of this up, it's helpful to see things from a different perspective sometimes. Matma Rex talk 16:07, 20 May 2024 (UTC)[reply]

c:\php\mediawiki>composer update --no-dev
Composer could not find a composer.json file in c:\php\mediawiki To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

I'm going to reboot my machine and try again. Composer install warned me that I might have a PATH problem. wbm1058 (talk) 15:56, 20 May 2024 (UTC)[reply]
Judging by your previous comments, you're just not in the directory that Composer expects – try going to c:\php\mediawiki\core, where you (and Composer) should find the composer.json file. Matma Rex talk 16:09, 20 May 2024 (UTC)[reply]
Yes, thanks, that was it. Once again the instructions misled me: "then run composer update --no-dev from your MediaWiki core directory." It's still running. This step takes significant time! wbm1058 (talk) 16:20, 20 May 2024 (UTC)[reply]
I think it worked. The console log is long, with a pile of "failed to download" warning messages, but it appears to have successfully worked around all of them. Here's the end of the log, showing just the last 3 of many installations:
  - Installing wikimedia/timestamp (v4.1.1): Cloning 138f3099b4 from cache
  - Installing wikimedia/xmp-reader (0.9.1): Cloning 8338d67969 from cache
  - Installing zordius/lightncandy (v1.2.6): Cloning b451f73e8b from cache
44 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
11 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> MediaWiki\Composer\ComposerVendorHtaccessCreator::onEvent
No security vulnerability advisories found.

I think I'm ready to try running update.php again. – wbm1058 (talk) 16:51, 20 May 2024 (UTC)[reply]

c:\php\mediawiki\core>php maintenance/run.php update.php
Error: The MinervaNeue skin cannot be loaded. Check that all of its files are installed properly.

  1. 0 C:\php\mediawiki\core\includes\GlobalFunctions.php(91): ExtensionRegistry->queue('C:\\php\\mediawik...')
  2. 1 C:\php\mediawiki\core\LocalSettings.php(166): wfLoadSkin('MinervaNeue')
  3. 2 C:\php\mediawiki\core\includes\Setup.php(216): require_once('C:\\php\\mediawik...')
  4. 3 C:\php\mediawiki\core\maintenance\run.php(49): require_once('C:\\php\\mediawik...')
  5. 4 {main}

PHP Fatal error: Error Loading extension. Unable to open file C:\php\mediawiki\core/skins/MinervaNeue/skin.json: filemtime(): stat failed for C:\php\mediawiki\core/skins/MinervaNeue/skin.json in C:\php\mediawiki\core\includes\registration\MissingExtensionException.php on line 96 Fatal error: Error Loading extension. Unable to open file C:\php\mediawiki\core/skins/MinervaNeue/skin.json: filemtime(): stat failed for C:\php\mediawiki\core/skins/MinervaNeue/skin.json in C:\php\mediawiki\core\includes\registration\MissingExtensionException.php on line 96

Sigh. I didn't need no extensions when testing changes to the official release core page-moving functions. Now I do. – wbm1058 (talk) 18:04, 20 May 2024 (UTC)[reply]
You shouldn't need any extensions to run MediaWiki core. It's only trying to load the MinervaNeue skin, because you have a line in your LocalSettings.php like wfLoadSkin('MinervaNeue'); (maybe you copied it from your previous installation?). You can remove it or comment it out if you don't want it.
If you do want it, then you can install the skin using Git similarly to how you installed MediaWiki, just replacing the path in the git clone command: instead of mediawiki/core, use mediawiki/skins/MinervaNeue (and make sure to put it in the skins directory, where MediaWiki is looking for it). Similarly for all other skins and extensions. Matma Rex talk 18:13, 20 May 2024 (UTC)[reply]
Thanks! I just used the default LocalSettings.php that came with the release-version installation. Figuring I only need one skin, I just copied the folder from my backup of the release version, and commented out the others. That did the trick, and the database update looks like it ran successfully. – wbm1058 (talk) 20:28, 20 May 2024 (UTC)[reply]

MediaWiki internal error.

Original exception: [6d2f7f0574eb09bb447c9687] /index.php/Main_Page Error: Class "ResourceLoaderSkinModule" not found
Backtrace:
from C:\php\mediawiki\core\includes\ResourceLoader\ResourceLoader.php(417)

Another missing piece. The console log looks good, but this come up on the webpage. – wbm1058 (talk) 21:04, 20 May 2024 (UTC)[reply]

Did you git clone, composer install, and npm ci inside your default skin? Probably skins/Vector –Novem Linguae (talk) 21:17, 20 May 2024 (UTC)[reply]
The ResourceLoaderSkinModule class was recently renamed (gerrit:994854). It seems that you've just updated your MediaWiki to a version that doesn't have it any more, but one of your skins is an older version that is still using it. This will occasionally happen with skins and extensions.
If you've already installed the skin from Git, running git pull in the affected skin's repository should fix it. If you haven't, it's probably best if you do :) but you can also remove it from LocalSettings.php, or download the latest master snapshot from SkinDistributor/ExtensionDistributor. Matma Rex talk 21:51, 20 May 2024 (UTC)[reply]
Thanks for the nice, detailed response. mw:Special:SkinDistributor/Vector even offers the "master (latest development version)" but https://extdist.wmflabs.org/dist/skins/Vector-master-685a02f.tar.gz gives me a 404 Not Found error. I'll just figure out how to git it the preferred way ) wbm1058 (talk) 00:23, 21 May 2024 (UTC)[reply]
Weird, that link works for me now. Maybe it took a few minutes to generate. Matma Rex talk 00:35, 21 May 2024 (UTC)[reply]
Indeed. Just worked for me too. But rather than tinker with telling my Windows how to unzip that "gz" file ("Look for an app in the Miocrosoft Store"?!), I'm going to mw:Download from Git#Using Git to download MediaWiki skins.
Follow the exact same procedure as for extensions (described in the previous section), but using skins rather than extensions in all URLs and paths. wbm1058 (talk) 01:01, 21 May 2024 (UTC)[reply]

c:\php\mediawiki\core\skins>git clone https://gerrit.wikimedia.org/r/mediawiki/skins/Vector
Cloning into 'Vector'...
Enter passphrase for key '/c/Users/Bill/.ssh/id_ed25519':
remote: Counting objects: 99, done
remote: Finding sources: 100% (94/94)
remote: Getting sizes: 100% (70/70)
remote: Compressing objects: 100% (1041262/1041262)
remote: Total 37958 (delta 29), reused 37891 (delta 9)
Receiving objects: 100% (37958/37958), 11.37 MiB | 8.91 MiB/s, done.
Resolving deltas: 100% (28242/28242), done.

c:\php\mediawiki\core\skins>

Appears to have worked. – wbm1058 (talk) 01:17, 21 May 2024 (UTC)[reply]

 Done. Success. I have a development environment which seems to be operating identically with the official-release environment I just replaced. Tomorrow I move to the next step. Make minor "hello, world!" type changes in two files, and then figure out how to submit them for review. FYI, the project I'm working on, where I hope to make more substantial enhancements soon, is discussed on my talk: User talk:Wbm1058#My MediaWiki core developers thread. – wbm1058 (talk) 01:40, 21 May 2024 (UTC)[reply]

mw:Local development quickstart[edit]

It's just that the way you have cloned the repo is unconventional. mediawiki/core should be cloned to a directory named "mediawiki", not "core".
I think you will have a lot easier time going through mw:Local development quickstart instead, which unfortunately isn't advertised more prominently. You may want to discard the existing mediawiki install and use the quick start. You have already done step 1, so start with step 2. It's easy! – SD0001 (talk) 16:40, 20 May 2024 (UTC)[reply]
That "quick start" page has stuff I've already done previously, and insufficient info about stuff I needed to do.
I've had an "official release" version installed on my laptop since November. It makes a lot of sense to me to have started that way, because as complicated as installing the official release was, installing the developers' version is way more complicated yet.
  • I've had PHP installed directly on Windows for over a decade now. My bots use that.
  • There was no need for me to update my php.ini file to load the required PHP extensions. I already did that a long time ago. The problem is that this "composer" system basically "ignores" that, it seems to me.
  • It just says to "use Git" to clone the core, as if that's easy. No it wasn't. See above for what steps I went through to figure it out.
  • I installed SQLite already last year; I don't need to do that again.
  • I already knew how to start my server, though I was told by someone to use "localhost:80" in Boston in 2019, not "localhost:4000". I don't know whether it matters which number I use there.
What I need is a "quickstart" page for upgrading from an "official release" version to the developers' version. – wbm1058 (talk) 17:28, 20 May 2024 (UTC)[reply]
1 and 2. yes I said as much - you have already done step 1.
3. There's no need to configure git before cloning repos. The steps from mw:Gerrit/Tutorial#Configure_Git are only to prepare for pushing changes.
4. composer mw-install:sqlite is not for installing sqlite (not required). Instead it initialises MediaWiki itself with sqlite as the db backend. This is a shortcut to avoid going through the web installer.
5. Running something on port 80 is only advisable on linux. On Windows/macOS, it's better to use a non-reserved port (> 1023) to avoid issues with firewalls.
What I need is a "quickstart" page for upgrading from an "official release" version to the developers' version. The easiest way to do that is to delete or forget about the release version and setup the developers' version from scratch. – SD0001 (talk) 17:56, 20 May 2024 (UTC)[reply]
What I did need to do before cloning was download and install Git, and setup SSH to use it. None of that was necessary to download and install the release version, which makes installing the release version an easier task.
Oh I see. a shortcut to avoid going through the web installer... well, now I know. I was wondering how that was done. But now, water under the bridge. I'd like to keep the database I started last year, for sentimental reasons, and just upgrade. I think upgrading should be easier than installing from scratch every time.
I've noted that my server runs really slowly on my system. Wrote that off as bloatware overwhelming my 14-year old processor, but, now that you mention it, could be a symptom of firewall intervention. I'll switch to port 4000 and see whether that runs faster.
I also noticed mw:Gerrit/Tutorial/tl;dr, and have kept that open in another browser window for comparison and reference. – wbm1058 (talk) 20:17, 20 May 2024 (UTC)[reply]

git-review[edit]

Running command as an administrator:

Microsoft Windows [Version 10.0.19045.4412] (c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>pip install git-review
Collecting git-review

Downloading git_review-2.4.0-py3-none-any.whl.metadata (2.0 kB)

Collecting requests>=1.1 (from git-review)

Downloading requests-2.32.1-py3-none-any.whl.metadata (4.6 kB)

Collecting charset-normalizer<4,>=2 (from requests>=1.1->git-review)

Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)

Collecting idna<4,>=2.5 (from requests>=1.1->git-review)

Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)

Collecting urllib3<3,>=1.21.1 (from requests>=1.1->git-review)

Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)

Collecting certifi>=2017.4.17 (from requests>=1.1->git-review)

Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)

Downloading git_review-2.4.0-py3-none-any.whl (52 kB)

---------------------------------------- 52.9/52.9 kB 547.6 kB/s eta 0:00:00

Downloading requests-2.32.1-py3-none-any.whl (63 kB)

---------------------------------------- 63.7/63.7 kB 862.4 kB/s eta 0:00:00

Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)

---------------------------------------- 163.8/163.8 kB 2.0 MB/s eta 0:00:00

Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB)

---------------------------------------- 100.4/100.4 kB 1.2 MB/s eta 0:00:00

Downloading idna-3.7-py3-none-any.whl (66 kB)

---------------------------------------- 66.8/66.8 kB 725.6 kB/s eta 0:00:00

Downloading urllib3-2.2.1-py3-none-any.whl (121 kB)

---------------------------------------- 121.1/121.1 kB 1.8 MB/s eta 0:00:00

Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests, git-review
Successfully installed certifi-2024.2.2 charset-normalizer-3.3.2 git-review-2.4.0 idna-3.7 requests-2.32.1 urllib3-2.2.1

Per instructed at mw:Gerrit/Tutorial#Setting up git-review:

c:\php\mediawiki\core>git review -s --verbose
git: 'review' is not a git command. See 'git --help'.

c:\php\mediawiki\core>git-review -s --verbose
'git-review' is not recognized as an internal or external command, operable program or batch file.

?? – wbm1058 (talk) 14:09, 21 May 2024 (UTC)[reply]

It looks like the directory where git-review got installed is not in your %PATH% environment variable. First of all, try closing the command-line window and opening it again, and retry – maybe it is just seeing outdated env variables.
If that doesn't help, you'll need to change that env variable, the option to do that is somewhere in your operating system settings. Add the directory where git-review is, probably something like like C:/Python310/Scripts/ (that's where it is on my machine). Note that you need to open a new command-line window every time for the changes to take effect when testing.
(If I recall, there's a checkbox to do that automatically when you install Python, which you may have left unchecked. You can also try reinstalling Python and finding that checkbox.) Matma Rex talk 15:04, 21 May 2024 (UTC)[reply]
Yes, I checked the box on the Python installation. Closing my command window and opening a new one did the trick, of course. The instructions could explicitly say to do that. Thanks again for all your help – wbm1058 (talk) 15:20, 21 May 2024 (UTC)[reply]
  • That directory has a .gitreview file in it, with the following content:

host=gerrit.wikimedia.org
port=29418
project=mediawiki/core.git
track=1
defaultrebase=0

Is that good? wbm1058 (talk) 14:58, 21 May 2024 (UTC)[reply]

review installation log[edit]

c:\php\mediawiki\core>git review -s --verbose
2024-05-21 11:12:37.452765 Running: git config --get gitreview.remote
2024-05-21 11:12:37.468379 ... gitreview.remote = origin
2024-05-21 11:12:37.468379 Config['remote'] = origin
2024-05-21 11:12:37.468379 Running: git config --get gitreview.branchauthor
2024-05-21 11:12:37.499631 Config['branchauthor'] = name
2024-05-21 11:12:37.499631 Running: git symbolic-ref -q HEAD
2024-05-21 11:12:37.530879 Running: git for-each-ref --format=%(upstream) refs/heads/master
Following tracked origin/master rather than default origin/master
2024-05-21 11:12:37.609011 Running: git config --get gitreview.scheme
2024-05-21 11:12:37.671503 Config['scheme'] = ssh
2024-05-21 11:12:37.671503 Running: git config --get gitreview.hostname
2024-05-21 11:12:37.687125 Config['hostname'] = gerrit.wikimedia.org
2024-05-21 11:12:37.687125 Running: git config --get gitreview.port
2024-05-21 11:12:37.718370 Config['port'] = 29418
2024-05-21 11:12:37.718370 Running: git config --get gitreview.project
2024-05-21 11:12:37.749619 Config['project'] = mediawiki/core.git
2024-05-21 11:12:37.749619 Running: git log --color=never --oneline HEAD^1..HEAD
2024-05-21 11:12:38.687096 Running: git remote
2024-05-21 11:12:38.765224 Running: git branch -a --color=never
2024-05-21 11:12:38.890218 Running: git rev-parse --show-toplevel --git-dir
2024-05-21 11:12:38.937083 Running: git config --get core.hooksPath
2024-05-21 11:12:38.983962 Running: git config --get core.hooksPath
2024-05-21 11:12:39.015203 Running: git submodule foreach cp -p .git\hooks\commit-msg "$(git rev-parse --git-dir)/hooks/"

c:\php\mediawiki\core>

I don't see the "found origin push URL" and "fetching commit hook" that the instructions said I should see. – wbm1058 (talk) 15:47, 21 May 2024 (UTC)[reply]

The instructions are probably outdated and everything is probably okay. git-review is being somewhat actively developed, and the example output in mw:Gerrit/Tutorial#Setting_up_git-review has a 2019 date. If it didn't work, you'll find out later if you get an error complaining about a missing Change-Id line. Matma Rex talk 20:57, 21 May 2024 (UTC)[reply]

I don't know whether that's a problem or not, but I proceeded as if it wasn't.

c:\php\mediawiki\core>git pull --rebase origin master
Enter passphrase for key '/c/Users/Bill/.ssh/id_ed25519':
remote: Counting objects: 11860, done
remote: Finding sources: 100% (60/60)
remote: Getting sizes: 100% (26/26)
remote: Compressing objects: 100% (108354/108354)
remote: Total 60 (delta 35), reused 35 (delta 28)
Unpacking objects: 100% (60/60), 36.46 KiB | 13.00 KiB/s, done.
From ssh://gerrit.wikimedia.org:29418/mediawiki/core

* branch master -> FETCH_HEAD
2d68215ff7a..25895192125 master -> origin/master

Successfully rebased and updated refs/heads/T12814-hello.

c:\php\mediawiki\core>git review -R
wbm1058@gerrit.wikimedia.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

If you get a Permission denied (publickey). fatal: Could not read from remote repository., review the instructions at mw:SSH keys#Add SSH Private key to use with Git to make sure your ssh agent is running and your identity is added. If you close your Git Bash shell, you will be signed out and need to re-follow these instructions each time.

c:\php\mediawiki\core>eval `ssh-agent`
'eval' is not recognized as an internal or external command,
operable program or batch file.

Is there a way to run git bash from the Windows cmd prompt?

Inside a git bash window:

Bill@Mobile-laptouch MINGW64 ~
$ eval `ssh-agent`
Agent pid 272

Bill@Mobile-laptouch MINGW64 ~
$ ssh-add ~/.ssh/id_ed25519
Enter passphrase for /c/Users/Bill/.ssh/id_ed25519:
Identity added: /c/Users/Bill/.ssh/id_ed25519 (wbm1058-wikipedia@yahoo.com)

Then I went back to Windows command window, tried "review" again, and still got the "permission denied" error. – wbm1058 (talk) 20:28, 21 May 2024 (UTC)[reply]

I haven't seen this exact error before, and your setup is rather different from mine, so this is a guess, but: the eval `ssh-agent` command actually works by setting environment variables, which everything else on your system can read to access the SSH agent. Maybe you just need to close and reopen the command prompt window again, so that it sees the new env variables? Matma Rex talk 21:02, 21 May 2024 (UTC)[reply]
"Is there a way to run git bash from the Windows cmd prompt?" You can run something like "C:\Program Files\Git\usr\bin\bash.exe" from the command prompt, and it will run, but this is unlikely to do anything good. It will probably be confused about text encodings, file paths, and ANSI escape codes. (On Windows 10, they're slightly less incompatible.) Can you say why you want to do it? Matma Rex talk 21:15, 21 May 2024 (UTC)[reply]
(edit conflict) I just tried doing it from my git bash window instead of command prompt...

Bill@Mobile-laptouch MINGW64 /c/php/mediawiki/core (T12814-hello)
$ git review -R
remote:
remote: Processing changes: new: 1 (\)
remote: Processing changes: new: 1 (|)
remote: Processing changes: new: 1 (/)
remote: Processing changes: new: 1 (-)
remote: Processing changes: new: 1 (\)
remote: Processing changes: new: 1 (|)
remote: Processing changes: refs: 1, new: 1 (|)
remote: Processing changes: refs: 1, new: 1 (|)
remote: Processing changes: refs: 1, new: 1, done
remote:
remote: SUCCESS
remote:
remote: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1034588 Show the page name on the MovePage checkbox for "Yes, delete the page" [NEW]
remote:
To ssh://gerrit.wikimedia.org:29418/mediawiki/core.git

* [new reference] HEAD -> refs/for/master%topic=T12814-hello

I guess that worked?! wbm1058 (talk) 21:11, 21 May 2024 (UTC)[reply]

Yep, that worked. * Pppery * it has begun... 21:15, 21 May 2024 (UTC)[reply]
Yeah, just doing everything from the Git Bash window is probably the best way to have the least amount of weird issues. Matma Rex talk 21:16, 21 May 2024 (UTC)[reply]
Time for a lager! Cheers! :) wbm1058 (talk) 21:25, 21 May 2024 (UTC)[reply]

Rebase[edit]

Matma Rex, responding to your request at code review to edit another file. Per the instructions at mw:Gerrit/Tutorial#Rebasing, I clicked on the REBASE button in Gerrit's web interface, and it responded with a "Confirm rebase" box with radio buttons for "Rebase on top of the master branch" or "Rebase on a specfic change, ref, or commit". I'm unclear on which I should choose, and whether to check the "Allow rebase with conflicts" box. "It's best to make rebase updates a separate patch, so that your code reviewers have an easy time seeing what changes you've made."

"Hard reset and checkout the change with this command: (BEWARE: git review -d performs a hard reset that destroys all local changes. Stash or commit changes first which you wish to preserve!)" – what is meant by "stash" a change? That term only appears that one place on that page; it's not defined there. – wbm1058 (talk) 21:22, 22 May 2024 (UTC)[reply]

That patch doesn't have a merge conflict so you don't need to worry about rebasing it at all. And "stash" in that context refers to the git stash command. * Pppery * it has begun... 23:17, 22 May 2024 (UTC)[reply]
Don't I want to amend / add a file to my existing commit rather than add a second commit to my existing branch? Branches and commits, I'm still not comfortable with the terminology and how they fit together.
Funny, when I entered 'git' to get the usage and list of "common git commands" it didn't list "stash". – wbm1058 (talk) 00:46, 23 May 2024 (UTC)[reply]
For gerrit and git review, yes. For patchset 2 or higher, you'll want to git stage, then git commit --amend, then git review -R –Novem Linguae (talk) 02:13, 23 May 2024 (UTC)[reply]
Ack, though I see the term "stage" several times in mw:Gerrit/Tutorial, I don't see any explicit "git stage" command. Oh (looking it up), that's a synonym for "git add".
I was looking at mw:Gerrit/Tutorial#Amending a change (your own or someone else's), and mw:Gerrit/Tutorial#Rebasing is a subsection of that section. The way I'm reading it, it implies that rebasing is a mandatory, not optional, step that's part of the "amending a change" process.
Oh, I see. the --amend tells it to amend my first commit rather than add a second commit. – wbm1058 (talk) 03:02, 23 May 2024 (UTC)[reply]
I think if you do git review without the -R, it will auto rebase. But i was taught not to auto rebase, and just to do it manually when needed. –Novem Linguae (talk) 03:05, 23 May 2024 (UTC)[reply]
I think a few things on that tutorial page are outdated – both Gerrit and git-review have had some changes related to rebases since it was written, and they mostly removed the footguns that this page tries to teach you to avoid. I'll have to read it more carefully and update it. Generally, you shouldn't have to think about rebasing, or do anything to avoid it, or click the "Rebase" button, unless you see an error somewhere telling you that there is a merge conflict in your change. Matma Rex talk 15:48, 23 May 2024 (UTC)[reply]
Thanks, that makes sense. In baseball, a runner taking a big lead off first base sometimes needs to rebase when he sees a pitch conflict (pitch going to first base rather than home plate). Ha! wbm1058 (talk) 17:14, 23 May 2024 (UTC)[reply]
I removed all of the bad and outdated advice from that section: [2][3][4][5] and added some good advice instead: [6]. Hope that helps explain it. I concede that it is not entirely unlike baseball. Matma Rex talk 23:14, 24 May 2024 (UTC)[reply]

Page misbehaving in search results[edit]

I use this search query to see pages tagged for speedy deletion. For several days it has returned BBL Drizzy as a result even though that page is not tagged for deletion. The search results say it was last edited at 01:12 on 13 May 2024, which corresponds with Special:Diff/1223572833 (now in the history of Draft:BBL Drizzy). Purging or null-editing either the article or the draft will make it disappear from the results temporarily, but so far it's always come back shortly thereafter. Today I tried deleting and undeleting the pages, but this didn't help either. Any suggestions? (This query brings up strange results too, for what it's worth.) Extraordinary Writ (talk) 03:01, 19 May 2024 (UTC)[reply]

I don't experience this. BBL Drizzy is not a result for the first query, and the last query only brings up BBL Drizzy (last edited 19:04, 18 May 2024). – 2804:F1...7F:938A (talk) 03:15, 19 May 2024 (UTC)[reply]
Strange. The second query returns this for me, and some fiddling around at this site (pick Australia, Indonesia, India, etc.) suggests I'm not alone. Extraordinary Writ (talk) 03:40, 19 May 2024 (UTC)[reply]
I've been seeing some outdated search results also related particularly to a couple page moves that got done between when the search was crafted and when my fix was made. Particularly, in this search I'm seeing Draft:Peter the Great Interrogating the Tsarevich Alexei Petrovich at Peterhof and Draft:Ellen Webster Palmer when I hit one or another of the data centers (which I assume is at least part of the problem), but at least once I've gotten a search not to return those two, because neither are drafts any longer nor do either carry the problem that makes them show up in this search. Izno (talk) 20:36, 19 May 2024 (UTC)[reply]

The Appearance menu and new default standard font size will be available for logged-out users[edit]

Hi everyone! We are the Wikimedia Foundation Web team. We work on making it easier to read Wikimedia projects as part of the objective "Reading and media experience" of the current year’s annual plan. To achieve this goal, we have introduced the "Accessibility for Reading" beta feature. It adds a menu which works on the Vector 2022 skin and allows logged-in users to choose different font sizes and color schemes based on individual needs.

The menu introduces a new Standard font setting. It slightly increases the size and height of the font. It was selected based on multiple sources. You will find more information on this in the section "About the new Standard font setting". As we announced last week, we are now ready to begin bringing some of these feature out of beta and making them available to more people.

What will change

  • We are now ready to make the new Appearance menu available for logged-out and logged-in users.
  • At the same time, we will also make the Standard option the new default for logged-out users only.
  • If no breaking technical issues are found, we plan on making this change within the next three weeks.
  • Later, this menu will also include the option to select dark mode, which for the time being will remain a beta feature. For more information, check out our project page.

About the menu

The new menu will allow logged-in and logged-out users to set preferences for:

  1. Text size and line height (available now as the beta feature): Users will be able to choose between the Small (current default), Standard (recommended for better accessibility), and Large options. Selecting an option will change both the font size and line height of the text.
  2. Dark mode (available now as the beta feature): Users will be able to choose to see the site in night mode on a permanent basis, or select an "automatic" setting which will set day or night mode based on the device or browser preferences.
  3. Content width (previously available as a toggle button): We have moved the content width toggle from an icon at the bottom of the page to a labeled radio button in the new menu. It will work exactly the same as the toggle. The previous toggle button will no longer be available.

This menu has been tested as a beta feature by logged-in users across wikis as well as in user testing with readers. Based on the findings of these tests, we changed the menu to improve discoverability and ease of use, and to accommodate gadget compatibility.

The menu will appear to the right of the page, immediately under the Tools menu if that has been pinned. Unlike the Tools menu, the Appearance menu is pinned by default, but can be unpinned. Once unpinned, it collapses under an icon at the top of the page.

About the new Standard font setting

The "Small" option is the current default. We will be changing this default to "Standard" for logged-out users, while keeping "Small" as the default for logged-in users. The "Standard" and "Large" options were built and tested based on the following:

  • Academic studies and recommendations for the best average font size for the majority of readers. These recommendations stated that our current size is too small for the majority of people to read comfortably. This means that on average, people read more slowly, strain their eyes while reading, or have difficulty clearly seeing the text. Increasing the font size by default improves these issues for all users, including users who might not have sufficient time to spend adjusting a setting via the appearance menu or browser. Information density is also important, which is why we wanted to increase font size without sacrificing information density. We have achieved this by changing not only font size, but also line height and paragraph spacing.
  • Designs submitted by more than 630 Wikipedians from across 13 wikis of different languages, scripts, and sizes. The majority (~450) of these users opted for a font size that was larger than the default. "Standard" represents the average of the most popular cluster of responses (15-20 pixels). "Large" represents the need for an even larger option, as represented by the cluster of sizes between 21-26 pixels. You can read more on how we included volunteers in the process and landed on these options.
  • Beta feature usage showed that the majority of users who interact with the feature at least once opt for a font size that is larger than the current default.

Our works so far and next steps

Logged-in users will remain with the "small" setting for the time being as their default, but can change to any other setting at any time. In a few months, we will study how many logged-in users switch to standard and start a conversation on whether it makes sense for logged-in users to make the switch as well. From the early data from the beta feature, 55% of sessions who interacted with the feature chose to use a setting that was standard or larger.

If you'd like to help, we have a few simple requests for you:

  1. Please, turn on the beta feature ("Accessibility for Reading (Vector 2022)")
  2. Try out the new menu. Is anything confusing? Do you understand all the labels and how the menu works?
  3. Try out the small, standard, and large sizes, the color schemes, and the width toggle. Reach out to us if you notice any bugs, or have questions or concerns.

If you'd like to learn more about the project, see our FAQ. Comments and questions are most welcome. Thank you! OVasileva (WMF) and SGrabarczuk (WMF) (talk) 13:58, 20 May 2024 (UTC)[reply]

Wikilinks to `((RSS))` article are broken[edit]

I noticed this at Aaron Swartz and Web feed: links to the article on the web feed format RSS (link here > RSS <) are not displaying on Wikipedia articles

Type "[[RSS]]" for "RSS" and it displays as "" for me. PK-WIKI (talk) 19:19, 20 May 2024 (UTC)[reply]

Works for me: RSS * Pppery * it has begun... 19:57, 20 May 2024 (UTC)[reply]
The link displays and works normally for me in all five tested browsers. It sounds like something in your browser is messing with the link, maybe an extension for RSS feeds. PrimeHunter (talk) 20:08, 20 May 2024 (UTC)[reply]
 Resolved Thanks, didn't even think that text on Wikipedia would be targeted by a content blocker. 1Blocker "Block Annoyances" setting responsible. PK-WIKI (talk) 20:21, 20 May 2024 (UTC)[reply]

Strange CSS behavior[edit]

I recently noticed that the CSS style background:transparent seems to turn the text color dark gray when combined with the class thumbinner and viewed through the beta vector night mode. Does anyone know why this happens? Andumé (talk) 20:12, 20 May 2024 (UTC)[reply]

The text color generally is a dark grey. Can you be more specific ? —TheDJ (talkcontribs) 09:58, 21 May 2024 (UTC)[reply]
In general however, if you define a background color, you should ALWAYS define a text color and vice versa, if you want to avoid problems with night/dark mode. —TheDJ (talkcontribs) 10:00, 21 May 2024 (UTC)[reply]
In dark mode, there is some blanket CSS for "it has a background but is relying on inherited color" which obviously doesn't work in a lot of places. Izno (talk) 17:13, 21 May 2024 (UTC)[reply]

My script (I use Vector 2022) stopped working this week[edit]

Link classifier missing in Vector 2022[edit]

The Link Classifier which if I recall is maintained by Anomie has disappeared from my Vector (2022) skin. I use this frequently and have just now noticed it, so I is likely something very recent. I switched back to Vector (2010) just to check and it was still available there. Any suggestions about how to get this back in Vector (2022)? olderwiser 21:29, 20 May 2024 (UTC)[reply]

WMF has recently changed the software so that in Vector 2022 personal Javascript/CSS are loaded only from Special:MyPage/vector-2022.js and Special:MyPage/vector-2022.css. You are loading it only in Special:MyPage/vector.js. You will need to copy whatever you want from there to the vector-2022 version, or to your Common.js at Special:MyPage/common.js (which is the best place for it - scripts are/should be responsible for loading where they should; styles may vary more so they may not be as obvious to move). Remove it from vector.js if you add it to common.js. Izno (talk) 22:06, 20 May 2024 (UTC)[reply]
Thank you. That worked. olderwiser 23:40, 20 May 2024 (UTC)[reply]
Thanks, this probably should solve the above problem as well. I will try later today. Ymblanter (talk) 08:36, 21 May 2024 (UTC)[reply]
Copied Ymblanter's comment from above:

Not sure whether it is related but I am using one of the user scripts (do not have time now to search which one) which, in particular, highlights in pink pages proposed for deletion. The highlighting is gone today (checked on two different devices, different browsers), which gives me a HUGE headache for CFD handling. Ymblanter (talk) 08:35, 21 May 2024 (UTC)

Izno (talk) 17:09, 21 May 2024 (UTC)[reply]

Prompt for edit summary on rollback from watchlist?[edit]

Hi there, long time fan, first time caller...

I very much like having a link on my watchlist page that will allow me to perform rollback while prompting me for a custom edit summary. My JS pages were a bit of a mess, but I believe I'd been using User:Nageh/rollbackSum.js for this purpose.

Earlier this week the 'sum' links provided by that script disappeared for me. Nageh (talk · contribs) hasn't edited since 2014 and, while I tried a few other scripts that I found, none of them seemed to re-add such a link to my watchlist either. Has something changed that makes this no longer possible? The ability to add a custom edit summary when doing rollback from my watchlist is very valuable to me, so it would be a shame if the upshot was that this simply is no longer possible. Thanks for your help! DonIago (talk) 03:43, 24 May 2024 (UTC)[reply]

@Doniago, see section header of which I've made your question a subsection. Izno (talk) 15:27, 24 May 2024 (UTC)[reply]
Thanks Izno. I've tried copying a version of rollback.js to my common.js page with no evident change at this time. DonIago (talk) 16:12, 24 May 2024 (UTC)[reply]
The line above it has no ; and misspells importScript with a lowercase s. This may or may not cause issues. Izno (talk) 16:32, 24 May 2024 (UTC)[reply]
Thanks Izno! I'm not sure which of the changes I made per your notes fixed it, but it seems to be fixed! DonIago (talk) 16:55, 24 May 2024 (UTC)[reply]

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]

Where is the code for an info-box? Where does it go?[edit]

I'm trying to create some info-boxes on a small hobby wiki. It had been running fine on "freewiki.in" but that domain disappeared last year. I've re-created it on a domain I control using MediaWiki v1.41.1. I've put up all the article text from .XML backups, but all the formatting is gone.
The software manual at https://www.mediawiki.org/wiki/Global_templates/Taxonomy explains how to use {{ambox}} but not the code required for it to work. It sends me to Wikipedia, to https://en.wikipedia.org/wiki/Module:Message_box. That, finally, has 600+ lines of code.
Where does this code go? Somewhere on the wiki? Somewhere on the server in one of the .PHP files? There's gotta be a step-by-step procedure somewhere but I can't find it. And I'm not about to do my experimenting here on Wikipedia...
Answers can be here, if this is of general interest. If not, I'd be perfectly happy getting help at my talk page. SandyJax (talk) 13:05, 21 May 2024 (UTC)[reply]

It goes exactly where it is here, on the page Module:Message box. Snowmanonahoe (talk · contribs · typos) 16:42, 21 May 2024 (UTC)[reply]
... but otherwise requires only the use of mw:Extension:Scribunto and mw:Extension:TemplateStyles. Izno (talk) 17:08, 21 May 2024 (UTC)[reply]
If you preview code, e.g. an infobox call, then the bottom of the window shows all transcluded templates and modules at "Templates used in this preview". It can be a long list, and the list can change if the same template is called with different parameters or circumstances (e.g. the namespace it's called from). Some of the infobox styling in the English Wikipedia is in MediaWiki:Common.css which is not listed at "Templates used in this preview" since it's not transcluded but used in another way. PrimeHunter (talk) 18:30, 21 May 2024 (UTC)[reply]

Template dagger malfunctioning[edit]

Resolved

Immediate assistance required because template:dagger currently outing this †. Anoop Bhatia (talk) 01:14, 22 May 2024 (UTC)[reply]

Link to an edit request about it: Template talk:Dagger#Template-protected edit request on 22 May 2024. – 2804:F1...10:A60F (talk) 02:37, 22 May 2024 (UTC)[reply]
It is not malfunctioning, it is doing what it is supposed to do, to notify everyone about the ongoing discussion. But I can see how this can be disruptive to the reading experience when it is being used multiple times within a short space, i.e. at Atlanta Braves#Braves Hall of Fame. – robertsky (talk) 03:45, 22 May 2024 (UTC)[reply]
@Robertsky: Thanks 👍🏻. Anoop Bhatia (talk) 04:03, 22 May 2024 (UTC)[reply]

The IPA in Wikipedia comes with some errors.[edit]

SUBJECT

The IPA in Wikipedia comes with some errors.


I am quite happy that Wikipedia uses the IPA as a pronunciation guide. I know the IPA moderately well, so its use is convenient for me. Promoting the IPA in Wikipedia might also encourage people to learn it, which probably might not be a bad idea.

I think that the use of the IPA in Wikipedia might often or consitently make some errors. I don’t see these errors being made in Wiktionary though. The IPA there seems to be largely fine.


the approximant rhotic (also the approximant alveolar)

/ɹ/

The English language uses primarily for a rhotic the approximant alveolar which in the IPA is represented as: /ɹ/.

In Wikipedia, this rhotic seems to always get represented by /r/, which actually represents the rolled “r”, as the “r” in the Spanish word “perro”.

I’ve suspected that this error is deliberate in that maybe the people setting up the IPA transcriptions are concerned that an upside down “r” might confuse people. Although, this doesn’t make very good sense since much of the rest of the IPA will still confuse people who are not familiar with it.

From Wikipedia showing the incorrect /r/ use :

Tripoli (/ˈtrɪpəli/; Arabic: طرابلس الغرب, romanized: Ṭarābulus al-Gharb, lit. 'Western Tripoli')

From Wiktionary using the correct /ɹ/. use :

entourage

Pronunciation

(UK) IPA(key): /ˈɒn.tʊ.ɹɑːʒ/, /ˈɑ̃ː.tʊ.ɹɑːʒ/

(US) IPA(key): /ˈɑn.tə.ɹɑʒ/


/ɑ/, /a/, /æ/

These might be described as the “basic a” vowels: /ɑ/, /a/, /æ/

/a/ and /æ/ are similar and are like the “a” in “cat”.

/a/ is more open and might be more typical for Received Pronunciation or a British English. /æ/ is similar sounding but just with an articulation that is a bit more close (closed jaw) and is probably more typical for General American English or Standard Canadian English. Distinguishing between these two is not too much of a big deal, I don’t think for general pronunciation purposes.

The /ɑ/, described as a back, open, unrounded vowel, is like the “o” in the English word “top”. This vowel is more of what is considered an “a” vowel in languages such as Spanish, Italian, and other languages. This /ɑ/ though is significantly different from the /a/ and /æ/.

I’ve seen on a number of occasions in Wikipedia in which words with the /ɑ/ sound were given IPA transcriptions of /a/. I went looking for examples in Wikipedia of this today, but had difficulty finding this.

Here’s an example from Wiktionary where the /ɑ/ sound is written as /a/.

Pronunciation

(UK) IPA(key): /ˈɒn.tʊ.ɹɑːʒ/, /ˈɑ̃ː.tʊ.ɹɑːʒ/

(US) IPA(key): /ˈɑn.tə.ɹɑʒ/


I finally managed to find an example of the /ɑ/ sound being written as /a/.

Croatia (/kroʊˈeɪʃə/ ⓘ, kroh-AY-shə; Croatian: Hrvatska, pronounced [xř̩ʋaːtskaː]

Specifically, the [xř̩ʋaːtskaː]


I noticed in my search for words with an /ɑ/, for words that have this sound in General American English or Standard Canadian English, that same sound in Received Pronunciation often gets pronounced as /ɒ/, which is a very open “o” and pronunciation given in Wikipedia may tend to favor Received Pronunciation.


the schwa and the caret

This is an issue that probably would have to be directed towards the IPA Association or something like that, and not Wikipedia. But, I’ll mention it here anyways.

Apparently, any phonetics course, most phonetics courses, will tell you that no word in English ends with a caret. So, take the word “the” or “California”. Wiktionary will transcribe these into the IPA as :

the:

(when unstressed and preconsonantal)

enPR: thə, IPA(key): /ðə/

California:

(General American) IPA(key): /ˌkæl.ɪˈfoɹ.njə/, /ˌkæl.ɪˈfoɹ.ni.ə/, [ˌkʰæl.ɪˈfo̞ɹ.njə]

It’s typical to see IPA transcriptions of the words “the” and “California” as ending with the schwa, /ə/.


Transcribing the final vowel in the words “the” and “California” as /ə/ to me seems wrong. Maybe my hearing sense is off. Maybe the articulation is /ə/ but to me sounds like /ʌ/ or /ɐ/.

Give it a try? The /ə/ or schwa is the vowel sound you more or less get between the “p” and “l” in “apple” in General American and probably Received Pronunciation. Or find some online IPA chart with audio pronunciation to find out how /ə/ is pronounced.

Now try sticking that sound into the word “the” or at the end of the word “California”. Maybe I’m not getting this right, but it consistently sounds wrong! Like weird!

Maybe when speaking quickly these sounds will reduce to an /ə/ sound. But even when spoken quickly, these words can often just sound like they end with a quick /ʌ/ or /ɐ/.


I used to think that “the” and “California” should be transcribed as /ðʌ/ and /ˈkalɪfɔɹnjʌ/, with the the /ʌ/ at the end of the word. This makes auditory sense to me.

More recently though, when realizing that / ʌ/ and /ɐ/ sound very similar, that for that sound, if the preceeding consonant is more forward, then maybe the more forward of /ʌ/ and /ɐ/ would actually be articulation being used, which is the /ɐ/. So, the word “the” would more likely be transcribed as:

/ðɐ/

With “California”, this might be different. The /j/ sound before the final vowel, it’s more central so would it make the final vowel sound /ɐ/ or /ʌ/? Maybe the /ʌ/ sound fills an entire linear area that connects the more middle /ɐ/ and the more back /ʌ/, in which case it could get kind of complicated or difficult to figure out where the articulation of this sound is taking place exactly.

I suspect that if the /ʌ/ sound is preceeded by a more back consonant, such as in the English word “gut”, then the /ʌ/ sound will take more of a back /ʌ/ articulation, as you get with the Wiktionary transcription of “gut”.

gut

Pronunciation

IPA(key): /ɡʌt/


Zbniorb (talk) 06:34, 22 May 2024 (UTC)[reply]

This is not a technical inquiry. The appropriate venue is the talk page of the IPA key for each language, though I strongly suggest you read the Handbook of the IPA and learn the difference between a phone and a phoneme and the concept of narrowness first. Nardog (talk) 06:57, 22 May 2024 (UTC)[reply]

Issue with template[edit]

Hi there. There seems to be some kind of issue with {{Population WD}}. I would like to use it to get the bare population figure. At first, {{population WD|qid=Q559227|show=value}} was not working, and I was getting the figure plus a "<span" at the end. Primefac has solved it, at least partially. But there still seem to be some issues, as can be seen here. Thanks in advance for the help, Alavense (talk) 08:19, 22 May 2024 (UTC)[reply]

My guess is that the {{first word}} is cutting off the coding to show the "edit at Wikidata" icon, but I have a) no idea why it's doing that, and b) no idea how to fix it. Primefac (talk) 08:37, 22 May 2024 (UTC)[reply]
Yes, something like that. The createicon function in Module:WikidataIB starts off with a non-breaking space, so {{first word}} is grabbing a few more tokens than we want. — jmcgnh(talk) (contribs) 08:57, 22 May 2024 (UTC)[reply]
And, yes, nbsp is not considered one of the ASCII whitespace characters by some regular expression engines, including, according to what we've seen here, Lua's %s. — jmcgnh(talk) (contribs) 09:19, 22 May 2024 (UTC)[reply]
This Special:Diff/1225091340 seems to be a possible fix. It returns just the population value, whichever way the noicon parameter is set. Of course, if you really wanted that pencil icon, you'll need to use something different from {{first word}}. @Primefac and Alavense: — jmcgnh(talk) (contribs) 09:37, 22 May 2024 (UTC)[reply]
There should not be any regexes that treat a nbsp as whitespace. For a start, its value is outside the 0x00-0x7F range; second, whilst it's encoded as 0xA0 under Unicode, some character sets use the same value for a different, non-blank, printing character - for example, in Code page 437, it's used for the "á" character. Third, ASCII whitespace is defined as characters 0x09 through 0x0c inclusive plus 0x20. --Redrose64 🌹 (talk) 19:40, 22 May 2024 (UTC)[reply]
@Redrose64 That's a very outdated point of view. Regex engines these days generally operate on Unicode and understand Unicode characters, or at least have an option to do so, and "whitespace" often means all Unicode whitespace, not ASCII whitespace. Matma Rex talk 21:16, 22 May 2024 (UTC)[reply]
The HTML spec is outdated then. Pity, as it was last updated 22 May 2024, which was, er, today. --Redrose64 🌹 (talk) 23:04, 22 May 2024 (UTC)[reply]
Pity, as the HTML spec is irrelevant to how Lua or PHP process whitespace. Izno (talk) 23:36, 22 May 2024 (UTC)[reply]
The HTML spec is very careful to call it out as ASCII whitespace every time that term is used, precisely because just saying whitespace often means Unicode whitespace. Matma Rex talk 15:40, 23 May 2024 (UTC)[reply]
@Jmcgnh Lua's %s should actually match non-breaking spaces, if I understand the documentation correctly.
Template:First word uses Module:String, which uses mw.ustring. The docs for Ustring patterns say %s "represents all characters with General Category "Separator"", and NBSP is a separator (see e.g. the entry in Whitespace character#Unicode for reference).
I think the problem in the original code is that in [&nbsp;%s] the entity isn't interpreted, so it finds the first occurrence of &, n, b, etc. It will probably work if you do just [%s]. Matma Rex talk 21:14, 22 May 2024 (UTC)[reply]
Oh, good, we're getting some people involved who know more than me. @Redros64, Matma Rex, and Izno: As I read it, {{First word}} already supplies %s as the default separator AND the results show that it is not treating nbsp as a member of %s. If I were going to spend more time on this, I'd first get rid of {{First word}} to see how many results are coming back - as an experiment. If there are multiple results (not just one string with multiple values in it), I'd argue that the job of selecting what to return needs to either be pushed down into WikidataIB or maybe do like the show=year branch and use Ustring|gsub to pull out the desired part of the data.
Primefac's current fix provides the correct defaults, but if someone wants to specify show=value|noicon=FALSE it would be best if the result didn't contain stray markup tokens. I checked for how show=year|noicon=FALSE would behave and it seems to get it right for Alavense's test case. I wish I understood a little better how that Ustring|gsub expression matching worked. As I look at it, it shouldn't be working for this case. If I could figure that out better, I'd be in favor of getting rid of {{first word}} and using a Ustring call for show=value as well as for <show=year>. — jmcgnh(talk) (contribs) 02:34, 23 May 2024 (UTC)[reply]
I don't know much, I just looked up the docs :)

As I read it, {{First word}} already supplies %s as the default separator AND the results show that it is not treating nbsp as a member of %s.

I had a look at the output of {{#invoke:WikidataIB|...}} in Special:ExpandTemplates, and I can at least explain that – it's because the WikidataIB module isn't emitting an actual nbsp character, but rather it's emitting the &nbsp; HTML entity. The string matching functions just see that as a sequence of &, n, b, and so on. So you would need to make {{First word}} look for that sequence, instead of individual characters, but it has no way to do that.
You could probably implement this by invoking Module:String directly – but at this point I would take a step back, and see if there's some way to just output the bare population figure from Wikidata directly, instead of using a big template and applying another big template on top of it to discard most of its results, because that how you end up with pages that bump into parser limits. I'm not very familiar with this stuff, but there must surely be one. Matma Rex talk 15:31, 23 May 2024 (UTC)[reply]

@Matma Rex: I agree with your suggested direction and thanks for being so clear about the confusion I was exhibiting between Ustring characters and HTML character entities. On a cursory look at available templates or modules to use instead of WikidataIB, I was not coming up with anything obvious. I will return to study this in greater detail, including trying to understand all the parameters passed to WikidataIB, as time allows. I do conclude that {{First word}} is simply the wrong template to use in this situation. — jmcgnh(talk) (contribs) 20:52, 24 May 2024 (UTC)[reply]

Differentiation of subheading font sizes (or more accurately, lack thereof)[edit]

I've just used subheadings for the first time, and was somewhat dismayed to see hardly any noticeable differentiation between Subheadings 2, 3, and 4. Couldn't the subheadings be differentiated more?

Surely some other Wiki editors must have made similar comments long before I came on board ... Augnablik (talk) 11:54, 22 May 2024 (UTC)[reply]

Yes, I think many of us got confused at first and pointed out that h3 looks more prominent than h2, but there doesn't seem to be a consensus to change the styles and eventually we got used to it. I hope it doesn't lead too many readers astray. Certes (talk) 12:04, 22 May 2024 (UTC)[reply]
How could there be any editorial disagreement about the need for a technical fix to remedy this situation, @Certes? Of course it could lead readers astray!
It's not like the discussion going on elsewhere at the Village Pump on the topic of COI guidelines, with many senior editors all over the field as to just what COI is and what should be required of editors in self-reporting it. Augnablik (talk) 12:42, 22 May 2024 (UTC)[reply]
@Certes, I hope it didn’t seem to you in my reply to you above that I was unhappy with you personally. I was just reacting in surprise — okay, shock — that Wiki editors who deal with this sort of thing wouldn’t have very easily come to consensus about the need to make h2 and h3 look different from each other … for the sake of readers. Augnablik (talk) 16:27, 22 May 2024 (UTC)[reply]
I wasn't at all insulted or offended. I agree with you that h2 should be more prominent relative to h3. I think the problem is that h3 is bolder than h2, which can give the illusion that it is more important despite not being larger. Of course, it's easy for the regulars to put together a bit of CSS to make it look how we prefer it, but we're a tiny minority of the audience: we're both thinking of the casual reader who can't be expected to jump through that hoop for each site they visit. Certes (talk) 19:58, 22 May 2024 (UTC)[reply]
The appearance of headings and subheadings varies with several factors, including (but not limited to): zoom level, skin, browser, installed fonts, operating system. You can experiment using e.g. Wikipedia:Sandbox in various skins - Cologne Blue; MinervaNeue (mobile); Modern; MonoBook; Timeless; Vector legacy (2010); Vector (2022). Notice that besides the font size, there are variations in font family, also underlining. --Redrose64 🌹 (talk) 20:40, 22 May 2024 (UTC)[reply]
You can override the heading styles from your common.css, eg:
#content h3 { font-size: 116%; text-decoration-line: underline; } -- Verbarson  talkedits 22:30, 24 May 2024 (UTC)[reply]

trying to add new GeoJSON map to virgin river article - centering is getting messed up[edit]

I'm trying to add this to Virgin River:

{{mapframe|from=Virgin River (Utah).map|text=Route of the Virgin River and the North and East Forks|frame=yes|zoom=7|frame-coord|coord=37.174167,-113.326111}}

The problem is that every time I preview my proposed change the center of the map is completely off. It's like it's pulling the coordinates of the mouth from wikidata.org and using that vs using the more central coordinate that I'm using.

Assuming that that's the case idk that I necessarily want to change it. Ideally I'd like to just overwrite it for that one map. But if that's not possible I guess I could change the wikidata.org entries altho https://www.wikidata.org/wiki/Q1676970 shows multiple coordinate locations. Would just the first one need to be changed? I'm a little hesitant to save experimental changes like that. I'd rather Preview my changes before saving them but, assuming my hypothesis is correct then I'd prob need save it all the same, even if only to save just to preview TerraFrost (talk) 12:04, 22 May 2024 (UTC)[reply]

You are not setting |frame-coord= so it's retrieiving the coordinates from Wikidata. You have |frame-coord| which is acting as a positional parameter, equivalent to |1=frame-coord. You want to use |frame-coord={{Coord|37.174167|N|113.326111|W}} which will allow you to shift the centre. —  Jts1882 | talk  14:11, 22 May 2024 (UTC)[reply]

"Publish" is a little too quick on the draw[edit]

I've been editing the Houseboat article and once again when I tried to review my changes before publishing a few minutes ago, they got published — with no summary, because I wanted to be reminded of the things I'd done in my edits. This has happened a few times before as well.

And because these edits were major changes, including the addition of new information along with a supporting citation and the removal of some existing text for greater clarity, I'll probably get a finger wag from a senior editor about this. 🫤

Augnablik (talk) 12:32, 22 May 2024 (UTC)[reply]

In Special:Preferences#mw-prefsection-editing, you can select "Prompt me when entering a blank edit summary". That may help. Certes (talk) 12:38, 22 May 2024 (UTC)[reply]
Aha. Thanks ... but I wonder why we have to opt in about this, given that we're not supposed to send blank edit summaries? Augnablik (talk) 12:45, 22 May 2024 (UTC)[reply]
I recall there being a discussion about this somewhere - if my memory serves me correctly, the idea of not having this on by default is to avoid there being an extra layer of friction that may discourage newer good faith editors.
In any case, there is no formal obligation to provide an edit summary; rather, the edit should be explained in some manner, or be self-explanatory, something which can be achieved after the fact through talk page discussion. WindTempos (talkcontribs) 12:59, 22 May 2024 (UTC)[reply]
If you have accidentally made major changes without a good edit summary and want to fix that, the standard way is to make a Dummy edit. —Kusma (talk) 13:08, 22 May 2024 (UTC)[reply]
There are several keyboard actions that will trigger a save - in no particular order, they include:
  • Pressing Alt+⇧ Shift+S at any time
  • Pressing ↵ Enter when the focus is on one of: the edit summary; the "This is a minor edit" or "Watch this page" checkboxes; the Publish changes button
  • Pressing Space when the focus is on the Publish changes button
We forget these when using a mouse all the time. --Redrose64 🌹 (talk) 19:56, 22 May 2024 (UTC)[reply]

Edit Patrol on Android Wikpedia mobile app is now available on English Wikipedia and all wikis![edit]

We invite you to check out a demonstration of the feature and explore more on our project page. If you have tried the feature, we would appreciate any feedback on our discussion page, or your thoughts in response any of the following questions:

  • What changes or additions would make this feature more useful to you?
  • Would you be interested in using this feature to patrol multiple language wikis at once?
  • The feature is currently available to users with rollback rights: would you like to see this feature evolve into something that is available to a broader user group?

--ARamadan-WMF (talk) 10:33, 23 May 2024 (UTC)[reply]

Sorting titles, some with appended text[edit]

Hello, regarding List of cult films: K, it seems like the listings The Killer and The Killing, both which neighbor listings that have longer titles starting with Killer or Killing, wind up at the bottom of each respective group when sorting alphabetically, when they should come first, having nothing after that keyword. Am I doing something wrong? Is there a way to fix it? See for yourself here. EDIT: I guess I fixed it by adding two spaces after each title, but this feels like too much of a hack. Is there a proper way to do this? Erik (talk | contrib) (ping me) 15:58, 23 May 2024 (UTC)[reply]

It probably should be using {{sort}} rather than {{sortname}}. The latter makes the sort key "Killer, The" because it is intended to be used with the name of a person. Johnuniq (talk) 00:43, 24 May 2024 (UTC)[reply]
@Erik: The problem is that {{sortname}} automatically inserts a comma. {{sortname|The|Killer}} is sorted as "Killer, The". The comma sorts after the space in "Killer Nun" while the title should logically have been sorted before. In [12] you avoided the issue by placing spaces at the end in {{sortname|The|Killer }} so it sorts as "Killer  , The". It works in the current implementation where spaces aren't stripped but it's not a pretty solution and other editors can easily remove the spaces without knowing the consequence. You could use optional sort key in {{sortname}} to give "Killer" as the full sort key with no comma or "The". Should {{sortname}} be changed to omit the automatic comma? Probably not. It's mostly used for people and often mixed with manually written sort keys like "Doe, John". Omitting the comma when the template is used would mess that up. PrimeHunter (talk) 20:03, 24 May 2024 (UTC)[reply]
Omitting the automatic comma wouldn't even fix this case where "Killer The" would still sort after "Killer Nun". A possibility would be for {{sortname}} to add a special case where {{sortname|The|Anything}} ignores "The" and just sorts as "Anything". "The" is unlikely to be the first name of a person which should be included in the sort key. PrimeHunter (talk) 20:17, 24 May 2024 (UTC)[reply]
But it's not a natural person's name right  ? So why use sortname to being with ? —TheDJ (talkcontribs) 22:07, 24 May 2024 (UTC)[reply]
sortname is often used on "The", probably because it's well-known and convenient: hastemplate:sortname insource:"sortname The". I don't know how often it gives poor sorting but it's probably rare that the sorted items are close enough. PrimeHunter (talk) 22:33, 24 May 2024 (UTC)[reply]