Wikipedia:Village pump (technical): Difference between revisions

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

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

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

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


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

--><!--


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

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

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

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


-->
-->


== Huggle experiment ==
== Lua date formats ==

Hi everyone. I just wanted to post a notice on-wiki about a short experiment the WMF Community Dept. is running with the cooperation of Huggle developers.

This is a project of the [[:m:Research:Wikimedia Summer of Resarch|Summer of Research]] team at the WMF. The quick explanation: for a few days we’re trying an experiment where we test level 1 warning templates that are explicitly more personalized and set out to teach new editors more directly, rather than simply pointing them to policy and asking them not to do something. (We based the new content partially on the experience of people who've done lots of vandalfighting on the team, as well as the work of our researcher who is a professor of rhetoric and composition.)

In order to get a statistically significant sample size, we’re using a randomized template generator through Huggle to apply one of eight templates. All of them can be seen [[:Template:Uw-vandal-rand1|here]], but the rundown is that set is [[A/B testing]] the standard level 1 warnings compared to three variants:

# Instructional messages (that teach the new editor a little about the community and what to do going forward to improve their editing)
# Personalized messages (that introduce who reverted them, why, and what they should do to improve their editing or get answers to questions)
# All the templates with or without images (because we don't know what effect they have)

The templates are applied randomly and seamlessly through Huggle; people using the tool to revert and warn will not notice a difference at all. (We did a pre-test with an active Huggler to try them out initially.)

It’s only going to run for a few days (starting tomorrow if all goes as planned), since at full steam that’s enough Huggling for us to get a proper sample size. Then we’ll revert back to the standard Huggle templates and analyze the data to see if the people warned with the new templates were comparatively less likely to keep making mistakes and instead actually do constructive things like leave edit summaries and use the Sandbox.

Please let me know if you have any questions about the test, the templates themselves, or how to replicate it in other areas warning templates are used. If you want to try the same style of alternative warning styles in other areas outside Huggle, give a shout and the research team is happy to help. If you want to opt out for the few days of the test, you can add the following to [[Special:MyPage/huggle.css]]: <tt><nowiki>warning1:{{subst:huggle/warn-1|1=$1|2=$2}}</nowiki></tt>

Thanks, <font style="font-family:Palatino, Georgia, serif;">[[User:Steven (WMF)|Steven Walling at work]]</font> 00:12, 19 July 2011 (UTC)

:Should a template similar to {{tl|z1}} be added to the warnings, so we can track how many warnings were delivered? --<span style="text-shadow:gray 0.2em 0.2em 0.1em" class="texhtml">[[User:Σ|<font color="#BA0000">Σ</font>]] <sup>[[User talk:Σ|<font color="#036">talk</font>]]</sup><sub style="margin-left:-3.5ex">[[Special:Contributions/Σ|<font color="#036">contribs</font>]]</sub></span> 05:46, 19 July 2011 (UTC)

::That is a great suggestion. We were working on a different tracking system, but now also have:
::{{tl|z49}} → {{tl|Uw-vandal-rand1}} case 0
::{{tl|z50}} → {{tl|Uw-vandal-rand1}} case 1
::{{tl|z51}} → {{tl|Uw-vandal-rand1}} case 2
::{{tl|z52}} → {{tl|Uw-vandal-rand1}} case 3
::{{tl|z53}} → {{tl|Uw-vandal-rand1}} case 4
::{{tl|z54}} → {{tl|Uw-vandal-rand1}} case 5
::{{tl|z55}} → {{tl|Uw-vandal-rand1}} case 6
::{{tl|z56}} → {{tl|Uw-vandal-rand1}} case 7
::Thanks again Σ. :) I'll make sure that the list of users is readily available on-wiki so anyone else interested can take a look at the effect they had. <font style="font-family:Palatino, Georgia, serif;">[[User:Steven (WMF)|Steven Walling at work]]</font> 17:51, 19 July 2011 (UTC)
:::This template needs some debugging. For starters, I don't think you can nest "includeonly" tags inside "includeonly" tags; but there seem to be other problems as well. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 18:19, 19 July 2011 (UTC)
::::Stu seems to have [http://en.wikipedia.org/w/index.php?title=Template%3AUw-vandal-rand1&action=historysubmit&diff=440349839&oldid=440341826 fixed] the includeonly problem. If there are other specific ones, let us know. <font style="font-family:Palatino, Georgia, serif;">[[User:Steven (WMF)|Steven Walling at work]]</font> 18:31, 19 July 2011 (UTC)
:::::Well, I stripped out all the interior includeonly tags and replaced them with noincludes that split up the subst functions, but that didn't work out. We did test the version of the template that had multiple nested includeonly tags, and it worked. Were there any other problems? [[User:StuGeiger|StuGeiger]] ([[User talk:StuGeiger|talk]]) 18:34, 19 July 2011 (UTC)
::::::Looks like I was fooled by the mess at the foot of [[Template:Uw-vandal-rand1]]. It all seems to work if you subst it. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 20:03, 19 July 2011 (UTC)
:::::::I've removed the inner includeonly tags, but did not replace them with noinclude tags. This should work 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> 02:48, 20 July 2011 (UTC)
::::::::[http://en.wikipedia.org/w/index.php?title=User_talk:Tide_rolls&diff=prev&oldid=440749173 Well, the attempt to be less bitey seems to have failed on this user]. Oh well. --<span style="text-shadow:gray 0.2em 0.2em 0.1em" class="texhtml">[[User:Σ|<font color="#BA0000">Σ</font>]] <sup>[[User talk:Σ|<font color="#036">talk</font>]]</sup><sub style="margin-left:-3.5ex">[[Special:Contributions/Σ|<font color="#036">contribs</font>]]</sub></span> 01:05, 22 July 2011 (UTC)

::::::::: Heh, that user seems like a lost cause, at least for a few more years. :) I do think his response points to an interesting challenge -- making these templates more personal could also increase the risk that patrollers will be personally called out and attacked.--[[User:Eloquence|Eloquence]][[User:Eloquence/CP|*]] 08:01, 22 July 2011 (UTC)

:::::::::: Stu Huggled a bit with these templates before we set up the test to try and get a feel for it. Turns out that out of ~25: he got one incident of vandalism directed at his userpage, but that resulted from the standard level 1 warning. :) From the friendly template, he got an incident where a good faith editor (who probably otherwise would've been blocked for violating WP:NFCC) asked him a question and managed to upload a file to Commons in their first few edits. Anyway, we'll definitely have to see at the end of the test whether there is statistically significant increase in personally-directed vandalism. <font style="font-family:Palatino, Georgia, serif;">[[User:Steven (WMF)|Steven Walling at work]]</font> 16:55, 22 July 2011 (UTC)

*{{question}} Thanks, this is badly needed. Actually, I wish there were a way to ensure that I ''always'' used the friendlier templates, since the harshness of many Huggle templates puts me off to using them. Not uncommonly I'll take the time to warn in Twinkle because of that. Is this possible, or would it skew your data? [[user:causa sui|causa sui]] ([[user talk:causa sui|talk]]) 23:34, 25 July 2011 (UTC)

:You can create copies of those templates in your userspace and exclude the {{tl|z}} trackers. Except getting them into TW would be problematic, a bit. --<span style="text-shadow:gray 0.2em 0.2em 0.1em" class="texhtml">[[User:Σ|<font color="#BA0000">Σ</font>]] <sup>[[User talk:Σ|<font color="#036">talk</font>]]</sup><sub style="margin-left:-3.5ex">[[Special:Contributions/Σ|<font color="#036">contribs</font>]]</sub></span> 02:43, 26 July 2011 (UTC)
::After this test I will probably make some customizations of revert configuration in huggle to let users choose which kind of templates they would like to use. There are users who like evil templates and there are also users who like friendly (like me, that is why I also implemented welcome templates) unfortunatelly any enforcement in the usage always ended up in huge dispute which kind is better. [[User:Petrb|Petrb]] ([[User talk:Petrb|talk]]) 06:15, 26 July 2011 (UTC)
:::I'd agree that it shouldn't be enforced, and I'd be happy if there were a switch I could flip to use the nice templates. But... [[Nudge (book)|opt-in]] is a way of encouraging productive behaviors without offending anyone's sensibilities by taking away choices. Just sayin'. :-) [[user:causa sui|causa sui]] ([[user talk:causa sui|talk]]) 17:18, 26 July 2011 (UTC)

== Quick Feedback on Editing Experience: New Editors ==

Hey everyone,

I just wanted to give people the heads-up that we'll be rolling out an experimental feature aimed at collecting feedback on the editing experience of new editors. Currently called [http://www.mediawiki.org/wiki/MoodBar MoodBar] (it's not a great name -- if anyone has anything better, please let us know), the feature will appear as a small link in the upper left hand corner for ''new editors that have tried to make an edit.'' Technically, this means users that have registered for an account after the launch date of the feature who have also clicked on an edit link (regardless of whether they've successfully completed the edit). We hope to get quick feedback from users on their early editing experience, ranging from reactions to the editor/wikitext, interactions with the community, feelings of success/frustration, etc. This feature is part of the set of [http://www.mediawiki.org/wiki/New_Editor_Engagement New Editor Engagement] projects.

We don't know whether this feature is going to provide meaningful feedback. We certainly hope it does, but I'm expecting a fair amount of noise as well (I'm sure there will be plenty of "Wikipedia Rocks!", which is nice, but not that helpful). For starters, we'll be publishing anonymized CSVs containing the data. If the feedback proves meaningful, we'll develop a dashboard to make viewing feedback easier.

We're going to be pushing to prototype soon, so please feel free to test the feature. To test the feature, create a new account, click on any edit link, and the invitation should appear. I'll put date this post once the feature is up on prototype.

If all goes well with prototype testing, we'll be rolling out this feature early next week.

Disambiguation note: [[Wikipedia:Article Feedback Tool|Article Feedback Tool]] = feedback from readers on article content. MoodBar = feedback from new editors on their early editing experience.

Feedback on the feedback tool? Please post on the feature [http://www.mediawiki.org/wiki/Talk:MoodBar discussion page]. [[User:Howief|Howief]] ([[User talk:Howief|talk]]) 21:36, 21 July 2011 (UTC)

:Howief, thanks for notifying us about this. I have posted a pointer to this discussion on [[WP:AN]]. Seeing this extension made me [[File:Face-sad.svg|20px]] sad because:
:*[[WP:NOTTWITTER|Wikipedia is not Twitter]].
:*If the feedback given has a very low signal to noise ratio, will the extension be pulled?
:*Otherwise, what are the means for dealing with abusive comments, excessive personal information and other unwarranted crap? Will this result in an increase in administrative workload?
:*Will there be a new prompt every time the edit button is clicked, even if the extension is dismissed? Is the extension hard disablable via preferences or turns off when the editor (say) becomes autoconfirmed?
:I appreciate the motivation behind this but I prefer something that is obviously separate from the encyclopedia. [[User:MER-C|MER-C]] 04:10, 22 July 2011 (UTC)

:: As a bit more background, this extension was inspired by the [http://input.mozilla.com/en-US/ Firefox Feedback Program]. Mozilla has learned that by asking users to provide small, quick bits of categorized feedback, they can use data mining to surface trends in the data, in spite of the noise. See e.g. Aakash Desai's [http://www.slideshare.net/aakashd/fx-input-presentation original presentation] and [http://www.slideshare.net/aakashd/fx-input-rant update] for more info about it.

:: The current implementation is a quick & dirty hack to just see what the s/n ratio is like and what kinds of feedback we can expect. If it's useless, we'll ditch it pretty quickly, which is why we're not making a fuss about this early deployment. As for crap, FF has implemented a few crap filters (as well as e.g. phone number pattern detection), which we'll also need to do if we get more serious about it. But having a certain level of noise in the data would be acceptable for the purpose this serves, and the data would never be encountered by anyone not looking for it, just like you've probably never heard of the FF feedback data.

:: The current implementation is dismissable with a single click, after which it disappears, but the hide code just uses a cookie, so it's imperfect. If all goes to plan, it'll only show up for new users.--[[User:Eloquence|Eloquence]][[User:Eloquence/CP|*]] 08:13, 22 July 2011 (UTC)
::: I think this is an excellent idea that, better than the article feedback tool, actually focuses on a point where significant difficulty is likely to arise, asks the right question and aims to give us meaningful feedback on that aspect of the editing process. I'll be interesting to see how it works out. ''[[WP:NOTTWITTER|Wikipedia is not Twitter]]''; I can't help feeling this misses the point of the tool entirely :S --'''[[user:ErrantX|Errant]]''' <sup>([[User_talk:ErrantX|chat!]])</sup> 09:05, 22 July 2011 (UTC)
:"new editors that have tried to make an edit." - hit edit and escaped without saving? On first edit? After first edit? [[User:Bulwersator|Bulwersator]] ([[User talk:Bulwersator|talk]]) 11:11, 22 July 2011 (UTC)
Just to clarify, at least for our first experiments, feedback is not currently going to be immediately viewable by anybody outside the Foundation. This means that there won't be any need for administrative work, and it's definitely not "Wikipedia twitter" (do we seriously have a "Wikipedia is not Twitter" page?) — it's just about letting us at the Foundation know how new users experience Wikipedia. If we find that the feedback is actually useful and has a good S/N ratio, then (according to my understanding of the plan) we MIGHT start thinking about surfacing this information to the community. &mdash; [[User:Werdna|<span style="font-weight: bold; color: #404080">Andrew Garrett</span>]]&nbsp;&bull;&nbsp;[[User talk:Werdna|<span style="color: #8080b0">talk</span>]] 17:45, 22 July 2011 (UTC)
::Yes, we seriously have a "Wikipedia is not Twitter" page/shortcut - it links to a content policy page and is part of Wikipedia's Five Pillars. [[User:Ponyo|<b><font color="Navy">''Jezebel's''</font></b><font color="Navy">Ponyo</font>]]<sup>[[User_talk:Ponyo|<font color="Navy">''bons mots''</font>]]</sup> 15:53, 23 July 2011 (UTC)
:Actually, we do intend to surface the feedback to the community. It will just be done via CSV file instead of a dashboard. We didn't want to over-build this feature since we don't know whether the feedback will be useful. We wanted to get a feel for the quality of the data first before building out the feature.
:To answer Bulwersator's question -- the invitation is activated upon clicking edit. A user who clicks on the edit but doesn't successfully submit the edit will still get the invitation. We'd like to collect feedback from anyone who's attempted to make a contribution, successful or not.
:There's still an issue with the feature on prototype, so I'll let everyone know when there's something up that people can check out. [[User:Howief|Howief]] ([[User talk:Howief|talk]]) 19:45, 22 July 2011 (UTC)
:The feature is up on [http://prototype.wikimedia.org/release-en/Main_Page prototype] now. There are still a few kinks we're ironing out, but feel free to play around with the feature:
**Go to http://prototype.wikimedia.org/release-en/Main_Page
**Create an account. Check "Remember me (up to 30 days)". There is a bug on prototype that requires checking this box to stay logged in. Note: Existing accounts on prototype will not work since the feature is only enabled for new users (i.e., users who create an account after deployment of feature.
**Go to a random article.
**Click Edit.
**You should see the Moodbar invitation in the upper left hand corner.
:Please let us know what you think on the feature [http://www.mediawiki.org/wiki/Talk:MoodBar talk page]. Thanks! [[User:Howief|Howief]] ([[User talk:Howief|talk]]) 22:35, 22 July 2011 (UTC)
Note to users without javascript, this feature requires javascript to function. - '''''[[User:Hydroxonium|Hydroxonium]]''''' ([[User talk:Hydroxonium|T]]•[[Special:Contributions/Hydroxonium|C]]•<span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:ListUsers&limit=1&amp;username=Hydroxonium V]</span>) 05:02, 23 July 2011 (UTC)

Our deployment has gone ahead successfully, and the MoodBar is now being shown to new users who have viewed the edit page. &mdash; [[User:Werdna|<span style="font-weight: bold; color: #404080">Andrew Garrett</span>]]&nbsp;&bull;&nbsp;[[User talk:Werdna|<span style="color: #8080b0">talk</span>]] 23:16, 25 July 2011 (UTC)

== Let displaytitle use other names ==

The magic word <span class="plainlinks">[http://en.wikipedia.org/wiki/Wikipedia:DISPLAYTITLE#Changing_the_displayed_title DISPLAYTITLE]</span> allows users to change the visible title of a page, without changing the actual title, so that articles can have titles not possible in mediawiki, such as eBay (lowercase first letter). However, the template only allows page titles that resolve to the same titles; i.e. you have to be able to type the title as it is displayed on the page in the search bar and have it take you to the correct page. <span class="plainlinks">[http://en.wikipedia.org/wiki/Wikipedia:DISPLAYTITLE#Changing_the_displayed_title this page]</span> specifies that this is "under the current software configuration." Does anyone know if this is actually a setting that could be easily changed by a developer to allow titles that don't resolve to the normal pagename? If it is, then I plan to start an RFC about it, so that some articles can get the proper name - such as [[Cyberbully|Cyberbu//y]].
[[User:Quinxorin|Quinxorin]] ([[User talk:Quinxorin|talk]]) 00:39, 22 July 2011 (UTC)
:I have no answer to your question, but I think you meant to link to [[Cyberbully (film)]] rather than to [[Cyber-bullying]]. ​—[[User:DoRD|DoRD]] ([[User talk:DoRD|talk]])​ 01:05, 22 July 2011 (UTC)
::There's going to be a resurgence in Willy-on-Wheels-ish vandalism, by simply using {{tlg|DISPLAYTITLE|(insert page name here) on wheels}} instead of having to move the page. --<span style="text-shadow:gray 0.2em 0.2em 0.1em; class=texhtml">[[User:Σ|Σ]] <sup>[[User talk:Σ|talk]]</sup><sub style="margin-left:-3.5ex">[[Special:Contributions/Σ|contribs]]</sub></span> 01:10, 22 July 2011 (UTC)
:::I've already occasionally seen "new" users vandalizing pages with <code><nowiki>{{DISPLAYTITLE:I EAT PENIS ~ ~ ~~(----8!!!}}</nowiki></code>. [[User:Reaper Eternal|Reaper Eternal]] ([[User talk:Reaper Eternal|talk]]) 13:29, 26 July 2011 (UTC)
:I guess you mean [[Cyberbully (film)]] although your piped link doesn't go there. [[Cyberbu//y]] is a valid page name and I have redirected it to [[Cyberbully (film)]] so I don't see a need for DISPLAYTITLE here. If we wanted to call the page <nowiki>Cyberbu//y</nowiki> then we could just move it. The problem with changing the displayed title is not copy-pasting to the search box. You don't need to do that if you are already on the page. The problem is copy-pasting to a wikilink on another page. Editors do that all the time when they interlink pages and I think it should create a valid link. It is controlled by [[:mw:Manual:$wgRestrictDisplayTitle]] and could easily be changed by a developer. See also [[:mw:Manual:$wgAllowDisplayTitle]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 01:21, 22 July 2011 (UTC)
:Just to clarify, I don't think copy-pasting the displaytitle is the only problem. Other problems include displaytitle vandalism, and confusion when the displayed title isn't shown in categories, searches and other places showing the actual page name. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 01:28, 22 July 2011 (UTC)
::I agree, I don't think that display hacks {{diff|User:Quinxorin|prev|440764558|like this}} are a particularly good idea: changing the colour is OK if it satisfies [[WP:CONTRAST]], but removing (or adding) characters is not. I ''have'' seen similar things done on other User: pages, but I can't remember whose - and this one popped up on my watchlist today. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 11:55, 22 July 2011 (UTC)
:::Indeed.
<div class="mw-collapsible mw-collapsed">
:::I personally use the following JS snippet to undo this kind of changes on user pages:
<div class="mw-collapsible-content"><syntaxhighlight lang="javascript">
if ( $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 2, 3 ]) > -1
&& $.inArray( mw.config.get( 'wgAction' ), [ 'view', 'purge' ]) > -1
&& mw.config.get( 'wgTitle' ).indexOf( mw.config.get( 'wgUserName' ) ) === -1
) {
$(function () {
var html = $('#firstHeading').html();
if ( html !== mw.config.get( 'wgPageName' ) ) {
// Restore the original userpage name
$( '#firstHeading' ).html( mw.config.get( 'wgPageName' ).replace(/_/g, ' ') );
}
// Repositions fixed images used on user pages, such as those from
// [[commons:Category:Wikimedia related application icons]]
$('#bodyContent *').filter(function(index) {
//MediaWiki doesn't insert fixed content inside of #bodyContent
return $( this ).css( 'position' ) === 'fixed';
}).css( 'position', 'static');
});
}
</syntaxhighlight></div></div>
:::[[User talk:Helder.wiki|Helder]] 13:59, 22 July 2011 (UTC)
::::[http://www.mediawiki.org/w/index.php?title=User:Remember_the_dot&oldid=264625 My little protest] (per [[rev:49330]]). --[[User:Splarka|Splarka]] ([[User_talk:Splarka|rant]]) 09:04, 23 July 2011 (UTC)
:::::<3 [[User:Killiondude|Killiondude]] ([[User talk:Killiondude|talk]]) 19:30, 23 July 2011 (UTC)

== "v-d-e" into "maintenance" or "m" ==

Now that we've grown up, should not the "v-d-e" {{tlx|navbar}} be simplified into "maintenance" (or similar: "m"). It should link to the template page, and from there everything is the same. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 20:45, 23 July 2011 (UTC)
* '''I propose''' to replace the template (navbar) "v-d-e" linking set with "maintenance" (or "m", or ...). It would have the "v"-link effect. (<small>added later here for clarity, -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 23:47, 23 July 2011 (UTC)</small>)
:You seem to be under the impression that v-d-e were added so that we could fill out pages. Is that correct? I was under the impression they are for convenience&hellip; --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 20:49, 23 July 2011 (UTC)
::I don't get your meaning of "fill out pages". For us at VPT & technically minded, it is ok this way. But we write for readers and other editors, and they might think different. (Again, what is "fill out pages"?) -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:10, 23 July 2011 (UTC)

:::What is the issue? Has a problem been reported? ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 21:47, 23 July 2011 (UTC)
::: I personally oppose the VPT suggestion. --[[User:Ancheta Wis|Ancheta Wis]] ([[User talk:Ancheta Wis|talk]]) 22:23, 23 July 2011 (UTC)

: The v-d-e links seem fine to me? They are for convenience for technically savvy editors. The links are small enough so as to not be distracting, and people would typically only click on them when they already know what they are since they don't provide much context. <font face="Verdana">[[User:Gary King|<font color="#02b">Gary&nbsp;<b>King</b></font>]]&nbsp;<span style="font-size: 0.9em;">([[User talk:Gary King|<font color="#02e">talk</font>]]&nbsp;·&nbsp;[[User:Gary King/Scripts|<font color="#02e">scripts</font>]])</span></font> 22:07, 23 July 2011 (UTC)
:::Gadget850: No, there is no ''problem''. I think it would be an ''improvement''. After all, the main page has ''tabs'' for "Discussion" and "Edit", why should a template on that page have its own ''3'' links?
:::Gary King: "seems fine to me" -I prefer discussion, not individual experience. Of course me too knows what the v-d-e is about. I am at the tech-VP. My point is: we are not editing for our fellow techs. For a wiki-reader, the v-d-e code is strange at least. So when we techs agree (and then WP/Policy will follow ;-), let alone the view-minded WP/Misc), we can improve the Wikipages. A wikireader does need nor like these codes. And we can help him/her. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 22:28, 23 July 2011 (UTC)
:I don't follow. What's being proposed here, exactly?<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 22:33, 23 July 2011 (UTC)
::A change to the menu links in the info boxes from v-d-e to m and attendant changes to the logic of displaying the info boxes. --[[User:Ancheta Wis|Ancheta Wis]] ([[User talk:Ancheta Wis|talk]]) 22:36, 23 July 2011 (UTC)
:::{{ec}} '''I propose''' to replace the template (navbar) "v-d-e" linking set with "maintenance" (or "m", or ...). It would have the "v"-link effect. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 22:42, 23 July 2011 (UTC)
::::OK, I sorta thought so. Please don't. At the very least, create a new "navbar" instead of changing the existing one, and switch the new in for the old where there's actually support for that. I'd oppose such a switch almost universally though, simply for the fact that the "v-d-e" links are extremely useful. Why force people to click twice (once to the page, then again to do what they actually want) when a single click gets them to where they want to go with no side effects? I don't understand what the problem with the "v-d-e" links are.<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 23:19, 23 July 2011 (UTC)
:::::''I don't understand what the problem[s] ... are''. Neither do I. Who said there was a problem? (please).
:::::Ohms law: by alternative template(-switch) would be nice. My main point is that not every link needs a three-way link. (Hey, why not add "h" for history too? And, why not three links somehow for every wikilink? -- right, there is a reason for that). Of course every savvy editor wants to go to the "Edit" page right away. But how many are they, compared to the unsavvy editor, and more relevant: compared to number of ''readers''? The v-d-e buttons are there for our minority (tech savvy editors) only. For a reader they are confusing at least (I say intimidating). -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 23:47, 23 July 2011 (UTC)
::::::OK, how about this: I don't understand what the motivation for this proposal is. Is the... er, "problem" that templates are being made to be too easy to edit or navigate to the talk page?<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 00:35, 24 July 2011 (UTC)

:I honestly think it's just fine the way it is. I understand that it might not be the most helpful answer in the world, but I honestly don't see the benefit in switching, especially for a non-intuitive "m" for "maintenance". [[User:EVula|EVula]] <span style="color: #999;">// [[User talk:EVula|talk]] // [[User:EVula/admin|<span style="color: #366;">&#9775;</span>]] //</span> 23:58, 23 July 2011 (UTC)
::I think I had already been an admin for some months before I figured out how to easily access templates without copying the header and using [[Special:Search]]. I honestly wouldn't mind turning "v-d-e" into "view-discuss-edit", but that might be too much I suppose. '''<font color="navy">[[User:NuclearWarfare|NW]]</font>''' ''(<font color="green">[[User talk:NuclearWarfare|Talk]]</font>)'' 00:09, 24 July 2011 (UTC)
:::I agree with EVula; how would an "m" be any less confusing than "v-d-e". There's no problem with the current format. [[User:BigDom|<span style="color:#990033">Big</span>]][[User talk:BigDom|<span style="color:#3BB0FF"><small>Dom</small></span>]] 08:29, 24 July 2011 (UTC)
::::Of course, the "m" is not essential. It could be "T" (for template), or a symbol. What I want to introduce is: why should every template on a page have these ''multiple'' links? Hey, why not add "history" too? Those of us who know what it's about, can go ahead. The ''reader'', most and most of our public, have no message in these details. Right in the middle of a serious page: they (and me) can do with a single "view the template" link. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:50, 24 July 2011 (UTC)
:::::I fail to see how a "T" or a symbol would be ''less'' confusing; it's doubly confusing, given your appeal to the needs of the reader after suggesting something even more cryptic. (and I don't think there's a history link because it's not as readily needed) What articles are you reading that there's a template "right in the middle" that has that trio of links? Every time I've seen it, it's been on a navbox at the bottom of an article. [[User:EVula|EVula]] <span style="color: #999;">// [[User talk:EVula|talk]] // [[User:EVula/admin|<span style="color: #366;">&#9775;</span>]] //</span> 01:41, 25 July 2011 (UTC)

::::::If you use the big words, then it will be intrusive. v · d · e works fine for me, and if I forget what they mean, then the mouseover display will remind me. ---'''''—&nbsp;[[User:Gadget850|<span style="color:gray">Gadget850&nbsp;(Ed)</span>]]<span style="color:darkblue">&nbsp;'''''</span><sup>[[User talk:Gadget850|''talk'']]</sup> 03:38, 25 July 2011 (UTC)
:::::::[[London King's Cross railway station#Services|Here are some]] that are right in the middle. As for turning "v-d-e" into "view-discuss-edit", something very similar is very easily done: just remove the {{para|mini}} parameter from the {{tlx|navbar}} and you get "<span class="noprint plainlinks navbar">&#91;<span style="white-space:nowrap;word-spacing:-.12em;"><span title="View this template">view</span>&#32;<b>&middot;</b>&#32;<span title="Discuss this template">talk</span>&#32;<b>&middot;</b>&#32;<span title="Edit this template">edit</span></span>&#93;</span>". --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 12:12, 25 July 2011 (UTC)
::::::::Ah, okay; I don't think I'd ever seen that before. (but then again, I never look up English railway topics...) However, I still don't think it's an issue, or something that would be "fixed" by implementing a more cryptic alternative. [[User:EVula|EVula]] <span style="color: #999;">// [[User talk:EVula|talk]] // [[User:EVula/admin|<span style="color: #366;">&#9775;</span>]] //</span> 14:00, 25 July 2011 (UTC)
How nice to turn this into "full words or abbreviations?". I maintain that a template only needs one link ''to that template'' (be it "v", "m", "t" or a symbol). From there, any editor can move further. Just as with any other link: we don't have "v-d-e" (.. history etc) links with a regular wikilink in the text, do we? -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:16, 27 July 2011 (UTC)
:How about giving a demo? The other editors indicate they are content. The prospect of a swirl of UI changes to the main implementation based on one editor's aesthetic requires consensus. It does not require consensus to implement a suggestion if you build a parallel demo. Then a thumbs up/down response to the demo. You could use the [https://secure.wikimedia.org/wikipedia/test/wiki/Main_Page test wiki] as your test platform. --[[User:Ancheta Wis|Ancheta Wis]] ([[User talk:Ancheta Wis|talk]]) 22:28, 27 July 2011 (UTC)
:...and I maintain that stripping down the links to just a single letter or symbol is counter-intuitive. Suggestions that we need to change a standard practice must present a viable argument in favor of the new system; nothing personal, but I (and apparently several others) aren't convinced. The "v-d-e" links aren't particularly analogous to regular inline wikilinks, so trying that approach isn't going to work. I think Ancheta Wis' suggestion of testing it out somewhere is a good one. [[User:EVula|EVula]] <span style="color: #999;">// [[User talk:EVula|talk]] // [[User:EVula/admin|<span style="color: #366;">&#9775;</span>]] //</span> 22:50, 27 July 2011 (UTC)
::I agree. Additionally, as I said above, please create a ''new'' template to test this out with, and see if it gains approval. I'd hate to see most of the "v-d-e" links suddenly change.<br/>—&nbsp;[[User:Ohms law|<span style="font-family: Courier New, monospace ;font-style:italic">V = IR</span>]] <span style="font-variant:small-caps">([[User talk:Ohms law|Talk]]&thinsp;&bull;&thinsp;[[Special:Contributions/Ohms law|Contribs]])</span> 23:13, 27 July 2011 (UTC)
:::This sub is an inviting tone & talk, thank you. I'll get to an example. And hey, if I really wanted to trick something, would I start it ''here in the VP/T-home?'' I just wanted to check my idea head on. Now as said, thank you. More here later on. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 23:13, 28 July 2011 (UTC)

== permanently hiding the notices and such on Watchlist ==

I don't care about meetups or crat rights. Can I just turn that off forever?[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 03:36, 25 July 2011 (UTC)
:Add <source lang="css">#watchlist-message {display: none}</source> to [[Special:MyPage/common.css]]. [[User talk:Ucucha|Ucucha]] 12:11, 25 July 2011 (UTC)

::Done. Thanks. We might want to make it a profile setting. I bet a lot of people want to turn that stuff off.[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 13:02, 25 July 2011 (UTC)
:::That would be a very bad idea in my opinion. People should be informed about important things such as crats being authorized to take away administrator rights. We should not encourage people to 'not be informed'. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 16:47, 25 July 2011 (UTC)
::::It's fine if it is the default setting. But people should have the option to turn it off if they want. We all edit with different reasons and committments and should be able to tune out some of the spam if we choose. Others may want more...and you can see them with RFA notice thingie on their userpage. Chacun a con gout.[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 16:56, 25 July 2011 (UTC)
:::::Of course; people turning it off should also lose any rights to complain about social/community/policy changes that they miss because of it :) --'''[[user:ErrantX|Errant]]''' <sup>([[User_talk:ErrantX|chat!]])</sup> 17:08, 25 July 2011 (UTC)
::::::Agreed...and if they do, tease them.[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 17:58, 25 July 2011 (UTC)

== JavaScript Problems ==

I placed code on my common.js page that was on my vector.js page, and now that code is not working! I'm going to move the code back to my vector file until I find an answer. Please help. --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 00:53, 26 July 2011 (UTC)
:Uh oh. Now all of my scripts have stopped working after the moves! HELP!!!!!!!!!!!!!!! --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 02:20, 26 July 2011 (UTC)
::{{done}} Apparently, against all known wiki laws, JavaScript pages break if moved. You have to cut-and-paste move, then nominate the old page for CSD U1. Weird. --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 16:54, 26 July 2011 (UTC)
:::Probably a caching issue, or the fact that there was a redirect. I don't think JS should be redirected using the wiki format. :^) --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:04, 26 July 2011 (UTC)
::::Redirects on normal pages are wikicode. The .js pages are for JavaScript, not wikicode. Thus it's highly unlikely to work. If #REDIRECT is a valid token in JavaScript, it's not necessarily going to do the same as a [[WP:REDIR|MediaWiki redirect]]. It's unlikely to be the same, given that the hash sign [https://developer.mozilla.org/en/JavaScript/Sharp_variables_in_JavaScript has a completely different meaning in JavaScript]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 19:05, 26 July 2011 (UTC)
:::Reported on [[bugzilla:30074|bug #30074]]. [[User talk:Helder.wiki|Helder]] 19:38, 26 July 2011 (UTC)
::::Is there a way to do a move without making redirects? --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 21:02, 26 July 2011 (UTC)
:::::Yes: but you need to be an [[WP:ADMIN|administrator]] or better, see [[WP:R#SUPPRESS]]. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:06, 26 July 2011 (UTC)
::::::Which is why I [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%3ALog&type=move&user=&page=User%3AUcucha%2Fvector.js didn't get problems] doing this. [[User talk:Ucucha|Ucucha]] 21:47, 26 July 2011 (UTC)


Hello everyone, does anyone know how to get [[Lua (programming language)|Lua]] accepted two date format at the same time? That is. YYYY-MM-DAY and DD-MM-YYYY. I have tried my all to get them both work together at the same time in lua module Wikipedia but that's impossible for me. Only one type of date format can only work at the same time. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 06:40, 27 April 2024 (UTC)
== help...all my toolbar addins are not working ==
:Accepting a date like 01-02-2020 would not be a good idea at Wikipedia where some would think January 2, 2020 while others would see 1 February 2020. Where is this needed? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 08:09, 27 April 2024 (UTC)
::alright thanks for telling me that, I'm build a new dynamic and multipurpose infobox in lua by integrating all functionality in one Template, but the current programed date format is in something like 01-02-2020 so which date format is well acceptable for Wikipedia? '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 09:43, 27 April 2024 (UTC)
:::YYYY-MM-DD
:::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 11:05, 27 April 2024 (UTC)
::::See more at [[MOS:DATEFORMAT]]. YYYY-MM-DD is the only allowed format using a number for the month. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 12:04, 27 April 2024 (UTC)
:::::@[[User:PrimeHunter|PrimeHunter]] noted that, I have changed it, thanks for your reply. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 12:44, 27 April 2024 (UTC)
::::Thanks for your reply. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 12:45, 27 April 2024 (UTC)
:::::[[Module:Date]] accepts a variety of dates formats, for example, 2024-04-27 or 27 April 2024 or April 27, 2024 (all allowed at Wikipedia) and only allows valid dates. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 03:47, 28 April 2024 (UTC)
::::::Got it, Thanks very much for pointing out. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 05:00, 28 April 2024 (UTC)
::::seconding YYYY-MM-DD which is not only the most logical but also sorts properly and is an international standard <b style="font-family: monospace; color:#E35BD8">[[User:JPxG|<b style="color:#029D74">jp</b>]]×[[Special:Contributions/JPxG|<b style="color: #029D74">g</b>]][[User talk:JPxG|🗯️]]</b> 19:00, 28 April 2024 (UTC)
:Why are we going through this again when [[MOS:DATE]] was settled years ago? We don't use all-numeric dates except in certain special situations, and even then, only CCYY-MM-DD is permitted. If you want that changing, [[WT:DATE]] is the place to do it but (i) make sure that you inform [[WP:VPP]]; (ii) be prepared for massive kickback. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 22:07, 28 April 2024 (UTC)
::Ah I see, well I wasn't actually aware of the standard at first I'm now familiarising with the policy. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 04:49, 29 April 2024 (UTC)


== Strange bug on [[Flag of Russia]] article ==
(I am not technically minded.)


[[File:Bug on Flag of Russia article.png|thumb]]
I added a cite toolbar, some thingie from Commons that makes images easy to add when editing, and then a smiley thingie. Now none of that stuff is working. I really need the cite toolbar back please. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:TCO|TCO]] ([[User talk:TCO|talk]] • [[Special:Contributions/TCO|contribs]]) 05:45, 26 July 2011 (UTC)</span></small><!-- Template:Unsigned -->
Is anyone else also seeing this bug on [[Flag of Russia]]? There are two major headers saying "User:CheezDeez ON TOP" that appear inside the infobox (this user is also blocked for sockpuppetry, but I don't think they have ever edited this article). I can't find anything in the wikitext that might produce this text, and the bug also doesn't show up in preview mode either. [[User:Liu1126|Liu1126]] ([[User talk:Liu1126|talk]]) 13:41, 28 April 2024 (UTC)
:Without more detail, it's hard to say what exactly is going wrong. However, it looks like some script is interfering with another. You should probably try turning off all the scripts you added recently (such as by reverting {{diff2|440664786|this edit}}) and then turning them on one by one to see what causes the problem. [[User talk:Ucucha|Ucucha]] 12:34, 26 July 2011 (UTC)


:I was reverting all these edits when it was happening (in this specific case, [[Special:Diff/1221172528]]), but it seems this article didn't refresh when I undid the changes. I gave the page a null edit, and the content is fixed again now. [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 13:44, 28 April 2024 (UTC)
::I just went and nuked everything on the .js and .css pages, but still cite toolbar is missing[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 12:54, 26 July 2011 (UTC)
:::Did you re-add the cite toolbar after blanking the page? If not, then go re-add only it. --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 16:57, 26 July 2011 (UTC)
::Ah, that explains it. Thanks for reverting! [[User:Liu1126|Liu1126]] ([[User talk:Liu1126|talk]]) 13:48, 28 April 2024 (UTC)
::Hi! I noticed the same issue in the [[Haaretz]] article ([[Template:Literal translation]]) and the [[Tiger]] article ([[Template:MirrorH]]). I see you've already reverted the vandalistic changes to both templates, but the articles I linked don't appear to have been refreshed yet. Could you refresh them as well, or otherwise let me know how I could do that? Thanks! [[User:Wavevari|Wavevari]] ([[User talk:Wavevari|talk]]) 15:17, 28 April 2024 (UTC)
:::I've gone ahead and fixed those pages. The process is called a [[WP:NULL|null edit]], though [[WP:PURGE|purging]] the page normally would probably also work. [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 15:26, 28 April 2024 (UTC)
::::Thank you for the fixes and for the additional information! [[User:Wavevari|Wavevari]] ([[User talk:Wavevari|talk]]) 15:30, 28 April 2024 (UTC)
:::::It’s the same for the [[Vagina]] article. [[User:Autisticeditor 20|Autisticeditor 20]] ([[User talk:Autisticeditor20|talk]]) 17:40, 28 April 2024 (UTC)
::::::never mind [[User:Autisticeditor 20|Autisticeditor 20]] ([[User talk:Autisticeditor 20|talk]]) 17:42, 28 April 2024 (UTC)


== Erroneous page archiving by ClueBot III ==
I have posted in detail about a similar problem; see [[Wikipedia:Village_pump_(technical)/Archive_90#My_gadgets_are_gone_most_of_the_time]]. My problem was never resolved. Cleaning out my .js and .css had no effect. Apparently bits.wikimedia.org frequently times out, and bits is evidently the server that feeds the browser the necessary core javascript functions so that toolbars and gadgets can work.


{{user15|ClueBot III}} seems to be occasionally archiving pages incorrectly to ''Archives/_1'' and ignoring the configuration on the page. Examples from various namespaces: [[Wikipedia talk:Why is BFDI not on Wikipedia?/Archives/ 1|1]], [[Talk:GCSE/Archives/ 1|2]], [[User talk:Spiderjiu/Archives/ 1|3]], [[Talk:2024 Bondi Junction stabbings/Archives/ 1|4]]. This was reported on the [[User talk:ClueBot Commons|ClueBot Commons]] talk page yesterday by {{ping|MrPersonHumanGuy}} ping. Other examples can be found in the [[Special:Contributions/ClueBot III|contributions log]]. [[User:Local Variable|Local Variable]] ([[User talk:Local Variable|talk]]) 13:51, 28 April 2024 (UTC)
I suggest to Ucucha to look at that report I linked and click on the example links to bits.wikimedia.org. Then try looking at your browser's status message bar to see if it's hanging when trying to access bits. I use Google Chrome, and the message "Waiting for bits.wikimedia.org" appears -- when this appears for several seconds I know I'm not going to get any of my gadgets. ~[[User:Amatulic|Amatulić]] <small>([[User talk:Amatulic#top|talk]])</small> 17:08, 26 July 2011 (UTC)
:The four pages have one things in common: inside the {{tlux|User:ClueBot III/ArchiveThis}}, the first part of the {{para|archiveprefix}} parameter does not begin with the name of the page that is being archived. For three of the four, this is because a page move occurred at some point in the recent past and the archiving config wasn't amended to suit; in the case of [[User talk:Spiderjiu]] it's because the archiving was set up badly. The other main archiving bot, {{user|lowercase sigmabot III}}, guards agains this by refusing to archive a page when the first part of the {{para|archive}} parameter does not begin with the name of the page that is being archived. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 17:27, 28 April 2024 (UTC)
::@[[User:K6ka|K6ka]] has since updated the docs to advise editors to change the template when moving the page (I'm not overly optimistic editors will heed that warning). [[User:Local Variable|Local Variable]] ([[User talk:Local Variable|talk]]) 23:26, 28 April 2024 (UTC)


== “Request Desktop Site” on IPad does not work ==
:To create any of this stuff, I just followed instructions from people to cut and paste stuff to these strange pages. Is it possible for others to edit these pages of mine? In which case, I just ask that someone fix it, please? (Sorry if that is pathetic.)[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 17:41, 26 July 2011 (UTC)
::Yes, admins can edit your .js pages. However, I wouldn't know exactly what to do. Did you turn anything on in your gadgets (via [[Special:Preferences]])? Also, in [[User:TCO/common.css]] (now blanked), you should not have had the texts "<nowiki><source lang="css"></nowiki>" and "</source>", but that probably didn't cause your problems.
::Amatulic, those links work fine for me. [[User talk:Ucucha|Ucucha]] 21:56, 26 July 2011 (UTC)
:::I had turned on the multimedia beta (for adding images). Could it have conflicted with the smilie code? Just turned it off now. Would like to get something back though. Right now, I'm stripped bare. At least the cite toolbar... <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:TCO|TCO]] ([[User talk:TCO|talk]] • [[Special:Contributions/TCO|contribs]]) 22:09, 26 July 2011</span></small><!-- Template:Unsigned -->
::::By cite toolbar, do you mean the citation expander? --[[User:Nathan2055|Nathan2055]][[User Talk:Nathan2055|<sup>talk</sup>]] 22:31, 26 July 2011 (UTC)
It's like up where the advanced characters and all that are. But I'm missing it. Actually it is back now. Maybe the image multimdia beta thing was conflicting with it (go in same spot). I turned that off in prefs. Would like to go reload all my .js and .css now.[[user:TCO|TCO]] ([[User:TCO#Reviews needed|reviews needed]]) 23:21, 26 July 2011 (UTC)


I would like to use Desktop mode while on my iPad (IPad Air gen 4, IpadOS 17 , safari)
== Upload file ==


Although I have “request desktop site” selected, Wikipedia redirects to Mobile (en.m.wikipedia.org)
I have created a upload form for myself [[User:Armbrust/Upload|there]]. Is there some way that the "Upload file" links to my upload form? <font color="#082567">[[User:Armbrust|Sir Armbrust]]</font> <sup><font color="#E3A857">[[User talk:Armbrust|Talk to me]]</font></sup> <sub><font color="#008000">[[Special:Contributions/Armbrust|Contribs]]</font></sub> 12:01, 26 July 2011 (UTC)
:Add the following to [[Special:Mypage/common.js]]:
<source lang="javascript">
$( document ).ready( function() {
$( 'a', '#t-upload' ).attr( 'href', '/wikipedia/en/wiki/User:Armbrust/Upload' );
});
</source>
:If you're not using the secure server, remove "/wikipedia/en". [[User talk:Ucucha|Ucucha]] 12:11, 26 July 2011 (UTC)
::Thanks. <font color="#082567">[[User:Armbrust|Sir Armbrust]]</font> <sup><font color="#E3A857">[[User talk:Armbrust|Talk to me]]</font></sup> <sub><font color="#008000">[[Special:Contributions/Armbrust|Contribs]]</font></sub> 12:41, 26 July 2011 (UTC)
::Even better, use the function [[mw:ResourceLoader/Default_modules#wikiGetlink|wikiGetlink]] provided by MW 1.17:
:::<syntaxhighlight lang="javascript" enclose="none">
$( 'a', '#t-upload' ).attr( 'href', mw.util.wikiGetlink( 'User:Armbrust/Upload' ) );
</syntaxhighlight>
::and it will work both on secure and unsecure servers. [[User talk:Helder.wiki|Helder]] 14:41, 26 July 2011 (UTC)
:::Thanks; I wasn't aware of that function. [[User talk:Ucucha|Ucucha]] 21:48, 26 July 2011 (UTC)


How can I use desktop Wikipedia on iPad? [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 17:22, 28 April 2024 (UTC)
== SVG Maps ==
:{{ping|Tonymetz}} "request desktop site" is a feature in some mobile browsers. I don't know whether it's supposed to work with Wikipedia. The normal way to choose the desktop version of Wikipedia is the "Desktop" link at the bottom of pages in the mobile version. The link is made by MediaWiki and not the browser. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 17:47, 28 April 2024 (UTC)
::In fact, the browser feature does not work. [[phab:T60425]] is the task for it. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:14, 28 April 2024 (UTC)
:::Thanks I’ve subscribed. 11 years let’s keep our fingers crossed. Thanks for the tip on the desktop link I see it now. It had been cut off by my iPad keyboard bar. [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 22:06, 28 April 2024 (UTC)
:There are userscripts that will auto redirect you from the mobile to the desktop site, [[User:Þjarkur/NeverUseMobileVersion]] for instance. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 18:24, 28 April 2024 (UTC)


== Removing gap between templates ==
Forgive me, but I do not understand the point of these SVG maps. Coming from three diffent pages, including Cape Breton Island and Mira River, I followed links from maps with proper labels and red dots marking the locations in question, yet arrived in all three cases at the same generic unmarked "Canada Nova Scotia location map 2.svg" map. In other words, in all three cases I followed the links, loaded the higher-resolution images (on a dial-up connection, as I am in a very rural area), and came to maps with LESS pertinent information than the thumbnails I had started from!


After updating the template styling of [[User:CoolieCoolster|my user page]], I managed to get most things as I wanted except for a gap between the "Start tab" template and the bordered box that comprises the rest of the page. Is there a way I could put the bordered box into the template, or make an adjustment to how they are configured, to remove the gap between them? -[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 23:26, 28 April 2024 (UTC)
Is this how the standard Wikipedia mapping system is now supposed to function? Why have a link from the thumbnail version at all? Common sense dictates that the higher-resolution image should have the same location-marking dot, and ideally the same image label, all in a higher-resolution image. That would provide MORE information.


:@[[User:CoolieCoolster|CoolieCoolster]] i have seen your page, are you referring to the gap between the "start tab" and your userboxes section, if so then I can help you with that or can you be more specific and explain properly? You may discuss with me on my talk page if I didn't respond here on time. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 05:23, 29 April 2024 (UTC)
I mean no criticism of the editors, but I do believe there is some deficiency in the new mapping system if this is what it produces.
::I meant the thin white line that appears between the template that creates the tabs and the section that encloses the rest of the page's content. As I reused the format on the other three tabs, each one has the same white gap. -[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 05:26, 29 April 2024 (UTC)
:::OK the thin whit
:::line e u are talking abo are you referring the start tab or your userboxe table? t '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 05:29, 29 April 2024 (UTC)
::::Above that; it splits the dark red section at the top in two.-[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 05:41, 29 April 2024 (UTC)
:::::Pretty not much clear, but see what I found so far.
:::::*there is a huge gap between the start tab and your userboxes section may be making it look unsatisfying since you applied the same background color to both of them
:::::*there is also a thin line that appears at the start tab when scrolled from either left or right. But except that I couldn't figure anything else.
:::::'''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 05:54, 29 April 2024 (UTC)
::::::I'm guessing the first issue you described is what it is; both halves using the same color is intentional, as ideally I'd like to find a way for the content of the page to be within the box connected directly to the tabs, but doing so while also having a border around the page seems to be a conundrum. -[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 06:36, 29 April 2024 (UTC)
:::::::Alright I do have solution for that. If you do permit me i will edit your page directly, and after that if that's not what you described we can find further. But first of all, take a look at the top of this page, it has similar start tab as yours and the start tab isn't separated from the rest of the page unlike yours that splits, check and tell if this is actually your point. '''<br/><i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 07:02, 29 April 2024 (UTC)
:Move the closing div tag to after the table...then reduce the border width? — [[User:GhostInTheMachine|GhostInTheMachine]] <sup>[[User talk:GhostInTheMachine|talk to me]]</sup> 07:07, 29 April 2024 (UTC)
::Someone did that for me earlier today it seems, so the issue has been resolved, but thanks for the help! -[[User:CoolieCoolster|CoolieCoolster]] ([[User talk:CoolieCoolster|talk]]) 18:52, 29 April 2024 (UTC)


==Curious ephemeral js error==
I turned on the "display js errors" gadget a few days ago. Today I got an error something like "unhandled exception missing ) for argument list line 23". Since the gadget pop-up fades away quickly, I refreshed the page a few times to try and select and copy the error. I then took a look at the source: line 23 is (for me) <code>}];});});</script></code>. After looking at this I tried again to copy the error, but it had gone.
I compared the script which runs from line 6 to 23 before an after the error with an on-line diff, no apparent difference.


Anyone know why this might have happened? All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 08:34, 29 April 2024 (UTC).</small><br />
Heavenlyblue (talk) 00:30, 27 July 2011 (UTC) <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Heavenlyblue|Heavenlyblue]] ([[User talk:Heavenlyblue|talk]] • [[Special:Contributions/Heavenlyblue|contribs]]) </span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:The mapping system works by placing one image over another. It's a very useful system, because it doesn't require a separate file for each location of the dot. I agree though that it has the drawback you describe; I suppose it should be possible to have the image link to a larger version of the same map with the dot on it, so that you can see the location of a place more precisely. [[User talk:Ucucha|Ucucha]] 01:55, 27 July 2011 (UTC)
::While that may be indeed useful, I'm not sure how could that be done without creating new page for every map or using a special extension for that. The only way I could imagine this could work in the short term would be using JavaScript (with the obvious disadvantage that it wouldn't work for users without JS). <tt>[[User:Svick|User&lt;Svick&gt;]].[[User talk:Svick|Talk()]][[User:Svick/Signature|;]]</tt> 20:54, 31 July 2011 (UTC)
:::Creating separate bespoke maps would be an absolute nightmare. Consider [[Wembley Stadium railway station]]: in the infobox, there is a SVG map with the position of the station indicated by a red snooker ball. This is a generic map, used on over one ''thousand'' pages. Therefore, to incorporate specific markers, over 1000 different SVG maps would need to be drawn just for the Greater London area, and I am sure that {{user|Nilfanion}}, who has produced most of these generic maps, has better things to do.
:::There is a much easier alternative. Most articles which deal with a static feature will have the relevant latitude/longitude coordinates, usually at upper right. These are clickable and take you to a page listing various mapping services of greater or lesser accuracy. Some of these ''do'' add a relevant marker, some do not. Try clicking the coordinates on [[Wembley Stadium railway station]] - for convenience, here is the link: {{coord|51.5543|-0.2863|region:GB_type:railwaystation|display=inline}} Go there, and try any of the links in the "Bing Maps" rows - these all have markers; by contrast, the lnk after "Ordnance Survey Get-a-map" does not. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 21:54, 31 July 2011 (UTC)


:I got it too, so I filed [[phab:T363701]]. It happened whenever the [[m:CentralNotice|CentralNotice]] banner for the U4C voting was displayed. But it stopped at some point even when I got the banner. I wonder if something was backported and fixed it. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 22:44, 29 April 2024 (UTC)
== LaTeX equation problems ==
::The banners are maintained on Meta-Wiki as wiki pages. You can find them on [[m:Special:CentralNotice]], if you can figure out the interface (I struggle with it). I think this was the edit that fixed it: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Centralnotice-template-u4c_election2024_vote2&diff=prev&oldid=26702487 [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 09:18, 30 April 2024 (UTC)


Thank you both. All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 09:48, 1 May 2024 (UTC).</small><br />
{{resolved|[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 12:28, 30 July 2011 (UTC)}}
Today there seems to be a problem with the LaTeX equation editor. If I copy an equation as is from an article, it parses properly, as for example.
:<math>\ln n! = \sum_k \ln k \approx \int_{1}^{n}dk \ln k = n\ln n - n </math>
However if I make a small change such as replacing each n (except the one in "int" of course) by an m, I obtain the message Failed to parse (unknown error). If I change back to the original equation it works again.


== Help with regex statement ==
This is annoying because it makes it very difficult to edit equations. In this case I wanted to change all the n in this equation to m because n has another meaning in the article [[Entropy of mixing]]. Another editor told me he had similar problems (see [[Talk: Entropy of mixing# Notational confusion and LaTeX problems ]]). Can anyone help? [[User:Dirac66|Dirac66]] ([[User talk:Dirac66|talk]]) 02:33, 27 July 2011 (UTC)
:P.S. This is a new problem. I have made similar edits to equations before without problems. [[User:Dirac66|Dirac66]] ([[User talk:Dirac66|talk]]) 02:49, 27 July 2011 (UTC)
::P.P.S. I have just discovered that the problem is browser-dependent! I get a Failed to parse error with Internet Explorer (version 7.0.5730.11), but I can edit the equation correctly with Mozilla Firefox (version 3.6.3). It still should be fixed to work with any browser of course. [[User:Dirac66|Dirac66]] ([[User talk:Dirac66|talk]]) 03:16, 27 July 2011 (UTC)
:::I am able to edit the equation using IE9. If it's an option, try upgrading to IE8 (obviously I don't know if IE8 works) to see if that will serve as a workaround. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 05:22, 27 July 2011 (UTC)
Sounds like the problem is that you're still using internet explorer for some reason. [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#a00 -0.2em -0.2em 0.4em,#a00 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|gossip]]</small></sup> 18:38, 29 July 2011 (UTC)
:Dirac66 was using IE7 (7.0.5730.11), but I had no trouble with IE7 (7.0.5730.13). Dirac66 seems unable to reproduce the problem, and has since {{diff|Entropy of mixing|next|441634498|amended the article satisfactorily}}, so it's all sorted now. The "for some reason" may be that Dirac66 edits from work - many employers have a strict policy on which software may or may not be installed. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 12:28, 30 July 2011 (UTC)


Hi, I need help with the following regex, which I did not write and don't understand well enough to fix. That statement is:
== Broken 'Contact us' link ==
:<code><nowiki>(?<!/)(?<!\\?url=)https?://(?:[\\w-]+\\.)*wikisophia[.]org[\\w/.\\-#?&=]*</nowiki></code>
The intent is to match all URLs such as:
: <code><nowiki>http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)</nowiki></code>
But not archive URLs such as:
: <code><nowiki>https://web.archive.org/web/20010101010101/http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)</nowiki></code>
: <code><nowiki>https://webcitation.org/fgT654?url=http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)</nowiki></code>
Currently the regex is only partially matching and returning:
: <code><nowiki>http://wikisophia.org/index.php?title=Constitution_Act</nowiki></code>
..anything after the "," is not matched. Same if there is a ":" or other similar characters.


Suggestions? -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 19:21, 29 April 2024 (UTC)
The following is the message I see at the top of my watchlist:


:You need to add the relevant characters (possibly escaped?) to <code>[\\w/.\\-#?&=]</code>. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:59, 29 April 2024 (UTC)
Wikipedians of Columbus: A professor at the IUPUC is looking for Wikipedia Campus Ambassadors for the upcoming fall semester! Contact us if you are interested. [hide]
:Almost any character can appear in a URL, especially after <code>?title=</code>. It may be better to accept anything except whatever delimits a URL in the relevant context, e.g. for parsing {{((}}cite web|url=http...}} use <code>[^|}]*</code> or for space-delimited [http... Description of page] try <code>\\S*</code>. The former may pick up unwanted spaces unless we complicate it as something like <code>.*?(?=\\s*[|}])</code> (grab any characters, but as few as possible, as long as optional spaces then | or } follows). [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 00:14, 30 April 2024 (UTC)
::OK, building on that idea, this solution is imperfect, but it will work in most cases. I'm not using it for critical purposes (log files, counting) so YMMV:
:::<code><nowiki>(?<!/)(?<!\\?url=)https?://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])*wikisophia[.]org[^\\s\\]|}{<]*[^\\s\\]|}{<]*</nowiki></code>
::The gobbly between https and wikisophia is for matching hostname(s) at multiple levels per [https://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address this]. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 05:34, 30 April 2024 (UTC)
:::In case anyone is trying this regex, it had an error corrected: [[Special:Diff/1221562167/1221571619]] -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 18:16, 30 April 2024 (UTC)
{{od}}
Out of interest I fed this into ChatGPT ([[WP:LLM|I know...!]]). Here's its response, for what it's worth (minor tweaks for formatting) -


This regular expression (regex) is designed to match URLs that point to the domain "wikisophia.org" under specific conditions, while excluding URLs that are part of certain contexts or formats. Let's break down this regex to understand what it is specifically targeting:
The above message returns 'The action you have requested is limited to users in the group: Users'.


'''1. Negative Lookbehind Assertions:'''
The link worked, I thought on the weekend, when I replied to it for a different location, but the link does not work right now. My browser is Chrome 12.0.742.122
- `(?<!/)` ensures that the match does not directly follow a forward slash `/`. This might be used to avoid matching URLs that are part of a larger URL path or parameter.
- `(?<!\\?url=)` ensures that the match does not directly follow the query parameter string `?url=`. This helps in avoiding matching URLs that are query parameters.


'''2. URL Scheme:'''
The symptoms and message do not appear at all for Firefox 5. It adds up to something I ought to ignore for now? --[[User:Ancheta Wis|Ancheta Wis]] ([[User talk:Ancheta Wis|talk]]) 04:24, 27 July 2011 (UTC)
- `https?://` matches both "http://" and "https://". The `s?` means that the character "s" is optional.


'''3. Domain Name:'''
:The watchlist message is a [[Wikipedia:Geonotice]] from [[MediaWiki:Geonotice.js]]. The link on "Contact us" goes to http://en.wikipedia.org/wiki/Special:EmailUser/Etlib. Logged out users will see the message you quote: 'The action you have requested is limited to users in the group: Users'. Logged in users without email enabled will see the more informative message at [[MediaWiki:Mailnologintext]]: 'You must be [[Special:UserLogin|logged in]] and have a valid '''authenticated''' e-mail address in your [[Special:Preferences|preferences]] to send e-mail to other users.' Perhaps the same message should be shown to logged out users if possible. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 04:48, 27 July 2011 (UTC)
- The part `(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*` is somewhat complex but essentially matches sequences of alphanumeric characters separated by hyphens (not starting or ending with a hyphen) and followed by periods. This part matches subdomains as well, as it repeats zero or more times due to the `*` operator after the group.
::There's a similar message here in Bloomington, for that matter. When I clicked it, I was sent to an email-this-user for the same user, an IUB librarian. [[User:Nyttend|Nyttend]] ([[User talk:Nyttend|talk]]) 17:04, 27 July 2011 (UTC)
- `([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])` ensures the domain name or subdomain consists of alphanumeric characters, possibly with hyphens (but not starting or ending with them), much like the earlier subdomain matcher.
:::Filed [[bugzilla:30127]] for this UI experience problem. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 12:11, 30 July 2011 (UTC)


'''4. Specific Domain:'''
== Search results page proposal ==
- `wikisophia[.]org` is very straightforward and matches the domain "wikisophia.org". The square brackets around the period `.` are technically not needed here, as they are used to escape special regex characters (though `.` would typically be escaped directly with a backslash).


'''5. Trailing URL Path and Parameters Exclusions:'''
For many years now Ive been wondering why there is no button on the search results page (when no article is found!) that allows you to search for the same entry in a different language. I often search for articles on the Dutch wikipedia, and when an article doesnt exist there should be a faster way of searching for the same thing in the English version (which is more likely to exist in most cases). Anyone else annoyed by this? A "search in different language" dropdown thingy with all (or most popular) languages would be rewarded with my eternal gratitude! <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/94.65.26.37|94.65.26.37]] ([[User talk:94.65.26.37|talk]]) 11:44, 27 July 2011 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
- `[^\\s\\]|}{<]*` This part of the pattern is intended to consume any characters that are not whitespace, slashes, or certain special characters like `|`, `}`, `{`, `<`. However, there are syntax issues and potential misinterpretations in this segment:
:Until such a proposal is implemented, the quickest way is just to change the "en" in the URL to the language code of the wiki you want to search, e.g. change [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=Bryste http://'''en'''.wikipedia.org/w/index.php?title=Special%3ASearch&search=Bryste] to [http://cy.wikipedia.org/w/index.php?title=Special%3ASearch&search=Bryste http://'''cy'''.wikipedia.org/w/index.php?title=Special%3ASearch&search=Bryste] to search the Welsh Wikipedia. [[User:Thryduulf|Thryduulf]] ([[User talk:Thryduulf|talk]]) 12:53, 27 July 2011 (UTC)
- `[^\\s\\]` seems intended to exclude backslashes and whitespace (though `\\s` would be invalid in most regex flavors and might be an error).
::You can put the interwiki prefix (usually a language tag, but can be other things) into the search field itself as a shortcut between projects. For example, search for "fr:Wikipédia:Accueil principal" and you'll jump straight to the French Wikipedia's Main Page, or "s:de:Osymandias" or read Shelly's Ozymandias on the German Wikisource.<br />As for the initial post, I don't think there's an option because a lot of times, searching for the exact phrase is pointless. Look at [[Earth]]. It is also called [[:af:Aarde|Aarde]], [[:bg:Земя|Земя]], [[:de:Erde|Erde]], [[:el:Γη|Γη]], [[:is:Jörðin|Jörðin]], [[:ja:地球|地球]], [[:koi:Мушар|Мушар]], [[:sl:Zemlja|Zemlja]], [[:tl:Daigdig|Daigdig]], and [[:war:Kalibutan (planeta)|Kalibutan]] (just to name a few). Even for some biography articles, how each language handles each person's name can be different; I bet you can't tell who [[:ja:バラク・オバマ|バラク・オバマ]], [[:ckb:باراک ئۆباما|باراک ئۆباما]], [[:wuu:巴拉克·奥巴马|巴拉克·奥巴马]], or [[:zh:贝拉克·奥巴马|贝拉克·奥巴马]] are without clicking on the links. (all the same person) [[User:EVula|EVula]] <span style="color: #999;">// [[User talk:EVula|talk]] // [[User:EVula/admin|<span style="color: #366;">&#9775;</span>]] //</span> 15:08, 27 July 2011 (UTC)
- The character set `[^\\s\\]|}{<]` is followed by a `*` quantifier, meaning it matches zero or more of any character that is not a space, slash, or one of the special characters listed. This part could be attempting to match the rest of the URL while excluding specific trailing characters but is likely erroneous as presented.


'''Conclusion'''
:Other Wikipedias could add a link to the results page "try this search on en.wp | de.wp | es.wp | ... |" by editing the relevant MediaWiki page on their wiki ([[MediaWiki:Searchmenu-new]] / [[MediaWiki:Searchmenu-exists]] I think), and particularly for smaller Wikipedias that would make a lot of sense. You'd have to propose that on each wiki (not least because each wiki would probably have different choices, eg a Germanic language would probably link de.wp but an Asian one probably wouldn't). Searching across many Wikipedias at once would require maybe a toolserver tool or a MediaWiki change. [[User:Rd232|Rd232]] <sup>[[user talk:rd232|talk]]</sup> 13:46, 27 July 2011 (UTC)
The regex seems intended to match "wikisophia.org" URLs that do not follow a slash or the specific query parameter `?url=`. However, there are syntax issues that might cause it to behave unpredictably, particularly with the last part concerning non-whitespace and non-special characters, which appears to be syntactically incorrect. This regex should be reviewed for errors and tested thoroughly in its intended context to ensure it functions as expected.


I hope this is interesting and/or helpful. &nbsp;—[[User:Smalljim|Small]][[User talk:Smalljim#top|jim]]&nbsp; 11:23, 1 May 2024 (UTC)
== js to add watchlist pages ==


== How does one correct a citation when the source is listed dozens of times? ==
I currently have in my monobook.js a link to [[User:R3m0t/handywatch.js]] to add pages listed at [[Special:unwatchedpages]] to my watchlist. I would like to add all the RfD daily log pages to my watchlist ([[Wikipedia:Redirects for discussion/Log]]).


In the entry on lyricist [[Robert Hunter (lyricist)|Robert Hunter]], I noticed that at some point an editor must've accidentally cited another source that's already cited 22 times in the article. There are only three 2015 sources used, so perhaps someone inadvertantly used the wrong one. At any rate I tried to fix it using the visual editor and, while it corrected the citation, it left it with the wrong footnote number still. So I undid my failed correction and left a note on the article's Talk page. Correcting simple sources that are only cited once is pretty straightforward, but when they're used dozens of times it's another (way too intimidating) matter. Or am I simply not able to find "the easy way"? [[User:Peterh6658|Peterh6658]] ([[User talk:Peterh6658|talk]]) 23:22, 29 April 2024 (UTC)
If I placed a copy of R3m0t's script as [[User:Thryduulf/rfdlogwatch.js]] and changed the line <code>if (thisLink.href == 'http://en.wikipedia.org/wiki/Special:Unwatchedpages') { alert("Finished! " + counter + " pages added."); return; }</code> to use the url <code>http://en.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log</code>, and then included a link to this script from my monobook.js (I use the monobook skin), would it do what I want? If not what would work? (I'm no programmer, so please don't get too technical)
:{{re|Peterh6658}} I've made the change you wanted, and given a link to how I did it on the article talk page. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 23:33, 29 April 2024 (UTC)
::Thanks, Duncan! I hope I wasn't out of line with that crack about the process being '''way too intimidating'''. (Another Maxwell Smart catchphrase.) I'm still a relatively new Wikipedian, and can never remember the best shortcut to help me remember that '''ref name''' technique. [[User:Peterh6658|Peterh6658]] ([[User talk:Peterh6658|talk]]) 23:51, 29 April 2024 (UTC)
:You can make this change in the visual editor too, but it's not very intuitive. There are two ways you could do it:
:# After you select the reference marker (i.e. the "<sup>[5]</sup>"), instead of clicking "Edit" in the menu, you can just delete it (press Delete/Backspace on your keyboard), and then copy-paste the right reference marker in its place (i.e. the "<sup>[2]</sup>").
:# Or, after you click "Edit" in the reference menu, you can click on "Change reference type" in the bottom-left corner, which will open the "Replace citation" menu – in that menu, go to "Re-use" and choose the correct citation from the list.
:Hope that helps in your future editing. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 10:00, 30 April 2024 (UTC)


== Tech News: 2024-18 ==
Sorry if this isn't the place to ask, but [[user:R3m0t|R3m0t]] appears to be inactive currently. [[User:Thryduulf|Thryduulf]] ([[User talk:Thryduulf|talk]]) 12:46, 27 July 2011 (UTC)
:Interesting. I was under the impression that Special:Unwatchedpages did not exists due to [[WP:BEANS]] issues. It seems to me that this is the last list we would want available for anyone with less than noble intentions to get their hands on... --[[User:Ponyo|<b><font color="Navy">''Jezebel's''</font></b><font color="Navy">Ponyo</font>]]<sup>[[User_talk:Ponyo|<font color="Navy">''bons mots''</font>]]</sup> 19:58, 27 July 2011 (UTC)
::Its not beans, [[Special:Unwatchedpages]] is only available to sysops. [[User talk:Δ|ΔT <sub><sup><font color="darkred">The only constant</font></sup></sub>]] 20:08, 27 July 2011 (UTC)
:::Ah ha, well that would explain why I am now able to view it. --[[User:Ponyo|<b><font color="Navy">''Jezebel's''</font></b><font color="Navy">Ponyo</font>]]<sup>[[User_talk:Ponyo|<font color="Navy">''bons mots''</font>]]</sup> 20:11, 27 July 2011 (UTC)


<section begin="technews-2024-W18"/><div class="plainlinks">
While the above might be interesting, it doesn't answer the question! Is there a way to do what I want to do? [[User:Thryduulf|Thryduulf]] ([[User talk:Thryduulf|talk]]) 11:29, 31 July 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/18|Translations]] are available.


'''Recent changes'''
== Being redirected to mobile ==


[[File:Talk_pages_default_look_(April_2023).jpg|thumb|alt=Screenshot of the visual improvements made on talk pages|Example of a talk page with the new design, in French.]]
Recently, when I clicked my watchlist and contribs links, they redirected me to the mobile site, and the disable mobile site function and view on regular wikipedia functions failed. I believe this is a server bug.[[User:Jasper Deng|Jasper Deng]] [[User talk:Jasper Deng|(talk)]] 19:45, 27 July 2011 (UTC)
* The appearance of talk pages changed for the following wikis: {{int:project-localized-name-azwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-bnwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-dewiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-fawiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-hewiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-hiwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-idwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-kowiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-nlwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-ptwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-rowiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-thwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-trwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-ukwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-viwiki/en}}. These wikis participated to a test, where 50% of users got the new design, for one year. As this test [[Mw:Special:MyLanguage/Talk pages project/Usability/Analysis|gave positive results]], the new design is deployed on these wikis as the default design. It is possible to opt-out these changes [[Special:Preferences#mw-prefsection-editing|in user preferences]] ("{{int:discussiontools-preference-visualenhancements}}"). The deployment will happen at all wikis in the coming weeks. [https://phabricator.wikimedia.org/T341491]
* Seven new wikis have been created:
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q33014|Betawi]] ([[w:bew:|<code>w:bew:</code>]]) [https://phabricator.wikimedia.org/T357866]
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q35708|Kusaal]] ([[w:kus:|<code>w:kus:</code>]]) [https://phabricator.wikimedia.org/T359757]
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q35513|Igala]] ([[w:igl:|<code>w:igl:</code>]]) [https://phabricator.wikimedia.org/T361644]
** a {{int:project-localized-name-group-wiktionary}} in [[d:Q33541|Karakalpak]] ([[wikt:kaa:|<code>wikt:kaa:</code>]]) [https://phabricator.wikimedia.org/T362135]
** a {{int:project-localized-name-group-wikisource}} in [[d:Q9228|Burmese]] ([[s:my:|<code>s:my:</code>]]) [https://phabricator.wikimedia.org/T361085]
** a {{int:project-localized-name-group-wikisource}} in [[d:Q9237|Malay]] ([[s:ms:|<code>s:ms:</code>]]) [https://phabricator.wikimedia.org/T363039]
** a {{int:project-localized-name-group-wikisource}} in [[d:Q8108|Georgian]] ([[s:ka:|<code>s:ka:</code>]]) [https://phabricator.wikimedia.org/T363085]
* You can now [https://translatewiki.net/wiki/Support#Early_access:_Watch_Message_Groups_on_Translatewiki.net watch message groups/projects] on [[m:Special:MyLanguage/translatewiki.net|Translatewiki.net]]. Initially, this feature will notify you of added or deleted messages in these groups. [https://phabricator.wikimedia.org/T348501]
* Dark mode is now available on all wikis, on mobile web for logged-in users who opt into the [[Special:MobileOptions|advanced mode]]. This is the early release of the feature. Technical editors are invited to [https://night-mode-checker.wmcloud.org/ check for accessibility issues on wikis]. See [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Updates/2024-04|more detailed guidelines]].


'''Problems'''
:I also got this bug, although it seems to have passed now. [[User:Monchoman45|Monchoman45]] 19:56, 27 July 2011 (UTC)
* [[mw:Special:MyLanguage/Help:Extension:Kartographer|Kartographer]] maps can use an alternative visual style without labels, by using <bdi lang="zxx" dir="ltr"><code><nowiki>mapstyle="osm"</nowiki></code></bdi>. This wasn't working in previews, creating the wrong impression that it wasn't supported. This has now been fixed. [https://phabricator.wikimedia.org/T362531]
::I was also getting this. --[[User:Kumioko|Kumioko]] ([[User talk:Kumioko|talk]]) 20:01, 27 July 2011 (UTC)
::: Were on this. This was due to single box squid testing that we were doing with the operations team. Its has now been disabled while we fix the redirect. When we got back up .. we'll make sure to have a feedback page in place so that we can lets people know what UA's are still getting caught. [[User:Tfinc|Tfinc]] ([[User talk:Tfinc|talk]]) 21:22, 27 July 2011 (UTC)
:::: Just as background ... these changes are meant to fix https://bugzilla.wikimedia.org/show_bug.cgi?id=24859. Come join us on #wikimedia-mobile if you have any questions. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Tfinc|Tfinc]] ([[User talk:Tfinc|talk]] • [[Special:Contributions/Tfinc|contribs]]) 21:24, 27 July 2011 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:::::I got a weird-looking screen while editing and copied and pasted to an email but it looked perfectly normal in the email. I do remember a "disable mobile site" button.[[User:Vchimpanzee|<font color="Green">Vchimpanzee</font>]]&nbsp;'''·''' [[User talk:Vchimpanzee|<span style="color: orange"> talk</span>]]&nbsp;'''·''' [[Special:Contributions/Vchimpanzee|<span style="color: purple">contributions</span>]]&nbsp;'''·''' 21:47, 27 July 2011 (UTC)
:I'm having his issue too, on an intermitent basis! [[User:Dric dolphin|Dric dolphin]] ([[User talk:Dric dolphin|talk]]) 21:06, 29 July 2011 (UTC)
:: If you haven't yet .. please let us know what browser your [http://meta.wikimedia.org/wiki/Mobile_Projects/BadRedirect using] and we'll get it fixed. [[User:Tfinc|Tfinc]] ([[User talk:Tfinc|talk]]) 03:16, 30 July 2011 (UTC)


'''Changes later this week'''
== Interlanguage link ==
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.3|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-04-30|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-05-01|en}}. It will be on all wikis from {{#time:j xg|2024-05-02|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar]


'''''[[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/18|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 just created the following new article: [[Ibn Abi al-Shukr]] which does ''not'' contain any interlanguage links but for some reason, I'm seeing a link to the Portuguese wiki under "Languages", which links to a template not an article. Please note that the new article includes the following template: [[Template:Islamic mathematics]] which has a Portuguese version. Is this a bug ? [[User:Al-Andalusi|Al-Andalusi]] ([[User talk:Al-Andalusi|talk]]) 04:29, 28 July 2011 (UTC)
</div><section end="technews-2024-W18"/>
:The iw link was outside the &lt;noinclude>s. Fixed. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:53, 28 July 2011 (UTC)
::Thanks ! [[User:Al-Andalusi|Al-Andalusi]] ([[User talk:Al-Andalusi|talk]]) 14:41, 28 July 2011 (UTC)


<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 03:31, 30 April 2024 (UTC)
== Combining parent and child templates ==
<!-- 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=26689057 -->


== Video viewing stats ==
Does anybody have a fancy tool for combining child and parent templates (and grandparent templates)? [[User:Heyzeuss|Heyzeuss]] ([[User talk:Heyzeuss|talk]]) 16:12, 28 July 2011 (UTC)
:Could you give an example of a template relationship you are talking about? --[[User:Kumioko|Kumioko]] ([[User talk:Kumioko|talk]]) 16:16, 28 July 2011 (UTC)
::[[Template:Str right]], which calls up more than 20 other templates. They won't let me import the template into Wiktionary, so I was thinking of rolling up the whole thing and moving it to my user space there. It's a server -expensive template, so I would only use it with ''subst'', I promise. [[User:Heyzeuss|Heyzeuss]] ([[User talk:Heyzeuss|talk]]) 16:26, 28 July 2011 (UTC)
:::[[Special:ExpandTemplates]]? [[User talk:Ucucha|Ucucha]] 23:37, 28 July 2011 (UTC)
::::That was my first thought but I don't see how to use it on a template which should still be able to take input parameters. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 23:43, 28 July 2011 (UTC)
:::::Really the only way to do this is using [[Special:Export]], but [[Special:Import]] is usually only usable by administrator (and for good reasons). —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 11:51, 30 July 2011 (UTC)
::::::Is there any quick and dirty way to take the network of templates and collapse them into one huge, grotesque stand-alone template? [[User:Heyzeuss|Heyzeuss]] ([[User talk:Heyzeuss|talk]]) 03:30, 31 July 2011 (UTC)


Hi, is there a way to know how many readers watched a video in an article? [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 06:30, 30 April 2024 (UTC)
== In edit, no tag-checking? ==


:Yes, you can look up this data using https://pageviews.wmcloud.org/mediaviews/ (although note that it just counts total views, it doesn't show how many are coming from a specific article). For example, here's a chart of page views for a few movies listed on [[Public domain film]]: https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Night_of_the_Living_Dead_(1968).webm|Fear_and_Desire_(1953).webm|Wings_(1927).webm [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 09:31, 30 April 2024 (UTC)
In my Edit-screen, I have the colored text parts (must be CSS mode). What I don't understand is, why cannot the CSS color ''mark uneven tags''? Like, when I use <code><nowiki><div></nowiki></code>, a closing <code><nowiki></div></nowiki></code> can be checked, not? (Sure, my next question will be about curled brackets, but hey - if I don't understand this one, I'll leave the subject). -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 22:59, 28 July 2011 (UTC)
::Thanks! Do you know what counts as a view? According to this tool, [https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm this video had very few views], in spite of being used in an article with 30k daily viewers. Does it really mean that very few users choose to watch (admittedly hard-to-watch) video? [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 14:20, 30 April 2024 (UTC)
:It sounds like you're using [[WP:WikEd]], for which you should probably ask at [[User talk:Cacycle/wikEd]]. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:32, 29 July 2011 (UTC)
:::According to [[c:Special:GlobalUsage/Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm|GlobalUsage]] that file isn't used anywhere; I suspect you wanted to look up the stats for [[c:File:(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm|this file]] instead ([[c:Special:GlobalUsage/(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm|GlobalUsage]]), which has more views: [https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm%7C(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm]. The autocomplete in the mediaviews tool is a bit fiddly sometimes, and apparently doesn't find files that have been renamed, like this one, if you use the redirect name when searching. I didn't know that before. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 14:51, 30 April 2024 (UTC)
:::And to answer your actual question too, the technical documentation about what counts as a media view is available here: https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Mediacounts [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 14:58, 30 April 2024 (UTC)
::::This reminds me that if we ever make videos 'preload' by default, these stats will break, because every pageview will preload the first bytes of a file... —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:12, 30 April 2024 (UTC)
::::Thanks for the comprehensive answer! [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 11:13, 1 May 2024 (UTC)


== feed for external links ==
== PETSCan and Images ==


I am looking to source free images for articles on plant genera that are lacking them. Therefore I was wondering whether it was possible to configure PETScan only to return pages which do not contain images. The closest thing I thought of was to show images from the metadata in the output and then scroll through them, looking for those for which no image is presented. However, that is getting progressively tedious. Does anyone know a more direct way to do this? [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 09:33, 30 April 2024 (UTC)
Is there a real-time(or near real time) [[web feed]] for external links added?[[User:Smallman12q|Smallman12q]] ([[User talk:Smallman12q|talk]]) 01:44, 29 July 2011 (UTC)
: Not an answer to your question, but the search facility may help you. A search for <code>plant hastemplate:"automatic taxobox" insource:/image *= *</code> returns [https://en.wikipedia.org/w/index.php?search=plant+hastemplate%3A%22automatic+taxobox%22++insource%3A%2Fimage+%2A%3D+%2A&title=Special:Search&profile=advanced&fulltext=1&ns0=1 16,436 results] with an image parameter in the taxobox. Note, it's not restricted for genera and some may have empty taxobox image parameters. Then a search for <code>plant hastemplate:"automatic taxobox" -insource:/image *= *</code> finds [https://en.wikipedia.org/w/index.php?search=plant+hastemplate%3A%22automatic+taxobox%22++-insource%3A%2Fimage+%2A%3D+%2A&title=Special:Search&profile=advanced&fulltext=1&ns0=1 1,298 results] without the image parameter, most of which appear to be genera. The search can probably be refined. —&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> 10:57, 30 April 2024 (UTC)
::Thank you for the interesting suggestion! It does seem to me that empty taxobox image parameters are quite common, but then again, it is not like I am not going to ever finish this task. PETScan has the additional advantage of alphabetical sorting, so it is consistent across searches, and I can exclude pages linked from my userspace list of taxa for which I have already searched for images without any success. Therefore, a PETScan-based method seems preferable to me at the moment. [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 12:33, 30 April 2024 (UTC)
:::{{ping|Felix QW}} the "Page properties" tab in PetScan has a radio button for "Lead image" where you can select "no". [[User:Plantdrew|Plantdrew]] ([[User talk:Plantdrew|talk]]) 21:20, 30 April 2024 (UTC)
::::Brilliant, thank you! I don't know how I missed that. By the way, thank you very much for all your work on plant articles! [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 07:18, 1 May 2024 (UTC)


== pagelinks normalization ==
== did the site-installed fonts change? ==


{{tracked|T299947}}
I don't get how fonts work on Wikipedia (in terms of the gritty details) -- I personally I thought it was all localside, but I had to change the font I used for an Emily Dickinson poem I was displaying on my userpage cuz the "Bell MT" font was rendering awfully -- and I tried this across several computers. The appropriate revision is [http://en.wikipedia.org/w/index.php?title=User:La_goutte_de_pluie&oldid=439570598 here] -- where the font is now a nasty bold. Funny thing is, it rendered fine a week ago, across a multitude of computers. Now it renders wrong, across a multitude of computers. Is it something site-specific? Did something happen to one of the sitewide stylesheets? [[User:La goutte de pluie|elle <small><sub><font color="#CC9920">vécut heureuse</font></sub></small> <small><font color="blue"><sup>à jamais</sup></font></small>]] ([[User talk:La goutte de pluie|be free]]) 03:54, 29 July 2011 (UTC)
The [[:mw:Manual:Pagelinks_table|pagelinks table]] is about to lose its pl_namespace and pl_title columns. This may break some tools and reports. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 15:26, 30 April 2024 (UTC)
:As advised at [[Wikipedia:Village pump (technical)/Archive 211#pagelinks normalization]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 20:33, 30 April 2024 (UTC)
::Yes: we've been able to use the [[mw:Manual:Linktarget_table|linktarget]] alternative for a while now. Today's news, according to the Phabricator ticket, is that they are now ready to drop the columns. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 21:33, 30 April 2024 (UTC)


== Non free file upload bug ==
: Font looks fine in that revision, despite not being the default one. The default font across the site hasn't changed from what I can see. Perhaps your computer's fonts have become corrupted? [http://word.mvps.org/faqs/apperrors/commonfontprobs.htm Here's a page] that might be useful; I don't use Windows myself, so I wouldn't know. For Macs you'd have to [http://www.macworld.com/article/139383/2009/03/fontcacheclear.html clear the font cache]. <font face="Verdana">[[User:Gary King|<font color="#02b">Gary&nbsp;<b>King</b></font>]]&nbsp;<span style="font-size: 0.9em;">([[User talk:Gary King|<font color="#02e">talk</font>]]&nbsp;·&nbsp;[[User:Gary King/Scripts|<font color="#02e">scripts</font>]])</span></font> 06:33, 29 July 2011 (UTC)
::There are only site installed fonts for Math and for SVG images. The rest is always client side. At least for now. In the future, we likely will have [[mw:WebFonts|WebFonts]] that can be used to force specific fonts to be loaded for certain foreign languages for instance, but that is not a reality just yet. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 11:50, 30 July 2011 (UTC)


Today, when I clicked the button "upload a non free file", it just reload the page, please fix this bug or glitch as soon as possible. [[User:SleepingJoe|SleepingJoe]] ([[User talk:SleepingJoe|talk]]) 04:30, 1 May 2024 (UTC)
== Mediawiki search engine confused by spaces in prefixes ==


:{{worksforme}} ensure you are allowing javascript to run and try again. Alternatively, use the direct upload page here: [[Special:Upload]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 10:17, 1 May 2024 (UTC)
It appears that search handles prefix queries differently for "prefix:A_B" vice "prefix:A B". Is there some justification for this behaviour, or is it just a bug? e.g. [http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Neutral_point_of_view&diff=442060054&oldid=442059590] [[User:LeadSongDog|LeadSongDog]] <small>[[User talk:LeadSongDog#top|<font color="red" face="Papyrus">come howl!</font>]]</small> 16:46, 29 July 2011 (UTC)
::Please if I may ask, when uploaded Files with [[Special:Upload]] which directly is it going to stay, is it wikimedia common or Wikipedia itself? because I have always thought that files can only be uploaded through wikimedia. '''<i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 10:53, 1 May 2024 (UTC)
:It seems to only affect searches which use "prefix:". The prefix allows you to filter your search by only showing pages whose titles start with the prefix string. However, since the prefix is always specifically applied to page titles, and since page titles can't include the _ character, I think it is reasonable to say that it should be smart enough to filter out the underscores and replace them with spaces. [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#a00 -0.2em -0.2em 0.4em,#0a0 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|chat]]</small></sup> 18:13, 29 July 2011 (UTC)
:::{{replyto|Thisasia}} If you use [[Special:Upload]] here on English Wikipedia, you will upload to English Wikipedia. If you use [[c:Special:Upload]], which is at Commons, you will upload to Commons. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 17:17, 1 May 2024 (UTC)
::That's about what I thought. Thank you for confirming in isn't just local weirdness with my browser.[[User:LeadSongDog|LeadSongDog]] <small>[[User talk:LeadSongDog#top|<font color="red" face="Papyrus">come howl!</font>]]</small> 18:30, 29 July 2011 (UTC)
::::Oww that's cool, thanks very much for the information. '''<i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 21:37, 1 May 2024 (UTC)
:::Filed as [[bugzilla:30125]]. Remember, issues that are not reported in bugzilla are guarenteed to not get fixed. Bugzilla might not be ideal, but it is the one central place where bugs and feature requests are tracked. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 11:47, 30 July 2011 (UTC)
::::Coincidentally the OP is blocked for 'Abusing multiple accounts' on commons, so they can only use Special:Upload. &ndash; [[Special:Contributions/2804:F14:80EE:5A01:69AC:1D4:C0C3:D952|2804:F1...C3:D952]] ([[User talk:2804:F14:80EE:5A01:69AC:1D4:C0C3:D952|talk]]) 04:39, 2 May 2024 (UTC)
::::Indeed, and thanks for filing it. But I'm sure you'll agree there's value in prior discussion to reduce the number of unnecessary or incorrect bugs... :) [[User:Rd232|Rd232]] <sup>[[user talk:rd232|talk]]</sup> 23:12, 30 July 2011 (UTC)


== Finding blocked users ==
== Stealth revdel ==


In [[User talk:Mathglot#I need help!|this discussion]] at my Talk page, I made an assertion ([[Special:Diff/1221682499|diff]]) that traces of a revdel can always be seen in the revision history, with revisions in strikeout type, and the like. But now, I wonder if my response there was accurate. Is there such a thing as, for lack of a better term, what I will call a '''stealth revdel'''—that is, a revdel which wipes some revisions from the history, without leaving any evidence of the removal visible to non-admins? If that exists, what is it called, and is there a page that covers this? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 11:13, 1 May 2024 (UTC)
Is there a way to easily check a list of users to see who in that list is (indefinitely) blocked? The [[User:NuclearWarfare/Mark-blocked script.js|scripts]] don't seem to fully work for me. <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 18:03, 27 Tamuz 5771 / 29 July 2011 (UTC)</small>
: [[Wikipedia:Selective deletion|Selective (un)deletion]], i.e. deleting the page and undeleting all except certain revisions. If an admin really wanted to hide it, they'd have to then delete or revdel the log entries of the deletion and undeletion too. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:35, 1 May 2024 (UTC)
:[[Special:BlockList]] [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#5a0 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|gossip]]</small></sup> 18:05, 29 July 2011 (UTC)
:The thing being discussed in that discussion was some template vandalism, which was of course on a different page transcluded onto that one. Some varieties of oversight can remove edits without much trace, though not something like this purported situation. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:42, 1 May 2024 (UTC)
::Unless I'm missing something, I can only search one user at a time with that. I'm looking to check some rather large lists of users. <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 18:08, 27 Tamuz 5771 / 29 July 2011 (UTC)</small>
:: The "some varieties of oversight" being what [[mw:Extension:Oversight]] did before it was replaced by RevDel? If so, that's not available anymore. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:45, 1 May 2024 (UTC)
:::What format is your list in? There isn't any way that I know of to query a list of users and get a response on all of them. You'd probably need a bot to do that, or an SQL query on toolserver. I can probably help you with that if it's just a one time thing, or you can ask at [[WP:BOTREQ]] to see if someone is willing to build a tool that will allow you to do this whenever you want. [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#0a0 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|spill the beans]]</small></sup> 18:14, 29 July 2011 (UTC)
:::No, I do mean suppression oversight (and 'hiding'). It's not a thing to focus on here, but OS can make some disappearances hard to track. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:48, 1 May 2024 (UTC)
::::Categories (and [[User:AvicBot/COI|listified categories]].) I'm looking for something I can run once a day. I know I could use [http://en.wikipedia.org/w/api.php?action=query&list=blocks&bkprop=user|expiry&bklimit%20=1&bkusers=AMX%20International the API], however I'm not sure how to easily strip away the blocks with an expiration date. (I'm looking for indef blocks, specifically.) <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 18:23, 27 Tamuz 5771 / 29 July 2011 (UTC)</small>
::so maybe I meant oversighted? It's idle curiosity in this instance but I am pretty sure I have noticed stuff disappear before, especially identifying personal information. In fact, I distinctly remember telling an admin that somebody's address was in an article edit history, and this got removed, at lrast as far as a plain vanilla editor could see.
:::::There isn't going to be a way you can format your API query so that it only returns users that are blocked with an expiry of infinity. You'd have to get the full list and then filter out any entries that don't have expiry="infinity". If this is something you want to do on a daily basis, you'll need to [[WP:BOTREQ|request that a bot be made for it]] or get a [[WP:DBR|database report]] created for it. [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#5a0 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|communicate]]</small></sup> 18:34, 29 July 2011 (UTC)
::Which is not what this was, granted; it would have been more of an unfortunate paste error or perhaps vandalism. [[User:Elinruby|Elinruby]] ([[User talk:Elinruby|talk]]) 12:22, 1 May 2024 (UTC)
::::::It looks like you already have some bot experience. Can't you just get the full list of users and their block lengths, and then filter out the entries that don't have expiry="infinite" using a script? [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#5a0 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|gossip]]</small></sup> 18:35, 29 July 2011 (UTC)
:I seem to recall days when there was no revision deletion feature we have now, and the way to hide select revisions was to move the page to another name, delete it, restore okay revisions, and move it back. I assume it's possible still. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 13:25, 1 May 2024 (UTC)
:::::::It looks like I'll have to do that. I was hoping I could take the lazy route, and that someone else would already have something like this. :-) Oh well. <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 18:44, 27 Tamuz 5771 / 29 July 2011 (UTC)</small>
:: Indeed it is. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 13:43, 1 May 2024 (UTC)
::::::::If you add ''importScript('User:Ronhjones/strikeblocked.js');'' to your monobook.js (assuming you use that skin), then all blocked users names on history and talk pages are struck through. (It's not my code - I "borrowed" it from somewhere else - I think it was the Russian WP, which slowed the page loads down, hence I went for a local copy). '''[[User:Ronhjones|<span style="border:1px solid black;color:black; padding:1px;background:yellow"><font color="green">&nbsp;Ron<font color="red">h</font>jones&nbsp;</font></span>]]'''<sup>[[User talk:Ronhjones|&nbsp;(Talk)]]</sup> 19:29, 29 July 2011 (UTC)
:::Oh it's actually explained in the link Anomie gave above... {{facepalm|<nowiki/>}} [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 13:46, 1 May 2024 (UTC)
:::::::::Looks like a version of [[:ru:MediaWiki:Gadget-markblocked.js]], which is the same as in the [[User:NuclearWarfare/Mark-blocked script.js|script]] I linked to above. :-) <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 20:08, 27 Tamuz 5771 / 29 July 2011 (UTC)</small>
:There are certainly [[WP:BEANS|beansy]] ways to cause obfuscation - that are best left unlisted here. Just replace "can always..." with "can generally...." and most use cases will be covered. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 14:11, 1 May 2024 (UTC)
:: Thanks, all; this has been informative. And I got the read-between-the-lines stuff, so needn't go further. Cheers! [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 00:35, 3 May 2024 (UTC)
:I know it's possible to delete summaries of log entries... including for the revdel log... and for the revdel log summary deletion log. I think you can set up an infinite regress this way. <b style="font-family: monospace; color:#E35BD8">[[User:JPxG|<b style="color:#029D74">jp</b>]]×[[Special:Contributions/JPxG|<b style="color: #029D74">g</b>]][[User talk:JPxG|🗯️]]</b> 07:53, 3 May 2024 (UTC)


== Caption on Image wikiMarkup? ==
== Contribution search tools ==


Please may i ask if caption is possible inside the image wikiMarkup? Because since it does have the argument for sizing like for example: <code><nowiki>[[File:Example.jpg|100px]]</nowiki> </code> then i suppose I'd probably have an argument for caption and even perhaps, more arguments beyond? '''<i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]]&nbsp;[[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 12:31, 3 May 2024 (UTC)
I have recently created two toolserver tools which I believe could be useful for searching through page histories and contribution histories. I'm looking for comments on whether these tools would be helpful to add to the "External Tools" area on the History page and the "User info" pane at the bottom of a user's Special:Contributions page. Here are some links and a brief explanation of how the tools work:
:[[H:PICTURES]].
*[http://toolserver.org/~snottywong/usersearch.html User contribution search] - Searches through a page's history for edits by a particular user. In other words, it filters a history page by user.
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 13:10, 3 May 2024 (UTC)
*[http://toolserver.org/~snottywong/commentsearch.html Edit summary search] - Searches through a user's edit summaries by keyword.
Any comments or suggestions are appreciated. I created these tools only a few days ago, so I'm sure they still have some bugs to work out, and could use some visual improvements. [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#00a 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|confabulate]]</small></sup> 23:23, 29 July 2011 (UTC)
: Only for en wiki? Would be great if its extended. I like the edit summary tool especially.<b>[[User:Logicwiki | Srikanth]] ([[User talk:Logicwiki|Logic]]) </b> 00:53, 30 July 2011 (UTC)
: Those seem pretty useful. Could you strip trailing spaces and make the page name box wider? (Also, check the spelling of the page title on the results page :) where it also says "max pages" instead of "max edits" ) [[User:Rd232|Rd232]] <sup>[[user talk:rd232|talk]]</sup> 01:14, 30 July 2011 (UTC)
: Yes! Thank you. The things I would suggest are to display the number of matches and to disable the "next ''X'' results" link if there are no more results.<span style="font-variant:small-caps">[[User:Orange Suede Sofa|<font color="DarkGreen">Orange Suede Sofa</font>]]</span> ([[User talk:Orange Suede Sofa|talk]]) 01:17, 30 July 2011 (UTC)
:Much easier than playing with the API. :-) I like it. Great work! <sup>[[User:Avicennasis|<font color="red">Avic</font>]]</sup>[[User talk:Avicennasis|<sub><font color="blue">ennasis</font>]]</sub><small> @ 01:38, 28 Tamuz 5771 / 30 July 2011 (UTC)</small>
::All good suggestions. I will see what I can do to implement them. Thanks! [[User:Snottywong|<b style="white-space:nowrap;text-shadow:#000 0em 0em 0.4em,#5a0 -0.2em -0.2em 0.4em,#a00 0.2em 0.2em 0.4em;color:#ddd">&mdash;SW&mdash;</b>]]&nbsp;<sup><small>[[User talk:Snottywong|prattle]]</small></sup> 05:57, 30 July 2011 (UTC)
: Bugs? Active SQL injection (try anything with a double quote), XSS attacks, stored XSS attacks, hard-coded namespaces, confusing number and strings, incorrect Unicode support and problem when using the new HTTPS (but that new so I can't blame you). Read [[tswiki:Tool considerations]] and contact me on IRC for assistance in fixing these problems. — [[User:Dispenser|Dispenser]] 11:55, 30 July 2011 (UTC)


== String manipulation ==
== Xtools 503 error ==
{{tracked|T364151|resolved}}


Is anyone getting a 503 error on Xtools? It says "Service Unavailable". Is the server down by any chance? [[User:Neko Lexi|Neko Lexi]] ([[User talk:Neko Lexi|talk]]) 13:53, 3 May 2024 (UTC)
Is there any way to strip one character off the beginning of a string, like {{tlx|trunc}} but the opposite? That is to say, something like
<nowiki>{{strip|Hello|1}}</nowiki>
that would yield
ello
I've tried a bunch of the templates in [[Template:String templates see also text]], but they have a lot of limitations (the string I intend to strip characters off of is a string that would include a WP user signature, so it exceeds the length limit of most of those templates, and includes characters that makes those templates upset). [[:mw:Extension:StringFunctions]] looks useful but doesn't seem to be enabled on en-wiki. Any other ideas? <b class="IPA">[[Special:Contributions/Rjanag|r<font color="#8B0000">ʨ</font>anaɢ]]</b>&nbsp;([[User talk:Rjanag|talk]]) 04:01, 30 July 2011 (UTC)
:The opinion of the developers is that if you need this stuff, 'you're doing it wrong'. These templates are rather complex and intensive and the string functions extension, will further complicate the mediawiki parser language in a way that is not desirable. In almost all cases, what is needed here instead is either a special extension or people just being less crazy in what they want to program into an encyclopedia. :D —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 12:01, 30 July 2011 (UTC)
::Try {{tl|Str right}} -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 12:05, 30 July 2011 (UTC)
* '''''To substring with special characters''''' (in signatures), try [[Template:Strr]], but it stops at 100 characters, so we need a longer version. Also, consider if chopping a tail-substring is really needed. Meanwhile:
::* Using: {&#123;strr|....:....1....:....2....:....3....:....4....:....5....:....6....:....7....:....8....:....9....:...10....:...11....:...12....:...13....:...14....:...15....:...16....:...17....:...18....:...19....:...20....:...21....:...22....:...23....:...24....:...25....:...26|4}}
::* Gives: {{strr|....:....1....:....2....:....3....:....4....:....5....:....6....:....7....:....8....:....9....:...10....:...11....:...12....:...13....:...14....:...15....:...16....:...17....:...18....:...19....:...20....:...21....:...22....:...23....:...24....:...25....:...26|4}}
: The processing in {strr} is ''very'' complex and intensive, whereas a left-side substring is almost instaneous (perhaps 1,000x faster): {&#123;str_left|HITHERE|2}} &rarr; {{str_left|HITHERE|2}}. However, if the truncation is done only rarely, then being "1,000x" slower is okay, just avoid using it zillions of times. Note, those {{[[Template:cite web|cite&nbsp;web]]}} templates, used to format source footnotes, are currently 1,500x slower than using 1 instance of [[Template:Convert]] (yes, one thousand five hundred times slower! ...because they use 523 parameters). So, there are some much bigger problems to fix, about speed issues, in formatting popular articles. We need a set of {Cite_quick} templates. -[[User:Wikid77|Wikid77]] ([[User talk:Wikid77|talk]]) 19:18, 30 July 2011 (UTC)


:There is a problem with the tool indeed. @[[User:MusikAnimal|MusikAnimal]] is working on trying to fix it at the hackathon right now. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 15:47, 3 May 2024 (UTC)
::Thanks for the input, everyone. Yeah, I think what I was trying to do isn't going to be possible. It's not really necessary, I was just trying to find a way to have one parameter in a template do the work of two. There are other ways to handle it though. <b class="IPA">[[Special:Contributions/Rjanag|r<font color="#8B0000">ʨ</font>anaɢ]]</b>&nbsp;([[User talk:Rjanag|talk]]) 20:11, 30 July 2011 (UTC)
::good deal [[User:Neko Lexi|<span style="font-family:Courier:''Neko Lexi'';color:purple;0.2em 0.2em 0.4em;background:pink">''Neko Lexi''</span>]][[User talk:Neko Lexi|<span style="font-family:Courier;color:skyblue;0.2em 0.2em 0.4em;background:pink">she/her</span>]] 15:55, 3 May 2024 (UTC)
:::The worst thing is that ''Wikimedia is not clear about this''. If string manipulation is undesired/bad, we could & would have read that. We are strangled by proxy through techniques. String manipulation is core to stream (PHP!) processing. Now, in earlier days, we were told: "article size doesn't matter (don't worry)". Correctly. (Article size now is limited by readability -- so on editor's side. Good). ''If'' server and version and such aspects are relevant, then why not write so? Why does TheDJ here have to write an (incomprehensible) explanation? -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 20:41, 30 July 2011 (UTC)
:::[[phab:T364151]] is the actual problem. Taavi told me there's no quick fix, so I'm going to temporarily disable parts of XTools that are affected. That includes anything that touches the <code>logging</code> table, such as [[xtools:ec-generalstats]] and [[xtools:adminstats]]. Apologies for the disruption. <span style="font-family:sans-serif">&mdash; <span style="font-weight:bold">[[User:MusikAnimal|<span style="color:black; font-style:italic">MusikAnimal</span>]] <sup>[[User talk:MusikAnimal|<span style="color:green">talk</span>]]</sup></span></span> 16:13, 3 May 2024 (UTC)
::::" String manipulation is core to stream (PHP!) processing." exactly. So what that means is: learn to write mediawiki extensions to bring the logic to the backend. If you want a better unit converter/citations/notes/etc etc, people should write a proper MediaWiki extension to do that, instead of endlessly dabbing around with templates. Writing extensions is actually easier than some of the optimizations that Wikid77 has done to most of the complex templates. The hard part is getting everyone to agree on the specific stuff that the new extensions should support and getting it approved for production, but doing more trickery with templates is not the way forward. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 01:09, 31 July 2011 (UTC)
::::It's alright, but okay [[User:Neko Lexi|<span style="font-family:Courier:''Neko Lexi'';color:purple;0.2em 0.2em 0.4em;background:pink">''Neko Lexi''</span>]][[User talk:Neko Lexi|<span style="font-family:Courier;color:skyblue;0.2em 0.2em 0.4em;background:pink">she/her</span>]] 16:54, 3 May 2024 (UTC)
:::::Thank you for spending time on this/me: I wasn't that kind. Follow up below is quite interesting. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:31, 31 July 2011 (UTC)
* '''''Documenting the performance concerns:''''' Part of the problem might be trying to "prove" to the readers how the string-manipulation templates, for right-side strings, create such complex operations. We would want a formal performance guideline to have the specific details. Meanwhile, Template:Strr is such a complicated set, of 12 deeply nested templates, that I, honestly, cannot say if {strr} is 1,000x, '''''or 10,000x''''' times slower than {str_left}. It takes some indepth mathematical analysis to prove the processing-speed warnings, to clearly state the results as being "official" to users. For [[Template:Citation/core]], being 32kb (with 523 parameters), and used 100x times in many major articles, it took me several days to collect the impact data. I think "professional articles" (using those {cite xx} templates) contain 95% cite-template markup language. Yes, a popular article which uses those cite templates will contain 19x more cite-markup text than total actual good-article text. Reworking those {cite-xx} templates might reduce the overhead in WP by 75% less, to 25% of the former processing used to reformat popular articles, but such performance concerns might be overshadowed by other elephant-in-the-room concerns, instead. My attempts to "talk about efficiency" have been severely criticized with "[[WP:Don't worry about performance]]" so that is another reason few of us "even dare speak" about the processing-speed. Improving the performance takes all of us working together, as efficiency experts, typesetters, editors, developers, and others. -[[User talk:Wikid77|Wikid77]] 22:54, 30 July 2011 (UTC)
**I think we should start worrying about performance when the performance becomes worrying, and that is certainly the case with the cite templates, which form such a large part of the parsing and HTML output for high-quality articles. We should either get a MediaWiki extension to handle this, or optimize the templates. [[User talk:Ucucha|Ucucha]] 23:08, 30 July 2011 (UTC)
::::: When I use these kinds of templates, and I am editing large numbers of articles over at Wiktionary, I use [[Help:Substitution|subst]] to avoid permanently transcluding them into articles, greatly reducing loads on servers. [[User:Heyzeuss|Heyzeuss]] ([[User talk:Heyzeuss|talk]]) 03:26, 31 July 2011 (UTC)
::::::There is a discussion about converting cite templates archived at [[Wikipedia:Bot_requests/Archive_42#Bot_to_convert_from_citation_templates_to_non-citation_templates]]. [[User:Rd232|Rd232]] <sup>[[user talk:rd232|talk]]</sup> 21:42, 31 July 2011 (UTC)
:::::::Converting what into what? These are bots, you know. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:47, 31 July 2011 (UTC)
::::::::Wikid77 is (I met them before here at VP/T) is the smartest editor not yet employed by wikimedia.org/office. Now why is wikimedia.org not present here? We communicate through bugreports? Why do I get the impression that impressive editors like TheDJ knows much more that they write here? As TheDJ writes above (my words): "Just write extension[-code], it is wanted. The only problem is agreement & getting it into production". Yeah. Like peace in Israel/Palestine. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:57, 31 July 2011 (UTC)


== What links here says that a page transcludes itself, which should be an error ==
== Problem with Archive.org ==


[https://en.wikipedia.org/wiki/Special:WhatLinksHere?target=Template%3ARequested+move+notice&namespace=10&hidelinks=1&hideredirs=1 What transcludes Template:Requested move notice] shows ~4 pages, including a self-transclusion, which should be impossible. When I edit the template to make it transclude itself, I see the error (in preview mode):
Hello, I have a problem with the article [[Wario World]]. When I go to the link which is the reference of the game's sales (ref. 28), I go to Archive.org, on an error page ! What to do if I want the correct reference please ? [[User:MicroCitron|MicroCitron]] ([[User talk:MicroCitron|talk]]) 13:37, 30 July 2011 (UTC)
: '''Warning''': This page calls '''Template:Requested move notice''' which causes a template loop (an infinite recursive call).
:Tag it as dead, that is, add a dated {{tlx|dead link}} inside the {{tag|ref}} tag, but outside of the {{tlx|cite web}} template, so that the last part of the ref looks like this in the wikicode:
But it's not populating [[:Category:Pages with template loops]]. Why is this spurious transclusion report happening, and how do I suppress it? My bot looks up all the pages that transclude this template, and is confused by this spurious transclusion. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:30, 3 May 2024 (UTC)
::{{para|accessdate|2007-01-11}}<code><nowiki>}}</nowiki></code>{{tlx|dead link|2=date=July 2011}}{{tag|ref|close}}
:Hopefully, somebody skilled in the art of dead link recovery will spot this and point it at a different archive which still hosts the page. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 14:28, 30 July 2011 (UTC)
:::Thank you, this is done ! [[User:MicroCitron|MicroCitron]] ([[User talk:MicroCitron|talk]]) 14:37, 30 July 2011 (UTC)


:First thought is this is via some check related to [[Module:Unsubst]] that is called there. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 15:05, 3 May 2024 (UTC)
== Outstanding accessibility fix ==
:Also noting that the identical [[Template:Requested move notice/sandbox]] doesn't show the same problem transclusion. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:12, 3 May 2024 (UTC)
::Take that back. The sandbox [https://en.wikipedia.org/wiki/Special:WhatLinksHere?target=Template%3ARequested+move+notice%2Fsandbox&namespace=10&hidelinks=1&hideredirs=1 does transclude itself]. So I can play with the sandbox to try to make it go away. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:28, 3 May 2024 (UTC)
::Problem is that the [https://en.wikipedia.org/wiki/Special:WhatLinksHere?target=Template%3ARequested+move+notice%2Fdoc&namespace=10&hidelinks=1&hideredirs=1 documentation subpage transcludes itself]. When I removed the documentation from the sandbox, the sandbox stopped transcluding itself. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 16:13, 3 May 2024 (UTC)
:Self transclusions occur when a template uses the MW Lua library <code>getContent</code> on the page it's transcluded on. This happens for example with [[Module:Citation/CS1]] (which hunts for the "use XXX date" templates in the page source, among others). [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 16:20, 3 May 2024 (UTC)
:It's common and allowed for pages to transclude themselves. A template loop error only occurs if the transcluded version of the page also tries to transclude itself. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 16:46, 3 May 2024 (UTC)
::This is very confusing. [https://en.wikipedia.org/wiki/Special:ComparePages?page1=Template%3ARequested+move+notice%2Fdoc&rev1=&page2=Template%3ARequested+move+notice%2Fdoc%2Fsandbox&rev2=&action=&unhide= These pages compare identical] yet one "transcludes itself" while the other does not. I'll assume that neither actually transcludes itself on a first-level basis, but the documentation only "transcludes itself" via the template transcluding the documentation, in other words, "cascading transclusion", or "circular transclusion" where the template transcludes the documentation while the documentation is simultaneously transcluding the template, and there is no way to differentiate regular transclusion from cascading/circular transclusion, so in order to work around this bizarre behavior, I'll need to make a special, kludgey edit to my bot's source code to specifically remove one specific page from the list of transcluded pages it gets from its "what transcludes this page" API call. I guess I've been kind of aware of this strange behavior for a while, but I think this is the first time I've found myself needing to actively code a work-around for it. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 17:59, 3 May 2024 (UTC)
:::Many templates can cause a page to transclude itself. In this case it's caused by {{tl|Bot use warning}} because it uses {{tl|pagetype}} which examines the code of the page to identify certain page types. [[Module:Pagetype]] uses <code>getContent</code> to do it and as Izno said, this gives a self transclusion. Just work around it if needed as you say. It's not broken and doesn't require "fixing". [[Template:Requested move notice/doc/sandbox]] also transcludes itself. Maybe it had not been registered in link tables after your move.[https://en.wikipedia.org/w/index.php?title=Template:Requested_move_notice/doc/sandbox&diff=prev&oldid=1222062741] [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 21:19, 3 May 2024 (UTC)
:I thought every page transcluded itself, to be honest. Every (article) I've looked at closely was 'transcluded' by both itself and its talk page. &ndash; [[Special:Contributions/2804:F14:80EE:5A01:F151:38D2:AA6E:399F|2804:F1...6E:399F]] ([[User talk:2804:F14:80EE:5A01:F151:38D2:AA6E:399F|talk]]) 20:30, 3 May 2024 (UTC)
::Sometimes it feels like that to me too. I don't think the system always worked that way. At some point, something changed, I think, and I've yet to figure out exactly when, what, or why. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:16, 3 May 2024 (UTC)
Riddle me this. Compare and contrast. My initial example, limited to template namespace, followed by a similar example (my bot uses both):
* [https://en.wikipedia.org/wiki/Special:WhatLinksHere?target=Template%3ARequested+move+notice&namespace=10&hidelinks=1&hideredirs=1 What transcludes Template:Requested move notice] shows ~4 pages, including a self-transclusion
* [https://en.wikipedia.org/wiki/Special:WhatLinksHere?target=Template%3ARequested+move%2Fdated&namespace=10&hidelinks=1&hideredirs=1 What transcludes Template:Requested move/dated] finds ''nothing''!
Why does {{tl|Requested move notice}} transclude itself, while {{tl|Requested move/dated}} does not? They both have similar documentation sub-page configurations. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 21:16, 3 May 2024 (UTC)
:It's probably [[Module:Pagetype]]. [[Module:Citation/CS1/Date validation]] also uses GetContent, so any page that uses {{tl|cite book}} or another template in that family, which is millions of pages, will also transclude itself. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 21:26, 3 May 2024 (UTC)
:{{tl|Requested move notice/doc}} uses {{tl|Bot use warning}}. {{tl|Requested move/dated/doc}} doesn't. But you don't have to work out why a given page transcludes itself since it's not a problem and doesn't require any action. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 21:35, 3 May 2024 (UTC)
::Gah! Well, thanks for solving my puzzle! No, it was a problem. My bot's console report was saying:
:::<code>339 : Template:Requested move notice => NOT FOUND<br>!!! Failed to remove subject notice</code>
::The transclusion made the bot think there was a {{tl|Requested move notice}} sitting on the template – not unheard of that someone would request moving it, as it's been moved multiple times – the bot tried and failed to remove the template it thought was there, and thus reported the problem to me. [[Special:diff/1222098708|THIS EDIT]] solved my problem by making the bot happy again. I added {{tl|Bot use warning}} on 22 November 2023‎; guess I'd overlooked the bot's messages about this for months? Hey, I didn't realize that adding that template would ''change this template in a '''significant''' way''! Who would have thunk that template needed to use {{tl|pagetype}}, I never would have guessed that! {{Tlw|Wikipedia:Article alerts/Bot use warning}} manages to give its warning without finding the {{tl|pagetype}} first! Why would anyone ever need to find the {{tl|pagetype}} to warn ppl that bots use their template? I'm just not gonna bother keeping the warning there, as it's just too much trouble and Murphy's Law says another WP:IAR editor is born every minute so resistance is futile. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 22:22, 3 May 2024 (UTC)


== A new template to count the number of internal links ==
Could we get some eyeballs on this [[Template talk:Documentation#Heading fix redux|long-standing accessibility bug]], for which a simple fix has been described? <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (User:<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 10:57, 31 July 2011 (UTC)
:It looks like this change was applied but then {{diff2|421553749|reverted}} recently. [[User talk:Ucucha|Ucucha]] 11:16, 31 July 2011 (UTC)
::Thank you, I'd missed that. I've restored the fix, with a link to the discussion in my edit summary. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (User:<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 11:35, 31 July 2011 (UTC)
:::Interesting to see how you simply keep repeating every controversial thing you propose every 3 months, until you get your way. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 16:35, 31 July 2011 (UTC)
::::Allow me to repeat this: [[WP:NPA]]. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (User:<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 17:25, 31 July 2011 (UTC)


Hi, I searched for a template that returns the number of internal links, but couldn't find any so I created this [[Template:InternalLinkCounter]] now. Please take a look and improve it if you like. I just wanted the community to be aware of this new template. Thanks! ⇒ [[User:Aram|<span style="color:#ff0;background:#000;font-family:cursive;text-shadow:3px 3px 5px #ff0;">Aram</span>]][[User talk:Aram|<span style="color:#000;background:#ff0;font-family:cursive;text-shadow:3px 3px 5px #000;">Talk</span>]] 23:39, 3 May 2024 (UTC)
== HotCats suggestion ==


== "bps" in interface messages? ==
Hi all - apologies if this is the wrong place to ask this (it's been a while since I visited VP... this may be a bugZilla thing) With the Search function, if you search for a nonexistent article (say you've mis-spelt what you're looking for), then a message will pop up saying "we don't have an article of that name, do you mean '''''Foo'''''?" Is a similar sort of feature possible with hotcats, so that if you accidentally mis-spell a category name it doesn't automatically save your mistake? [[User:Grutness|Grutness]]...''<small><font color="#008822">[[User_talk:Grutness|wha?]]</font></small>'' 11:23, 31 July 2011 (UTC)


Are the bit-rate messages [https://translatewiki.net/wiki/Template:Related/Size-bytes Bitrate-...bits] used anywhere in the interface? If yes, then "bps" in all of them should be changed to "bit/s" to be consistent with [[MOS:UNITS#Specific units]] ("bit per second: {{tq|bit/s}} (''not'' {{!tq|bps}}, {{!tq|b/s}})") and avoid setting a bad example. — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 02:38, 4 May 2024 (UTC)
== Return key in Edit summary box ==
: These are used in places like [[:File:2024-04-24_Tours2024Stopmotion.webm]]. I personally can't be bothered to care about this issue, though, it seems very trivial. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 02:42, 4 May 2024 (UTC)
:MoS doesn't apply to "the interface". [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 07:39, 4 May 2024 (UTC)
:: I know (obviously, because I did say "be consistent with" instead of "conform" to). But how does it help to have our own interface contradicting our own MoS? — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 08:52, 4 May 2024 (UTC)
:Yes they are contained in the interface [https://en.wikipedia.org/wiki/Special:AllMessages?prefix=bitrate-&filter=all&lang=en&limit=50 see list]. I do not think we should localize these for only those with their interface language set to English. You could make a case for this in a [[WP:BUG|feature request]] which if accepted would "improve" this for all projects. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 10:10, 4 May 2024 (UTC)
:: Some other languages already have them "localized" (such as "bit/s" [https://en.wikipedia.org/wiki/Special:AllMessages?prefix=bitrate-&filter=all&lang=fi&limit=50 in Finnish], "b/s" [https://en.wikipedia.org/wiki/Special:AllMessages?prefix=bitrate-&filter=all&lang=fr&limit=50 in French], "{{lang|mk|б/с}}" [https://en.wikipedia.org/wiki/Special:AllMessages?prefix=bitrate-&filter=all&lang=mk&limit=50 in Macedonian]). Do you propose changing the defaults such that all the languages where these messages haven't been "translated" will automatically switch to "bit/s"? Although this would be nice ("bit/s" is at least defined by the ''international standard'' [[IEC&nbsp;60027]], whereas "bps" is not standard at all), doing so globally might be perhaps more difficult than redefining these messages just for English at translatewiki. — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 11:17, 4 May 2024 (UTC)
:::My suggestion is that if the root of these is not the best possible international version of this, it be fixed at the root message level, not with a project-specific local override. I don't think "translating" them from the root English to English at translatewiki is the fix there - but you could give it a try. Fixing at the root reduces local technical debt and would share the improvement with all mediawiki projects. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 12:17, 4 May 2024 (UTC)
::::Follow on, inconsistent translatewiki work can make these sloppy - for example I can't imagine why in Portuguese the kilobits should be "kb/s" while the megabits are "Mbps". Likely because someone wanted to fix one instance and isn't even aware of the other ones - but if it was all in an agreeable root style that may have been avoidable. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 12:28, 4 May 2024 (UTC)
::Whether other projects follow English Wikipedia's MoS or not is their decision entirely. Even if you want it to, any conseus on that here has no effect. I am listing this as a reason to oppose extending your steward rights next year xaosflux, very disrepectful behaviour of you. [[User:Snævar|Snævar]] ([[User talk:Snævar|talk]]) 11:33, 4 May 2024 (UTC)
:::What?! What was disrespectful about it? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 11:41, 4 May 2024 (UTC)
:::Sorry we are in disagreement. I certainly don't think that article style guidelines on this project should be forced on other projects. To be clear my suggestion is just that this would best start as an upstream discussion - which could certainly result in a WONTFIX. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 12:24, 4 May 2024 (UTC)


== [[Template:Ambox]] ==
Currently if you hit the "return" key while typing an edit summary, the software pretends you have hit the "save page" button. Is there a way to turn this off? [http://en.wikipedia.org/w/index.php?title=Impressment&diff=prev&oldid=442349688 This] isn't the first time I've saved a duff edit summary while trying to hit the "backspace" key. (Windows, Firefox 4.0.1, Vector skin). -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 13:23, 31 July 2011 (UTC)
:You have mentioned something I consider a small annoyance, mentally filed away as 'don't do that' and had not thought about again until your note. I wonder how many other things of this ilk consume my brainpower? Probably more than 10 and less than 100. Upon reflection, I find that my mental note is "always hit the 'preview' button" rather than a negative 'don't do that'. --[[User:Ancheta Wis|Ancheta Wis]] ([[User talk:Ancheta Wis|talk]]) 14:08, 31 July 2011 (UTC)
::I believe that it's the default behaviour in a web page form that the "return" key means "finished entering all items". I suppose it may be possible to disable it for this specific entry item on a per-user basis, by writing some CSS that produces special behaviour for <code>class="mw-summary"</code>. I wouldn't want to try though; nor would I like it to be disabled for all users. I find it ''very'' convenient - type in the edit summary and hit Return. All done. --[[User:Redrose64|<span style="color:#d30000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 14:55, 31 July 2011 (UTC)
:::No, I'm only hoping for some magic I can put in my Vector.js. I'm a cautious editor and like to preview my edit summaries, especially if I'm trying to include wikilinks. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 15:17, 31 July 2011 (UTC)
::::In which case <code><nowiki>$(".mw-summary").keypress(function(e){ if (e.which == 13) { return false; } } );</nowiki></code> should do the trick. I haven't tried it though. - [[User:Jarry1250|Jarry1250]]&nbsp;<sup>[''[[Special:Contributions/Jarry1250|Weasel?]] [[User_talk:Jarry1250|Discuss]].'']</sup> 16:41, 31 July 2011 (UTC)
:::::Excellent, that seems to work fine! -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 16:55, 31 July 2011 (UTC)


I recently noticed that {{tl|ambox}}, when viewed using the night mode beta feature for advanced mobile web users, has a dark gray left border, not a colored one like when viewed using light mode. This is despite the relevant TemplateStyles specifying the color #36c ({{color sample|#36c}}) as the default left border color, with other colors such as #b32424 ({{color sample|#b32424}}), #f28500 ({{color sample|#f28500}}), and #fc3 ({{color sample|#fc3}}) being specified for other ambox types. Does anyone know why this is? Thanks, [[User:I Am Andumé|Andumé ]] ([[User talk:I Am Andumé|talk]]) 05:06, 4 May 2024 (UTC)
== PROD where previous AfD was a different subject ==


== "The time allocated for running scripts has expired." ==
I have just PRODded [[The Hate List]]. There was a previous AfD on an article with this title, but it was about a different subject - a film, whereas this is about a book. Is there any way to stop the PROD template displaying the warning about the previous AfD? [[User:JohnCD|JohnCD]] ([[User talk:JohnCD|talk]]) 16:09, 31 July 2011 (UTC)
:Problem avoided, because it turned out the book's title was different ("Hate List" without "The"); but I'd be interested to know if there is an answer. [[User:JohnCD|JohnCD]] ([[User talk:JohnCD|talk]]) 20:53, 31 July 2011 (UTC)
::{{tl|Proposed deletion/dated}} is coded with <code><nowiki>#ifexist:Wikipedia:Articles for deletion/{{PAGENAME}}</nowiki></code> to always display the warning if there is an AfD for the pagename. You could suggest an optional parameter to omit the warning at [[Template talk:Proposed deletion/dated]], but it is probably a rare problem and if there was an option to omit the warning then it might be used inappropriately in some cases. By the way, the AfD was for an alleged upcoming film based on the book (still no sign of the film actually coming). [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 03:16, 1 August 2011 (UTC)


Hi. I created [[Portal:Washington, D.C.]], which contains some random elements. Most of the time, the page loads properly, just a bit slow. However, sometimes the page will only load some of the elements, and returns "The time allocated for running scripts has expired.". It's weird how the elements that ''don't'' load are static, and elements that ''do'' load are random. How can I fix this? Thanks. <code><nowiki>'''[[</nowiki>'''[[User:CanonNi]]'''<nowiki>]]'''</nowiki></code> ([[User talk:CanonNi|talk]]<nowiki>|</nowiki>[[Special:Contributions/CanonNi|contribs]]) 11:09, 4 May 2024 (UTC)
== How to tell if a page is transcluded by another page ==
:[[User:CanonNi|CanonNi]], looking at the profiling data the lua time usage was around 8 seconds (out of 10). It says:<br/><code>MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::match 2960 ms 37.7%<br/>MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::find 1580 ms 20.1%<br/>MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::sub 1220 ms 15.5%</code><br/>So it looks like some expensive match operations are being run.<span id="Qwerfjkl:1714821430728:WikipediaFTTCLNVillage_pump_(technical)" class="FTTCmt"> —&nbsp;[[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 11:17, 4 May 2024 (UTC)</span>
::The only match operation in use are the {{tl|Transclude selected recent additions}} and {{tl|Transclude selected current events}} templates, which look for 3 matching terms in the ITN and DYK archives. Is there a way to optimize these templates? <code><nowiki>'''[[</nowiki>'''[[User:CanonNi]]'''<nowiki>]]'''</nowiki></code> ([[User talk:CanonNi|talk]]<nowiki>|</nowiki>[[Special:Contributions/CanonNi|contribs]]) 11:22, 4 May 2024 (UTC)


== Thanks feature error message ==
Is there any easy way (e.g., a parser function or some such, which could be used for conditional expressions) to tell whether a page is transcluded by another page? What I have in mind is something along the lines of
*IF this page is transcluded by the page I'm interested in, THEN do nothing
*ELSE add <nowiki>[[Category:Pages not yet transcluded in that other page]]</nowiki>
I thought AfD had a category like this, but I can't find it right now (and I don't remember if it was populated by a bot or what). <b class="IPA">[[Special:Contributions/Rjanag|r<font color="#8B0000">ʨ</font>anaɢ]]</b>&nbsp;([[User talk:Rjanag|talk]]) 21:46, 31 July 2011 (UTC)
:<nowiki>{{#ifeq: {{PAGENAME}} | <name of the template> | THEN | ELSE}}</nowiki>. [[User talk:Ucucha|Ucucha]] 00:56, 1 August 2011 (UTC)
::Thanks; that is useful. However, I don't think it will work for what I'm trying to do; sorry I wasn't specific enough in my previous post. The pages I'm thinking about are not templates but subpages of [[Template talk:Did you know]], which are both transcluded on a main page but also used by themselves (hence my comparison to AfD pages); what I'm trying to do is get them to show up in the category if no one has transcluded them onto T:TDYK yet. In your code, the the transcluded version of it (e.g., what you see when you open T:TDYK) will trigger the ELSE (e.g., if the ELSE is to add a category, T:TDYK will be what's added to the category), whereas the non-transcluded version (what you see when you open the subpage directly) will trigger the THEN.
::I guess what I need is something that tests whether the main page it's meant to be transcluded on (T:TDYK) includes the text <code><nowiki>{{Template talk:Did you know/<this page>}}</nowiki></code>, and if it doesn't, puts <code><nowiki>[[Category:Pages not yet transcluded in T:TDYK]]</nowiki></code> onto the subpage. Sounds like it's not likely to be possible, but i figured it wouldn't hurt to ask... <b class="IPA">[[Special:Contributions/Rjanag|r<font color="#8B0000">ʨ</font>anaɢ]]</b>&nbsp;([[User talk:Rjanag|talk]]) 01:11, 1 August 2011 (UTC)
:::Sorry for misunderstanding you; I agree that what you're asking for is probably not possible just using templates. I think the best way forward would be to have a bot detect new T:TDYK subpages and put them on T:TDYK automatically. I believe {{user|DumbBOT}} does something similar on AFD. [[User talk:Ucucha|Ucucha]] 01:15, 1 August 2011 (UTC)
::::Thanks. It looks like DumbBOT is what I was looking for earlier and couldn't find. <b class="IPA">[[Special:Contributions/Rjanag|r<font color="#8B0000">ʨ</font>anaɢ]]</b>&nbsp;([[User talk:Rjanag|talk]]) 01:33, 1 August 2011 (UTC)


Hi, Every time I try and thank editors either on here or on Simple Wiki I'm getting the following error message:
== Linking from "Search" to "Help:Search" ==
Thank action failed (error code: internal_api_error_JobQueueError). Please try again.


Not sure if anyone's aware hence this message, Thanks, Kind Regards, –[[User:Davey2010|<span style="color:blue;">'''Davey'''</span><span style="color:orange;">'''2010'''</span>]]<sup>[[User talk:Davey2010|<span style="color:navy;">Talk</span>]]</sup> 13:38, 4 May 2024 (UTC)
Someone has [http://en.wikipedia.org/w/index.php?title=Help_talk:Searching&diff=442481946&oldid=441871551 asked] why [[Special:Search]] does not have a link to [[Help:Searching]]. I guess this is the best noticeboard to make it happen. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 09:44, 1 August 2011 (UTC)
:Another point is that clicking on "Advanced" on the search page brings up only a set of check boxes for namespaces; it doesn't provide access to all of the available functions (intitle searching and so on). This is misleading, as I suspect readers would assume that "Advanced" is as advanced as it gets (i.e. they'll conclude that no other functionality is available, and won't bother clicking on the help link to discover the extra stuff, even if there is such a link).--[[User:Kotniski|Kotniski]] ([[User talk:Kotniski|talk]]) 09:53, 1 August 2011 (UTC)
::Those options are nice! I had no idea they existed, must have been asleep when they were introduced. One easy measure would be to change [[MediaWiki:Searchmenu-new]] and [[MediaWiki:Searchmenu-exists]]: instead of "For search help, please visit [[Help:Searching]]" we could have "For search help and an explanation of advanced options, please visit Help:Searching." But I agree that the "advanced" tab should be renamed "free namespace selection" or provide non-namespace based advanced options. —'''[[User:Kusma|Kusma]]''' ([[User talk:Kusma|t]]·[[Special:Contributions/Kusma|c]]) 10:11, 1 August 2011 (UTC)
::This is [[bugzilla:21988|bug 21988]]. [[User:MER-C|MER-C]] 10:39, 1 August 2011 (UTC)


:Now works again, Strange. –[[User:Davey2010|<span style="color:blue;">'''Davey'''</span><span style="color:orange;">'''2010'''</span>]]<sup>[[User talk:Davey2010|<span style="color:navy;">Talk</span>]]</sup> 14:10, 4 May 2024 (UTC)
:The currently blank [[MediaWiki:Search-summary]] is displayed at the top of [[Special:Search]]. I agree that the former version [http://en.wikipedia.org/w/index.php?title=MediaWiki:Search-summary&oldid=377144407] was bloated, but I suggest simply saying [[Help:Searching]], similar to the German Wikipedia: [[:de:MediaWiki:Search-summary]] (they use a piped link). [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 13:32, 1 August 2011 (UTC)
::That would be an improvement, certainly, but I don't think the previous version was ''much'' too bloated - precisely because of the fact that the extra functions are not available under "Advanced" or any other link where they would be expected to be (and since that's a bugzilla matter, we can't expect it to change any time soon), we ought to say explicitly that there are advanced options available, otherwise no-one will know to look for them.--[[User:Kotniski|Kotniski]] ([[User talk:Kotniski|talk]]) 13:55, 1 August 2011 (UTC)

Latest revision as of 14:10, 4 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.

Lua date formats[edit]

Hello everyone, does anyone know how to get Lua accepted two date format at the same time? That is. YYYY-MM-DAY and DD-MM-YYYY. I have tried my all to get them both work together at the same time in lua module Wikipedia but that's impossible for me. Only one type of date format can only work at the same time.
Thisasia  (Talk)
06:40, 27 April 2024 (UTC)[reply]

Accepting a date like 01-02-2020 would not be a good idea at Wikipedia where some would think January 2, 2020 while others would see 1 February 2020. Where is this needed? Johnuniq (talk) 08:09, 27 April 2024 (UTC)[reply]
alright thanks for telling me that, I'm build a new dynamic and multipurpose infobox in lua by integrating all functionality in one Template, but the current programed date format is in something like 01-02-2020 so which date format is well acceptable for Wikipedia?
Thisasia  (Talk)
09:43, 27 April 2024 (UTC)[reply]
YYYY-MM-DD
Trappist the monk (talk) 11:05, 27 April 2024 (UTC)[reply]
See more at MOS:DATEFORMAT. YYYY-MM-DD is the only allowed format using a number for the month. PrimeHunter (talk) 12:04, 27 April 2024 (UTC)[reply]
@PrimeHunter noted that, I have changed it, thanks for your reply.
Thisasia  (Talk)
12:44, 27 April 2024 (UTC)[reply]
Thanks for your reply.
Thisasia  (Talk)
12:45, 27 April 2024 (UTC)[reply]
Module:Date accepts a variety of dates formats, for example, 2024-04-27 or 27 April 2024 or April 27, 2024 (all allowed at Wikipedia) and only allows valid dates. Johnuniq (talk) 03:47, 28 April 2024 (UTC)[reply]
Got it, Thanks very much for pointing out.
Thisasia  (Talk)
05:00, 28 April 2024 (UTC)[reply]
seconding YYYY-MM-DD which is not only the most logical but also sorts properly and is an international standard jp×g🗯️ 19:00, 28 April 2024 (UTC)[reply]
Why are we going through this again when MOS:DATE was settled years ago? We don't use all-numeric dates except in certain special situations, and even then, only CCYY-MM-DD is permitted. If you want that changing, WT:DATE is the place to do it but (i) make sure that you inform WP:VPP; (ii) be prepared for massive kickback. --Redrose64 🌹 (talk) 22:07, 28 April 2024 (UTC)[reply]
Ah I see, well I wasn't actually aware of the standard at first I'm now familiarising with the policy.
Thisasia  (Talk)
04:49, 29 April 2024 (UTC)[reply]

Strange bug on Flag of Russia article[edit]

Is anyone else also seeing this bug on Flag of Russia? There are two major headers saying "User:CheezDeez ON TOP" that appear inside the infobox (this user is also blocked for sockpuppetry, but I don't think they have ever edited this article). I can't find anything in the wikitext that might produce this text, and the bug also doesn't show up in preview mode either. Liu1126 (talk) 13:41, 28 April 2024 (UTC)[reply]

I was reverting all these edits when it was happening (in this specific case, Special:Diff/1221172528), but it seems this article didn't refresh when I undid the changes. I gave the page a null edit, and the content is fixed again now. Aidan9382 (talk) 13:44, 28 April 2024 (UTC)[reply]
Ah, that explains it. Thanks for reverting! Liu1126 (talk) 13:48, 28 April 2024 (UTC)[reply]
Hi! I noticed the same issue in the Haaretz article (Template:Literal translation) and the Tiger article (Template:MirrorH). I see you've already reverted the vandalistic changes to both templates, but the articles I linked don't appear to have been refreshed yet. Could you refresh them as well, or otherwise let me know how I could do that? Thanks! Wavevari (talk) 15:17, 28 April 2024 (UTC)[reply]
I've gone ahead and fixed those pages. The process is called a null edit, though purging the page normally would probably also work. Aidan9382 (talk) 15:26, 28 April 2024 (UTC)[reply]
Thank you for the fixes and for the additional information! Wavevari (talk) 15:30, 28 April 2024 (UTC)[reply]
It’s the same for the Vagina article. Autisticeditor 20 (talk) 17:40, 28 April 2024 (UTC)[reply]
never mind Autisticeditor 20 (talk) 17:42, 28 April 2024 (UTC)[reply]

Erroneous page archiving by ClueBot III[edit]

ClueBot III (talk · contribs · count · logs · page moves · block log · edit summaries) seems to be occasionally archiving pages incorrectly to Archives/_1 and ignoring the configuration on the page. Examples from various namespaces: 1, 2, 3, 4. This was reported on the ClueBot Commons talk page yesterday by @MrPersonHumanGuy: ping. Other examples can be found in the contributions log. Local Variable (talk) 13:51, 28 April 2024 (UTC)[reply]

The four pages have one things in common: inside the {{User:ClueBot III/ArchiveThis}}, the first part of the |archiveprefix= parameter does not begin with the name of the page that is being archived. For three of the four, this is because a page move occurred at some point in the recent past and the archiving config wasn't amended to suit; in the case of User talk:Spiderjiu it's because the archiving was set up badly. The other main archiving bot, lowercase sigmabot III (talk · contribs), guards agains this by refusing to archive a page when the first part of the |archive= parameter does not begin with the name of the page that is being archived. --Redrose64 🌹 (talk) 17:27, 28 April 2024 (UTC)[reply]
@K6ka has since updated the docs to advise editors to change the template when moving the page (I'm not overly optimistic editors will heed that warning). Local Variable (talk) 23:26, 28 April 2024 (UTC)[reply]

“Request Desktop Site” on IPad does not work[edit]

I would like to use Desktop mode while on my iPad (IPad Air gen 4, IpadOS 17 , safari)

Although I have “request desktop site” selected, Wikipedia redirects to Mobile (en.m.wikipedia.org)

How can I use desktop Wikipedia on iPad? Tonymetz 💬 17:22, 28 April 2024 (UTC)[reply]

@Tonymetz: "request desktop site" is a feature in some mobile browsers. I don't know whether it's supposed to work with Wikipedia. The normal way to choose the desktop version of Wikipedia is the "Desktop" link at the bottom of pages in the mobile version. The link is made by MediaWiki and not the browser. PrimeHunter (talk) 17:47, 28 April 2024 (UTC)[reply]
In fact, the browser feature does not work. phab:T60425 is the task for it. Izno (talk) 18:14, 28 April 2024 (UTC)[reply]
Thanks I’ve subscribed. 11 years let’s keep our fingers crossed. Thanks for the tip on the desktop link I see it now. It had been cut off by my iPad keyboard bar. Tonymetz 💬 22:06, 28 April 2024 (UTC)[reply]
There are userscripts that will auto redirect you from the mobile to the desktop site, User:Þjarkur/NeverUseMobileVersion for instance. -- LCU ActivelyDisinterested «@» °∆t° 18:24, 28 April 2024 (UTC)[reply]

Removing gap between templates[edit]

After updating the template styling of my user page, I managed to get most things as I wanted except for a gap between the "Start tab" template and the bordered box that comprises the rest of the page. Is there a way I could put the bordered box into the template, or make an adjustment to how they are configured, to remove the gap between them? -CoolieCoolster (talk) 23:26, 28 April 2024 (UTC)[reply]

@CoolieCoolster i have seen your page, are you referring to the gap between the "start tab" and your userboxes section, if so then I can help you with that or can you be more specific and explain properly? You may discuss with me on my talk page if I didn't respond here on time.
Thisasia  (Talk)
05:23, 29 April 2024 (UTC)[reply]
I meant the thin white line that appears between the template that creates the tabs and the section that encloses the rest of the page's content. As I reused the format on the other three tabs, each one has the same white gap. -CoolieCoolster (talk) 05:26, 29 April 2024 (UTC)[reply]
OK the thin whit
line e u are talking abo are you referring the start tab or your userboxe table? t
Thisasia  (Talk)
05:29, 29 April 2024 (UTC)[reply]
Above that; it splits the dark red section at the top in two.-CoolieCoolster (talk) 05:41, 29 April 2024 (UTC)[reply]
Pretty not much clear, but see what I found so far.
  • there is a huge gap between the start tab and your userboxes section may be making it look unsatisfying since you applied the same background color to both of them
  • there is also a thin line that appears at the start tab when scrolled from either left or right. But except that I couldn't figure anything else.

Thisasia  (Talk)
05:54, 29 April 2024 (UTC)[reply]
I'm guessing the first issue you described is what it is; both halves using the same color is intentional, as ideally I'd like to find a way for the content of the page to be within the box connected directly to the tabs, but doing so while also having a border around the page seems to be a conundrum. -CoolieCoolster (talk) 06:36, 29 April 2024 (UTC)[reply]
Alright I do have solution for that. If you do permit me i will edit your page directly, and after that if that's not what you described we can find further. But first of all, take a look at the top of this page, it has similar start tab as yours and the start tab isn't separated from the rest of the page unlike yours that splits, check and tell if this is actually your point.
Thisasia  (Talk)
07:02, 29 April 2024 (UTC)[reply]
Move the closing div tag to after the table...then reduce the border width? — GhostInTheMachine talk to me 07:07, 29 April 2024 (UTC)[reply]
Someone did that for me earlier today it seems, so the issue has been resolved, but thanks for the help! -CoolieCoolster (talk) 18:52, 29 April 2024 (UTC)[reply]

Curious ephemeral js error[edit]

I turned on the "display js errors" gadget a few days ago. Today I got an error something like "unhandled exception missing ) for argument list line 23". Since the gadget pop-up fades away quickly, I refreshed the page a few times to try and select and copy the error. I then took a look at the source: line 23 is (for me) }];});});</script>. After looking at this I tried again to copy the error, but it had gone. I compared the script which runs from line 6 to 23 before an after the error with an on-line diff, no apparent difference.

Anyone know why this might have happened? All the best: Rich Farmbrough 08:34, 29 April 2024 (UTC).[reply]

I got it too, so I filed phab:T363701. It happened whenever the CentralNotice banner for the U4C voting was displayed. But it stopped at some point even when I got the banner. I wonder if something was backported and fixed it. Nardog (talk) 22:44, 29 April 2024 (UTC)[reply]
The banners are maintained on Meta-Wiki as wiki pages. You can find them on m:Special:CentralNotice, if you can figure out the interface (I struggle with it). I think this was the edit that fixed it: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Centralnotice-template-u4c_election2024_vote2&diff=prev&oldid=26702487 Matma Rex talk 09:18, 30 April 2024 (UTC)[reply]

Thank you both. All the best: Rich Farmbrough 09:48, 1 May 2024 (UTC).[reply]

Help with regex statement[edit]

Hi, I need help with the following regex, which I did not write and don't understand well enough to fix. That statement is:

(?<!/)(?<!\\?url=)https?://(?:[\\w-]+\\.)*wikisophia[.]org[\\w/.\\-#?&=]*

The intent is to match all URLs such as:

http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)

But not archive URLs such as:

https://web.archive.org/web/20010101010101/http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)
https://webcitation.org/fgT654?url=http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)

Currently the regex is only partially matching and returning:

http://wikisophia.org/index.php?title=Constitution_Act

..anything after the "," is not matched. Same if there is a ":" or other similar characters.

Suggestions? -- GreenC 19:21, 29 April 2024 (UTC)[reply]

You need to add the relevant characters (possibly escaped?) to [\\w/.\\-#?&=]. Izno (talk) 19:59, 29 April 2024 (UTC)[reply]
Almost any character can appear in a URL, especially after ?title=. It may be better to accept anything except whatever delimits a URL in the relevant context, e.g. for parsing {{cite web|url=http...}} use [^|}]* or for space-delimited [http... Description of page] try \\S*. The former may pick up unwanted spaces unless we complicate it as something like .*?(?=\\s*[|}]) (grab any characters, but as few as possible, as long as optional spaces then | or } follows). Certes (talk) 00:14, 30 April 2024 (UTC)[reply]
OK, building on that idea, this solution is imperfect, but it will work in most cases. I'm not using it for critical purposes (log files, counting) so YMMV:
(?<!/)(?<!\\?url=)https?://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])*wikisophia[.]org[^\\s\\]|}{<]*[^\\s\\]|}{<]*
The gobbly between https and wikisophia is for matching hostname(s) at multiple levels per this. -- GreenC 05:34, 30 April 2024 (UTC)[reply]
In case anyone is trying this regex, it had an error corrected: Special:Diff/1221562167/1221571619 -- GreenC 18:16, 30 April 2024 (UTC)[reply]

Out of interest I fed this into ChatGPT (I know...!). Here's its response, for what it's worth (minor tweaks for formatting) -

This regular expression (regex) is designed to match URLs that point to the domain "wikisophia.org" under specific conditions, while excluding URLs that are part of certain contexts or formats. Let's break down this regex to understand what it is specifically targeting:

1. Negative Lookbehind Assertions:

  - `(?<!/)` ensures that the match does not directly follow a forward slash `/`. This might be used to avoid matching URLs that are part of a larger URL path or parameter.
  - `(?<!\\?url=)` ensures that the match does not directly follow the query parameter string `?url=`. This helps in avoiding matching URLs that are query parameters.

2. URL Scheme:

  - `https?://` matches both "http://" and "https://". The `s?` means that the character "s" is optional.

3. Domain Name:

  - The part `(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*` is somewhat complex but essentially matches sequences of alphanumeric characters separated by hyphens (not starting or ending with a hyphen) and followed by periods. This part matches subdomains as well, as it repeats zero or more times due to the `*` operator after the group.
  - `([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])` ensures the domain name or subdomain consists of alphanumeric characters, possibly with hyphens (but not starting or ending with them), much like the earlier subdomain matcher.

4. Specific Domain:

  - `wikisophia[.]org` is very straightforward and matches the domain "wikisophia.org". The square brackets around the period `.` are technically not needed here, as they are used to escape special regex characters (though `.` would typically be escaped directly with a backslash).

5. Trailing URL Path and Parameters Exclusions:

  - `[^\\s\\]|}{<]*` This part of the pattern is intended to consume any characters that are not whitespace, slashes, or certain special characters like `|`, `}`, `{`, `<`. However, there are syntax issues and potential misinterpretations in this segment:
    - `[^\\s\\]` seems intended to exclude backslashes and whitespace (though `\\s` would be invalid in most regex flavors and might be an error).
    - The character set `[^\\s\\]|}{<]` is followed by a `*` quantifier, meaning it matches zero or more of any character that is not a space, slash, or one of the special characters listed. This part could be attempting to match the rest of the URL while excluding specific trailing characters but is likely erroneous as presented.

Conclusion

The regex seems intended to match "wikisophia.org" URLs that do not follow a slash or the specific query parameter `?url=`. However, there are syntax issues that might cause it to behave unpredictably, particularly with the last part concerning non-whitespace and non-special characters, which appears to be syntactically incorrect. This regex should be reviewed for errors and tested thoroughly in its intended context to ensure it functions as expected.

I hope this is interesting and/or helpful.  —Smalljim  11:23, 1 May 2024 (UTC)[reply]

How does one correct a citation when the source is listed dozens of times?[edit]

In the entry on lyricist Robert Hunter, I noticed that at some point an editor must've accidentally cited another source that's already cited 22 times in the article. There are only three 2015 sources used, so perhaps someone inadvertantly used the wrong one. At any rate I tried to fix it using the visual editor and, while it corrected the citation, it left it with the wrong footnote number still. So I undid my failed correction and left a note on the article's Talk page. Correcting simple sources that are only cited once is pretty straightforward, but when they're used dozens of times it's another (way too intimidating) matter. Or am I simply not able to find "the easy way"? Peterh6658 (talk) 23:22, 29 April 2024 (UTC)[reply]

@Peterh6658: I've made the change you wanted, and given a link to how I did it on the article talk page. DuncanHill (talk) 23:33, 29 April 2024 (UTC)[reply]
Thanks, Duncan! I hope I wasn't out of line with that crack about the process being way too intimidating. (Another Maxwell Smart catchphrase.) I'm still a relatively new Wikipedian, and can never remember the best shortcut to help me remember that ref name technique. Peterh6658 (talk) 23:51, 29 April 2024 (UTC)[reply]
You can make this change in the visual editor too, but it's not very intuitive. There are two ways you could do it:
  1. After you select the reference marker (i.e. the "[5]"), instead of clicking "Edit" in the menu, you can just delete it (press Delete/Backspace on your keyboard), and then copy-paste the right reference marker in its place (i.e. the "[2]").
  2. Or, after you click "Edit" in the reference menu, you can click on "Change reference type" in the bottom-left corner, which will open the "Replace citation" menu – in that menu, go to "Re-use" and choose the correct citation from the list.
Hope that helps in your future editing. Matma Rex talk 10:00, 30 April 2024 (UTC)[reply]

Tech News: 2024-18[edit]

MediaWiki message delivery 03:31, 30 April 2024 (UTC)[reply]

Video viewing stats[edit]

Hi, is there a way to know how many readers watched a video in an article? Alaexis¿question? 06:30, 30 April 2024 (UTC)[reply]

Yes, you can look up this data using https://pageviews.wmcloud.org/mediaviews/ (although note that it just counts total views, it doesn't show how many are coming from a specific article). For example, here's a chart of page views for a few movies listed on Public domain film: https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Night_of_the_Living_Dead_(1968).webm%7CFear_and_Desire_(1953).webm%7CWings_(1927).webm Matma Rex talk 09:31, 30 April 2024 (UTC)[reply]
Thanks! Do you know what counts as a view? According to this tool, this video had very few views, in spite of being used in an article with 30k daily viewers. Does it really mean that very few users choose to watch (admittedly hard-to-watch) video? Alaexis¿question? 14:20, 30 April 2024 (UTC)[reply]
According to GlobalUsage that file isn't used anywhere; I suspect you wanted to look up the stats for this file instead (GlobalUsage), which has more views: [13]. The autocomplete in the mediaviews tool is a bit fiddly sometimes, and apparently doesn't find files that have been renamed, like this one, if you use the redirect name when searching. I didn't know that before. Matma Rex talk 14:51, 30 April 2024 (UTC)[reply]
And to answer your actual question too, the technical documentation about what counts as a media view is available here: https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Mediacounts Matma Rex talk 14:58, 30 April 2024 (UTC)[reply]
This reminds me that if we ever make videos 'preload' by default, these stats will break, because every pageview will preload the first bytes of a file... —TheDJ (talkcontribs) 17:12, 30 April 2024 (UTC)[reply]
Thanks for the comprehensive answer! Alaexis¿question? 11:13, 1 May 2024 (UTC)[reply]

PETSCan and Images[edit]

I am looking to source free images for articles on plant genera that are lacking them. Therefore I was wondering whether it was possible to configure PETScan only to return pages which do not contain images. The closest thing I thought of was to show images from the metadata in the output and then scroll through them, looking for those for which no image is presented. However, that is getting progressively tedious. Does anyone know a more direct way to do this? Felix QW (talk) 09:33, 30 April 2024 (UTC)[reply]

Not an answer to your question, but the search facility may help you. A search for plant hastemplate:"automatic taxobox" insource:/image *= * returns 16,436 results with an image parameter in the taxobox. Note, it's not restricted for genera and some may have empty taxobox image parameters. Then a search for plant hastemplate:"automatic taxobox" -insource:/image *= * finds 1,298 results without the image parameter, most of which appear to be genera. The search can probably be refined. —  Jts1882 | talk  10:57, 30 April 2024 (UTC)[reply]
Thank you for the interesting suggestion! It does seem to me that empty taxobox image parameters are quite common, but then again, it is not like I am not going to ever finish this task. PETScan has the additional advantage of alphabetical sorting, so it is consistent across searches, and I can exclude pages linked from my userspace list of taxa for which I have already searched for images without any success. Therefore, a PETScan-based method seems preferable to me at the moment. Felix QW (talk) 12:33, 30 April 2024 (UTC)[reply]
@Felix QW: the "Page properties" tab in PetScan has a radio button for "Lead image" where you can select "no". Plantdrew (talk) 21:20, 30 April 2024 (UTC)[reply]
Brilliant, thank you! I don't know how I missed that. By the way, thank you very much for all your work on plant articles! Felix QW (talk) 07:18, 1 May 2024 (UTC)[reply]

pagelinks normalization[edit]

The pagelinks table is about to lose its pl_namespace and pl_title columns. This may break some tools and reports. Certes (talk) 15:26, 30 April 2024 (UTC)[reply]

As advised at Wikipedia:Village pump (technical)/Archive 211#pagelinks normalization. --Redrose64 🌹 (talk) 20:33, 30 April 2024 (UTC)[reply]
Yes: we've been able to use the linktarget alternative for a while now. Today's news, according to the Phabricator ticket, is that they are now ready to drop the columns. Certes (talk) 21:33, 30 April 2024 (UTC)[reply]

Non free file upload bug[edit]

Today, when I clicked the button "upload a non free file", it just reload the page, please fix this bug or glitch as soon as possible. SleepingJoe (talk) 04:30, 1 May 2024 (UTC)[reply]

 Works for me ensure you are allowing javascript to run and try again. Alternatively, use the direct upload page here: Special:Upload. — xaosflux Talk 10:17, 1 May 2024 (UTC)[reply]
Please if I may ask, when uploaded Files with Special:Upload which directly is it going to stay, is it wikimedia common or Wikipedia itself? because I have always thought that files can only be uploaded through wikimedia. Thisasia  (Talk) 10:53, 1 May 2024 (UTC)[reply]
@Thisasia: If you use Special:Upload here on English Wikipedia, you will upload to English Wikipedia. If you use c:Special:Upload, which is at Commons, you will upload to Commons. --Redrose64 🌹 (talk) 17:17, 1 May 2024 (UTC)[reply]
Oww that's cool, thanks very much for the information. Thisasia  (Talk) 21:37, 1 May 2024 (UTC)[reply]
Coincidentally the OP is blocked for 'Abusing multiple accounts' on commons, so they can only use Special:Upload. – 2804:F1...C3:D952 (talk) 04:39, 2 May 2024 (UTC)[reply]

Stealth revdel[edit]

In this discussion at my Talk page, I made an assertion (diff) that traces of a revdel can always be seen in the revision history, with revisions in strikeout type, and the like. But now, I wonder if my response there was accurate. Is there such a thing as, for lack of a better term, what I will call a stealth revdel—that is, a revdel which wipes some revisions from the history, without leaving any evidence of the removal visible to non-admins? If that exists, what is it called, and is there a page that covers this? Mathglot (talk) 11:13, 1 May 2024 (UTC)[reply]

Selective (un)deletion, i.e. deleting the page and undeleting all except certain revisions. If an admin really wanted to hide it, they'd have to then delete or revdel the log entries of the deletion and undeletion too. Anomie 11:35, 1 May 2024 (UTC)[reply]
The thing being discussed in that discussion was some template vandalism, which was of course on a different page transcluded onto that one. Some varieties of oversight can remove edits without much trace, though not something like this purported situation. -- zzuuzz (talk) 11:42, 1 May 2024 (UTC)[reply]
The "some varieties of oversight" being what mw:Extension:Oversight did before it was replaced by RevDel? If so, that's not available anymore. Anomie 11:45, 1 May 2024 (UTC)[reply]
No, I do mean suppression oversight (and 'hiding'). It's not a thing to focus on here, but OS can make some disappearances hard to track. -- zzuuzz (talk) 11:48, 1 May 2024 (UTC)[reply]
so maybe I meant oversighted? It's idle curiosity in this instance but I am pretty sure I have noticed stuff disappear before, especially identifying personal information. In fact, I distinctly remember telling an admin that somebody's address was in an article edit history, and this got removed, at lrast as far as a plain vanilla editor could see.
Which is not what this was, granted; it would have been more of an unfortunate paste error or perhaps vandalism. Elinruby (talk) 12:22, 1 May 2024 (UTC)[reply]
I seem to recall days when there was no revision deletion feature we have now, and the way to hide select revisions was to move the page to another name, delete it, restore okay revisions, and move it back. I assume it's possible still. Nardog (talk) 13:25, 1 May 2024 (UTC)[reply]
Indeed it is. * Pppery * it has begun... 13:43, 1 May 2024 (UTC)[reply]
Oh it's actually explained in the link Anomie gave above... Facepalm Nardog (talk) 13:46, 1 May 2024 (UTC)[reply]
There are certainly beansy ways to cause obfuscation - that are best left unlisted here. Just replace "can always..." with "can generally...." and most use cases will be covered. — xaosflux Talk 14:11, 1 May 2024 (UTC)[reply]
Thanks, all; this has been informative. And I got the read-between-the-lines stuff, so needn't go further. Cheers! Mathglot (talk) 00:35, 3 May 2024 (UTC)[reply]
I know it's possible to delete summaries of log entries... including for the revdel log... and for the revdel log summary deletion log. I think you can set up an infinite regress this way. jp×g🗯️ 07:53, 3 May 2024 (UTC)[reply]

Caption on Image wikiMarkup?[edit]

Please may i ask if caption is possible inside the image wikiMarkup? Because since it does have the argument for sizing like for example: [[File:Example.jpg|100px]] then i suppose I'd probably have an argument for caption and even perhaps, more arguments beyond? Thisasia  (Talk) 12:31, 3 May 2024 (UTC)[reply]

H:PICTURES.
Trappist the monk (talk) 13:10, 3 May 2024 (UTC)[reply]

Xtools 503 error[edit]

Is anyone getting a 503 error on Xtools? It says "Service Unavailable". Is the server down by any chance? Neko Lexi (talk) 13:53, 3 May 2024 (UTC)[reply]

There is a problem with the tool indeed. @MusikAnimal is working on trying to fix it at the hackathon right now. —TheDJ (talkcontribs) 15:47, 3 May 2024 (UTC)[reply]
good deal Neko Lexishe/her 15:55, 3 May 2024 (UTC)[reply]
phab:T364151 is the actual problem. Taavi told me there's no quick fix, so I'm going to temporarily disable parts of XTools that are affected. That includes anything that touches the logging table, such as xtools:ec-generalstats and xtools:adminstats. Apologies for the disruption. MusikAnimal talk 16:13, 3 May 2024 (UTC)[reply]
It's alright, but okay Neko Lexishe/her 16:54, 3 May 2024 (UTC)[reply]

What links here says that a page transcludes itself, which should be an error[edit]

What transcludes Template:Requested move notice shows ~4 pages, including a self-transclusion, which should be impossible. When I edit the template to make it transclude itself, I see the error (in preview mode):

Warning: This page calls Template:Requested move notice which causes a template loop (an infinite recursive call).

But it's not populating Category:Pages with template loops. Why is this spurious transclusion report happening, and how do I suppress it? My bot looks up all the pages that transclude this template, and is confused by this spurious transclusion. wbm1058 (talk) 14:30, 3 May 2024 (UTC)[reply]

First thought is this is via some check related to Module:Unsubst that is called there. — xaosflux Talk 15:05, 3 May 2024 (UTC)[reply]
Also noting that the identical Template:Requested move notice/sandbox doesn't show the same problem transclusion. – wbm1058 (talk) 15:12, 3 May 2024 (UTC)[reply]
Take that back. The sandbox does transclude itself. So I can play with the sandbox to try to make it go away. – wbm1058 (talk) 15:28, 3 May 2024 (UTC)[reply]
Problem is that the documentation subpage transcludes itself. When I removed the documentation from the sandbox, the sandbox stopped transcluding itself. – wbm1058 (talk) 16:13, 3 May 2024 (UTC)[reply]
Self transclusions occur when a template uses the MW Lua library getContent on the page it's transcluded on. This happens for example with Module:Citation/CS1 (which hunts for the "use XXX date" templates in the page source, among others). Izno (talk) 16:20, 3 May 2024 (UTC)[reply]
It's common and allowed for pages to transclude themselves. A template loop error only occurs if the transcluded version of the page also tries to transclude itself. PrimeHunter (talk) 16:46, 3 May 2024 (UTC)[reply]
This is very confusing. These pages compare identical yet one "transcludes itself" while the other does not. I'll assume that neither actually transcludes itself on a first-level basis, but the documentation only "transcludes itself" via the template transcluding the documentation, in other words, "cascading transclusion", or "circular transclusion" where the template transcludes the documentation while the documentation is simultaneously transcluding the template, and there is no way to differentiate regular transclusion from cascading/circular transclusion, so in order to work around this bizarre behavior, I'll need to make a special, kludgey edit to my bot's source code to specifically remove one specific page from the list of transcluded pages it gets from its "what transcludes this page" API call. I guess I've been kind of aware of this strange behavior for a while, but I think this is the first time I've found myself needing to actively code a work-around for it. – wbm1058 (talk) 17:59, 3 May 2024 (UTC)[reply]
Many templates can cause a page to transclude itself. In this case it's caused by {{Bot use warning}} because it uses {{pagetype}} which examines the code of the page to identify certain page types. Module:Pagetype uses getContent to do it and as Izno said, this gives a self transclusion. Just work around it if needed as you say. It's not broken and doesn't require "fixing". Template:Requested move notice/doc/sandbox also transcludes itself. Maybe it had not been registered in link tables after your move.[14] PrimeHunter (talk) 21:19, 3 May 2024 (UTC)[reply]
I thought every page transcluded itself, to be honest. Every (article) I've looked at closely was 'transcluded' by both itself and its talk page. – 2804:F1...6E:399F (talk) 20:30, 3 May 2024 (UTC)[reply]
Sometimes it feels like that to me too. I don't think the system always worked that way. At some point, something changed, I think, and I've yet to figure out exactly when, what, or why. – wbm1058 (talk) 21:16, 3 May 2024 (UTC)[reply]

Riddle me this. Compare and contrast. My initial example, limited to template namespace, followed by a similar example (my bot uses both):

Why does {{Requested move notice}} transclude itself, while {{Requested move/dated}} does not? They both have similar documentation sub-page configurations. – wbm1058 (talk) 21:16, 3 May 2024 (UTC)[reply]

It's probably Module:Pagetype. Module:Citation/CS1/Date validation also uses GetContent, so any page that uses {{cite book}} or another template in that family, which is millions of pages, will also transclude itself. – Jonesey95 (talk) 21:26, 3 May 2024 (UTC)[reply]
{{Requested move notice/doc}} uses {{Bot use warning}}. {{Requested move/dated/doc}} doesn't. But you don't have to work out why a given page transcludes itself since it's not a problem and doesn't require any action. PrimeHunter (talk) 21:35, 3 May 2024 (UTC)[reply]
Gah! Well, thanks for solving my puzzle! No, it was a problem. My bot's console report was saying:
339 : Template:Requested move notice => NOT FOUND
!!! Failed to remove subject notice
The transclusion made the bot think there was a {{Requested move notice}} sitting on the template – not unheard of that someone would request moving it, as it's been moved multiple times – the bot tried and failed to remove the template it thought was there, and thus reported the problem to me. THIS EDIT solved my problem by making the bot happy again. I added {{Bot use warning}} on 22 November 2023‎; guess I'd overlooked the bot's messages about this for months? Hey, I didn't realize that adding that template would change this template in a significant way! Who would have thunk that template needed to use {{pagetype}}, I never would have guessed that! {{Wikipedia:Article alerts/Bot use warning}} manages to give its warning without finding the {{pagetype}} first! Why would anyone ever need to find the {{pagetype}} to warn ppl that bots use their template? I'm just not gonna bother keeping the warning there, as it's just too much trouble and Murphy's Law says another WP:IAR editor is born every minute so resistance is futile. wbm1058 (talk) 22:22, 3 May 2024 (UTC)[reply]

A new template to count the number of internal links[edit]

Hi, I searched for a template that returns the number of internal links, but couldn't find any so I created this Template:InternalLinkCounter now. Please take a look and improve it if you like. I just wanted the community to be aware of this new template. Thanks! ⇒ AramTalk 23:39, 3 May 2024 (UTC)[reply]

"bps" in interface messages?[edit]

Are the bit-rate messages Bitrate-...bits used anywhere in the interface? If yes, then "bps" in all of them should be changed to "bit/s" to be consistent with MOS:UNITS#Specific units ("bit per second: bit/s (not bps, b/s)") and avoid setting a bad example. — Mikhail Ryazanov (talk) 02:38, 4 May 2024 (UTC)[reply]

These are used in places like File:2024-04-24_Tours2024Stopmotion.webm. I personally can't be bothered to care about this issue, though, it seems very trivial. * Pppery * it has begun... 02:42, 4 May 2024 (UTC)[reply]
MoS doesn't apply to "the interface". Nardog (talk) 07:39, 4 May 2024 (UTC)[reply]
I know (obviously, because I did say "be consistent with" instead of "conform" to). But how does it help to have our own interface contradicting our own MoS? — Mikhail Ryazanov (talk) 08:52, 4 May 2024 (UTC)[reply]
Yes they are contained in the interface see list. I do not think we should localize these for only those with their interface language set to English. You could make a case for this in a feature request which if accepted would "improve" this for all projects. — xaosflux Talk 10:10, 4 May 2024 (UTC)[reply]
Some other languages already have them "localized" (such as "bit/s" in Finnish, "b/s" in French, "б/с" in Macedonian). Do you propose changing the defaults such that all the languages where these messages haven't been "translated" will automatically switch to "bit/s"? Although this would be nice ("bit/s" is at least defined by the international standard IEC 60027, whereas "bps" is not standard at all), doing so globally might be perhaps more difficult than redefining these messages just for English at translatewiki. — Mikhail Ryazanov (talk) 11:17, 4 May 2024 (UTC)[reply]
My suggestion is that if the root of these is not the best possible international version of this, it be fixed at the root message level, not with a project-specific local override. I don't think "translating" them from the root English to English at translatewiki is the fix there - but you could give it a try. Fixing at the root reduces local technical debt and would share the improvement with all mediawiki projects. — xaosflux Talk 12:17, 4 May 2024 (UTC)[reply]
Follow on, inconsistent translatewiki work can make these sloppy - for example I can't imagine why in Portuguese the kilobits should be "kb/s" while the megabits are "Mbps". Likely because someone wanted to fix one instance and isn't even aware of the other ones - but if it was all in an agreeable root style that may have been avoidable. — xaosflux Talk 12:28, 4 May 2024 (UTC)[reply]
Whether other projects follow English Wikipedia's MoS or not is their decision entirely. Even if you want it to, any conseus on that here has no effect. I am listing this as a reason to oppose extending your steward rights next year xaosflux, very disrepectful behaviour of you. Snævar (talk) 11:33, 4 May 2024 (UTC)[reply]
What?! What was disrespectful about it? Nardog (talk) 11:41, 4 May 2024 (UTC)[reply]
Sorry we are in disagreement. I certainly don't think that article style guidelines on this project should be forced on other projects. To be clear my suggestion is just that this would best start as an upstream discussion - which could certainly result in a WONTFIX. — xaosflux Talk 12:24, 4 May 2024 (UTC)[reply]

I recently noticed that {{ambox}}, when viewed using the night mode beta feature for advanced mobile web users, has a dark gray left border, not a colored one like when viewed using light mode. This is despite the relevant TemplateStyles specifying the color #36c () as the default left border color, with other colors such as #b32424 (), #f28500 (), and #fc3 () being specified for other ambox types. Does anyone know why this is? Thanks, Andumé (talk) 05:06, 4 May 2024 (UTC)[reply]

"The time allocated for running scripts has expired."[edit]

Hi. I created Portal:Washington, D.C., which contains some random elements. Most of the time, the page loads properly, just a bit slow. However, sometimes the page will only load some of the elements, and returns "The time allocated for running scripts has expired.". It's weird how the elements that don't load are static, and elements that do load are random. How can I fix this? Thanks. '''[[User:CanonNi]]''' (talk|contribs) 11:09, 4 May 2024 (UTC)[reply]

CanonNi, looking at the profiling data the lua time usage was around 8 seconds (out of 10). It says:
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::match 2960 ms 37.7%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::find 1580 ms 20.1%
MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback::sub 1220 ms 15.5%

So it looks like some expensive match operations are being run. — Qwerfjkltalk 11:17, 4 May 2024 (UTC)[reply]
The only match operation in use are the {{Transclude selected recent additions}} and {{Transclude selected current events}} templates, which look for 3 matching terms in the ITN and DYK archives. Is there a way to optimize these templates? '''[[User:CanonNi]]''' (talk|contribs) 11:22, 4 May 2024 (UTC)[reply]

Thanks feature error message[edit]

Hi, Every time I try and thank editors either on here or on Simple Wiki I'm getting the following error message: Thank action failed (error code: internal_api_error_JobQueueError). Please try again.

Not sure if anyone's aware hence this message, Thanks, Kind Regards, –Davey2010Talk 13:38, 4 May 2024 (UTC)[reply]

Now works again, Strange. –Davey2010Talk 14:10, 4 May 2024 (UTC)[reply]