Revision as of 20:14, 10 July 2007 view sourceBrooke Vibber (talk | contribs)Extended confirmed users10,086 edits →Another weird glitch← Previous edit | Latest revision as of 15:23, 11 January 2025 view source Lowercase sigmabot III (talk | contribs)Bots, Template editors2,303,401 editsm Archiving 2 discussion(s) to Misplaced Pages:Village pump (technical)/Archive 217) (bot | ||
Line 1: | Line 1: | ||
{{pp-sock|small=yes}} | |||
<noinclude>{{Villagepumppages|1=Technical|2=The '''technical''' section of the village pump is used to discuss technical issues about Misplaced Pages. Bugs and feature requests should be made at the ] since there is no guarantee developers will read this page. Problems with ] should not be reported here, but rather to their developers (unless the bug is ]). | |||
<noinclude>{{Short description|Page for discussing Misplaced Pages technical issues}}<!-- | |||
--><!-- | |||
-->{{User:MiszaBot/config | |||
| archive = Misplaced Pages:Village pump (technical)/Archive %(counter)d | |||
| algo = old(5d) | |||
| counter = 217 | |||
| maxarchivesize = 500k | |||
| minthreadsleft = 4 | |||
| minthreadstoarchive = 1 | |||
| archiveheader = {{Misplaced Pages:Village pump/Archive header}} | |||
}}<!-- | |||
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. | |||
Newcomers to the technical village pump are encouraged to read ] prior to posting here. Questions about ] in general should be posted at the ]. | |||
|center=<div id="villagepumpfaq">{{FAQ|see also=]|width=100%}}</div> | |||
|3=WP:VPT|4=WP:VP/T}} | |||
__TOC____NEWSECTIONLINK__ | |||
{| class="messagebox standard-talk" style="margin: .5em auto 0 auto; width:100%; background:AntiqueWhite;" | |||
|This page is '''automatically archived''' by ]. Any sections older than '''7''' days are automatically archived to ''']'''. Sections without timestamps are not archived. | |||
|}<!-- | |||
BEGIN WERDNABOT ARCHIVAL CODE | |||
--><!-- This page is automatically archived by Werdnabot-->{{User:Werdnabot/Archiver/Linkhere}} <!--This is an empty template, but transcluding it counts as a link, meaning Werdnabot is directed to this page - DO NOT SUBST IT --><!--Werdnabot-Archive Age-7 DoUnreplied-Yes Target-Misplaced Pages:Village pump (technical)/Archive--><!-- | |||
END WERDNABOT ARCHIVAL CODE | |||
--> | --> | ||
] | |||
These discussions will be kept archived for 7 more days. During this period the discussion can be moved to a relevant talk page if appropriate. After 7 days the discussion will be permanently removed. | |||
] | |||
<div style="clear:both;"></div> | |||
] | |||
] | |||
<!-- | |||
--> | |||
{{Village pump page header|1=Technical|2=The '''technical''' section of the ] is used to discuss technical issues ''about'' '''Misplaced Pages'''. Bug reports and feature requests should be made in ] (see ]). Bugs with ] should be reported differently (see ]). | |||
<!-- All of the text for this top section is found at template:Villagepumppages --> | |||
If you want to report a ] error, please follow ]. Questions about ] in general should be posted at the ]. 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=]|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__ | |||
<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. | |||
--> | |||
<!-- 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. --> | |||
== Can we do something about the ridiculous message displayed whenever syntax highlighting is taking "too long"? == | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
]</noinclude> | |||
] | |||
<!-- | |||
Please add new questions to the bottom. The easiest way to add a question is to click the "add" link from the header, just above the table of contents. | |||
--><span id="below_toc"/> | |||
== Naphthalene = +RON ? == | |||
How much truth are there in the myth that if you add Naphthalene balls (Moth Balls) to your fuel tank, it will increase the RON value of the fuel. We live with a very poor 93RON unleaded wich causes a lot of problemes for slightly higher compression motors. I know some people use Xylene but things like these are just as difficouleto get as Aviation and Racing fuel. | |||
Regards, | |||
Bennie. | |||
:You're probably looking for the ]. ''This'' page is for reporting technical issues with wikipedia--<small>'''VectorPotential'''</small><sup>]</sup> 20:47, 27 June 2007 (UTC) | |||
== Transparency issues == | |||
] This image shows up as solid gray with a white number and white trim in my browser (IE6). When I downloaded it to fix it, the gray areas come into my MS Photo Editor as transparent (which is correct). So the png appears to be right. Is this something I have to live with in my browser, or can I tweak the png to show the transparency correctly? I noticed that roughly 90% of the uniforms in ] properly display the transparent areas, (] for example). What's different about those? ] 19:01, 28 June 2007 (UTC) | |||
:As far as I know, IE6 doesn't support png transparency, and is entirely a failing of IE6. ] 19:39, 28 June 2007 (UTC) | |||
:As our article on ] details, while IE6 does not support alpha-channel transparency, it does support the simpler palette transparency (which is the same you would find on ] images). Indeed, a quick look at both examples you gave with the <code>sng</code> tool show that ] is a truecolor image with an alpha channel, while ] uses a palette, with the first entry transparent. It shouldn't make any difference, if it weren't for that MSIE bug. --] 00:38, 29 June 2007 (UTC) | |||
:Using IE7, all I see is a white shirt, no number. ] 03:34, 29 June 2007 (UTC) | |||
::Since the number is white opaque, you may not see it until you put the entire image over a color. ] 12:29, 29 June 2007 (UTC) | |||
] Is this correct? I undestood from your exposition that the image should be transparent, instead of gray, with white background and white number (tested with MSIE 6.0.2900.2180.xpsp_sp2_gdr.070227-2254). Btw, I did save the image as bmp, and then I created the png again. ] 11:53, 29 June 2007 (UTC) | |||
:Yes, RJgodoy's image is showing transparent in my browser. Was saving as a bmp first the key? Would you be willing to fix roughly 70 images on the ] so they'll show up properly in browsers like mine? If not I'll see if I can duplicate your fix and try it myself. ] 12:29, 29 June 2007 (UTC) | |||
:Well, now I'm really confused. I downloaded your test image (which '''is''' transparent) to transfer, but when I upload it to the right location it comes in gray. Somehow my computer is cancelling out the changes ] did. ] 12:45, 29 June 2007 (UTC) | |||
:Perhaps my cache needed clearing, suddenly it's fine. Thanks Rj! ] 13:31, 29 June 2007 (UTC) | |||
Yes... I also experienced problems whit the cache when trying to see the new version of the image. For bypassing the cache (using MSIE6) you can press CTRL F5. More detailed instructions for MSIE6, as well as instructions for other browsers are given in ]. | |||
About your request, I can help but I have no experience with ] so I don't know which images have this problem. It would be helpful if you can provide me a list of such images (e.g. you can post their links in my ]). | |||
About the workaround I followed, the idea was to "regenerate" the palette (since ] pointed that it was the problem). Note that some programs won't work: for instance, mspaint cannot handle these images properly, so I used MS photo editor 3.0 (hmmm... shoud I say I love old software?) | |||
] 00:39, 1 July 2007 (UTC) | |||
:I think that it is transparent, as the background to the english wiki is blue. However, the number is not transparent. I belive The editor made the number white but not transpartent. ]] 19:40, 2 July 2007 (UTC) | |||
== Page size messages == | |||
Someone has changed the messages we get when we edit so that it no longer gives the page size. It was very, very useful to know the size. Does anyone know who changed it and why, or where it was discussed? ] <sup><font color="Purple">]</font></sup> 02:07, 29 June 2007 (UTC) | |||
:The exact size is still available if you hit the history tab (it shows up after every edit now), but it was nice having the reminder on the edit page. ] <small><sup>]</sup></small> 02:10, 29 June 2007 (UTC) | |||
::Sorry if I'm being dense, but I don't follow. I can't find the sizes anywhere I look now. ] <sup><font color="Purple">]</font></sup> 02:42, 29 June 2007 (UTC) | |||
::: If you click on the history tab, after each user name and (talk contribs) is a number, which is the number of bytes in the page at that point. This gives you the total page size. The old notice on the edit page only gave a specific size when a page was over about 30k, so in many ways the history tab is more helpful. There are javascript tools to get other sorts of page size info (size of reference text, for instance). ] 02:45, 29 June 2007 (UTC) | |||
:For me the top revision of this page in the history is: | |||
::02:42, June 29, 2007 SlimVirgin (Talk | contribs | block) (68,485 bytes) (→Page size messages - reply to Seraphimblade) | |||
:So the pagesize is given after the username and before the edit summary... <span style="font-family: Verdana">]]</span> 02:46, 29 June 2007 (UTC) | |||
::Oh, I see now, thank you. It's not as helpful as before, in my view, because when you wanted to see whether removing a section would substantially reduce page size, you could remove it, preview, and check the difference. Now you'd presumably have to save before you'd see it. Does anyone know where the discussion about this took place, or can be started? ] <sup><font color="Purple">]</font></sup> 04:44, 29 June 2007 (UTC) | |||
:::You can use a bookmarklet (a favelet) to get a poor alternative. Add <font color="red"><nowiki>javascript:alert((""+window.getSelection()).length)</nowiki></font> to your bookmark. Now, select some text and click the bookmark, it will pop up the size. So, while editing, select the entire text, click the bookmark and you will know the size (Technically the number of characters, since WP uses Unicode which is 2 bytes per character, the size is twice the length). --] <sup>]</sup> 12:27, 29 June 2007 (UTC) | |||
::::No, ] is ''not'' 2 bytes per character. ] and ], which Misplaced Pages ''do not'' use, are (ok, sometimes UTF-16 is ''4'' bytes per character). Misplaced Pages uses ], which is a variable length encoding (but, most of the time for English, 1 byte per character). --] 21:23, 4 July 2007 (UTC) | |||
:Er, what's missing where? --] 14:18, 29 June 2007 (UTC) | |||
::It was in ], now reverted. ''SlimVirgin'': next time go to ] (warning: a huge page), find corresponding Mediawiki message, check page history ∴ ] 14:33, 29 June 2007 (UTC) | |||
== {{Plainlinks|URL=http://en.wikipedia.org/search/?title=Special%3ALog&type=patrol&user=&page=|NAME=Patrol Log}} == | |||
What's this supposed to be for?--<small>'''VectorPotential'''</small><sup>]</sup> 16:41, 29 June 2007 (UTC) | |||
:It does nothing here on the English Misplaced Pages. On some MediaWiki wikis (including some Wikimedia wikis), a feature known as 'patrolled edits' is enabled (in my opinion, it works best on medium-sized wikis). It enables a Recent Changes patroller to indicate that they have already checked a given edit; any edits that haven't been 'patrolled' have a '''<font color='red'>!</font>''' mark next to them, and it's possible to hide patrolled edits in Recent Changes. This allows RC patrollers to load-balance their patrolling better. The patrol log indicates who's been patrolling which edits, so if a user is repatedly patrolling vandalistic edits without reverting them (which is a form of vandalism itself, as it makes it less likely that other RC patrollers will revert the vandalism) this will become apparent in the logs. See ] for an example. --] 16:49, 29 June 2007 (]]]) | |||
::(I think you might have to have the permissions to patrol an edit to actually be able to see the patrol marks in Recent Changes, though.) --] 16:54, 29 June 2007 (]]]) | |||
== Double redirects == | |||
Why there is no message prompting to fix double redirects after moving a page anymore? I'm guessing that they are fixed by a bot anyway and there is no need to do it manually anymore. Is that correct? ] (]) 13:29, 30 June 2007 (UTC) | |||
:The convo at ] seems relevant. It looks like the mesage was moved from ] to ]. . --] (]) 07:15, 1 July 2007 (UTC) | |||
== Anon election notice == | |||
A well intentioned admin added a notice about the WMF election to ], the site wide notice shown to not logged in Misplaced Pages visitors. Since non-editors can not participate in the election, I feel this is a pointless distraction to the vast majority of Misplaced Pages visitors, and he disagrees. Since nearly no one watches Mediawiki talk pages, I am posting in a couple common places to hopefully draw further attention to this. | |||
Please comment at ]. ] 03:34, 1 July 2007 (UTC) | |||
== Nested tables class="collapsible collapsed" == | |||
If someone knows of a workaround for this issue, I'd like to know what it is too. I couldn't find anything for it in Bugzilla either. | |||
I have some nested collapsible tables coded up roughly as follows: | |||
<code><pre><nowiki> | |||
{|class="collapsible collapsed" | |||
!Outer table header row | |||
|- | |||
| interesting information | |||
|- | |||
| | |||
{|class="collapsible collapsed" | |||
!Inner table header row | |||
|- | |||
| more detailed interesting information | |||
|- | |||
| | |||
{|class="collapsible collapsed" | |||
! Inner inner table header row | |||
|- | |||
| Even more detailed information that's not particularly interesting | |||
|} | |||
|} | |||
|}</nowiki></pre></code> | |||
Here's what it looks like: | |||
{|class="collapsible collapsed" | |||
!Outer table header row | |||
|- | |||
| interesting information | |||
|- | |||
| | |||
{|class="collapsible collapsed" | |||
!Inner table header row | |||
|- | |||
| more detailed interesting information | |||
|- | |||
| | |||
{|class="collapsible collapsed" | |||
! Inner inner table header row | |||
|- | |||
| Even more detailed information that's not particularly interesting | |||
|} | |||
|} | |||
|} | |||
All of them should be collapsed by default. But when you expand the outer table, all the inner tables expand as well -- but their "show" links say "show". The Javascript apparently doesn't know they've expanded. When you click on "show" it changes to "hide", but doesn't do anything else. After that, the link works normally. | |||
Any thoughts? '']'' <small>] ]</small> 09:58, 1 July 2007 (UTC) | |||
:Looks like you aren't using it in the way it was intended. Looks like it doesn't support nesting. I'll take a look around and get you an answer and the correct code in a bit. —] <sup>]</sup> 23:17, 1 July 2007 (UTC) | |||
::Just so you're aware then, one requirement is to be able to specify the initial state, which is why I'm using the table instead of NavFrame, etc. '']'' <small>] ]</small> 01:33, 2 July 2007 (UTC) | |||
== HEEEEEEEEEEELP! EMERGENCY!!! == | |||
] has done something very wrong to my monobook page. Now what I do? Who can help me with this? ] 10:47, 1 July 2007 (UTC) | |||
:Looks fine for me. To judge from the note at the top of the script page, that's to be expected for browsers other than Firefox at the moment. Or perhaps the version in your browser cache was picked up when it was being edited, and it's unstable. Try bypassing your cache. '']'' <small>] ]</small> 19:17, 1 July 2007 (UTC) | |||
::If you mean the colors, that is normal, if you mean the page looks screwed up, click . ] <sup>]</sup> 19:38, 1 July 2007 (UTC) | |||
== How to vote in Board Elections == | |||
I a so very sorry but I do not understand the instructions the Help Desk is giving me regarding how to vote in Board Elections. I registered in May of 2006 and have 24,000+ edits on the English Misplaced Pages. I am following the link at the top of my Watchlist on the English Misplaced Pages to get to the voting. When I do that I am immediately switched to Wiki Commons. If I do not sign in at Wiki Commons, I clearly cannot vote. If I do sign in, I am ineligible as I have no edits there, never having been able to figure the Wiki Commons instructions. The ] (the link given to me by the Help Desk) leads me to the same situation. | |||
Am I allowed to vote, and if so, how? Please forgive me for asking this question. And please to do look down upon me for asking the question in two places as the Help Desk seems to have no more help. Sincerely, ] 11:29, 1 July 2007 (UTC) | |||
:When you go to the secure server (you may have to accept the self-signed SSL certificate, depending on how your browser is set up), do you see ''Welcome Mattisse@enwiki!'' anywhere? If not, it's most likely a cookie problem. You may, for example, have your browser set up to only selectively accept cookies (which is a good thing, by the way). In that case, you need to permit the webserver at wikimedia.spi-inc.org to set a cookie on your machine. The easiest way to do that is to just temporarily allow all cookies (allowing them just for this session is fine), go to your watchlist or any other page that requires you to be logged in to this wiki and then go to ]. There's no need to log in to Commons. --] <sup><small>]</small></sup> 13:40, 1 July 2007 (UTC) | |||
::You should end up with "Welcome Mattisse@enwiki!" on the page. There is no way you could get to commons, perhaps you mean meta? ] <sup>]</sup> 18:40, 1 July 2007 (UTC) | |||
:::I do end up where you say I should. But I still must register on Wiki Commons and there I am inelegible to vote. I think I am not allowed to vote because I am not an inner circle wikipeida person where all the important stuff takes place. Sincerely, ] 23:01, 1 July 2007 (UTC) | |||
::::What on earth would give you that idea? You're eligible to vote; if you're unable to do so, then it's a technical problem, either on your end or ours. Have you enabled the reception of cookies from wikimedia.spi-inc.org? That is what this problem sounds like to me. Additionally, you keep saying "Wiki Commons"--do you mean ], ], or another wiki? There is quite simply no way that visiting http://en.wikipedia.org/Special:Boardvote could land you at Wikimedia commons, at least no way I could fathom. ] (]) 23:10, 1 July 2007 (UTC) | |||
== Line spacing change when using references == | |||
When inserting references the line spacing seems to double. This makes some paragraphs appear to be two or makes it hard to see actual new paragraphs. Example: | |||
This is<br />one<ref>This is a reference.</ref>paragraph. | |||
This is a new paragraph. | |||
This appears to be 3 paragraphs when it is only 2. The reference seems to increase the line height and so the line spacing for the other letters. This can get rather confusing for large articles with multiple paragraphs. Is there any way to prevent the references from changing the spacing or alternatively decrease the line spacing on lines containing references? -] 16:50, 1 July 2007 (UTC) | |||
== CURRENTMONTHNAME == | |||
Is there a constant like CURRENTMONTHNAME that would give me next month? I guess I could make a template with parser functions if there isn't. --] 21:17, 1 July 2007 (UTC) | |||
:See ] for a list of "magic words." There isn't a magic word for the next month. Just use ParserFunctions. Cheers. --] 21:34, 1 July 2007 (UTC) | |||
== {{tl|portalwarning}} == | |||
After seeing a ton of portals not updated today, I have created a template called {{tl|portalwarning}}. If you place the template on your user page for a portal that interests you, you can get an automatic warning that a monthly portal page doesn't exist. It will warn you if either this month's article or next month's article is missing. Example: | |||
<pre> | |||
{{portalwarning|portal=College football|page=Selected article}} | |||
{{portalwarning|portal=College football|page=Selected picture}} | |||
</pre> | |||
Enjoy! --] 00:04, 2 July 2007 (UTC) | |||
== Bengali text == | |||
] | |||
Bengali text on my computer overlaps part of other text (see image). Any clue on how to fix it? ] <sup>(])</sup> 08:33, 2 July 2007 (UTC) | |||
:You wouldn't happen to be using Firefox on Linux, would you? The issue might have to do with Pango text rendering in that case; try launching Firefox with <code>MOZ_DISABLE_PANGO=1 firefox</code> in a terminal. ]] <small>] '''2007‑07‑08'''''t'''''03:38'''''z''</small> | |||
It works, Thanks. I'm using Firefox on Windows. ] <sup>(])</sup> 09:46, 10 July 2007 (UTC) | |||
{{clear}} | |||
== Passing (parts of) a table as a parameter == | |||
I hope I can make myself clear, since I'm no native speaker. I'm trying to make a template, where the parameters it evaluates are supposed to be parts of mediawiki-coded tables <nowiki>with | |- |} etc... </nowiki>. The problem with these things is that the Mediawiki software ''thinks'' these tablecells etc. are new parameters for the template, which ofcourse they aren't. Say I want to pass as a parameter exactly this line : | |||
<pre>| blahblahblah </pre> | |||
How can I get this line passed as a parameter without Mediawiki thinking the vertical line | is just a new parameter? ] 08:57, 2 July 2007 (UTC) | |||
:Here on Misplaced Pages, you can use the template {{tl|!}} as a workaround (it's a delayed-action |). On other wikis, you can use the same technique but may have to create ] first. --] 09:07, 2 July 2007 (]]]) | |||
== Help formatting template please == | |||
I have drawn up a template ] for the British ]. I copied the template from the S-class submarines ] but I've obviously cocked up somehow as the links at the top left (to View, Discussion and Edit) don't work. Could someone advise please? (My first attempt at a template, so apologies if I've missed something obvious.) ] ] 10:33, 2 July 2007 (UTC) | |||
:You need to include the template name in the second parameter of {{tl|tnavbar-collapsible}}, which I have done for you. Hope that helps, ]] 14:37, 2 July 2007 (UTC) | |||
==help== | |||
Why does on ], the template {{template|leagueicon}} suddenly stop working in the "2007 series" section. The template outputs little square coloured boxes. as it has done so, throughout the article, then the first one it works, but the rest it dosent?? Why. There dosent seem to be anything wrong. | |||
<span style="background-color: maroon; color: white"><small>''']''' ''']'''</small></span> 02:53, 1 July 2007 (UTC) | |||
:Fixed. It has to do with ]. A template can only be transcluded so many times, and a larger template will hit the limit sooner. Cheers. --] 03:02, 1 July 2007 (UTC) | |||
===help again=== | |||
Obviously there are some limits, to how many transclusions you can have on a page. But on ], it happens again, where at the end of the article, the template stops working. Now I need to have those little things next to every name on that sheet, how do I work around this? <span style="background-color: maroon; color: white"><small>''']''' ''']'''</small></span> 10:56, 2 July 2007 (UTC) | |||
:PS. The limit is crap (sorry for rudeness) <span style="background-color: maroon; color: white"><small>''']''' ''']'''</small></span> 10:56, 2 July 2007 (UTC) | |||
::Try ] the templates. (The limit is to prevent you creating a page which is too heavy on the servers to render; the limits were originally set to half their current value, if I remember correctly, and increased due to complaints, so any page even getting anywhere near them is probably a problem.) --] 11:28, 2 July 2007 (]]]) | |||
== New searching features == | |||
Tim and Rob upgraded the Lucene search engine (which is used for Misplaced Pages) over the week-end, and we now have lots of exciting new searching features. Read all about it . ] (]) 20:22, 2 July 2007 (UTC) | |||
== "Unknown exception in diff." == | |||
diff fails to show a difference between two revisions that are actually different (I removed two quotes: '"elected"' -> 'elected'), diplaying a message 'Unknown exception in diff.' instead. Same with for the same edit. Is this a known bug? Regards, ] 22:09, 2 July 2007 (UTC) | |||
: somebody observed the same error message in April. Regards, ] 22:15, 2 July 2007 (UTC) | |||
== New Message Banner == | |||
Something is wrong with my new message banner. It is appearing constantly (even after checking last change). The ] suggested I . I tried this and I tried to clear my cache. Neither worked. Please advise.--] <small>(]/]/]/]) </small> 17:10, 3 July 2007 (UTC) | |||
:What about logging out and logging back in? That might help clear out a stuck cookie that doesn't realize you've check your talk page. ] <span style="color: #999;">// ] // ] //</span> 17:31, 3 July 2007 (UTC) | |||
== Colours == | |||
Hello, I've noticed that on various infoboxes (and some user signatures) a variety of different colours are used. When I look at the code, the code for particular colours usually looks something like #FEDABC or something. The trouble is I have no idea how to use these codes to make the colours I want. Does anyone know where I can find out? ] ] 20:37, 3 July 2007 (UTC) | |||
:It's ]. A byte for red, a byte for green and a byte for blue. #RRGGBB. Try looking at ] and other related articles. --] <small>]</small> 20:41, 3 July 2007 (UTC) | |||
::Oh, thanks that answers my question. ] ] 23:29, 3 July 2007 (UTC) | |||
== can article visitor-traffic be measured, as it can on a website? == | |||
Hi - Is there a tool that shows how many visitors read an article during a certain day, week or month? | |||
I'm just wondering if there is any way to measure the results of improvments to articles and improvments to inter-article linking by watching the changes in traffic over time. | |||
Not looking for information about individual user names accessing articles, just general statistics for particular articles. | |||
Thanks --] ] 21:01, 3 July 2007 (UTC) | |||
:MediaWiki does have a built-in hit counter, but if implemented on Misplaced Pages it would take up a lot of server load. There is an external tool called , however. It analyzes approximately one out of 6000 page hits on Misplaced Pages, so it a reasonable statistical sample. The only problem is, it appears to be down. ]<sup>]</sup> <span title="Misplaced Pages:Village pump (technical)">§</span> 22:07, 3 July 2007 (UTC) | |||
::I seem to remember that there was a page visit counter operating in the early days of wikipedia. But it was disabled yonks ago and never re-started. Presumably because it slowed everything down. I agree it would be nice though. ] ] 23:32, 3 July 2007 (UTC) | |||
:::Yeah it would be a useful tool. Well, thanks for the info. Have a good day... --] ] 01:44, 4 July 2007 (UTC) | |||
::::I find that Google ] varies among Misplaced Pages pages: ] = 9, ] = 9, ] = 8, ] = 6, ] = 5. This presumably is a measure of inbound links. Generally you just open the article using a browser in which the Google Toolbar has been installed and read off the PageRank. ] 02:13, 4 July 2007 (UTC) | |||
:::::Hi - that sounds interesting, thanks. It's not what I was trying to do though. My thought was to get an idea of traffic within Misplaced Pages, to see how actively visted any particular article is - in other words, I think there are lots of editors working on obscure pages that are not receiving much traffic from people looking up those topics. If someone wants to edit those pages because they like to, that's great, then we'll have deep knowledge here. But sometimes I wonder if maybe a page I'm working on would be better left in a less developed state, in favor of working on a related page that is getting more traffic from readers - that way, the more visited articles would be of higher quality in shorter time. Just an idea, maybe it's not practical. But I know for sure of some editors who have fully beautified articles that may be read by almost no-one. I'm not saying it's a problem, just noticing that it's happening. --] ] 02:39, 4 July 2007 (UTC) | |||
:You might have a peek at . Data seems quite up-to-date and accurate. ] (]) 03:54, 4 July 2007 (UTC) | |||
::Thanks for the link. That's an interesting tool! I wonder if that script could be modified to find the stats for an article by inputing its page name. Maybe I'll email the developer of the tool. It seems like if the data is already there it might not be hard to format the inquiry differently. Well, maybe that's a bit farfetched, just a thought... Anyway, Thanks again!- -] ] 05:20, 4 July 2007 (UTC) | |||
::Oops, that must be the link! ]<sup>]</sup> <span title="Misplaced Pages:Village pump (technical)">§</span> 06:01, 4 July 2007 (UTC) | |||
:::Oh .. I do apologize. I didn't realize you had already linked to it above =D. Maybe next time I should read through the thread before posting to it -- anywho, glad some good (the correct link) came out of my laziness. ] (]) 07:13, 4 July 2007 (UTC) | |||
::::Hm, that's odd. Last time I checked Wikicharts, it was down, so when I saw that your link worked, I assumed that there was something wrong with my link :) ]<sup>]</sup> <span title="Misplaced Pages:Village pump (technical)">§</span> 07:29, 4 July 2007 (UTC) | |||
:::::Hi - I checked the first one when you posted it, and it was definitely down. Then I checked the second one when it was listed here, and it worked. So when I saw this conversation, I checked the other one and now they both work. But the first one is in German and the second one is in English. I think the program was down before and is working now, but the extra code in the second link makes it appear in English... it seems... --] ] 07:46, 4 July 2007 (UTC) | |||
== Edit conflict page not working in Macintosh Internet Explorer browser, no editing icons, and Javascript inserting symbols not working == | |||
The ] (version 5.2) keeps shutting down rather than show an "edit conflict" page. I think a Misplaced Pages developer should try to fix that problem. Normally when I save an edit on Misplaced Pages, everything works fine: the edit gets saved, and the updated page gets fully loaded. But when there is an edit conflict, I briefly see the title "Edit Confict: ," and then the entire browser shuts down and I have open it up and try to save it without an edit conflict occuring all over again. It is very frustrating. Also on this browser, there are no helpful editing icons on the edit pages (eg. the "insert links" icons, the "nowiki" icon, the "insert signature" icon, etc.). Also, when clicking on the Javascript links on the bottom of the edit pages, the respective symbols are not inserted into the edit box. — ] 21:04, 3 July 2007 (UTC) | |||
I have found a shortcut around the problem: ]. It looks exactly the same as Internet Explorer for Mac except that it actually works. All of the problems I stated earlier do not exist with Safari. --] 21:45, 3 July 2007 (UTC) | |||
:That version of Internet Explorer is seriously obsolete. You are much better off using Safari. ] 23:44, 3 July 2007 (UTC) | |||
::I have to echo that statement. Microsoft abandoned IE on the Mac side several years ago (around when Safari was launched). Ultimately, though, ''nobody'' should ''ever'' use IE... so many problems. ] <span style="color: #999;">// ] // ] //</span> 17:20, 5 July 2007 (UTC) | |||
:I was able reproduce the crash on edit conflict here on Misplaced Pages (IE 5.2.3 on Mac OS X 10.4.10 Intel) but haven't been able to reproduce it on a local wiki installation. I can only assume it's a weird interaction with _something_, which could be very difficult to track down. | |||
:There's no useful debug symbols in the backtrace I get from the system, either. While I do my best to keep IE/Mac from breaking outright, I do have to concur with the recommendation to use anything else if you can! :) | |||
:Safari or Firefox work great on modern Mac systems (OS X 10.2 or later). If you're stuck on a really old 10.x or OS 9 system, you might have to use an old Mozilla release, or give iCab a try. --] 20:24, 5 July 2007 (UTC) | |||
== Image thumbnail issue back? == | |||
I noticed tonight that ] wasn't showing up. I tried purging the page cache and re-uploading it. (This image had been working just fine.) The 400px version displays just fine, but the 800px one doesn't. When I try the 800px version, I get this error: | |||
<pre> | |||
Error generating thumbnail | |||
Error creating thumbnail: convert: Insufficient memory (case 4) `/mnt/upload3/wikipedia/commons/5/5d/2005PoinsettaBowl-Navy-LOS.jpg'. | |||
convert: missing an image filename `/mnt/upload3/wikipedia/commons/thumb/5/5d/2005PoinsettaBowl-Navy-LOS.jpg/800px-2005PoinsettaBowl-Navy-LOS.jpg'. | |||
</pre> | |||
<small>Yes, I've cleared cache, tried a different browser, etc.</small> Any thoughts? --] 05:56, 4 July 2007 (UTC) | |||
:It looks like creating the thumbnail is generating too much server load for some reason, so the server's refusing to thumbnail the image. I'm not sure why this would be, though. --] 16:34, 4 July 2007 (]]]) | |||
== Watchlist message == | |||
Is there some monobook way to hide that "this page has been added to your watchlist" message that now appears when you click the watch tab? ] 09:42, 4 July 2007 (UTC) | |||
div#mw-js-message {display: none; } | |||
* Thank you. ] 16:19, 4 July 2007 (UTC) | |||
== List template with inclusion of overview? == | |||
I have seen many lists like the ]. I wondered if it would be possible to use something like the sortable table technology to include the overview/introduction of each link on this page. This might be useful in category displays as well. I was thinking that this would be a clickable that would show or hide these details. Currently such lists require that the user clicks each one and then backs up when they are trying to find relevant entries. | |||
I guess this may not be possible due to performance issues. However, I used some templates on ] and it seems to load as fast as any other pages. This seems so useful that maybe such a thing already exists? ] 16:38, 4 July 2007 (UTC) | |||
== <nowiki>~~~~</nowiki> seems to be broken == | |||
The four-tilde signature (<nowiki>~~~~</nowiki>) appears to be broken; it results in this: | |||
] ([[User_talk:Tualha|Talk]])]] 14:37, 5 July 2007 (UTC) | |||
It appears that some of the brackets are misplaced. I don't recall that <nowiki>~~~~</nowiki> includes the talk page; is this a recent change? ] (]) 14:37, 5 July 2007 (UTC) | |||
:This seems to be related to the "raw signature" option in user preferences. It happens if that is unchecked, but not if checked. ] (]) 16:26, 5 July 2007 (UTC) | |||
::Yes, if it's unchecked it will link whatever you put in "Nickname" to your userpage. Raw signature means that you have to link everything manually. ] (]) 16:37, 5 July 2007 (UTC) | |||
:::That would be "Signature:" not "Nickname:" thanks to what is probably my most important edit ever, made on 21:20, 28 June 2006. <tt>:)</tt> ] <sup>]</sup> 02:58, 6 July 2007 (UTC) | |||
== Audio on English Misplaced Pages via .de == | |||
Hello, I reported this to GMaxwell but wonder if anyone else here can hear any audio on the English Misplaced Pages? Two examples that do not "play in browser" here are and . Thanks for any information. -] 17:12, 5 July 2007 (UTC) | |||
:*P.S. Here is one I can hear from tools at .de. -] 17:16, 5 July 2007 (UTC) | |||
::*Thanks anyway, another editor confirmed the Wikimedia Player is not functioning at this time. -] 00:22, 6 July 2007 (UTC) | |||
::*At this time I have the same results. I can hear 3 and not 1 or 2. -] 22:14, 6 July 2007 (UTC) | |||
::*Looks fine now. Thanks to whoever fixed whatever it was. Best wishes. -] 22:19, 7 July 2007 (UTC) | |||
== Please unlock the schizophrenia wiki page; it is incomplete. == | |||
Please unlock the ] wiki page it is incomplete. It does not list ] as a negative symptom of schizophrenia, which it is. Many websites make this mistake because anhedonia is not well understood, but it is truly a negative symptom of schizophrenia that more knowledgeable sources will note. | |||
I have been diagnosed with schizophrenia and diagnosed with having anhedonia as one of the negative symptoms. So I kn ow what I am talking about. I know what anhedonia is because I experience it and am being treated for it. | |||
Wiki pages should NOT BE LOCKED. I can understand some barriers for spammers, but it defeats the purpose of Misplaced Pages to lock pages. | |||
Please unlock the schizophrenia webpage. | |||
] 20:49, 5 July 2007 (UTC) | |||
: Well-answered on the ] where I was about to suggest HopeMr address his suggestion (but he already had). ] 22:02, 5 July 2007 (UTC) | |||
:Actually the thrust of the question hasn't been answered. The page is only semi-protected, as such you'll be able to edit it after a while HopeMr. If you want to request unprotection, ] tells you how and also explains why articles are semi-protected. In this specific case it was semi-protected in January so someone might be willing to give it a chance. However due to the nature of what it covers, this may not work out ] 20:16, 9 July 2007 (UTC) | |||
::Sorry I made a mistake. Indeed it was semi protected in April after a brief unprotection attempt . Given the history, I'm doubtful you'll be able to convince an admin to un-semi protect it ] 20:12, 10 July 2007 (UTC) | |||
== Search button question == | |||
Using the "Search" button gives different results for '''Bevo''' and '''"Bevo"'''. | |||
Does anyone know why? - ] 00:50, 6 July 2007 (UTC) | |||
:This morning it seems to be fixed (both terms now result in returning the same set of links) - ] 13:46, 7 July 2007 (UTC) | |||
== Getting a 404 for some uploaded images == | |||
I've stumbled across a few images lately in which the latest uploaded version appears not to exist. Clicking on the image yields a 404. Examples: | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
What's the deal? —] (]) 04:48, 6 July 2007 (UTC) | |||
:Looks like we had some files go missing -- I'll try to find out what's going on and if they can be recovered. ] (]) 16:56, 6 July 2007 (UTC) | |||
::They should all be fixed now, except for a few missing old revisions. -- ] | |||
:::Thanks Tim =D. ] (]) 08:13, 7 July 2007 (UTC) | |||
== CAT not shown == | |||
The article ] is assigned to three categories, but these are not active. What's wrong? -- ] 13:49, 6 July 2007 (UTC) | |||
{{tq|Syntax highlighting on this page was disabled because it took too long. The maximum allowed highlighting time is 20ms, and your computer took 22ms. Try closing some tabs and programs and clicking "Show preview" or "Show changes". If that doesn't work, try a different web browser, and if that doesn't work, try a faster computer.}}<br><br> | |||
:Fixed. One of the references wasn't closed. See my edit summaries in the article history - the offending reference probably isn't a ] anyway. ''']'''<font color="green">]</font> 15:03, 6 July 2007 (UTC) | |||
The threshold is probably set too low to being with, and most people couldn't care less about it taking 0.03s vs 0.02s, so to tell them that a mere 2/1000 sec difference is "not allowed" is pretty ridiculous. If someone really does have a slow computer, that's hardly by choice, and to tell them to try a faster one is like Captain Obvious rubbing salt into their wound. More often than not, it's not even the fault of the computer, but rather some background crap (thanks, MS!), or the browser, or simply a very large and complex page (and possibly even the (gasp) wiki JS code). Ideally this should be a pref configurable by the user. Or, they could click a button if they don't care about things being slightly slower on the current page as long as they can still get the highlighting (the way browsers pop up slow JS abort/continue messages; in this case it wouldn't be modal, of course). But I think mostly it's about the overly low threshold, because when a large page is taking a number of seconds to load anyway, a few extra thousandths for this hardly make a difference. ] (]) 16:26, 1 January 2025 (UTC) | |||
:This seems to come from the Gadget ]. This is a user gadget and is not enabled by default here (but available for users to enable). You should report the issue to the author. But also see ] – ] (]) 16:58, 1 January 2025 (UTC) | |||
== Database server lag == | |||
::Thanks a lot, that will probably do it for me. I was uner the impression it was a standard feature. ] (]) 17:36, 1 January 2025 (UTC) | |||
:::Well there is a standard feature as well. You might even be using multiple. See ]. —] (] • ]) 09:57, 2 January 2025 (UTC) | |||
::::And the problem with the standard feature is that it doesn't have a timeout, so on very large pages it just freezes up the page until the browser eventually offers to kill it. <span class="nowrap">--] (])</span> 00:38, 5 January 2025 (UTC) | |||
:::::On what page does it actually freeze? CodeMirror is heavily optimized and much more performant nowadays. – ] (]) 09:00, 5 January 2025 (UTC) | |||
::::::@] I've been doing a lot of work cleaning up the top of ], and if I don't forget to disable syntax highlighting on any of those pages before editing the page locks up until eventually the browser offers to kill any running scripts. <span class="nowrap">--] (])</span> 21:33, 6 January 2025 (UTC) | |||
== Different assets for light and dark mode? == | |||
The lag is up to over a half hour now, is something busted?—] <small>(] ])</small> 20:11, 6 July 2007 (UTC) | |||
Is there any way to tell Misplaced Pages to display different images / media for Light vs Dark mode users? If not, could this be added in the form of a template, something like this? | |||
:Likewise - I've become used to the occasional "server lag" notification on watchlists; usually, it is only a matter of minutes. However, it has suddenly gotten way behind, and my most recent "Watchlist" request returned ''"Due to high database server lag, changes newer than 2002 seconds might not be shown in this list."'' Any idea what's happening? --''']'''''<small><sup>]</sup><sub>]</sub></small>'' | |||
<pre>{{adaptive|lightmode=]|darkmode=]}}</pre> | |||
Due to transparency, some SVG and PNG images have bad contrast when viewed in Dark mode. | |||
:Thanks to Tim, it should now be fixed. May take a while for everything to catch back up, though it looks fine on my end. ] (]) 20:28, 6 July 2007 (UTC) | |||
(repost from ] as they said would be better here) | |||
::Thanks! it all looks good now. —] <small>(] ])</small> 20:35, 6 July 2007 (UTC) | |||
] (]) 04:38, 2 January 2025 (UTC) | |||
::Thanks as well. --''']'''''<small><sup>]</sup><sub>]</sub></small>'' 20:50, 6 July 2007 (UTC) | |||
:It would have to be hardcoded in CSS. Dark mode is configured on CSS pages through ]. In order to specify a dark and light mode image in a template like that, ] would have to be fixed first. ] (]) 05:07, 2 January 2025 (UTC) | |||
== Creating new article problem == | |||
:Have you tried using class=skin-invert-image already ? —] (] • ]) 09:55, 2 January 2025 (UTC) | |||
:{{tl|If dark}} can be used to select what wikitext to display based on whether or not dark mode is enabled. ] (]) 23:19, 2 January 2025 (UTC) | |||
::Usage of which really should be avoided though. —] (] • ]) 10:33, 4 January 2025 (UTC) | |||
:::I agree that generally speaking, specific colours shouldn't be specified in wikitext, and using the CSS class to ] simplifies maintenance by having just one image. There are cases, such as a company logo with a variant designed for dark mode, where the ability to choose the appropriate image is desirable. ] (]) 17:02, 4 January 2025 (UTC) | |||
::::{{tl|If dark}} may address the OP's question, although actual use of it may not be the best solution to the problem. – ] (]) 13:44, 7 January 2025 (UTC) | |||
== How to use inline style and CSS design tokens to color text? == | |||
Hello, I have a problem. I used the "create article box" (using the inputbox option) in the Romanian Misplaced Pages, and I was wondering why there is a problem with it there and here not. If you register to ro.wiki and go to http://ro.wikipedia.org/Utilizator:Danutz/Cutie you will see that at the bottom of the page there is a problem with it, the page is not displayed properly. I hope you see what I mean, but I repeat, that only happens when registered (logged in). The same problem appears with the box on ro.wikinews.org . If you understood what I mean, please write here about how this problem, please tell me how this was fixed on the english wikinews. Thank you! --] 21:41, 6 July 2007 (UTC) | |||
I want to use {{tl|NumBlk2}} to number the chemical formula ] and keep the color of the square brackets in the numbering. | |||
:The page linked looks fine to me, logged out and logged in. What os/browser/version are you on? Or...do you mean the edit page? ] might be relevant to you. --] (]) 07:32, 7 July 2007 (UTC) | |||
'''The original chemical formula looked like this:''' | |||
<syntaxhighlight lang="wikitext" inline>{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>||RawN=y}} | |||
Yes I ment the edit page. The "minor edit" checkbox and the watch checbox are displayed wrong. But this boxes appear only when a user is logged on, that's why I prompted for log on. I tried making that change to Medawiki:Common.css, now we should wait and see if the problem dissapears. --] 08:40, 7 July 2007 (UTC) | |||
</syntaxhighlight> | |||
{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>||RawN=y}} | |||
'''The result after using {{tl|NumBlk2}} for numbering:''' | |||
:Ahh. The simple answer is that those checkboxes ''only appear'' for logged in users (anonymous users cannot do minor edits, nor have watchlists). The actual problem is with the editintro url parameter, which the devs are aware of but not able to easily find/fix yet. The CSS fix should work fine. --] (]) 07:07, 8 July 2007 (UTC) | |||
<syntaxhighlight lang="wikitext" inline>{{NumBlk2|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|<span style{{=}}"color: var(--color-base);"></span>|RawN=y|Id=math_B2}}</syntaxhighlight> | |||
== Page history visualizers == | |||
{{NumBlk2|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|<span style{{=}}"color: var(--color-base);"></span>|RawN=y|Id=math_B2}} | |||
''(The ID must be unique, so I renumbered it to {{EquationNote|B2}}.)'' | |||
Are there any current/working/lightweight versions of the concept? Of the 4 versions listed, 2 are inaccessible, and 2 are greasemonkey scripts that don't seem to work. | |||
'''But the recommendation is currently restricted to use inside TemplateStyles:''' | |||
Also, are there any usable variations of the more abstract ? (This seemed like the place to ask :) --] 06:00, 7 July 2007 (UTC) | |||
As described , using design tokens directly in an article (e.g. <syntaxhighlight lang="wikitext" inline><span style="color: var(--color-base);">some text</span></syntaxhighlight>) seems problematic. How to color text correctly in an article in light mode and dark mode in this case? Any ideas? Thanks. ] (]) 01:59, 5 January 2025 (UTC) | |||
== Bizarre template behavior: {{{parameter}}} inside [url] inside {{#if}} == | |||
:So you are adding link content, that you don't want to have colored as link content ? And for that reason you want to apply custom styles ? Is this a recurring pattern ? Then you make a template and use TemplateStyles. —] (] • ]) 11:10, 5 January 2025 (UTC) | |||
::Thank you for your advice. It does sound a bit strange to color the link the same color as normal text. I'm not sure if the use of square brackets in numbering occurs very often. If that's not the usual case, maybe it would be better to just use {{tl|NumBlk}} instead of wrapper template {{tl|NumBlk2}}: | |||
::<syntaxhighlight lang="wikitext">{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|[]]|RawN=y|Attr=id{{=}}math_B3 style{{=}}"margin-left: {{#expr:1.6 * 1}}em;"}}</syntaxhighlight> | |||
<dl><dd><dl><dd> | |||
{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|[''']''']|RawN=y|Attr=id{{=}}math_B3 style{{=}}"margin-left: {{#expr:1.6 * 1}}em;"}} | |||
</dd></dl></dd></dl> | |||
::If it's the usual case, maybe just make a template and use TemplateStyles as you said: <syntaxhighlight lang="wikitext"> | |||
<!-- Template:Token --> | |||
<templatestyles src="Token/styles.css" /> | |||
</syntaxhighlight><syntaxhighlight lang="CSS"> | |||
/* Template:Token/styles.css */ | |||
.token-color-base { color: var(--color-base); } | |||
The following links seems to screw up in interesting ways. Why are the link brackets shown in the rendered HTML? | |||
.token-color-disabled { color: var(--color-disabled); } | |||
/* ... (omitted) ... */ | |||
.token-background-color-base { background-color: var(--background-color-base); } | |||
* {{#if:x|}} | |||
.token-background-color-disabled { background-color: var(--background-color-disabled); } | |||
* {{#if:x|}} | |||
/* ... (omitted) ... */ | |||
* {{#if:x|}} (this one works.) | |||
</syntaxhighlight> and then use it like this <syntaxhighlight lang="wikitext"> | |||
Note that the <nowiki>{{#if:x|...}}</nowiki> wrapper is required. Without that, things work as expected: | |||
{{Token}} | |||
* | |||
{{NumBlk2|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|<span class{{=}}"token-color-base"></span>|RawN=y|Id=math_B4}} | |||
* | |||
</syntaxhighlight> | |||
* | |||
::''(The source code above has not been tested and may contain errors.)'' —] (]) 16:38, 5 January 2025 (UTC) | |||
Likewise if the [link brackets] are omitted: | |||
:::You should not worry about such weird specifics at all. This also produces different colours (= inconsistent behaviour) in the skins that do not use the same token. ] 16:51, 5 January 2025 (UTC) | |||
* {{#if:x|http://example.com/ {{{1}}}}} | |||
::::Thank you for reminding me about skins. Coloring text in Misplaced Pages is a lot more complicated than I thought. I haven't started to understand the skin part yet. So far I don't know if there is a correct way to handle coloring for skins and dark mode at the same time. If not, I may have to give up the idea of coloring text completely. Without coloring, I might just use {{tl|NumBlk}} directly like {{EquationNote|B3}}. ] (]) 01:18, 6 January 2025 (UTC) | |||
* {{#if:x|http://example.com/{{{1}}}}} | |||
::::Or do you mean using name of colors or hex code of colors directly in styles.css instead of using design tokens? ] (]) 04:36, 8 January 2025 (UTC) | |||
It also works if you include an explicit alternative: | |||
:::::I mean that this is not an issue you should concern yourself with when you introduce more markup into the code and that markup is incorrect at least in one way. Misplaced Pages won’t be dead tomorrow because brackets are blue colour there. It is a complete non-issue. ] 10:40, 8 January 2025 (UTC) | |||
* {{#if:x|}} | |||
::::::Rather than telling me what I shouldn't worry about or what I shouldn't concern with, wouldn't it be better if you could just give me links to some relevant guidelines or help pages? I think most official documents have very clear and specific descriptions and explanations, which are relatively easy to understand. And they don't contain emotions directed at specific people. | |||
* {{#if:x|}} | |||
::::::I raised questions and opinions about design tokens based on the MediaWiki . If you think I have misunderstood the recommendation, you can tell me directly where I misunderstood it. ] (]) 14:53, 8 January 2025 (UTC) | |||
I'm at a bit of a loss to explain this. | |||
== Broken icon == | |||
If it's something obvious, have a look at ], where I had to use the kludge above to work around the problem. You might clean it up before I do. | |||
{{tracked|T383023|fixed}} | |||
Hi, can anyone see why ] is broken, nothing seems to have chaned but it's showing as a broken image in the latest admin newsletter. It should be a horizontal red minus to signify remove. ]] 02:43, 6 January 2025 (UTC) | |||
:It seems to be working for me, both in that link and in the news letter in your user talk page (like in <code>- Ferret</code>). | |||
P.S. Am I encountering ]? And the changes aren't in Template:arXiv; they also depended on {{#pos}}, which is a StringExtension that WP doesn't support ATM... | |||
:What browser are you using? Are you using the mobile website (en.m.wikipedia.org)? | |||
] 07:43, 7 July 2007 (UTC) | |||
:Is it affecting any of the previous newsletters? Is it affecting any of the other icons? – ] (]) (]) 02:58, 6 January 2025 (UTC) | |||
::That's weird it works for you. I'm on Chrome using the desktop site. All previous uses of the icon in old newsletters are broken too wherever I look. ]] 03:49, 6 January 2025 (UTC) | |||
:::I'm on Chrome desktop too... I wonder if your browser console shows any errors (Pressing f12 or <code>three dots button (⋮) > More tools > Developer tools > Console tab</code> and then refreshing the page). | |||
:::There's also the network tab of developer tools, which for me shows a line (the 10th line for me after refreshing) as successfully downloaded - if it had failed it would have been red, and apparently repeated a bunch of times one for each time it appears on your talk page. | |||
:::What it says in the Status column, if it is red, or in Status code if you click it, might be of interest. | |||
:::Also, does that direct link work? – ] (]) (]) 04:48, 6 January 2025 (UTC) | |||
::::Suspect I am in Stephen's position. The direct link says "Unauthorized This server could not verify that you are authorized to access the document you requested." No errors showing up in my console, although the console is forcing the page into mobile view for some reason. ] (]) 04:56, 6 January 2025 (UTC) | |||
:::::Searching ] for that error reveals a very similar error that happened on a beta version (]/])... seeing as it doesn't happen to me, it might be a ] issue rather than a ] issue (which is the data center I'm assigned to) - but I'm just guessing, I've never looked at how these things actually work, it just seems to be a common cause of differences. | |||
:::::I'm pretty sure someone with backend access will have to look into this to find out what the problem is though. | |||
:::::Could try filing a bug report in phabricator? –] (]) (]) 05:59, 6 January 2025 (UTC) | |||
::::::I have the same error and filed ticket ]. ]<sup>]</sup> 07:22, 6 January 2025 (UTC) | |||
:I was having the same problem with ] (used on four articles here and over 30 on some 14 languages of Misplaced Pages) and started a discussion at https://commons.wikimedia.org/Commons:Help_desk#SVG_image_claims_its_thumbnails_are_unauthorized before finding this discussion and the phab link. It would be interesting to learn whether this issue is more widespread. —] (]) 07:33, 6 January 2025 (UTC) | |||
*The bug report has been closed as fixed, please confirm. Issue appears to have been that a database container for thumbnails was mysteriously deleted, it was fixed by 'effectively re-creating the container' - an investigation on how/why it was deleted is now tracked at ]. – ] (]) (]) 15:21, 6 January 2025 (UTC) | |||
== Icons do not line up properly == | |||
*:The developer said there are 43 thousand containers, this was one of them - I'm guessing that's why it only affected some people and only some of the images. | |||
*:Cyberdog958 had already said in the phab task that it is working for him, before it was closed. Is it working for you four as well, @], @], @] and @]? | |||
*:– (different sig for pings) user in a ], currently at ] (]) 15:53, 6 January 2025 (UTC) | |||
*::Yes, seems it's fixed. Thanks, ] (]) 16:04, 6 January 2025 (UTC) | |||
*::Fixed for me too, thanks all. ]] 20:24, 6 January 2025 (UTC) | |||
=== Image Preview Issue === | |||
This has been discussed and reverted back and forth many times but there is still no solution to this dilemma. See ''']''' and follow the long tedious discussions leading to nothing. I'm not expecting a miracle here but does anybody have absolutely any idea how to fix this? We've tried everything! Its surprising how such a simple thing can cause a lot of headaches for a lot of users. --] ] 08:28, 7 July 2007 (UTC) | |||
] | |||
==Pop ups stopped working== | |||
I was looking through the Misplaced Pages article for the Buick Regal when I noticed that the thumbnail image for the third generation model is no longer displaying as it should. When I click on the image, it appears as normal, but only when it is clicked on. In Misplaced Pages Commons, the exact same problem is present. It also does not allow for resolution changes as most other images normally do. I have tested this on both Windows and mobile using Apple Safari, Google Chrome, and Microsoft Edge, and the problem remains consistent. I also found that there exist other images on Misplaced Pages Commons that are experiencing a similar problem. This image used to work perfectly before, so what could have changed to cause this? Is there any way this could be remedied? ] (]) 05:07, 6 January 2025 (UTC) | |||
Hi, my popups seem to have stopped working - anyone know why/how to fix them? I know next to nothing about how these sort of things work. ] 16:45, 7 July 2007 (UTC) | |||
:Try clearing your cache in your browser and force-reloading a Misplaced Pages page, that might help. - ]</small> (]) 20:26, 7 July 2007 (UTC) | |||
:Might be the same issue as ] above (yet to be determined what the issue is though). | |||
==Edit icons disappeared== | |||
:I can see the thumbnail on ] just fine as well. – ] (]) (]) 06:06, 6 January 2025 (UTC) | |||
The icons at the top of the edit box have disappeared (I mean the ones for "nowiki", "redirect" etc). ] 16:46, 7 July 2007 (UTC) | |||
::I can confirm it is the same issue, right down to the "Unauthorized" issue when selecting different sizes. Interesting that it seems to work for some yet not for others. I mainly asked as I wasn't sure if the image needed to be replaced due to an issue on Misplaced Pages's end. Hopefully whatever it is it can be patched out later. ] (]) 06:10, 6 January 2025 (UTC) | |||
:That reveals an easy answer to both of your questions: it is very likely that your browser, or an extension, has blocked JS for this domain, either by your inadvertent intervention or because of a reinstall/rollback/crash/error/gremlin. Delete as appropriate. '''''] ]''''' 19:33, 7 July 2007 (UTC) | |||
::Well, I purged my cache twice, and now pop ups and the edit icons are back working. ] 20:31, 7 July 2007 (UTC) | |||
== Common.css issue on Brave == | |||
== Bot needed for Category:Foundation schools == | |||
Does anyone know why my common.css doesn't seem to work on Brave? I've just replaced Firefox with it due to its atrocious performance on YouTube with Ublock turned on. Now, I can't get my (very simple) common.css to work with it. Any ideas? ] (]) 10:33, 6 January 2025 (UTC) | |||
Is there a bot available that can look for the phrase 'foundation school' (ignoring caps) in articles and then allocate the article to ], please? ] 17:02, 7 July 2007 (UTC) | |||
: |
:The name of the font should be in double quotes since it contains a space. – ] (]) 13:52, 6 January 2025 (UTC) | ||
::I changed it and it still doesn't work (also, it worked without the double quotes on Firefox just fine). The issue is that Brave seems to display the ''wrong'' font, rather than ignoring my common.css altogether. I think it displays DejaVu Serif instead of DejaVu Sans. ] (]) 14:42, 6 January 2025 (UTC) | |||
::I tried uninstalling DejaVu Serif and the problem persists. Why can't Brave follow a simple instruction? ] (]) 14:45, 6 January 2025 (UTC) | |||
:::{{replyto|Sol505000}} The CSS spec for is rather complex. To me, it reads as if you ''don't'' need to quote font names, even if they contain spaces, unless not doing so would cause ambiguity. If Firefox tolerates the absence of the quotes but Brave doesn't, that tells me that the authors of the two browsers have read the spec in different ways. Personally I would err on the safe side and quote them (the quotes need not be double, but must be paired, as in my example stylesheet below). | |||
:::On a related matter, I would not use a single font name - I would supply at least one fallback option, in case the device does not have your preferred font(s) installed; and the last of these fallback fonts should be one of the generic family keywords defined in the spec. Something like this: <syntaxhighlight lang=css>.IPA | |||
{ font-family: "DejaVu Sans", Arial, 'Liberation Sans', sans-serif; }</syntaxhighlight> --] 🌹 (]) 23:06, 6 January 2025 (UTC) | |||
:::Right-click on an element with the IPA class, select "Inspect", enter "font-family" in the filter under "Styles", and you can see what is overriding your custom style. You can also switch to the "Computed" tab and see what fonts are used in "Rendered Fonts" at the bottom. ] (]) 06:08, 7 January 2025 (UTC) | |||
::::Solved, what overrides the font are Brave Shields. Turning them off solves the problem (thankfully, WP isn't full of obnoxious ads that'd get in the way of browsing it). I'll report this to the developers. Thanks for the help everyone. ] (]) 22:29, 7 January 2025 (UTC) | |||
== How to change placement of custom fields on ] == | |||
== Showing log for a deleted page without going to log gone? == | |||
I pretty much have what I want, just not in the location I want. Even if I place the custom fields where I want them in the code, as seen , the displayed output doesn't change, and the custom fields—age and today's date, in this case—still appear at the bottom of the infobox. I want age below birthdate and place and today's date above current time. Also, is there a way to change the border color of the entire border around the infobox? I want it to be black so it looks better. Do I just add {{tq|<nowiki>style="border: 1px solid #000000;"</nowiki>}} somewhere? ''']''' • 23:09, 6 January 2025 (UTC) | |||
What happened to the deletion log showing on the actual page when you navigate to a previously deleted page (ie. without clicking on deletion log). It no longer shows on the actual page. It just has the link to the log. ] <sup>]</sup><small>]<sub>]</sub> (Let's Go Yankees!)</small> 20:20, 7 July 2007 (UTC) | |||
:{{replyto|Amaury}} When named parameters are used, the order that these are supplied in is immaterial; the order of display is goverened purely by the code inside ]. I don't have time right now to look at the rest, will try to get back later. --] 🌹 (]) 09:36, 7 January 2025 (UTC) | |||
:The log shows when you attempt to edit, not when viewing the article page. I don't believe the log has ever shown on the article page. --- ] 20:28, 7 July 2007 (UTC) | |||
::{{ping|Amaury}} All fields, both custom and other, can only be displayed in the positions they have in the infobox to the right at ]. I suggest including age in the Born field with <code><nowiki>birthdate = {{Birth date and age|1991|11|8}}</nowiki></code> which produces: {{Birth date and age|1991|11|8}}. Today's date can be included in <code>current_time</code> but then the date and time should use the same time zone, unlike now where your time is local but date is UTC. I examined the implementation and you can tag a border color onto another parameter like <code><nowiki>| tablecolor = #CBC3E3; border: 1px solid #000000</nowiki></code>. I don't promise it will always work if the implementation changes. ] (]) 12:39, 7 January 2025 (UTC) | |||
::Oh...I guess I didn't notice that it only showed in edit mode. Thanks. ] <sup>]</sup><small>]<sub>]</sub> (Let's Go Yankees!)</small> 23:28, 7 July 2007 (UTC) | |||
::: {{Re|PrimeHunter}} Okay, so the only way to change the placements of the parameters is to edit the template code itself; however, that shouldn't be done, of course, as it would affect everyone. I originally had the birthdate and age together, but I didn't like how the age in parentheses was going down to a separate line. Although I have now figured something out by from the default 22em to 24em, which gives the age enough space to be on the same line. As for the date, my only minor nitpick with adding the date to the Current Time parameter is that time is technically not a date, so having Current Time also display a date would look weird to me. And, of course, there's no way to change the parameter name just for my own infobox. is what I ended up doing instead. As a final question, is there a way to hide the Wikipedian with the icon thing just for my infobox or no? Thank you so much for help and advice! ''']''' • 22:51, 7 January 2025 (UTC) | |||
::::{{ping|Amaury}} You can change "Wikipedian" with <code>|role=</code>. The row with two dashes will still be there even if you set it to something non-displayed like <code>&nbsp;</code>. You can hide the gender icon with <code>|gender=none</code> but it has other effects. A template call can be wrapped in {{tl|Replace}} or {{tl|MultiReplace}} to change some of the output but it's messy and shouldn't be done in articles. If you try it then ] can be used to find the exact current output. ] (]) 00:22, 8 January 2025 (UTC) | |||
== All templates broken beyond a certain point on a CfD page == | |||
::Yeah, it did, but only for about a week or so. It doesn't make much sense to warn the user about recreating a page until he's actually about to recreate it. ] (]) 00:07, 8 July 2007 (UTC) | |||
The ] (]) has all templates broken beyond a certain point in the "]" nomination, which uses ] exactly 1,353 times. Templates beyond this point are replaced by links to the underlying templates. –] (]]) 23:37, 6 January 2025 (UTC) | |||
== Hit lists == | |||
:{{replyto|LaundryPizza03}} ] strikes again. There are two clues to this: (i) the intended transclusions showing as links, as you describe; (ii) the page being in {{cl|Pages where post-expand include size is exceeded}}. The prime suspect here is ] - do all of them need a {{tlx|lc}}, or just the first one? --] 🌹 (]) 23:53, 6 January 2025 (UTC) | |||
::The issue was fixed by omitting around 1350 {{tlx|lc}} for annual subcategories. They wouldn't even fit on a subpage with no other content. ] (]) 08:31, 7 January 2025 (UTC) | |||
== Enwiki dump? == | |||
Is there a top 100 list of hits on Misplaced Pages pages? Also, is there anyway of finding the hits on individual pages, please? ] 23:27, 7 July 2007 (UTC) | |||
:The top 100 list . There is, however, no way of finding the hits on pages other than those listed by that tool. ] '']'' 04:21, 8 July 2007 (UTC) | |||
. Enwiki: | |||
== Main Page styling == | |||
* <code><nowiki>2025-01-07 17:19:24 enwiki (new): missing status record</nowiki></code> | |||
Everything else is available. Is this normal? I need a dump. -- ]] 17:26, 7 January 2025 (UTC) | |||
: Probably https://lists.wikimedia.org/hyperkitty/list/xmldatadumps-l@lists.wikimedia.org/thread/5ABHNJRXSR53XBAMNH3TROLTMY5ZXEXF/ ] ] 17:28, 7 January 2025 (UTC) | |||
::Great, thanks. -- ]] 17:57, 7 January 2025 (UTC) | |||
== Undo and thank buttons on Vector 2010 == | |||
Would it be possible to put all of the styles that are currently inline on the ] into ] or another style sheet, and use classes instead? It would make styling with user CSS ''much'' easier. (I around the time the Main Page was redesigned last year, but never received a response.) ]] <small>] '''2007‑07‑08'''''t'''''03:32'''''z''</small> | |||
The undo and thank buttons in page history are coloured with Vector 2022 colours on Vector 2010. I'm not sure when this bug was introduced, but it wasn't there when I edited Misplaced Pages a month ago. <span style="font-family:Garamond,Palatino,serif;font-size:115%;background:-webkit-linear-gradient(red,red,red,blue,blue,blue,blue);-webkit-background-clip:text;-webkit-text-fill-color:transparent">] ]</span> 19:08, 7 January 2025 (UTC) | |||
==Reflist issues== | |||
I mentioned this on ], but I haven't heard anything. The problem is that whenever I view a page that uses <nowiki>{{Reflist|2}}</nowiki>, the references are only extended half-way across the page. See ] for what I'm talking about. It's not an issue with simply {{tl|reflist}}, just when two columns are enabled. Anybody else having this issue, or know how to fix it? - ] ] 03:41, 8 July 2007 (UTC) | |||
:It looks OK for me today using FireFox and the default MonoBook skin. Can you give a few examples of other articles that fit that pattern of double column formatted references that you see as single column? - ] 17:33, 8 July 2007 (UTC) | |||
== RSS == | |||
== Help talk:Variable history is screwed up == | |||
When it comes to such feeds of pages' history, here, is it the feed itself that is not instantaneous, or the bot that delivers it? ~] ] 23:03, 7 January 2025 (UTC) | |||
] is not displaying correctly for me (for one thing, authors' names do not appear.) Is this a problem with all discussion pages pointing to history on meta? ] 12:53, 8 July 2007 (UTC) | |||
:The bot maintaining that page history made some markup errors during transwiki, which you can see if you view the source. ]] <small>] '''2007‑07‑08'''''t'''''16:28'''''z''</small> | |||
:Why do you think it is not instantaneous ? —] (] • ]) 23:05, 7 January 2025 (UTC) | |||
== Sorting of articles in categories == | |||
::The timestamps differ variably, for some reason... I'm just wondering, then, if it's the feeds themselves, or the bots relaying it (as they're some free service, so presumably they don't prioritize them...) ~] ] 12:55, 8 January 2025 (UTC) | |||
== Are namespaces supposed to be case insensitive? == | |||
I think this falls into the technical part of Misplaced Pages. I was wondering if you all agree that the categories should be sorted by <nowiki>{{PAGENAME}}</nowiki> instead of <nowiki>{{FULLPAGENAME}}</nowiki>. For example, all templates go under "T" because the namespace starts with a "T", right. The current best way to get around that is by writing <nowiki>{{DEFAULTSORT:{{PAGENAME}}}}</nowiki> into all the templates. But why? Shouldn't all pages be defaultsort:pagename anyway? Am I missing something? Why are all pages sorted by fullpagename by defaulst? --]] 15:28, 8 July 2007 (UTC) | |||
:Categories aren't usually supposed to contain pages from different namespaces. Even in those exceptional categories that are, it doesn't really make much sense to mix the Template, User and Misplaced Pages pages with mainspace articles; if anything, they should be separated under their own headings like subcategories and images. --] 21:40, 8 July 2007 (UTC) | |||
::Yea, so let's say there is a category for Templates. They all go under "T". Does that make any sense? Let's take ] for instance. Someone took the time to go through all those templates and sorted them by PAGENAME, as they should've been. It's much more organized that way. Now I couldn't find any category here, but I know of one on is: where people don't have the time for (let me say) stupid cleanup jobs like this. ] is very badly organized, because less then half of them are sorted by PAGENAME. The better half is sorted by default (FULLPAGENAME), and thus, go by "S". Am I making myself clear? --]] 23:36, 8 July 2007 (UTC) | |||
:::Yes you are. I totally agree with you man. --] 02:21, 9 July 2007 (UTC) | |||
:Makes sense to me. -- '']']'' 06:02, 10 July 2007 (UTC) | |||
I discovered today that namespaces appear to be case insensitive, as opposed to following the normalization (canonicalization?) rules for page titles. For example, all of these end up at the same place: | |||
== Navigation == | |||
* ] | |||
] has a problem: the header is two lines high, but the second line overlaps the body. ] is a but too cryptic for me, and it's locked anyway; can anyone fix this please? – ] <small>]</small> 21:56, 8 July 2007 (UTC) | |||
* ] | |||
:I've fixed it, is that better? --]<small>]</small> 23:03, 8 July 2007 (UTC) | |||
* ] | |||
* ] | |||
This isn't mentioned at ], so it's not clear if this is intentional, a bug, or just some silly bit of undefined behavior. Is it intentional? ] ] 02:19, 8 January 2025 (UTC) | |||
== ] == | |||
: Intentional I think. ] ] 02:54, 8 January 2025 (UTC) | |||
: ] says: "If the target contains a ] prefix, then the whole prefix and the first character after the colon are case-insensitive (so ] links to ])." ] (]) 03:22, 8 January 2025 (UTC) | |||
:It's mentioned at ]. ] (]) 08:57, 8 January 2025 (UTC) | |||
:It's been like that fot as long as I can remember, and I joined in May 2009. --] 🌹 (]) 00:34, 9 January 2025 (UTC) | |||
::The oldest mention I found at mw is from 2007 , and the edit summary said "from docs/title.txt in installation". It also means DISPLAYTITLE allows any capitalization in the namespace. ] (]) 09:18, 9 January 2025 (UTC) | |||
== Out-of-line references missing in an imported excerpt == | |||
I think that REDIRECTS shouldn't be listed at ], make confusion, there are hundreds of thousands of redirects with fewer that two revs. Maybe the same thing should bbe applyied with moved pages --'''''] ]''''' 04:18, 9 July 2007 (UTC) | |||
Hello, fellow Wikipedians! | |||
== Replacing the logo in my monobook.css == | |||
I'm stuck on a problem with undefined references in the ] article, current version ] from 26 December 2024. | |||
I replaced the logo using: | |||
It includes the lead section of ] through the {{t|Excerpt}} template in the {{section link| Frogs in culture | Pepe the Frog in 4chan culture}} section. The included text has 12 references in it, 10 of which are defined in-line and appear to be properly included in the destination ] article. However, the remaining two are defined outside the ]'s lede, which results in {{big|{{color|red|'''Cite error: The named reference ... was invoked but never defined (...)'''}}}}. | |||
#p-logo { | |||
background: url(http://i109.photobucket.com/albums/n41/thesublime514/Temp/TransNikipedia.gif) no-repeat; | |||
display: none | |||
position:absolute; /*needed to use z-index */ | |||
top: 8; | |||
left: 15; | |||
height: 0; | |||
width: 0; | |||
padding: 0 0 154px 154px; | |||
overflow: hidden; | |||
padding-top: 5 | |||
padding-left: 10 | |||
} | |||
Those two are ref named 'Branded' and named 'ADL'. | |||
However, when I did it, the logo ceased to be a link back to the main page. Is there a way I can make it be a link again? <small>— ] • ] • 04:29, July 9, 2007 (UTC)</small> | |||
How can I fix it within the destination article (that is, without moving the references to the lede in the source article)? --] (]) 08:06, 8 January 2025 (UTC) | |||
:Try this instead. --] (]) 07:06, 9 July 2007 (UTC) | |||
<nowiki>#p-logo a { background: url("http://i109.photobucket.com/albums/n41/thesublime514/Temp/TransNikipedia.gif") | |||
center no-repeat !important; }</nowiki> | |||
::You can't make it display perfect for ''everyone'', ]. --] (]) 09:38, 9 July 2007 (UTC) | |||
:::That works, thanks <small>— ] • ] • 18:36, July 9, 2007 (UTC)</small> | |||
:Certainly the easiest solution is to move the refs to the lead section of the Pepe article, since it doesn't apply ]. Otherwise you have to recreate them as named references in the FiC article (which is not ideal since they could get orphaned) ] (]) 11:12, 8 January 2025 (UTC) | |||
== Diff not showing all changes == | |||
::{{Re|JMF}} Yup, I've considered moving the refs to the lede. However, it could fail in some situations. <br>Suppose a reference is called by its 'Name' attribute from two different sections, and each section is transcluded in a different article. That's quite exotic scenario, but still possible. Then both original sections would have to define the same reference exactly the same way for all three articles to display properly. <br>That's why I would rather like to solve the problem on the 'receiving' side, if possible. {{smiley}} --] (]) 09:11, 9 January 2025 (UTC) | |||
:::In that case the only real solution is to copy the references into the article containing the {{tl|excerpt}} as list defined references. Especially as leads are not the only type of section that gets transcluded, so LEADCITE isn't always applicable. -- <small>LCU</small> ''']''' <small>''«]» °]°''</small> 23:40, 9 January 2025 (UTC) | |||
:And this is one reason section transclusion can be a really bad idea. ] (]) 21:23, 8 January 2025 (UTC) | |||
::{{re|Izno}} What is the solution, then? Possibly copy the whole section and add some HTML comment both at the source and a copy for editors to keep both copies in sync? But I don't know whether HTML comments are visible in Visual Editor... {{smiley|sad}} --] (]) 09:11, 9 January 2025 (UTC) | |||
:::The objective should be immediate verifiability in the article of interest, while promoting ]. Excerpt is either pulling a ]-compliant lead, which has no references, so verifiability is hence a question in the relevant article, or is pulling one which does have references... in which case the other article needs fixing. It's just fundamentally really gross. What should instead happen is a summary of the Pepe article, and I imagine it should be a much shorter summary per ]. ] (]) 20:07, 9 January 2025 (UTC) | |||
:Last time I tried to help on a closely-related matter I got shot down for it. --] 🌹 (]) 00:35, 9 January 2025 (UTC) | |||
::{{re|Redrose64}} Sorry to hear it. Did a requester attack you for your help being inaccurate, or some bystander considered the whole idea wrong and outraged for you helping instead of disouraging the needy one...? --] (]) 09:11, 9 January 2025 (UTC) | |||
:::{{replyto|CiaPan}} ]. It's got a confusing sequence, because after I had fixed the original problem, and explained how, DuncanHill apparently decided to attack me for being an admin - but put those posts ''before'' the earlier replies. It spilled to other pages - note carefully the timestamp of {{diff|User:DuncanHill|prev|1265841465|this edit}} in relation to the timestamps in that archived VPT thread. Then ActivelyDisinterested had a go at me for reverting some edit or other, but never specified what I reverted. --] 🌹 (]) 22:12, 10 January 2025 (UTC) | |||
== Templates that don't display on mobile == | |||
looks like it just removed a single byte, but really did more than that (36 bytes added according to ). How is that possible, is this a bug? If so, it is possible someone was deliberately using this bug to vandalize the page without being noticed, as the hidden changes were vandalism. --] 11:12, 9 July 2007 (UTC) | |||
:The diff seems to have missed something. I don't see any deletion logs, I'll file a bugzilla. --]<small>]</small> 11:52, 9 July 2007 (UTC) | |||
::] submitted. --]<small>]</small> 12:00, 9 July 2007 (UTC) | |||
{{Today/AD/SH/AH}} | |||
:::Random interjection, it works if you . --] (]) 07:13, 10 July 2007 (UTC) | |||
Sorry, I know that this is an old chestnut but I hoped that maybe it had been resolved without my noticing. The template {{tl|Today/AD/SH/AH}} does not display on mobiles (or at least not on Android, but that has the largest market share worldwide). Is this a generic problem or something specific to that rather old and limited-use template? (If the latter, I'll go ask the template gurus.) ] (]) 11:03, 8 January 2025 (UTC) | |||
:@] This is intentional. That template is based on {{tl|sidebar}}, which, as it notes in the documentation, does not display on mobile devices. The WMF deliberately removed a bunch of templates (like navboxes) from the mobile site. ] (]) 13:35, 8 January 2025 (UTC) | |||
== Creating an Infobox == | |||
::Of course! Classic case of looking for a complicated reason (java) for a simple problem{{snd}} I should have spotted that there is nowhere for a sidebar to go. So time for me to see if can be changed to an infobar. ] (]) 16:54, 8 January 2025 (UTC) | |||
:::Indeed, it is more {{tl|infobox}}y than it is {{tl|sidebar}}y. ] (]) 21:15, 8 January 2025 (UTC) | |||
::::Current "emerging consensus" is to replace them all with {{tl|Infobox calendar date today}}, see ]. ] (]) 23:14, 8 January 2025 (UTC) | |||
== Chinese nationality in the infobox refuses display on certain articles == | |||
Am I the only one who noticed how on some articles, for example the Hong Kong activist ], if you add his nationality to the infobox, it is not visible to the readers and doesn't show up in previews. However if you add any other nationality such as Bahamian it does display in the preview. At first I thought maybe this was just a quirk of visual editor, but even in source code, the same problem persists. Here is the diff in case anyone cares to examine it. ] (]) 15:29, 8 January 2025 (UTC) | |||
I have created a new Infobox for characters in the Dune Universe which I believe will be useful. However, I don't known how to create an actual "copy and paste bit" for pages that want the Infobox added to them. If anyone could help, that would be great. {{unsigned|Blurgle Fragle}} | |||
:I can see you've made the page at {{tl|Dune character box}} and the text on there at the top left can be copied and pasted to put that infobox on pages. I've fixed a couple of missing parameters so the text should now be OK. ] ] 15:47, 9 July 2007 (UTC) | |||
I'm afriad I don't quite understand. What exactly do you mean by the "top left corner", and when I actually paste the Template title on the page all I get is the {{{name}}} bit and the Real-Life information title, with no space for adding the actual information.] 17:27, 9 July 2007 (UTC) | |||
:The documentation for {{tl|Infobox officeholder}} says the following: | |||
:<code>nationality</code> is ] if the corresponding country is mentioned in <code>birth_place</code>, for example <code>|birth_place = Tokyo, Japan |nationality = Japanese</code>. | |||
:I'm guessing that's why. {{tq|Not displayed}} is a link to ], which seems relevant. – ] (]) (]) 15:50, 8 January 2025 (UTC) | |||
::I see, thanks, that makes sense now. ] (]) 00:20, 9 January 2025 (UTC) | |||
== Multiple citation templates == | |||
You may want to look at ] and ]. -- User:Docu | |||
Why there were created multiple citation templetes (like Cite book, Cite journa) if they differ just by a few parameters? I wonder if there could be just one template with various attributes, because in practice the user usually fills up just some of them. ] (]) 16:20, 8 January 2025 (UTC) | |||
:: I deleted the actual example infobox from this discussion, since it was floating to the bottom of the page, away from the article discussing it. If you need it for further discussion, dig it up from the History and then put it in a talk page somewhere, and provide a link here. ] 19:03, 9 July 2007 (UTC) | |||
:All those templates are wrappers for ], but the parameters required/allowed by the different citations types varies. For example, {{tl|cite web}} generates an error if {{para|volume}} is used but {{tl|cite journal}} doesn't. This becomes even more important with the ] used by Visual Editor and various bots, where we want to vary which fields are presented to the editor. <span class="nowrap">--] (])</span> 17:32, 8 January 2025 (UTC) | |||
:What I mean is that there is a box on the template page that looks like this: | |||
:Because people didn't create centralized templates at the time those were created (20 years ago). Someone eventually made {{tl|citation}} and then someone else finally made {{tl|citation/core}} which at least centralized how things were rendered but by that time we had the problem that there were stylistic differences between the two (which we have whittled since). We later turned that template into the aforementioned module when we got ]. If we had the right tools at the time, I suspect there would have been one template and one template only. | |||
<div style="font-size:75%"><pre> | |||
:I guess we could make a {{tl|citation cs1}} which would do the same things as {{tl|citation}} without requiring the parameter tweaks for the style issue, but the other issue a single template has trouble with is that there are some rules that are harder to enforce (or guess at) when you have only one template. ] (]) 21:21, 8 January 2025 (UTC) | |||
{{Dune character box | |||
::Yup, that sounds me like a reason, that before Lua you would need to format value inserted by the user different way for each type of a resource. Because otherwice it would be maybe better to have one big template providing samples of parameters for each resource type. ] (]) 21:27, 8 January 2025 (UTC) | |||
| name = | |||
:::This is really a matter for ]. --] 🌹 (]) 00:37, 9 January 2025 (UTC) | |||
| image = <!-- Misplaced Pages image of the character. --> | |||
:::Moving the Cite CS1 templates into one would not be complicated. It could be done with moving "CitationClass" from being a config (template parameter) to being an argument (page parameter). The challenge is getting ] to work - the automatic citation filler in VisualEditor and ] - because it expects one template for news, one for web, one for books, etc. Changing the roughly 6 million pages to one template with a bot is also going to take awhile. You are going to need a conseus for all of this. ] (]) 01:30, 9 January 2025 (UTC) | |||
| caption = <!-- Caption for the image. --> | |||
::::It sounds like you're talking about something like changing <code><nowiki>{{cite web|...}}</nowiki></code> to <code><nowiki>{{cite|web|...}}</nowiki></code>, consolidating to one template while retaining the background module code. I can't see how this would make anything better. Merging the documentation seems likely to cause more confusion than the current situation, since different modes accept different parameters and produce different formatting. I don't see how or why this would be a good idea. – ] (]) 05:26, 9 January 2025 (UTC) | |||
| alias = <!-- Pseudonyms and special monikers, not nicknames. --> | |||
:::::A lot of the documenation is already maintained in a centralised way, through {{tl|Citation Style documentation}}. Take a look at ], which contain the documentation that is identical for all CS1 templates. --] (]) 08:43, 9 January 2025 (UTC) | |||
| gender = | |||
::::::I am familiar with the documentation and have edited it over the years, which is why I think that it will be difficult to display for a single template with multiple modes. Take a look at the switch and if statements in the code for {{tl|Citation Style documentation/title}}, for example. Editors already complain that the documentation for these templates is too complex; imagine a single documentation page with all of the modes explained on one long, green page. – ] (]) 14:32, 9 January 2025 (UTC) | |||
| born = | |||
:::::::Citation templates included quite a lot options. It would be nice to know the persentage of use of each option. We may see then, that some of them have rare use. ] (]) 22:44, 9 January 2025 (UTC) | |||
| died = | |||
::::::::Have you looked at the monthly report available in the TemplateData section of the documentation? If you have specific suggestions for changes to one of the cite templates, ] is the correct forum. – ] (]) 23:07, 9 January 2025 (UTC) | |||
| occupation = | |||
::::::::Some options are rarely used because they are rarely needed, but they {{em|are}} needed sometimes. Try citing a chapter in a book without "chapter", "chapter-url", or "chapter-url-access". ] 23:08, 9 January 2025 (UTC) | |||
| spouse = | |||
::::Well, I am not sure if VisualEditor would be a big deal. You just recreate ] and maybe also ]. ] (]) 14:41, 9 January 2025 (UTC) | |||
| parent(s) = | |||
| child(ren) = | |||
| sibling(s) = | |||
| other = | |||
| affiliation = | |||
| portrayer = | |||
| debut = <!-- First book the character appeared in. --> | |||
| departure = <!-- Last appearance of the character --> | |||
}}</pre></div> | |||
:What you need to do is copy the text in that box, paste it into an article and then fill in the details by putting the facts to the right of each equals sign. ] ] 19:09, 9 July 2007 (UTC) | |||
== External link screening JS script I just made! == | |||
== Password emails == | |||
Re recent events that I'm not going to mention because of ]/], and also the very concerning {{tl|Plain link}} template which can disguise external links as wikilinks (like {{Plain link|https://google.com|this}}), I made a user script, at ] that presents a "are you sure this is the link you want to visit" screen when clicking through to external links, even if {{tl|Plain link}} has been used or the link has a display name set, showing you the actual URL you are about to visit. This is common on many websites like YouTube, Twitter etc. | |||
I've been getting a lot of emails with temporary Wiki passwords over the past few weeks - almost every day. It seems someone is trying to hack my account; I've seen a hacked admin account in action and it isn't pretty. I have a secure password, but if someone requests a temporary one and then is able to intercept the email sent by Misplaced Pages to my account, my password won't matter. Is anyone doing anything about this? Is there a relevant discussion somewhere? Surely I'm not the only one this is happening to. ] <sup>]</sup> 18:50, 9 July 2007 (UTC) | |||
:As long as nobody else sees the temporary passwords in the e-mail, you should be fine. If you're worried that the e-mail could be intercepted, you can remove the e-mail address from your preferences to dissable these e-mails. Be aware that this will have the side effect of preventing people from e-mailing you through ] and will also mean that if you do actually forget your password, you won't be able to retrieve your account. ] ] 19:17, 9 July 2007 (UTC) | |||
::I can't remove my email. People need to be able to contact me. I get at least one email per day, from confused new users, spammers I've warned, users I've blocked, etc. | |||
::I know this doesn't seem like much now, but it's a potentially serious security breach. Nobody realized it was important to encourage complex passwords until it was too late, and although this seems like a minor annoyance for the moment (which is why I waited so long to look into it) it will develop into something ''much'' worse the minute someone finds a way to do it properly. This should at least be being discussed somewhere. ] <sup>]</sup> 19:35, 9 July 2007 (UTC) | |||
::: I suggest that the automatically generated email with password changes, include the IP address and date of the original request. When you legitimately ask for a password change, you would just be seeing your own IP address, which is no privacy violation. You would only be seeing someone else's IP in the case that they requested the password change with your account ID. However, the likeliest cause is probably just a user with a similar name making an honest mistake, e.g. someone named Kafzeal has forgotten how he spells it, himself. But if you had the IP you could at least post a question or remark to their default login page; you would also be easily able to spot a kid brother hack, because he is using your own IP, etc. ] 20:17, 9 July 2007 (UTC) | |||
::::The emails do include the requesting IP, but it's always different. And it's quite unlikely that there is anyone with a very similar name to mine (if there was, they'd be blocked) and even more unlikely that they forget their password each and every day. I'd suggest limiting the number of password requests to one or two per month, as well as some kind of security question necessary to generate the email, at least for admin accounts. At least, that would be my suggestion if there was a forum for them, which there doesn't seem to be. That's what I think is odd. I can't be the only admin with this problem. ] <sup>]</sup> 20:48, 9 July 2007 (UTC) | |||
:::::If your in doubt you might be able to ask a checkuser to look at other accounts on those IP's because they could becoming from a sockpuppet/vandal/open proxy. <sup>]</sup> 01:34, 10 July 2007 (UTC) | |||
::::::I've been getting at least one of these a day now for weeks and weeks. Perk of the job. --] 01:38, 10 July 2007 (UTC) | |||
It's also able to prevent spoofing (]) by showing the actual puny code and adding warnings for websites like https://wikipediа.org (spoiler alert: this isn't wikipedia, it's a trick using cyclic letters, you are actually taken to http://xn--wikipedi-86g.org/ which this script will tell you about). | |||
== help with using multiple #ifeq: == | |||
Just wanted to post this here to let everyone know that can now install this (just add <code>importScript('User:MolecularPilot/ExternalLinkScreen.js');</code> to your ] or use Enterprisey's script installer). | |||
Hi. I'm currently using this (long) code: | |||
Stay safe everyone, especially if you are editing in ]! :) ] <sup>]]</sup> 06:14, 9 January 2025 (UTC) | |||
<code><nowiki>{{#ifeq:bird|{{{1}}}|]}}</nowiki></code> | |||
:Adding that if you want a "try before you buy", here's two link examples of the screen you will see (note that if you have the script installed, it you'll get 2 landing pages before reaching the link as opposed to the usual 1, if you click these): | |||
:*Click {{Plain link|url=https://molecularbot2.toolforge.org/linkCheck.html?url=https://google.com|name=here}} for a regular link. | |||
:* Click on that to see what happens with an ]. | |||
:] <sup>]]</sup> 06:27, 9 January 2025 (UTC) | |||
:Interesting concept. I don't see why you need the toolforge site in the middle though, as that's just executing JS that could be run in the user script itself. – ] (]) 06:46, 9 January 2025 (UTC) | |||
::Also, pulling in punycode.js from Cloudfare CDN is against Toolforge policy. Use https://cdnjs.toolforge.org/ instead. – ] (]) 06:53, 9 January 2025 (UTC) | |||
:::Oh, thanks for the tip, I'll fix the CDN now! (I also realised that I wrote my demo links incorrectly above, so the URL would be "null", which I've just fixed). Re: the use of a website, I think it's better psychologically because it adds a pause while the tool forge page loads and also makes you process (yes, I'm going to a different page) before automatically clicking the button. :) ] <sup>]]</sup> 06:55, 9 January 2025 (UTC) | |||
::::{{u|SD0001}}, CDN fixed now! Thank you so much for your feedback, I really appreciate it! I might add a version that creates popups like Twinkle instead of using the landing page like most of the other websites do, because it may be better suited to our environment here. :) ] <sup>]]</sup> 07:12, 9 January 2025 (UTC) | |||
:I suggest you wrap the script in <code>mw.hook('wikipage.content').add()</code> and find links only in the jQuery node passed to the callback, or it may run before the whole page is loaded. Also all wiki-generated external links have the <code>external</code> or <code>extiw</code> class. ] (]) 10:36, 9 January 2025 (UTC) | |||
This is all a step in the right direction. I'd like to see something else as well, namely a bot that goes around flagging (or even disabling) external links that appear to be deceptive. That would protect editors who haven't installed any js. Exactly what properties would trigger it is a matter for discussion, as is how to catch enough cases without a flood of false positives. ]<sup><small>]</small></sup> 11:27, 9 January 2025 (UTC) | |||
<code><nowiki>{{#ifeq:bird|{{{2}}}|]}}</nowiki></code> | |||
:That is what ] is for. It blocks aditions of links that are listed in the list. The way I see it, javascript link warnings are for finding bad links or marking links that are not quite serious enough for Spam-blacklist. ] (]) 00:13, 10 January 2025 (UTC) | |||
<code><nowiki>{{#ifeq:bird|{{{3}}}|]}}</nowiki></code> | |||
:: No, the blacklist is for blocking links to malicious domains that have already been identified. It does not locate new deceptive links to other domains. We have a well-funded organization that plans to add deceptive redirects in order to dox editors and those links are not going to point to the organization's own domains. They will point to new temporary domains designed to be deniable. The question is how we will find those links before unsuspecting editors click on them. ]<sup><small>]</small></sup> 02:04, 10 January 2025 (UTC) | |||
on is:wikipedia. Dose anyone know if I can make this code shorter? Something like | |||
:::Actually a good point re temporary domains, I will make the page warn if they domain is newly registered (i.e. in the last 30 days). Currently, the "do you really want to visit this link" isn't just for suspicious links, it's for all links to non-WMF sites (including Toolforge as anyone can host a tool) because sometimes there is no way to figure out where a link is going until you actually click it (and sometimes a user might expect a wiki link but it's a {{tl|Plain links}} external link), so I thought this would be helpful. For example how do you know where goes without clicking and how about {{Plain links|https://heritage.org/|this}}, you might not even think it leads you off-wiki? ] <sup>]]</sup> 02:11, 10 January 2025 (UTC) | |||
:::"...a well-funded organization that plans to add deceptive redirects..."? If that's the case, perhaps the good folks over at ] can help out to prevent that from happening? --] (]) 13:43, 10 January 2025 (UTC) | |||
::::I think that's a typo, Zero probably meant links not redirects. I don't think such links can be caught with a regex-like AbuseFilter pattern (but no links have been posted yet so you never know!) but just made this script to ensure people actually see where a link is taking them (and see appropriate warnings like about IDN homograph attacks and new domains) and confirm that it's correct before heading off-wiki, like many other sites do for safety/privacy. :) ] <sup>]]</sup> 00:29, 11 January 2025 (UTC) | |||
== Redlink count == | |||
<code><nowiki>{{#ifeq:bird|{{{1}}} or {{{2}}} or {{{3}}}|]}}</nowiki></code> | |||
How to count fastly redlinks here? ] ] (]) 10:40, 9 January 2025 (UTC) | |||
But I tried that, and couldn't get it to work. --]] 20:25, 9 July 2007 (UTC) | |||
:Open the browser console (see ] for how to open) and use command <code>document.querySelectorAll('a.new')</code>. There are 214. – ] (]) 10:43, 9 January 2025 (UTC) | |||
::How to make list of this redlinks? ] (]) 13:04, 9 January 2025 (UTC) | |||
:::<code>copy(.map(e => e.title).join('\n'))</code>. This copies a plain list of titles to the clipboard. – ] (]) 15:19, 9 January 2025 (UTC) | |||
== "Edit" has disappeared and I only have "Edit Source" == | |||
:Try ]. ] (]) 21:01, 9 July 2007 (UTC) | |||
Despite having (repeatedly) enabled the visual editor the "edit" function has disappeared from all my Misplaced Pages pages, leaving only "edit source", which is beyond my capability. Please help, but assume I am totally stupid in the way you reply - I will not be offended - thanks. ] (]) 17:28, 9 January 2025 (UTC) | |||
::Thanks AmiDaniel. I think this should work: | |||
::<code><nowiki>{{#ifeq:bird|{{{1|}}}{{{2|}}}{{{3|}}}|]}}</nowiki></code> | |||
::--]] 21:19, 9 July 2007 (UTC) | |||
:::That works, but (discounting weird coincidences) it's an ], not an ]. Depending on how you want the template to work, <code><nowiki>{{#switch:bird|{{{1}}}|{{{2}}}|{{{3}}}=]|#default=}}</nowiki></code> might do the trick. Depends, again. ]<sup>]</sup> <span title="Misplaced Pages:Village pump (technical)">§</span> 22:00, 9 July 2007 (UTC) | |||
::::Well, my suggestion did not work. most of the categories don't show. It's a long template so it's going to take some time to retest it with another code. Here's the link ]. --]] 01:13, 10 July 2007 (UTC) | |||
::::Ok, it only works with #switch. There's just one more thing. What dose #default= do? I couldn't find anything about it on meta. --]] 01:31, 10 July 2007 (UTC) | |||
::::Never mind. --]] 01:58, 10 July 2007 (UTC) | |||
:You probably changed the "Editing mode" setting ]. ] ] 17:56, 9 January 2025 (UTC) | |||
== template problem - > number of apperances in a page == | |||
::Sjoerd de Bruin, you are a star! Thanks. ] (]) 18:29, 9 January 2025 (UTC) | |||
== Pipe-related glitch == | |||
Hello. Someone is working on this page on the romanian Misplaced Pages: ] (]). There seems to be a problem with the '''<nowiki>{{flagicon}}</nowiki>''' template. It's only working up to the letter ]. Suddenly the flag is no longer showed in the list and it is replaced by a link to the template page: ]. I believe the problem is related to the number of apperanaces of a template in a single page. How can this number be modified? I counted using a text editor, and it seems that it is working correctly only the first 752 times it is used...rather strange number. Please answer on my ro.wiki talk page: ]. Thanks. ] | |||
I've been having this happen for quite some time, and still don't know the root cause. Sometimes, although not all the time, a random wikilink (<nowiki>]</nowiki>) will bug out and display a "post-open>" and post-close>" in visible text before and after the link, despite no changing to the source editor or any other input. The best example of this can be found at . The "post" is usually highlighted in orange, so it may be some sort of issue with a script I have installed. A user on the WM Discord told me about a week ago that I'm not the only person that has reported this issue. This could easily be taken as vandalism, so I'd say it's relatively serious. ]<sub>]</sub><sup>]</sup> 17:37, 9 January 2025 (UTC) | |||
:I've replied at the user's talk page. It's most likely a problem with ]. ''']'''<font color="green">]</font> 06:40, 10 July 2007 (UTC) | |||
:I'd immediately be looking at some sort of Wordpress or other spelling or blog browser extension.... ] (]) 20:04, 9 January 2025 (UTC) | |||
== Featured article's picture on the Main Page doesn't appear, but does within the article itself == | |||
::That’s the thing, I run Chrome (on my school-issued Chromebook) and Edge (on my home PC), neither of which have extensions installed (I have WWT, but this problem has gone on way before I installed it). ]<sub>]</sub><sup>]</sup> 20:41, 9 January 2025 (UTC) | |||
:::The diff which added it is where you used VisualEditor. I only found one other occurrence in searches and it was also you, 30 October 2024 with the ] which is a mode within the VisualEditor extension. The diffs add nowiki which is MediaWiki code and VisualEditor is known for automatically adding nowiki in some situations so VisualEditor is probably involved but it may be a conflict with a script in ]. You should load ] once and not 16 times, but that happened this week so it's not the cause. ] (]) 21:15, 9 January 2025 (UTC) | |||
::::I’ll mess around with my scripts a bit and see what happens. I normally catch it before publishing it by cancelling the edit (which usually fixes it), hence why it’s only shown up twice. ]<sub>]</sub><sup>]</sup> 21:24, 9 January 2025 (UTC) | |||
:I tried loading ] for myself, and immediately saw a visual glitch (just in read mode, not in the editor) that's eerily similar to the problem you get after saving pages: ] (screenshot taken on ]). I can't tell which script of the eleventeen you have is inserting that markup, but it must be its fault. (Also, the way in which it breaks suggest it's vulnerable to ] attacks, by processing HTML incorrectly, which is probably not good for you…) ] <small>]</small> 22:55, 9 January 2025 (UTC) | |||
::It appears to be ]. nowiki is probably added by VisualEditor when the script messes with the page. ] (]) 23:52, 9 January 2025 (UTC) | |||
:::Check out that script’s talk page, it’s definitely this script. Thanks for the help, it’s been really annoying having to deal with this weird visual bug! :) ]<sub>]</sub><sup>]</sup> 23:55, 9 January 2025 (UTC) | |||
::::You could wrap the script in the following, it will then only run on page view. | |||
::::<syntaxhighlight lang="javascript">if (mw.config.get("wgAction") == "view") { | |||
//script here | |||
}</syntaxhighlight> ] (]) 03:08, 10 January 2025 (UTC) | |||
:::@] Thanks for finding the script. I suggested a fix: ]. ] <small>]</small> 17:21, 10 January 2025 (UTC) | |||
== Sections == | |||
Anybody know what causes this? I've only noticed it with Explorer 6.0 so far and only for certain featured articles on the main page. If you like I can go back and figure out which ones. For example, today's featured article doesn't show its picture on the Main Page. Ideas? --] 00:04, 10 July 2007 (UTC) | |||
:You've probably heard this before, but you should get IE7, or even better, Firefox. This may fix your problem, at a guess. --] <small>]</small> 00:49, 10 July 2007 (UTC) | |||
::Yeah, IE6 is rubbish. IE7 and Firefox are free downloads so there is no reason to use an outdated browser. --] 00:51, 10 July 2007 (UTC) | |||
I noticed that some sections are written like: == xxxxx == | |||
::For the love of god, you're ''suggesting'' IE7?! It's even ''worse'' than IE6. Get yourself Firefox or Opera--there are other decent browsers out there, but those tend to be the best (unless you're a w3m kinda guy =D). In any case, we still haven't answered the fellow's question--I've no explanation for it, though I will go try to figure it out right now. Just because we can all agree that IE is shit doesn't mean we're free from having to support it =D. ] (]) 01:04, 10 July 2007 (UTC) | |||
and some are written like ==xxxxx==. Some have gaps and some do not. Won't it be better if it was standardized? I prefer the one without gaps because it should save space. | |||
:::] stats on a website I run (it's a site of limited interest, and these figures only reflect 585 visitors, 60.5% of those being new visitors)shows that browser usage by visitors to that site in the last month break down as follows: | |||
] (]) 06:47, 10 January 2025 (UTC) | |||
:::*58.46% IE | |||
:::**33.04% v7.0 | |||
:::**65.79% v6.0 | |||
:::**0.58% v5.5 | |||
:::**0.58% v5.0 | |||
:::*35.04% Firefox | |||
:::**76.10% v2.0.0.4 | |||
:::**11.22% v1.5.0.12 | |||
:::**4.88% v2.0.0.3 | |||
:::**1.95% 2.0.0.1 | |||
:::**1.95% v1.0.7 | |||
:::**0.98% v2.0.0.2 | |||
:::**0.98% v1.5.0.11 | |||
:::**0.49% v2.0 | |||
:::**0.49% v1.5.0.9 | |||
:::**0.49% v1.5.0.10 | |||
:::*4.62% Opera | |||
:::**70.37% v9.12 | |||
:::**11.11% v9.21 | |||
:::**11.11% v9.01 | |||
:::**3.70% v9.10 | |||
:::**3.70% v9.20 | |||
:::*1.2% Safari | |||
:::**42.86% v419.3 | |||
:::**42.86% v312.6 | |||
:::**14.29% v522.12 | |||
:::*0.34% Netscape | |||
:::**50.00% v8.1.3 | |||
:::**50.00% v8.1 | |||
:::I think the technical point of concern for Misplaced Pages is not what browser any particular visitor might be using, but rather how far Misplaced Pages websites should go towards accommodating older browsers which are still in use. -- ] 01:53, 10 July 2007 (UTC) (copyedited 01:56, 10 July 2007 (UTC)}} | |||
:No. Please write articles instead. —] (] • ]) 08:08, 10 January 2025 (UTC) | |||
I agree that the issue is how far Misplaced Pages should go to accommodate its users. Judging by those percentages above...we should at least try to figure out why IE 6 does this. Just for the record...I use Firefox at home, but I'm forced to use IE 6 at work (I can't even upgrade the trash). Hmm... I'm using Firefox 2.0 right now and looking at the ] page and going through to recall which articles haven't worked before and curiously...the ones that didn't work also don't have their pictures visible in the archive listing - namely ] and ]. For June archive: ]. So, the problem is not just with IE 6, it's also with Firefox 2.0. --] 08:19, 10 July 2007 (UTC) | |||
::Articles about what? | |||
::] (]) 11:57, 10 January 2025 (UTC) | |||
:::Or fix actual errors, of which there are literally tens of millions. – ] (]) 14:23, 10 January 2025 (UTC) | |||
::::About what????? ] (]) 16:43, 10 January 2025 (UTC) | |||
:The community hasn't made a project-wide standard for this. In general, you can use either style in articles you write, subject to the guidelines that do exist (see ] as a start). But also, in general, match the style that already exists in an article and don't change style in an existing article without reason (see ]). New guideline/rules are added sometimes, of course. I'd suggest editing and being around longer before considering making a proposal about this (not saying you are, just as a suggestion) (it's been discussed, at least tangentially many times: ]).(And welcome to Misplaced Pages and happy editing.) ] (]) 16:16, 10 January 2025 (UTC) | |||
::I got your hint. If you don't want users newer than you to give some proposal here than you should put a password on this page and share it with users who you think is worthy and equal to you. | |||
::] (]) 17:01, 10 January 2025 (UTC) | |||
:::I just was trying to give some background/history, in case you didn't know it. No objection to an actual proposal but I think if you want it to have a chance, you should do enough research to pretty comprehensively explain why and exactly what you'd want different. This is less a technical proposal and more a style or policy one, since English Misplaced Pages can't, as far as I know, make one of them technically impossible (since all Wikipedias share the common ] wikitext parser). ] (]) 17:27, 10 January 2025 (UTC) | |||
:::Please ]. What you proposed is a ]. Cosmetic changes are discouraged because they clutter up watchlists, and require editor time to review without making any improvement to the Encyclopedia. ] 17:27, 10 January 2025 (UTC) | |||
:To address the original question. {{replyto|TrueMoriarty}} The presence or absence of the gaps makes absolutely no difference to either how the heading is displayed, or to how the MediaWiki software process the heading (such as, making section links work). Since they function identically, there is no advantage in altering either form to the other one. | |||
:Further: if an edit is made which does nothing other than remove those gaps, it doesn't save any space at all - in fact, it ''increases'' the amount of disk space that is used, since the MediaWiki software retains all previous versions of a page, effectively forever. You can see this by opening the "History" tab at the top of any page. --] 🌹 (]) 13:16, 11 January 2025 (UTC) | |||
== request for new category == | |||
I think I've discovered a possible cause that is connected with similar issues I've had on other pages. I believe the cause is the number of px in this : ''Image:West Wycombe 3 (Giano).gif|120px|West Wycombe's double colonnade''], the image tag within the FA's brief description bit that appears on the Main Page. When a number higher than 120, say 130 is tried, the image displays, but at 120 nothing. For example, a link to the image is in this post right now... if you see no image within my text... then you have this problem too. This (not 120, other numbers) seems to be the cause in the other 3 main page FA article pictures. I've also run into a problem like this one on some supernova remnant pages. See ] for some supernova articles I've edited by changing the image's px value because I thought the no-display issue was not just mine. Anyone know why/how too low px values cause this? Can anyone else confirm it happens to them as well? I'd really appreciate figuring this out. --] 08:38, 10 July 2007 (UTC) | |||
Hello. I have created a bot for updating ] to its canonical/non-amp version. The BRFA will soon be approved. For now, I am using inputs from file(s), which were created . '''In short''', would it be possible possible to create a hidden/maintenance category which would contain articles that have "amp" anywhere in their url? False positives are preferred over missing amp url. The bot's programming is comprehensive so false positives wouldn't matter. Kindly let me know if this is possible, or if you need further information. Regards, —usernamekiran ] 10:52, 10 January 2025 (UTC) | |||
:PS: automatically populating category. —usernamekiran ] 11:34, 10 January 2025 (UTC) | |||
:: It's possible, but in practice it's very unlikely you'd be able to convince MediaWiki developers to write and merge a change that does this. You'd probably do better to use a ] or process a ]. If you go the database query route, you'll probably need to batch your query with a condition like <syntaxhighlight inline lang="sql">el_id > N AND el_id <= N+1000000</syntaxhighlight> for relevant <code>N</code> to avoid timeouts. You'll also probably find that looking for just "contains 'amp'" gives very many false positives on words like "camp", "campus", "champion", "sample", "example", "Hampshire", and so on. ]] 12:51, 10 January 2025 (UTC) | |||
:Isn't that link just listing pages containing "https://amp." in wikitext? The bot can query for that directly using ] instead of relying on a static list. – ] (]) 13:51, 10 January 2025 (UTC) | |||
::Some sites use path-based amp URLs, so adding searching for something like at least "/amp/" would be needed. But between these two that'd get almost everything. ] (]) 15:37, 10 January 2025 (UTC) | |||
:As SD0001 said, you can use pagegenerators. For example: | |||
<syntaxhighlight lang="python"> | |||
from pywikibot import pagegenerators | |||
site = pywikibot.Site("en", "wikipedia") | |||
== Weird edit I made; any ideas how this happened? == | |||
gen = pagegenerators.SearchPageGenerator('insource:"https://amp."', site=site) | |||
for page in gen: | |||
#your code | |||
</syntaxhighlight> | |||
– ] <small>(])</small> 16:49, 10 January 2025 (UTC) | |||
* Thanks everyone. I was doubtful about the category, so I was also working on code. But I had come up with: | |||
In trying to cast my !vote in an RfA, I seem to have inadvertently loaded and edited an earlier version of the page. 's the diff. Now I can just about believe I somehow loaded an earlier version (perhaps because I came to the RfA via another editor's contribs?), but what I cannot easily understand is how I saved it. I definitely would have noticed the red warnings you normally get when saving an earlier version of a page (usually when reverting) and so I can say with confidence that I never received a warning. Any idea what's going on? --] 00:08, 10 July 2007 (UTC) | |||
<syntaxhighlight lang="python"> | |||
for page in site.allpages(namespace=0): | |||
#.. code | |||
search_term = "https?:\/\/*amp*" | |||
</syntaxhighlight> | |||
But the method suggested by SD0001, and DreamRimmer is less resource intensive. I will go with it. Regarding Anomie's query, I kept the search term intentionally lax, the bot has more regular expressions to weed out URLs containing words like "hampshire". I'm not sure if including such long code/strings in search would be a good idea. Thanks a lot again. —usernamekiran ] 13:22, 11 January 2025 (UTC) | |||
== Group changes by page doesn’t work in mobile view == | |||
:This is typically a browser caching problem and has been known to happen several times in the past. What web browser are you using? If you've recently made any changes to your settings concerning caching, cookies, etc., do revert them. ] (]) 01:07, 10 July 2007 (UTC) | |||
The option to "Group changes by page in recent changes and watchlist" doesn’t work for me in mobile view. Am I missing something? ] (]) 12:38, 10 January 2025 (UTC) | |||
::Thanks for your answer. I'm using Firefox 2.0.0.4 and I haven't changed anything recently. --] 01:31, 10 July 2007 (UTC) | |||
== V22's recent Appearance portlet has bigger min-content in grid than tools? == | |||
== Links embedded in Euromoney article == | |||
I'm trying to troubleshoot ] for when only the appearance menu is pinned to the right sidebar (i.e. tools is unpinned). For some reason, the right sidebar is much larger in this case, despite the grid template still being minmax(0, 1fr) min-content. Any idea why? ] (]) 12:56, 10 January 2025 (UTC) | |||
Somebody look at the ref tags used in ]; are these PHP arguments sneakily meant to inform the Euromoney webmasters when someone was "referred" to their site via Misplaced Pages? (If so, they weren't competent enough to actually make the links render.) –] 00:51, 10 July 2007 (UTC) | |||
:Could be, I suppose. In any case, it's clearly someone without much computer know-how ... ] (]) 01:10, 10 July 2007 (UTC) | |||
::If I were to visit the URL (Sorry about the long line.) –] 01:16, 10 July 2007 (UTC) | |||
:::Your browser actually tells the server where you followed a link from (via the ] "Referer" header), although this can be disabled in some browsers. Hidden messages can be sent in the manner you describe, since that website's server probably keeps a record of requests sent to it (I know that ], although this one uses ], version 6), although you can actually send a message to a website without connecting to it (has to do with DNS lookup). ]<sup>]</sup> <span title="Misplaced Pages:Village pump (technical)">§</span> 04:04, 10 July 2007 (UTC) | |||
==] wrong text displayed - mystery solved== | |||
== Thumbnails (A sugestion, to check consensus) == | |||
] | |||
The word "pleased" should be "convicted". | |||
* In the wiki-text it is "convicted". | |||
* I've done a history search using Wikiblame, I can't find the word "pleased" in recent history | |||
* I've purged the page. | |||
* I've done a nearly-null edit of the section. | |||
* In other browsers the word "convicted" appears, logged in or logged out. | |||
{{collapse top|Expand to see the reason, or puzzle over the mystery a little longer}} | |||
Currently, the thumbnails of images are generated in the same format the original picture was uploaded in (save for SVG). Wouldnt it be better if there was a user-selectable preference option that would let them choose the format of the thumbnails (between JPG or PNG, much like size is selectable). That way users who (or when) want the images to download quickly (say, when on mobile or dial up) could choose JPG and when they want a better quality would choose PNG. --] <sup>]</sup> 12:01, 10 July 2007 (UTC) | |||
] was re-writing the article, claiming to be translating from Russian to English. | |||
{{collapse bottom}} | |||
All the best: ''] ]''<small> 13:38, 10 January 2025 (UTC).</small><br /> | |||
== Another weird glitch == | |||
== Variable watchlist font sizes in Android desktop view == | |||
The link "older edit" from links to (which is in a different namespace, although the h1 makes it seem like it's in multiple namespaces, an article which has lots of edits from just a few minutes ago). --] 19:45, 10 July 2007 (UTC) | |||
:Same problem here. I tried to change the session by logging off/on but in vain. -- ] - <small>]</small> 19:46, 10 July 2007 (UTC) | |||
::Some sort of ID corruption probably. --] 19:46, 10 July 2007 (UTC) | |||
:::I'm getting it too, seems to be happening every time I try to look at a diff past the most recent edit. Just started a few minutes ago.--] <sup>(] • ])</sup> 19:51, 10 July 2007 (UTC) | |||
As shown below, when I view my watchlist in Desktop mode in Chrome on my Android phone, the font sizes vary the entire length of the list. It's disruptive! Can it be fixed? | |||
For the past 10 minutes, every time I try to do something on Misplaced Pages, the text Misplaced Pages:Wikipedians is somehow included in the URL so I end up at Misplaced Pages:Wikipedians if I am using the comparison between revisions. I know I am not explaining this very well but does this ring a bell with anyone? ] <sup><small><small>]</small></small></sup> 19:50, 10 July 2007 (UTC) | |||
] | |||
:Yeah, there's a and it's hitting lots of users.-] 19:51, 10 July 2007 (UTC) | |||
:: as well. ] | ] 19:59, 10 July 2007 (UTC) | |||
:::Something similar has happened before, see . That problem was apparently due to desynchronisation between the servers. Either way, <s>Brion is currently working on the problem</s> Brion has apparently fixed the problem. --] <small>]</small> 20:02, 10 July 2007 (UTC) | |||
I know I can use mobile mode, but it has its own shortcomings (such as all the edits to one page not being grouped together) so I often prefer desktop mode. ] (]) 16:12, 10 January 2025 (UTC) | |||
Sorry guys, I broke it and then fixed it. :P --] 20:14, 10 July 2007 (UTC) | |||
:This is a Chrome/Mobile thing where it increases the font size of items which it thinks that you might be interested in. It's been raised on this page several times before, they should be in the page archives. In short: it's outside our control. --] 🌹 (]) 13:21, 11 January 2025 (UTC) |
Latest revision as of 15:23, 11 January 2025
Page for discussing Misplaced Pages technical issues
Policy | Technical | Proposals | Idea lab | WMF | Miscellaneous |
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.
view · edit Frequently asked questions (see also: Misplaced Pages:FAQ/Technical)
Click "" next to each point to see more details.
|
- Refining the administrator elections process
- Blocks for promotional activity outside of mainspace
- Voluntary RfAs after resignation
- Proposed rewrite of WP:BITE
- LLM/chatbot comments in discussions
Can we do something about the ridiculous message displayed whenever syntax highlighting is taking "too long"?
Syntax highlighting on this page was disabled because it took too long. The maximum allowed highlighting time is 20ms, and your computer took 22ms. Try closing some tabs and programs and clicking "Show preview" or "Show changes". If that doesn't work, try a different web browser, and if that doesn't work, try a faster computer.
The threshold is probably set too low to being with, and most people couldn't care less about it taking 0.03s vs 0.02s, so to tell them that a mere 2/1000 sec difference is "not allowed" is pretty ridiculous. If someone really does have a slow computer, that's hardly by choice, and to tell them to try a faster one is like Captain Obvious rubbing salt into their wound. More often than not, it's not even the fault of the computer, but rather some background crap (thanks, MS!), or the browser, or simply a very large and complex page (and possibly even the (gasp) wiki JS code). Ideally this should be a pref configurable by the user. Or, they could click a button if they don't care about things being slightly slower on the current page as long as they can still get the highlighting (the way browsers pop up slow JS abort/continue messages; in this case it wouldn't be modal, of course). But I think mostly it's about the overly low threshold, because when a large page is taking a number of seconds to load anyway, a few extra thousandths for this hardly make a difference. 61.84.123.149 (talk) 16:26, 1 January 2025 (UTC)
- This seems to come from the Gadget mw:User:Remember the dot/Syntax highlighter. This is a user gadget and is not enabled by default here (but available for users to enable). You should report the issue to the author. But also see mw:User:Remember the dot/Syntax highlighter#Timeout – Ammarpad (talk) 16:58, 1 January 2025 (UTC)
- Thanks a lot, that will probably do it for me. I was uner the impression it was a standard feature. 61.84.123.149 (talk) 17:36, 1 January 2025 (UTC)
- Well there is a standard feature as well. You might even be using multiple. See WP:HILITE. —TheDJ (talk • contribs) 09:57, 2 January 2025 (UTC)
- And the problem with the standard feature is that it doesn't have a timeout, so on very large pages it just freezes up the page until the browser eventually offers to kill it. --Ahecht (TALK
PAGE) 00:38, 5 January 2025 (UTC)- On what page does it actually freeze? CodeMirror is heavily optimized and much more performant nowadays. – SD0001 (talk) 09:00, 5 January 2025 (UTC)
- @SD0001 I've been doing a lot of work cleaning up the top of Special:LongPages, and if I don't forget to disable syntax highlighting on any of those pages before editing the page locks up until eventually the browser offers to kill any running scripts. --Ahecht (TALK
PAGE) 21:33, 6 January 2025 (UTC)
- @SD0001 I've been doing a lot of work cleaning up the top of Special:LongPages, and if I don't forget to disable syntax highlighting on any of those pages before editing the page locks up until eventually the browser offers to kill any running scripts. --Ahecht (TALK
- On what page does it actually freeze? CodeMirror is heavily optimized and much more performant nowadays. – SD0001 (talk) 09:00, 5 January 2025 (UTC)
- And the problem with the standard feature is that it doesn't have a timeout, so on very large pages it just freezes up the page until the browser eventually offers to kill it. --Ahecht (TALK
- Well there is a standard feature as well. You might even be using multiple. See WP:HILITE. —TheDJ (talk • contribs) 09:57, 2 January 2025 (UTC)
- Thanks a lot, that will probably do it for me. I was uner the impression it was a standard feature. 61.84.123.149 (talk) 17:36, 1 January 2025 (UTC)
Different assets for light and dark mode?
Is there any way to tell Misplaced Pages to display different images / media for Light vs Dark mode users? If not, could this be added in the form of a template, something like this?
{{adaptive|lightmode=]|darkmode=]}}
Due to transparency, some SVG and PNG images have bad contrast when viewed in Dark mode.
(repost from WP:TH as they said would be better here)
CrushedAsian255 (talk) 04:38, 2 January 2025 (UTC)
- It would have to be hardcoded in CSS. Dark mode is configured on CSS pages through templatestyles. In order to specify a dark and light mode image in a template like that, Phab:T320322 would have to be fixed first. Snævar (talk) 05:07, 2 January 2025 (UTC)
- Have you tried using class=skin-invert-image already ? —TheDJ (talk • contribs) 09:55, 2 January 2025 (UTC)
- {{If dark}} can be used to select what wikitext to display based on whether or not dark mode is enabled. isaacl (talk) 23:19, 2 January 2025 (UTC)
- Usage of which really should be avoided though. —TheDJ (talk • contribs) 10:33, 4 January 2025 (UTC)
- I agree that generally speaking, specific colours shouldn't be specified in wikitext, and using the CSS class to trigger colour inversion by the dark mode feature simplifies maintenance by having just one image. There are cases, such as a company logo with a variant designed for dark mode, where the ability to choose the appropriate image is desirable. isaacl (talk) 17:02, 4 January 2025 (UTC)
- {{If dark}} may address the OP's question, although actual use of it may not be the best solution to the problem. – Jonesey95 (talk) 13:44, 7 January 2025 (UTC)
- I agree that generally speaking, specific colours shouldn't be specified in wikitext, and using the CSS class to trigger colour inversion by the dark mode feature simplifies maintenance by having just one image. There are cases, such as a company logo with a variant designed for dark mode, where the ability to choose the appropriate image is desirable. isaacl (talk) 17:02, 4 January 2025 (UTC)
- Usage of which really should be avoided though. —TheDJ (talk • contribs) 10:33, 4 January 2025 (UTC)
How to use inline style and CSS design tokens to color text?
I want to use {{NumBlk2}} to number the chemical formula P4-t-Bu#math_B and keep the color of the square brackets in the numbering.
The original chemical formula looked like this:
{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>||RawN=y}}
The result after using {{NumBlk2}} for numbering:
{{NumBlk2|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|<span style{{=}}"color: var(--color-base);"></span>|RawN=y|Id=math_B2}}
(The ID must be unique, so I renumbered it to B2.)
But the recommendation is currently restricted to use inside TemplateStyles:
As described here, using design tokens directly in an article (e.g. <span style="color: var(--color-base);">some text</span>
) seems problematic. How to color text correctly in an article in light mode and dark mode in this case? Any ideas? Thanks. Justin545 (talk) 01:59, 5 January 2025 (UTC)
- So you are adding link content, that you don't want to have colored as link content ? And for that reason you want to apply custom styles ? Is this a recurring pattern ? Then you make a template and use TemplateStyles. —TheDJ (talk • contribs) 11:10, 5 January 2025 (UTC)
- Thank you for your advice. It does sound a bit strange to color the link the same color as normal text. I'm not sure if the use of square brackets in numbering occurs very often. If that's not the usual case, maybe it would be better to just use {{NumBlk}} instead of wrapper template {{NumBlk2}}:
{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|[]]|RawN=y|Attr=id{{=}}math_B3 style{{=}}"margin-left: {{#expr:1.6 * 1}}em;"}}
- If it's the usual case, maybe just make a template and use TemplateStyles as you said:
<!-- Template:Token --> <templatestyles src="Token/styles.css" />
/* Template:Token/styles.css */ .token-color-base { color: var(--color-base); } .token-color-disabled { color: var(--color-disabled); } /* ... (omitted) ... */ .token-background-color-base { background-color: var(--background-color-base); } .token-background-color-disabled { background-color: var(--background-color-disabled); } /* ... (omitted) ... */
and then use it like this{{Token}} {{NumBlk2|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>|<span class{{=}}"token-color-base"></span>|RawN=y|Id=math_B4}}
- (The source code above has not been tested and may contain errors.) —Justin545 (talk) 16:38, 5 January 2025 (UTC)
- You should not worry about such weird specifics at all. This also produces different colours (= inconsistent behaviour) in the skins that do not use the same token. stjn 16:51, 5 January 2025 (UTC)
- Thank you for reminding me about skins. Coloring text in Misplaced Pages is a lot more complicated than I thought. I haven't started to understand the skin part yet. So far I don't know if there is a correct way to handle coloring for skins and dark mode at the same time. If not, I may have to give up the idea of coloring text completely. Without coloring, I might just use {{NumBlk}} directly like B3. Justin545 (talk) 01:18, 6 January 2025 (UTC)
- Or do you mean using name of colors or hex code of colors directly in styles.css instead of using design tokens? Justin545 (talk) 04:36, 8 January 2025 (UTC)
- I mean that this is not an issue you should concern yourself with when you introduce more markup into the code and that markup is incorrect at least in one way. Misplaced Pages won’t be dead tomorrow because brackets are blue colour there. It is a complete non-issue. stjn 10:40, 8 January 2025 (UTC)
- Rather than telling me what I shouldn't worry about or what I shouldn't concern with, wouldn't it be better if you could just give me links to some relevant guidelines or help pages? I think most official documents have very clear and specific descriptions and explanations, which are relatively easy to understand. And they don't contain emotions directed at specific people.
- I raised questions and opinions about design tokens based on the MediaWiki recommendation. If you think I have misunderstood the recommendation, you can tell me directly where I misunderstood it. Justin545 (talk) 14:53, 8 January 2025 (UTC)
- I mean that this is not an issue you should concern yourself with when you introduce more markup into the code and that markup is incorrect at least in one way. Misplaced Pages won’t be dead tomorrow because brackets are blue colour there. It is a complete non-issue. stjn 10:40, 8 January 2025 (UTC)
- You should not worry about such weird specifics at all. This also produces different colours (= inconsistent behaviour) in the skins that do not use the same token. stjn 16:51, 5 January 2025 (UTC)
- If it's the usual case, maybe just make a template and use TemplateStyles as you said:
Broken icon
Tracked in PhabricatorTask T383023
Resolved
Hi, can anyone see why File:Gnome-colors-list-remove.svg is broken, nothing seems to have chaned but it's showing as a broken image in the latest admin newsletter. It should be a horizontal red minus to signify remove. Stephen 02:43, 6 January 2025 (UTC)
- It seems to be working for me, both in that link and in the news letter in your user talk page (like in
- Ferret
). - What browser are you using? Are you using the mobile website (en.m.wikipedia.org)?
- Is it affecting any of the previous newsletters? Is it affecting any of the other icons? – 2804:F1...CA:8CB5 (::/32) (talk) 02:58, 6 January 2025 (UTC)
- That's weird it works for you. I'm on Chrome using the desktop site. All previous uses of the icon in old newsletters are broken too wherever I look. Stephen 03:49, 6 January 2025 (UTC)
- I'm on Chrome desktop too... I wonder if your browser console shows any errors (Pressing f12 or
three dots button (⋮) > More tools > Developer tools > Console tab
and then refreshing the page). - There's also the network tab of developer tools, which for me shows a 20px-Gnome-colors-list-remove.svg.png line (the 10th line for me after refreshing) as successfully downloaded - if it had failed it would have been red, and apparently repeated a bunch of times one for each time it appears on your talk page.
- What it says in the Status column, if it is red, or in Status code if you click it, might be of interest.
- Also, does that direct link work? – 2804:F1...CA:8CB5 (::/32) (talk) 04:48, 6 January 2025 (UTC)
- Suspect I am in Stephen's position. The direct link says "Unauthorized This server could not verify that you are authorized to access the document you requested." No errors showing up in my console, although the console is forcing the page into mobile view for some reason. CMD (talk) 04:56, 6 January 2025 (UTC)
- Searching phabricator for that error reveals a very similar error that happened on a beta version (phab:T276179/phab:T277016)... seeing as it doesn't happen to me, it might be a codfw issue rather than a eqiad issue (which is the data center I'm assigned to) - but I'm just guessing, I've never looked at how these things actually work, it just seems to be a common cause of differences.
- I'm pretty sure someone with backend access will have to look into this to find out what the problem is though.
- Could try filing a bug report in phabricator? –2804:F1...CA:8CB5 (::/32) (talk) 05:59, 6 January 2025 (UTC)
- I have the same error and filed ticket phab:T383023. cyberdog958 07:22, 6 January 2025 (UTC)
- Suspect I am in Stephen's position. The direct link says "Unauthorized This server could not verify that you are authorized to access the document you requested." No errors showing up in my console, although the console is forcing the page into mobile view for some reason. CMD (talk) 04:56, 6 January 2025 (UTC)
- I'm on Chrome desktop too... I wonder if your browser console shows any errors (Pressing f12 or
- That's weird it works for you. I'm on Chrome using the desktop site. All previous uses of the icon in old newsletters are broken too wherever I look. Stephen 03:49, 6 January 2025 (UTC)
- I was having the same problem with File:Hypercubestar.svg (used on four articles here and over 30 on some 14 languages of Misplaced Pages) and started a discussion at https://commons.wikimedia.org/Commons:Help_desk#SVG_image_claims_its_thumbnails_are_unauthorized before finding this discussion and the phab link. It would be interesting to learn whether this issue is more widespread. —David Eppstein (talk) 07:33, 6 January 2025 (UTC)
- The bug report has been closed as fixed, please confirm. Issue appears to have been that a database container for thumbnails was mysteriously deleted, it was fixed by 'effectively re-creating the container' - an investigation on how/why it was deleted is now tracked at phab:T383053. – 2804:F1...42:FDB7 (::/32) (talk) 15:21, 6 January 2025 (UTC)
- The developer said there are 43 thousand containers, this was one of them - I'm guessing that's why it only affected some people and only some of the images.
- Cyberdog958 had already said in the phab task that it is working for him, before it was closed. Is it working for you four as well, @Stephen, @CMD, @David Eppstein and @SuperMarioA9H5?
- – (different sig for pings) user in a /32, currently at 2804:F14:80F4:1F01:144B:E33B:3E42:FDB7 (talk) 15:53, 6 January 2025 (UTC)
- Yes, seems it's fixed. Thanks, CMD (talk) 16:04, 6 January 2025 (UTC)
- Fixed for me too, thanks all. Stephen 20:24, 6 January 2025 (UTC)
Image Preview Issue
I was looking through the Misplaced Pages article for the Buick Regal when I noticed that the thumbnail image for the third generation model is no longer displaying as it should. When I click on the image, it appears as normal, but only when it is clicked on. In Misplaced Pages Commons, the exact same problem is present. It also does not allow for resolution changes as most other images normally do. I have tested this on both Windows and mobile using Apple Safari, Google Chrome, and Microsoft Edge, and the problem remains consistent. I also found that there exist other images on Misplaced Pages Commons that are experiencing a similar problem. This image used to work perfectly before, so what could have changed to cause this? Is there any way this could be remedied? SuperMarioA9H5 (talk) 05:07, 6 January 2025 (UTC)
- Might be the same issue as #Broken icon above (yet to be determined what the issue is though).
- I can see the thumbnail on Buick Regal just fine as well. – 2804:F1...CA:8CB5 (::/32) (talk) 06:06, 6 January 2025 (UTC)
- I can confirm it is the same issue, right down to the "Unauthorized" issue when selecting different sizes. Interesting that it seems to work for some yet not for others. I mainly asked as I wasn't sure if the image needed to be replaced due to an issue on Misplaced Pages's end. Hopefully whatever it is it can be patched out later. SuperMarioA9H5 (talk) 06:10, 6 January 2025 (UTC)
Common.css issue on Brave
Does anyone know why my common.css doesn't seem to work on Brave? I've just replaced Firefox with it due to its atrocious performance on YouTube with Ublock turned on. Now, I can't get my (very simple) common.css to work with it. Any ideas? Sol505000 (talk) 10:33, 6 January 2025 (UTC)
- The name of the font should be in double quotes since it contains a space. – SD0001 (talk) 13:52, 6 January 2025 (UTC)
- I changed it and it still doesn't work (also, it worked without the double quotes on Firefox just fine). The issue is that Brave seems to display the wrong font, rather than ignoring my common.css altogether. I think it displays DejaVu Serif instead of DejaVu Sans. Sol505000 (talk) 14:42, 6 January 2025 (UTC)
- I tried uninstalling DejaVu Serif and the problem persists. Why can't Brave follow a simple instruction? Sol505000 (talk) 14:45, 6 January 2025 (UTC)
- @Sol505000: The CSS spec for the
font-family:
property is rather complex. To me, it reads as if you don't need to quote font names, even if they contain spaces, unless not doing so would cause ambiguity. If Firefox tolerates the absence of the quotes but Brave doesn't, that tells me that the authors of the two browsers have read the spec in different ways. Personally I would err on the safe side and quote them (the quotes need not be double, but must be paired, as in my example stylesheet below). - On a related matter, I would not use a single font name - I would supply at least one fallback option, in case the device does not have your preferred font(s) installed; and the last of these fallback fonts should be one of the generic family keywords defined in the spec. Something like this:
.IPA { font-family: "DejaVu Sans", Arial, 'Liberation Sans', sans-serif; }
--Redrose64 🌹 (talk) 23:06, 6 January 2025 (UTC) - Right-click on an element with the IPA class, select "Inspect", enter "font-family" in the filter under "Styles", and you can see what is overriding your custom style. You can also switch to the "Computed" tab and see what fonts are used in "Rendered Fonts" at the bottom. Nardog (talk) 06:08, 7 January 2025 (UTC)
- Solved, what overrides the font are Brave Shields. Turning them off solves the problem (thankfully, WP isn't full of obnoxious ads that'd get in the way of browsing it). I'll report this to the developers. Thanks for the help everyone. Sol505000 (talk) 22:29, 7 January 2025 (UTC)
- @Sol505000: The CSS spec for the
How to change placement of custom fields on Template:User infobox
I pretty much have what I want, just not in the location I want. Even if I place the custom fields where I want them in the code, as seen here, the displayed output doesn't change, and the custom fields—age and today's date, in this case—still appear at the bottom of the infobox. I want age below birthdate and place and today's date above current time. Also, is there a way to change the border color of the entire border around the infobox? I want it to be black so it looks better. Do I just add style="border: 1px solid #000000;"
somewhere? Amaury • 23:09, 6 January 2025 (UTC)
- @Amaury: When named parameters are used, the order that these are supplied in is immaterial; the order of display is goverened purely by the code inside Template:User infobox. I don't have time right now to look at the rest, will try to get back later. --Redrose64 🌹 (talk) 09:36, 7 January 2025 (UTC)
- @Amaury: All fields, both custom and other, can only be displayed in the positions they have in the infobox to the right at Template:Infobox Misplaced Pages user#Usage. I suggest including age in the Born field with
birthdate = {{Birth date and age|1991|11|8}}
which produces: (1991-11-08) November 8, 1991 (age 33). Today's date can be included incurrent_time
but then the date and time should use the same time zone, unlike now where your time is local but date is UTC. I examined the implementation and you can tag a border color onto another parameter like| tablecolor = #CBC3E3; border: 1px solid #000000
. I don't promise it will always work if the implementation changes. PrimeHunter (talk) 12:39, 7 January 2025 (UTC)- @PrimeHunter: Okay, so the only way to change the placements of the parameters is to edit the template code itself; however, that shouldn't be done, of course, as it would affect everyone. I originally had the birthdate and age together, but I didn't like how the age in parentheses was going down to a separate line. Although I have now figured something out by increasing the width from the default 22em to 24em, which gives the age enough space to be on the same line. As for the date, my only minor nitpick with adding the date to the Current Time parameter is that time is technically not a date, so having Current Time also display a date would look weird to me. And, of course, there's no way to change the parameter name just for my own infobox. This is what I ended up doing instead. As a final question, is there a way to hide the Wikipedian with the icon thing just for my infobox or no? Thank you so much for help and advice! Amaury • 22:51, 7 January 2025 (UTC)
- @Amaury: You can change "Wikipedian" with
|role=
. The row with two dashes will still be there even if you set it to something non-displayed like
. You can hide the gender icon with|gender=none
but it has other effects. A template call can be wrapped in {{Replace}} or {{MultiReplace}} to change some of the output but it's messy and shouldn't be done in articles. If you try it then Special:ExpandTemplates can be used to find the exact current output. PrimeHunter (talk) 00:22, 8 January 2025 (UTC)
- @Amaury: You can change "Wikipedian" with
- @PrimeHunter: Okay, so the only way to change the placements of the parameters is to edit the template code itself; however, that shouldn't be done, of course, as it would affect everyone. I originally had the birthdate and age together, but I didn't like how the age in parentheses was going down to a separate line. Although I have now figured something out by increasing the width from the default 22em to 24em, which gives the age enough space to be on the same line. As for the date, my only minor nitpick with adding the date to the Current Time parameter is that time is technically not a date, so having Current Time also display a date would look weird to me. And, of course, there's no way to change the parameter name just for my own infobox. This is what I ended up doing instead. As a final question, is there a way to hide the Wikipedian with the icon thing just for my infobox or no? Thank you so much for help and advice! Amaury • 22:51, 7 January 2025 (UTC)
- @Amaury: All fields, both custom and other, can only be displayed in the positions they have in the infobox to the right at Template:Infobox Misplaced Pages user#Usage. I suggest including age in the Born field with
All templates broken beyond a certain point on a CfD page
The CfD page for January 6 (permanent link) has all templates broken beyond a certain point in the "States and territories (dis)established in YYYY" nomination, which uses Template:Lc exactly 1,353 times. Templates beyond this point are replaced by links to the underlying templates. –LaundryPizza03 (dc̄) 23:37, 6 January 2025 (UTC)
- @LaundryPizza03: WP:TLIMIT strikes again. There are two clues to this: (i) the intended transclusions showing as links, as you describe; (ii) the page being in Category:Pages where post-expand include size is exceeded. The prime suspect here is Misplaced Pages:Categories for discussion/Log/2025 January 6#States and territories (dis)established in YYYY - do all of them need a
{{lc}}
, or just the first one? --Redrose64 🌹 (talk) 23:53, 6 January 2025 (UTC)- The issue was fixed by omitting around 1350
{{lc}}
for annual subcategories. They wouldn't even fit on a subpage with no other content. PrimeHunter (talk) 08:31, 7 January 2025 (UTC)
- The issue was fixed by omitting around 1350
Enwiki dump?
Dump files. Enwiki:
2025-01-07 17:19:24 enwiki (new): missing status record
Everything else is available. Is this normal? I need a dump. -- GreenC 17:26, 7 January 2025 (UTC)
- Probably https://lists.wikimedia.org/hyperkitty/list/xmldatadumps-l@lists.wikimedia.org/thread/5ABHNJRXSR53XBAMNH3TROLTMY5ZXEXF/ * Pppery * it has begun... 17:28, 7 January 2025 (UTC)
- Great, thanks. -- GreenC 17:57, 7 January 2025 (UTC)
Undo and thank buttons on Vector 2010
The undo and thank buttons in page history are coloured with Vector 2022 colours on Vector 2010. I'm not sure when this bug was introduced, but it wasn't there when I edited Misplaced Pages a month ago. Daß Wölf 19:08, 7 January 2025 (UTC)
RSS
When it comes to such feeds of pages' history, here, is it the feed itself that is not instantaneous, or the bot that delivers it? ~Lofty abyss 23:03, 7 January 2025 (UTC)
- Why do you think it is not instantaneous ? —TheDJ (talk • contribs) 23:05, 7 January 2025 (UTC)
- The timestamps differ variably, for some reason... I'm just wondering, then, if it's the feeds themselves, or the bots relaying it (as they're some free service, so presumably they don't prioritize them...) ~Lofty abyss 12:55, 8 January 2025 (UTC)
Are namespaces supposed to be case insensitive?
I discovered today that namespaces appear to be case insensitive, as opposed to following the normalization (canonicalization?) rules for page titles. For example, all of these end up at the same place:
- File:Symbol confirmed.svg
- file:Symbol confirmed.svg
- FILE:Symbol confirmed.svg
- FiLe:Symbol confirmed.svg
This isn't mentioned at mw:Manual:Namespace, so it's not clear if this is intentional, a bug, or just some silly bit of undefined behavior. Is it intentional? RoySmith (talk) 02:19, 8 January 2025 (UTC)
- Intentional I think. * Pppery * it has begun... 02:54, 8 January 2025 (UTC)
- Help:Link says: "If the target contains a namespace prefix, then the whole prefix and the first character after the colon are case-insensitive (so uSeR:jimbo Wales links to User:Jimbo Wales)." DMacks (talk) 03:22, 8 January 2025 (UTC)
- It's mentioned at mw:Manual:Page title##1 and #2. Interwiki prefixes and namespace prefixes. PrimeHunter (talk) 08:57, 8 January 2025 (UTC)
- It's been like that fot as long as I can remember, and I joined in May 2009. --Redrose64 🌹 (talk) 00:34, 9 January 2025 (UTC)
- The oldest mention I found at mw is from 2007 namespace prefixes ... are case insensitive, and the edit summary said "from docs/title.txt in installation". It also means DISPLAYTITLE allows any capitalization in the namespace. PrimeHunter (talk) 09:18, 9 January 2025 (UTC)
Out-of-line references missing in an imported excerpt
Hello, fellow Wikipedians!
I'm stuck on a problem with undefined references in the Frogs in culture article, current version Special:PermanentLink/1265294861 from 26 December 2024.
It includes the lead section of Pepe the Frog through the {{Excerpt}} template in the Frogs in culture § Pepe the Frog in 4chan culture section. The included text has 12 references in it, 10 of which are defined in-line and appear to be properly included in the destination Frogs in culture article. However, the remaining two are defined outside the Pepe the Frog's lede, which results in Cite error: The named reference ... was invoked but never defined (...).
Those two are ref named 'Branded' and named 'ADL'.
How can I fix it within the destination article (that is, without moving the references to the lede in the source article)? --CiaPan (talk) 08:06, 8 January 2025 (UTC)
- Certainly the easiest solution is to move the refs to the lead section of the Pepe article, since it doesn't apply WP:LEADCITE. Otherwise you have to recreate them as named references in the FiC article (which is not ideal since they could get orphaned) 𝕁𝕄𝔽 (talk) 11:12, 8 January 2025 (UTC)
- @JMF: Yup, I've considered moving the refs to the lede. However, it could fail in some situations.
Suppose a reference is called by its 'Name' attribute from two different sections, and each section is transcluded in a different article. That's quite exotic scenario, but still possible. Then both original sections would have to define the same reference exactly the same way for all three articles to display properly.
That's why I would rather like to solve the problem on the 'receiving' side, if possible. --CiaPan (talk) 09:11, 9 January 2025 (UTC)- In that case the only real solution is to copy the references into the article containing the {{excerpt}} as list defined references. Especially as leads are not the only type of section that gets transcluded, so LEADCITE isn't always applicable. -- LCU ActivelyDisinterested «@» °∆t° 23:40, 9 January 2025 (UTC)
- @JMF: Yup, I've considered moving the refs to the lede. However, it could fail in some situations.
- And this is one reason section transclusion can be a really bad idea. Izno (talk) 21:23, 8 January 2025 (UTC)
- @Izno: What is the solution, then? Possibly copy the whole section and add some HTML comment both at the source and a copy for editors to keep both copies in sync? But I don't know whether HTML comments are visible in Visual Editor... --CiaPan (talk) 09:11, 9 January 2025 (UTC)
- The objective should be immediate verifiability in the article of interest, while promoting WP:Summary style. Excerpt is either pulling a WP:LEAD-compliant lead, which has no references, so verifiability is hence a question in the relevant article, or is pulling one which does have references... in which case the other article needs fixing. It's just fundamentally really gross. What should instead happen is a summary of the Pepe article, and I imagine it should be a much shorter summary per WP:WEIGHT. Izno (talk) 20:07, 9 January 2025 (UTC)
- @Izno: What is the solution, then? Possibly copy the whole section and add some HTML comment both at the source and a copy for editors to keep both copies in sync? But I don't know whether HTML comments are visible in Visual Editor... --CiaPan (talk) 09:11, 9 January 2025 (UTC)
- Last time I tried to help on a closely-related matter I got shot down for it. --Redrose64 🌹 (talk) 00:35, 9 January 2025 (UTC)
- @Redrose64: Sorry to hear it. Did a requester attack you for your help being inaccurate, or some bystander considered the whole idea wrong and outraged for you helping instead of disouraging the needy one...? --CiaPan (talk) 09:11, 9 January 2025 (UTC)
- @CiaPan: Misplaced Pages:Village pump (technical)/Archive 217#List-defined refs. It's got a confusing sequence, because after I had fixed the original problem, and explained how, DuncanHill apparently decided to attack me for being an admin - but put those posts before the earlier replies. It spilled to other pages - note carefully the timestamp of this edit in relation to the timestamps in that archived VPT thread. Then ActivelyDisinterested had a go at me for reverting some edit or other, but never specified what I reverted. --Redrose64 🌹 (talk) 22:12, 10 January 2025 (UTC)
- @Redrose64: Sorry to hear it. Did a requester attack you for your help being inaccurate, or some bystander considered the whole idea wrong and outraged for you helping instead of disouraging the needy one...? --CiaPan (talk) 09:11, 9 January 2025 (UTC)
Templates that don't display on mobile
Today |
|
Sorry, I know that this is an old chestnut but I hoped that maybe it had been resolved without my noticing. The template {{Today/AD/SH/AH}} does not display on mobiles (or at least not on Android, but that has the largest market share worldwide). Is this a generic problem or something specific to that rather old and limited-use template? (If the latter, I'll go ask the template gurus.) 𝕁𝕄𝔽 (talk) 11:03, 8 January 2025 (UTC)
- @JMF This is intentional. That template is based on {{sidebar}}, which, as it notes in the documentation, does not display on mobile devices. The WMF deliberately removed a bunch of templates (like navboxes) from the mobile site. 86.23.109.101 (talk) 13:35, 8 January 2025 (UTC)
- Of course! Classic case of looking for a complicated reason (java) for a simple problem – I should have spotted that there is nowhere for a sidebar to go. So time for me to see if can be changed to an infobar. 𝕁𝕄𝔽 (talk) 16:54, 8 January 2025 (UTC)
- Indeed, it is more {{infobox}}y than it is {{sidebar}}y. Izno (talk) 21:15, 8 January 2025 (UTC)
- Current "emerging consensus" is to replace them all with {{Infobox calendar date today}}, see user talk:Gonnym#template:Infobox calendar date today. 𝕁𝕄𝔽 (talk) 23:14, 8 January 2025 (UTC)
- Indeed, it is more {{infobox}}y than it is {{sidebar}}y. Izno (talk) 21:15, 8 January 2025 (UTC)
- Of course! Classic case of looking for a complicated reason (java) for a simple problem – I should have spotted that there is nowhere for a sidebar to go. So time for me to see if can be changed to an infobar. 𝕁𝕄𝔽 (talk) 16:54, 8 January 2025 (UTC)
Chinese nationality in the infobox refuses display on certain articles
Am I the only one who noticed how on some articles, for example the Hong Kong activist Nathan Law, if you add his nationality to the infobox, it is not visible to the readers and doesn't show up in previews. However if you add any other nationality such as Bahamian it does display in the preview. At first I thought maybe this was just a quirk of visual editor, but even in source code, the same problem persists. Here is the diff in case anyone cares to examine it. Andro611 (talk) 15:29, 8 January 2025 (UTC)
- The documentation for {{Infobox officeholder}} says the following:
nationality
is not displayed if the corresponding country is mentioned inbirth_place
, for example|birth_place = Tokyo, Japan |nationality = Japanese
.- I'm guessing that's why.
Not displayed
is a link to MOS:INFONAT, which seems relevant. – 2804:F1...96:BB60 (::/32) (talk) 15:50, 8 January 2025 (UTC)- I see, thanks, that makes sense now. Andro611 (talk) 00:20, 9 January 2025 (UTC)
Multiple citation templates
Why there were created multiple citation templetes (like Cite book, Cite journa) if they differ just by a few parameters? I wonder if there could be just one template with various attributes, because in practice the user usually fills up just some of them. Juandev (talk) 16:20, 8 January 2025 (UTC)
- All those templates are wrappers for Module:Citation/CS1, but the parameters required/allowed by the different citations types varies. For example, {{cite web}} generates an error if
|volume=
is used but {{cite journal}} doesn't. This becomes even more important with the Misplaced Pages:TemplateData used by Visual Editor and various bots, where we want to vary which fields are presented to the editor. --Ahecht (TALK
PAGE) 17:32, 8 January 2025 (UTC) - Because people didn't create centralized templates at the time those were created (20 years ago). Someone eventually made {{citation}} and then someone else finally made {{citation/core}} which at least centralized how things were rendered but by that time we had the problem that there were stylistic differences between the two (which we have whittled since). We later turned that template into the aforementioned module when we got WP:Lua. If we had the right tools at the time, I suspect there would have been one template and one template only.
- I guess we could make a {{citation cs1}} which would do the same things as {{citation}} without requiring the parameter tweaks for the style issue, but the other issue a single template has trouble with is that there are some rules that are harder to enforce (or guess at) when you have only one template. Izno (talk) 21:21, 8 January 2025 (UTC)
- Yup, that sounds me like a reason, that before Lua you would need to format value inserted by the user different way for each type of a resource. Because otherwice it would be maybe better to have one big template providing samples of parameters for each resource type. Juandev (talk) 21:27, 8 January 2025 (UTC)
- This is really a matter for Help talk:Citation Style 1. --Redrose64 🌹 (talk) 00:37, 9 January 2025 (UTC)
- Moving the Cite CS1 templates into one would not be complicated. It could be done with moving "CitationClass" from being a config (template parameter) to being an argument (page parameter). The challenge is getting Citoid to work - the automatic citation filler in VisualEditor and RefToolbar - because it expects one template for news, one for web, one for books, etc. Changing the roughly 6 million pages to one template with a bot is also going to take awhile. You are going to need a conseus for all of this. Snævar (talk) 01:30, 9 January 2025 (UTC)
- It sounds like you're talking about something like changing
{{cite web|...}}
to{{cite|web|...}}
, consolidating to one template while retaining the background module code. I can't see how this would make anything better. Merging the documentation seems likely to cause more confusion than the current situation, since different modes accept different parameters and produce different formatting. I don't see how or why this would be a good idea. – Jonesey95 (talk) 05:26, 9 January 2025 (UTC)- A lot of the documenation is already maintained in a centralised way, through {{Citation Style documentation}}. Take a look at all its subpages, which contain the documentation that is identical for all CS1 templates. --rchard2scout (talk) 08:43, 9 January 2025 (UTC)
- I am familiar with the documentation and have edited it over the years, which is why I think that it will be difficult to display for a single template with multiple modes. Take a look at the switch and if statements in the code for {{Citation Style documentation/title}}, for example. Editors already complain that the documentation for these templates is too complex; imagine a single documentation page with all of the modes explained on one long, green page. – Jonesey95 (talk) 14:32, 9 January 2025 (UTC)
- Citation templates included quite a lot options. It would be nice to know the persentage of use of each option. We may see then, that some of them have rare use. Juandev (talk) 22:44, 9 January 2025 (UTC)
- Have you looked at the monthly report available in the TemplateData section of the documentation? If you have specific suggestions for changes to one of the cite templates, Help talk:Citation Style 1 is the correct forum. – Jonesey95 (talk) 23:07, 9 January 2025 (UTC)
- Some options are rarely used because they are rarely needed, but they are needed sometimes. Try citing a chapter in a book without "chapter", "chapter-url", or "chapter-url-access". Donald Albury 23:08, 9 January 2025 (UTC)
- Citation templates included quite a lot options. It would be nice to know the persentage of use of each option. We may see then, that some of them have rare use. Juandev (talk) 22:44, 9 January 2025 (UTC)
- I am familiar with the documentation and have edited it over the years, which is why I think that it will be difficult to display for a single template with multiple modes. Take a look at the switch and if statements in the code for {{Citation Style documentation/title}}, for example. Editors already complain that the documentation for these templates is too complex; imagine a single documentation page with all of the modes explained on one long, green page. – Jonesey95 (talk) 14:32, 9 January 2025 (UTC)
- A lot of the documenation is already maintained in a centralised way, through {{Citation Style documentation}}. Take a look at all its subpages, which contain the documentation that is identical for all CS1 templates. --rchard2scout (talk) 08:43, 9 January 2025 (UTC)
- Well, I am not sure if VisualEditor would be a big deal. You just recreate MediaWiki:Cite-tool-definition.json and maybe also MediaWiki:Citoid-template-type-map.json. Juandev (talk) 14:41, 9 January 2025 (UTC)
- It sounds like you're talking about something like changing
- Yup, that sounds me like a reason, that before Lua you would need to format value inserted by the user different way for each type of a resource. Because otherwice it would be maybe better to have one big template providing samples of parameters for each resource type. Juandev (talk) 21:27, 8 January 2025 (UTC)
External link screening JS script I just made!
Re recent events that I'm not going to mention because of WP:DENY/WP:BEANS, and also the very concerning {{Plain link}} template which can disguise external links as wikilinks (like this), I made a user script, at User:MolecularPilot/ExternalLinkScreen.js that presents a "are you sure this is the link you want to visit" screen when clicking through to external links, even if {{Plain link}} has been used or the link has a display name set, showing you the actual URL you are about to visit. This is common on many websites like YouTube, Twitter etc.
It's also able to prevent spoofing (IDN homograph attack) by showing the actual puny code and adding warnings for websites like https://wikipediа.org (spoiler alert: this isn't wikipedia, it's a trick using cyclic letters, you are actually taken to http://xn--wikipedi-86g.org/ which this script will tell you about).
Just wanted to post this here to let everyone know that can now install this (just add importScript('User:MolecularPilot/ExternalLinkScreen.js');
to your Special:Mypage/common.js or use Enterprisey's script installer).
Stay safe everyone, especially if you are editing in WP:ARBPIA! :) MolecularPilot 06:14, 9 January 2025 (UTC)
- Adding that if you want a "try before you buy", here's two link examples of the screen you will see (note that if you have the script installed, it you'll get 2 landing pages before reaching the link as opposed to the usual 1, if you click these):
- Click here for a regular link.
- Click on that to see what happens with an IDN homograph attack.
- MolecularPilot 06:27, 9 January 2025 (UTC)
- Interesting concept. I don't see why you need the toolforge site in the middle though, as that's just executing JS that could be run in the user script itself. – SD0001 (talk) 06:46, 9 January 2025 (UTC)
- Also, pulling in punycode.js from Cloudfare CDN is against Toolforge policy. Use https://cdnjs.toolforge.org/ instead. – SD0001 (talk) 06:53, 9 January 2025 (UTC)
- Oh, thanks for the tip, I'll fix the CDN now! (I also realised that I wrote my demo links incorrectly above, so the URL would be "null", which I've just fixed). Re: the use of a website, I think it's better psychologically because it adds a pause while the tool forge page loads and also makes you process (yes, I'm going to a different page) before automatically clicking the button. :) MolecularPilot 06:55, 9 January 2025 (UTC)
- SD0001, CDN fixed now! Thank you so much for your feedback, I really appreciate it! I might add a version that creates popups like Twinkle instead of using the landing page like most of the other websites do, because it may be better suited to our environment here. :) MolecularPilot 07:12, 9 January 2025 (UTC)
- Oh, thanks for the tip, I'll fix the CDN now! (I also realised that I wrote my demo links incorrectly above, so the URL would be "null", which I've just fixed). Re: the use of a website, I think it's better psychologically because it adds a pause while the tool forge page loads and also makes you process (yes, I'm going to a different page) before automatically clicking the button. :) MolecularPilot 06:55, 9 January 2025 (UTC)
- Also, pulling in punycode.js from Cloudfare CDN is against Toolforge policy. Use https://cdnjs.toolforge.org/ instead. – SD0001 (talk) 06:53, 9 January 2025 (UTC)
- I suggest you wrap the script in
mw.hook('wikipage.content').add()
and find links only in the jQuery node passed to the callback, or it may run before the whole page is loaded. Also all wiki-generated external links have theexternal
orextiw
class. Nardog (talk) 10:36, 9 January 2025 (UTC)
This is all a step in the right direction. I'd like to see something else as well, namely a bot that goes around flagging (or even disabling) external links that appear to be deceptive. That would protect editors who haven't installed any js. Exactly what properties would trigger it is a matter for discussion, as is how to catch enough cases without a flood of false positives. Zero 11:27, 9 January 2025 (UTC)
- That is what MediaWiki:Spam-blacklist is for. It blocks aditions of links that are listed in the list. The way I see it, javascript link warnings are for finding bad links or marking links that are not quite serious enough for Spam-blacklist. Snævar (talk) 00:13, 10 January 2025 (UTC)
- No, the blacklist is for blocking links to malicious domains that have already been identified. It does not locate new deceptive links to other domains. We have a well-funded organization that plans to add deceptive redirects in order to dox editors and those links are not going to point to the organization's own domains. They will point to new temporary domains designed to be deniable. The question is how we will find those links before unsuspecting editors click on them. Zero 02:04, 10 January 2025 (UTC)
- Actually a good point re temporary domains, I will make the page warn if they domain is newly registered (i.e. in the last 30 days). Currently, the "do you really want to visit this link" isn't just for suspicious links, it's for all links to non-WMF sites (including Toolforge as anyone can host a tool) because sometimes there is no way to figure out where a link is going until you actually click it (and sometimes a user might expect a wiki link but it's a {{Plain links}} external link), so I thought this would be helpful. For example how do you know where this goes without clicking and how about this, you might not even think it leads you off-wiki? MolecularPilot 02:11, 10 January 2025 (UTC)
- "...a well-funded organization that plans to add deceptive redirects..."? If that's the case, perhaps the good folks over at WP:EFR can help out to prevent that from happening? --rchard2scout (talk) 13:43, 10 January 2025 (UTC)
- I think that's a typo, Zero probably meant links not redirects. I don't think such links can be caught with a regex-like AbuseFilter pattern (but no links have been posted yet so you never know!) but just made this script to ensure people actually see where a link is taking them (and see appropriate warnings like about IDN homograph attacks and new domains) and confirm that it's correct before heading off-wiki, like many other sites do for safety/privacy. :) MolecularPilot 00:29, 11 January 2025 (UTC)
- No, the blacklist is for blocking links to malicious domains that have already been identified. It does not locate new deceptive links to other domains. We have a well-funded organization that plans to add deceptive redirects in order to dox editors and those links are not going to point to the organization's own domains. They will point to new temporary domains designed to be deniable. The question is how we will find those links before unsuspecting editors click on them. Zero 02:04, 10 January 2025 (UTC)
Redlink count
How to count fastly redlinks here? ru:Депутаты Верховного Совета Республики Казахстан XII созыва Kaiyr (talk) 10:40, 9 January 2025 (UTC)
- Open the browser console (see Help:CONSOLE for how to open) and use command
document.querySelectorAll('a.new')
. There are 214. – SD0001 (talk) 10:43, 9 January 2025 (UTC)- How to make list of this redlinks? Kaiyr (talk) 13:04, 9 January 2025 (UTC)
copy(.map(e => e.title).join('\n'))
. This copies a plain list of titles to the clipboard. – SD0001 (talk) 15:19, 9 January 2025 (UTC)
- How to make list of this redlinks? Kaiyr (talk) 13:04, 9 January 2025 (UTC)
"Edit" has disappeared and I only have "Edit Source"
Despite having (repeatedly) enabled the visual editor the "edit" function has disappeared from all my Misplaced Pages pages, leaving only "edit source", which is beyond my capability. Please help, but assume I am totally stupid in the way you reply - I will not be offended - thanks. Stagememories (talk) 17:28, 9 January 2025 (UTC)
- You probably changed the "Editing mode" setting here. Sjoerd de Bruin (talk) 17:56, 9 January 2025 (UTC)
- Sjoerd de Bruin, you are a star! Thanks. Stagememories (talk) 18:29, 9 January 2025 (UTC)
Pipe-related glitch
I've been having this happen for quite some time, and still don't know the root cause. Sometimes, although not all the time, a random wikilink (]) will bug out and display a "post-open>" and post-close>" in visible text before and after the link, despite no changing to the source editor or any other input. The best example of this can be found at this diff. The "post" is usually highlighted in orange, so it may be some sort of issue with a script I have installed. A user on the WM Discord told me about a week ago that I'm not the only person that has reported this issue. This could easily be taken as vandalism, so I'd say it's relatively serious. EF 17:37, 9 January 2025 (UTC)
- I'd immediately be looking at some sort of Wordpress or other spelling or blog browser extension.... Izno (talk) 20:04, 9 January 2025 (UTC)
- That’s the thing, I run Chrome (on my school-issued Chromebook) and Edge (on my home PC), neither of which have extensions installed (I have WWT, but this problem has gone on way before I installed it). EF 20:41, 9 January 2025 (UTC)
- The diff which added it is where you used VisualEditor. I only found one other occurrence in searches and it was also you, 30 October 2024 with the mw:2017 wikitext editor which is a mode within the VisualEditor extension. The diffs add nowiki which is MediaWiki code and VisualEditor is known for automatically adding nowiki in some situations so VisualEditor is probably involved but it may be a conflict with a script in User:EF5/common.js. You should load User:Epicgenius/ArticleQuality.js once and not 16 times, but that happened this week so it's not the cause. PrimeHunter (talk) 21:15, 9 January 2025 (UTC)
- I’ll mess around with my scripts a bit and see what happens. I normally catch it before publishing it by cancelling the edit (which usually fixes it), hence why it’s only shown up twice. EF 21:24, 9 January 2025 (UTC)
- The diff which added it is where you used VisualEditor. I only found one other occurrence in searches and it was also you, 30 October 2024 with the mw:2017 wikitext editor which is a mode within the VisualEditor extension. The diffs add nowiki which is MediaWiki code and VisualEditor is known for automatically adding nowiki in some situations so VisualEditor is probably involved but it may be a conflict with a script in User:EF5/common.js. You should load User:Epicgenius/ArticleQuality.js once and not 16 times, but that happened this week so it's not the cause. PrimeHunter (talk) 21:15, 9 January 2025 (UTC)
- That’s the thing, I run Chrome (on my school-issued Chromebook) and Edge (on my home PC), neither of which have extensions installed (I have WWT, but this problem has gone on way before I installed it). EF 20:41, 9 January 2025 (UTC)
- I tried loading your common.js for myself, and immediately saw a visual glitch (just in read mode, not in the editor) that's eerily similar to the problem you get after saving pages: F58156448 (screenshot taken on The Fighting Temeraire). I can't tell which script of the eleventeen you have is inserting that markup, but it must be its fault. (Also, the way in which it breaks suggest it's vulnerable to XSS attacks, by processing HTML incorrectly, which is probably not good for you…) Matma Rex talk 22:55, 9 January 2025 (UTC)
- It appears to be User:Moonythedwarf/extra-unreliable. nowiki is probably added by VisualEditor when the script messes with the page. PrimeHunter (talk) 23:52, 9 January 2025 (UTC)
- Check out that script’s talk page, it’s definitely this script. Thanks for the help, it’s been really annoying having to deal with this weird visual bug! :) EF 23:55, 9 January 2025 (UTC)
- You could wrap the script in the following, it will then only run on page view.
if (mw.config.get("wgAction") == "view") { //script here }
Snævar (talk) 03:08, 10 January 2025 (UTC)
- @PrimeHunter Thanks for finding the script. I suggested a fix: User talk:Moonythedwarf/extra-unreliable#Glitch fix. Matma Rex talk 17:21, 10 January 2025 (UTC)
- Check out that script’s talk page, it’s definitely this script. Thanks for the help, it’s been really annoying having to deal with this weird visual bug! :) EF 23:55, 9 January 2025 (UTC)
- It appears to be User:Moonythedwarf/extra-unreliable. nowiki is probably added by VisualEditor when the script messes with the page. PrimeHunter (talk) 23:52, 9 January 2025 (UTC)
Sections
I noticed that some sections are written like: == xxxxx == and some are written like ==xxxxx==. Some have gaps and some do not. Won't it be better if it was standardized? I prefer the one without gaps because it should save space. TrueMoriarty (talk) 06:47, 10 January 2025 (UTC)
- No. Please write articles instead. —TheDJ (talk • contribs) 08:08, 10 January 2025 (UTC)
- Articles about what?
- TrueMoriarty (talk) 11:57, 10 January 2025 (UTC)
- Or fix actual errors, of which there are literally tens of millions. – Jonesey95 (talk) 14:23, 10 January 2025 (UTC)
- About what????? TrueMoriarty (talk) 16:43, 10 January 2025 (UTC)
- Or fix actual errors, of which there are literally tens of millions. – Jonesey95 (talk) 14:23, 10 January 2025 (UTC)
- The community hasn't made a project-wide standard for this. In general, you can use either style in articles you write, subject to the guidelines that do exist (see MOS:SECTIONHEAD as a start). But also, in general, match the style that already exists in an article and don't change style in an existing article without reason (see MOS:STYLEVAR). New guideline/rules are added sometimes, of course. I'd suggest editing and being around longer before considering making a proposal about this (not saying you are, just as a suggestion) (it's been discussed, at least tangentially many times: arbitrary recent example).(And welcome to Misplaced Pages and happy editing.) Skynxnex (talk) 16:16, 10 January 2025 (UTC)
- I got your hint. If you don't want users newer than you to give some proposal here than you should put a password on this page and share it with users who you think is worthy and equal to you.
- TrueMoriarty (talk) 17:01, 10 January 2025 (UTC)
- I just was trying to give some background/history, in case you didn't know it. No objection to an actual proposal but I think if you want it to have a chance, you should do enough research to pretty comprehensively explain why and exactly what you'd want different. This is less a technical proposal and more a style or policy one, since English Misplaced Pages can't, as far as I know, make one of them technically impossible (since all Wikipedias share the common MediaWiki wikitext parser). Skynxnex (talk) 17:27, 10 January 2025 (UTC)
- Please assume good faith. What you proposed is a cosmetic change. Cosmetic changes are discouraged because they clutter up watchlists, and require editor time to review without making any improvement to the Encyclopedia. Donald Albury 17:27, 10 January 2025 (UTC)
- To address the original question. @TrueMoriarty: The presence or absence of the gaps makes absolutely no difference to either how the heading is displayed, or to how the MediaWiki software process the heading (such as, making section links work). Since they function identically, there is no advantage in altering either form to the other one.
- Further: if an edit is made which does nothing other than remove those gaps, it doesn't save any space at all - in fact, it increases the amount of disk space that is used, since the MediaWiki software retains all previous versions of a page, effectively forever. You can see this by opening the "History" tab at the top of any page. --Redrose64 🌹 (talk) 13:16, 11 January 2025 (UTC)
request for new category
Hello. I have created a bot for updating amp url to its canonical/non-amp version. The BRFA will soon be approved. For now, I am using inputs from file(s), which were created using this list. In short, would it be possible possible to create a hidden/maintenance category which would contain articles that have "amp" anywhere in their url? False positives are preferred over missing amp url. The bot's programming is comprehensive so false positives wouldn't matter. Kindly let me know if this is possible, or if you need further information. Regards, —usernamekiran (talk) 10:52, 10 January 2025 (UTC)
- PS: automatically populating category. —usernamekiran (talk) 11:34, 10 January 2025 (UTC)
- It's possible, but in practice it's very unlikely you'd be able to convince MediaWiki developers to write and merge a change that does this. You'd probably do better to use a Toolforge database query or process a database dump. If you go the database query route, you'll probably need to batch your query with a condition like
el_id > N AND el_id <= N+1000000
for relevantN
to avoid timeouts. You'll also probably find that looking for just "contains 'amp'" gives very many false positives on words like "camp", "campus", "champion", "sample", "example", "Hampshire", and so on. Anomie⚔ 12:51, 10 January 2025 (UTC)
- It's possible, but in practice it's very unlikely you'd be able to convince MediaWiki developers to write and merge a change that does this. You'd probably do better to use a Toolforge database query or process a database dump. If you go the database query route, you'll probably need to batch your query with a condition like
- Isn't that link just listing pages containing "https://amp." in wikitext? The bot can query for that directly using mw:API:Search instead of relying on a static list. – SD0001 (talk) 13:51, 10 January 2025 (UTC)
- Some sites use path-based amp URLs, so adding searching for something like at least "/amp/" would be needed. But between these two that'd get almost everything. Skynxnex (talk) 15:37, 10 January 2025 (UTC)
- As SD0001 said, you can use pagegenerators. For example:
from pywikibot import pagegenerators site = pywikibot.Site("en", "wikipedia") gen = pagegenerators.SearchPageGenerator('insource:"https://amp."', site=site) for page in gen: #your code
– DreamRimmer (talk) 16:49, 10 January 2025 (UTC)
- Thanks everyone. I was doubtful about the category, so I was also working on code. But I had come up with:
for page in site.allpages(namespace=0): #.. code search_term = "https?:\/\/*amp*"
But the method suggested by SD0001, and DreamRimmer is less resource intensive. I will go with it. Regarding Anomie's query, I kept the search term intentionally lax, the bot has more regular expressions to weed out URLs containing words like "hampshire". I'm not sure if including such long code/strings in search would be a good idea. Thanks a lot again. —usernamekiran (talk) 13:22, 11 January 2025 (UTC)
Group changes by page doesn’t work in mobile view
The option to "Group changes by page in recent changes and watchlist" doesn’t work for me in mobile view. Am I missing something? YBG (talk) 12:38, 10 January 2025 (UTC)
V22's recent Appearance portlet has bigger min-content in grid than tools?
I'm trying to troubleshoot m:User:Aaron Liu/v22.css for when only the appearance menu is pinned to the right sidebar (i.e. tools is unpinned). For some reason, the right sidebar is much larger in this case, despite the grid template still being minmax(0, 1fr) min-content. Any idea why? Aaron Liu (talk) 12:56, 10 January 2025 (UTC)
Sergei Skripal wrong text displayed - mystery solved
The word "pleased" should be "convicted".
- In the wiki-text it is "convicted".
- I've done a history search using Wikiblame, I can't find the word "pleased" in recent history
- I've purged the page.
- I've done a nearly-null edit of the section.
- In other browsers the word "convicted" appears, logged in or logged out.
Expand to see the reason, or puzzle over the mystery a little longer |
---|
Google Translate was re-writing the article, claiming to be translating from Russian to English. |
All the best: Rich Farmbrough 13:38, 10 January 2025 (UTC).
Variable watchlist font sizes in Android desktop view
As shown below, when I view my watchlist in Desktop mode in Chrome on my Android phone, the font sizes vary the entire length of the list. It's disruptive! Can it be fixed?
I know I can use mobile mode, but it has its own shortcomings (such as all the edits to one page not being grouped together) so I often prefer desktop mode. Largoplazo (talk) 16:12, 10 January 2025 (UTC)
- This is a Chrome/Mobile thing where it increases the font size of items which it thinks that you might be interested in. It's been raised on this page several times before, they should be in the page archives. In short: it's outside our control. --Redrose64 🌹 (talk) 13:21, 11 January 2025 (UTC)