Revision as of 18:42, 2 September 2006 view sourceGeni (talk | contribs)Autopatrolled, Administrators37,935 edits →Assistance needed at Wikiversity← Previous edit | Latest revision as of 04:11, 12 January 2025 view source Isaacl (talk | contribs)Extended confirmed users23,483 edits →Background colour for Talk and other pages: Help:User style#CSS has some info and sample changes | ||
Line 1: | Line 1: | ||
{{pp-sock|small=yes}} | |||
<div style="color:black; background-color:#f5fffa; padding:1em; margin-bottom:1.5em; border:2px solid #00a; text-align:center; clear:both; ">]<p style="font-size:120%;">''']'''<br />]:</p> | |||
<noinclude>{{Short description|Page for discussing Misplaced Pages technical issues}}<!-- | |||
<p> ''']'''</p> | |||
--><!-- | |||
</div> | |||
-->{{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. | |||
<noinclude>{{Villagepumppages|1=Technical|2=The '''technical''' section of the village pump is used to discuss technical issues. Bugs and feature requests should be made at ] since there is no guarantee developers will read this page.__NEWSECTIONLINK__ | |||
--> | |||
Newcomers to the technical village pump are encouraged to read ] prior to posting here. Questions about ] in general should be posted at the ]. | |||
] | |||
] | |||
<div id="villagepumpfaq"> | |||
] | |||
'''Frequently Asked Questions:''' (also see ]) | |||
] | |||
* Intermittent database lags can make new articles take some minutes to appear, and cause the watchlist, contributions, and page history/old views sometimes not show the very latest changes. This is an ongoing issue we are working on. | |||
<!-- | |||
* The search index is often out of date, sometimes taking weeks before it's updated. Because of that, recent changes are not immediately reflected on the search. | |||
--> | |||
* If all the links in the articles suddenly become underlined (or the opposite), or red links instead end with a red question mark (or the opposite), or paragraphs are fully justified instead of left justified (or the opposite), it's probably because your browser failed to load one of the stylesheets (or the server sent you a wrong one). Do a forced reload or ]. | |||
{{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 ]). | |||
* If you have problems making your fancy signature work, check ]. | |||
<!-- All of the text for this top section is found at template:Villagepumppages --> | |||
* If you changed to another skin and cannot change back, use . | |||
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. | |||
* It has been reported that the Google Toolbar extension for the Firefox browser is the source of some strange problems (including blanking part of a page when editing it). If you have that extension, try turning it off or upgrading to a newer version. See ] for more information. | |||
|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> | |||
* If an image thumbnail is not showing, try ] its image description page (if the image is from Wikimedia Commons, you might have to purge there too). If it doesn't work, try again. | |||
|3=WP:VPT|4=WP:VP/T|5=WP:TECHPUMP|6=WP:PUMPTECH | |||
* Some adblockers, proxies, or firewalls block ]s containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear. Also, it's surprisingly common for people to accidentally block the image server (upload.wikimedia.org) on ]. | |||
}}__NEWSECTIONLINK__ | |||
* If the section edit links are being pushed down by floated images, check ]. | |||
{{centralized discussion|compact=yes}} | |||
* If you are asked to download a file (<code>index.php</code>) when trying to edit, or your browser launches an image editor when trying to edit, disable "Use external editor" on your preferences. | |||
</div>|3=]<br>]}} | |||
__TOC__ | __TOC__ | ||
<div style="clear:both;" id="below_toc"></div></noinclude><!-- | |||
{| class="messagebox" style="background: AntiqueWhite;" | |||
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. | |||
|- | |||
|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. | |||
<br clear="all" /> | |||
<!-- 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. --> | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
]</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. | |||
--> | --> | ||
== Can we do something about the ridiculous message displayed whenever syntax highlighting is taking "too long"? == | |||
{{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> | |||
== Trouble Staying Logged In == | |||
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) | |||
I'm having an awful time trying to figure out why I can't stay logged in. I thought it had a connection with some software on my computer, and it seemed to be OK yesterday, but now today, I can't stay logged in beyond navigating to another page. | |||
::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? == | |||
Anyone have any idea | |||
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? | |||
I have made sure to enable cookies | |||
<pre>{{adaptive|lightmode=]|darkmode=]}}</pre> | |||
Due to transparency, some SVG and PNG images have bad contrast when viewed in Dark mode. | |||
I have the same problem on both my wife's computer and mine | |||
(repost from ] as they said would be better here) | |||
I have the same problem with Mozilla Firefox and IE | |||
] (]) 04:38, 2 January 2025 (UTC) | |||
I DON'T have the problem at work | |||
: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) | |||
I have updated Java and Macromedia Flash | |||
: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? == | |||
I thought that there was a conflict with Kodak Easyshare software, because disbling it seemed to work yesterday, but it doesn't help today. <small>—The preceding ] comment was added by ] (] • ]) 12:24, August 13, 2006 (UTC).</small> | |||
I want to use {{tl|NumBlk2}} to number the chemical formula ] and keep the color of the square brackets in the numbering. | |||
==What happend to watermark image id="EnWpMpBook2"?== | |||
It dissappeared this weekend systemwide in all wikis. It's used on ], but at ] it was on the frontpage. Does someone know the reason? Would appreciate. - ] · ] · ] · ] 14:46, 14 August 2006 (UTC) | |||
'''The original chemical formula looked like this:''' | |||
== math symbols & pictures problem == | |||
<syntaxhighlight lang="wikitext" inline>{{NumBlk|:|<math chem>\underbrace\ce{PCl5}_{(1)}\ \ce{->}\ \underbrace{t\text{-}\ce{Bu-N=PCl3}}_{(5)}</math>||RawN=y}} | |||
Pix may be blocked - will recheck. Recent problem. I have RH9, Mozilla. | |||
</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:''' | |||
Math symbols in text, sometimes in LaTex etc often are distorted into what looks like random hashmarks or bird scratch. Many formulae can't be read because symbols in Greek, or special math symbols (like Intercept symbol, logical Not-, etc) are dropped. - I can read generic PDFs with same symbols etc. | |||
<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> | |||
== can't find article == | |||
{{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}}.)'' | |||
Hi, | |||
I uploaded an article this morning, and can't find it when I browse Google or Misplaced Pages search. Is there something I need to do so that the page shows up? --{{unsigned|Annakup}} | |||
:It will update eventually, just wait :-). Your article (]) will most likely be deleted as an advertisement however. —<span style="font: small-caps 14px times; color: red;">] (])</span> 03:09, 17 August 2006 (UTC) | |||
::It's been deleted (not by me) —<span style="font: small-caps 14px times; color: red;">] (])</span> 03:28, 17 August 2006 (UTC) | |||
:::It looks like it was deleted due to copyright violations. --] 18:59, 24 August 2006 (UTC) | |||
'''But the recommendation is currently restricted to use inside TemplateStyles:''' | |||
==Save Page - NOT== | |||
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) | |||
The '''Save Page''' button is working 1/2 the time or it does NOT work at all. '''Martial Law''' 19:18, 18 August 2006 (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. —] (] • ]) 11:10, 5 January 2025 (UTC) | |||
:You mean you press "save page" and then the saved page doesn't load sometimes, right? Same thing is happening to me. —<span style="font: small-caps 14px times; color: red;">] (])</span> 19:22, 18 August 2006 (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); } | |||
===You press SAVE, nothing happens....=== | |||
.token-color-disabled { color: var(--color-disabled); } | |||
/* ... (omitted) ... */ | |||
.token-background-color-base { background-color: var(--background-color-base); } | |||
You press the '''SAVE''' button, either nothing happens, or you get into a edit conflict - w/ '''YOURSELF''', "Operation has Timed Out" signals. Or it freezes. ] 18:33, 24 August 2006 (UTC) | |||
.token-background-color-disabled { background-color: var(--background-color-disabled); } | |||
/* ... (omitted) ... */ | |||
</syntaxhighlight> and then use it like this <syntaxhighlight lang="wikitext"> | |||
{{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) | |||
:::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) | |||
::::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) | |||
::::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) | |||
:::::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) | |||
::::::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 . If you think I have misunderstood the recommendation, you can tell me directly where I misunderstood it. ] (]) 14:53, 8 January 2025 (UTC) | |||
== |
== Broken icon == | ||
{{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>). | |||
I am sure this question has been asked before but I can't find an answer anywhere. I am working on a series of articles for buildings in a suburb. Each building has its own article. I want to show a map of the suburb (which I have) with each building marked. When a reader clicks on the individual building on the map, it will take them to the Misplaced Pages article for that building. I haven't seen this done anywhere before on Misplaced Pages - any ideas? ] 05:50, 21 August 2006 (UTC) | |||
: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? – ] (]) (]) 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) | |||
:You could try it with {{tl|Click}} and use a borderless table to assemble it, but it won't work in all browsers (and images should really just link to the image description page). Alternately you could try {{tl|Image_label}} to insert text links. --] (]) 07:16, 21 August 2006 (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, @], @], @] 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 === | |||
:Ugh. Do we really want an article on every building in a city? ]|] 16:14, 21 August 2006 (UTC) | |||
] | |||
:Well, this isn't a technical answer, but a stylistic one. You may wish to create the article on the suburb, and then include brief summaries in that article of the buildings that are the most notable. An individual article needs to meet wikipedia's notability guidlines: ]. It's unlikely that, say, the building on the corner that used to have a laundromat but now has a falafel joint in it is really a notable building requiring an article, though it may be worth mentioning in a section of the city/suburb's article dealing with economic change in the area. ] 16:28, 21 August 2006 (UTC) | |||
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) | |||
:Might be the same issue as ] above (yet to be determined what the issue is though). | |||
:This is for a small number of very notable, historic buildings in the area. Aside from ], I don't think I'd have the time or inclination to do every building! I guess this questions distills down to: is it possible to show a map and depending on where the user clicks, link through to individual articles? There doesn't appear to be a clean solution at this stage. ] 21:36, 22 August 2006 (UTC) | |||
:I can see the thumbnail on ] just fine as well. – ] (]) (]) 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. ] (]) 06:10, 6 January 2025 (UTC) | |||
== Common.css issue on Brave == | |||
::] <-- an example of {{tl|Image_label}} --] (]) 07:16, 23 August 2006 (UTC) | |||
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) | |||
::] <-- another example base on "Click-Inline" --] 07:49, 28 August 2006 (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 ] == | |||
:::Those are pretty neat examples. It's worth noting that click-inline works on Camino, Firefox OS X and Safari while Image Label didn't work on any of the three. —] <span style="font-size:x-small">(</span>]<span style="font-size:x-small">)</span> 11:25, 28 August 2006 (UTC) | |||
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) | |||
== User-links alignment broken == | |||
:{{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) | |||
::{{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) | |||
::: {{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 == | |||
Sorry if this has already been discussed elsewhere, but I've been having a weird new display bug since this morning: In IE with monobook skin, the top link bar (the one that contains user page - "my talk" - "my preferences" etc.) is displayed normally as right-aligned, but shifts to left-aligned the moment I hover the mouse over it. (Irritating, if you come to think of it.) It's on all Wikimedia sites apparently. Has some central style sheet been changed recently? ] ] 11:24, 22 August 2006 (UTC) | |||
:Seems to have been fixed now. Thanks to whoever fixed it! ] ] 11:52, 22 August 2006 (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) | |||
:This is a bug in Internet Explorer, and is intermittent. Contact Microsoft for support. --] 11:47, 30 August 2006 (UTC) | |||
:{{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? == | ||
. Enwiki: | |||
] | |||
* <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 == | |||
My interpretation of the sequence of events here is: | |||
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) | |||
* someone from that IP vandalized a page and left | |||
* someone dropped a warning on the IP talk page (but it is not picked up) | |||
* much later someone starts reading WP from that IP and gets the message. | |||
* unnecessary grief follows. | |||
== RSS == | |||
Is my interpretation of the technical details of the ''new message'' process correct? That is, an IP address receives a ''new message'' flag even if they are only ''reading'' WP from that address, and no matter how old that message is? That's unfortunate, isn't it? ] 19:02, 22 August 2006 (UTC) | |||
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) | |||
:AFAIK, your interpretation is correct. --] 19:41, 22 August 2006 (UTC) | |||
:Why do you think it is not instantaneous ? —] (] • ]) 23:05, 7 January 2025 (UTC) | |||
::] could be made more noticeable, such as the design I did . ] 20:52, 22 August 2006 (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...) ~] ] 12:55, 8 January 2025 (UTC) | |||
== Are namespaces supposed to be case insensitive? == | |||
:::Creating an account is useless advice here, mind you. This has to do with people who aren't editing at all. ] 03:38, 23 August 2006 (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: | |||
:They get the notification only if a session has been opened, which happens if they have attempted to edit a page or log in. Otherwise it's disabled for cache-friendliness. --] 11:45, 30 August 2006 (UTC) | |||
* ] | |||
== Weird error while trying to access some pages. == | |||
* ] | |||
* ] | |||
* ] | |||
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) | |||
For some days I've been getting a weird error while trying to access some pages on Misplaced Pages. It's mostly for the Main Page but I've noticed some other pages have this problem as well. I have uploaded a screenshot of the error here: | |||
: 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 == | |||
http://img.photobucket.com/albums/v229/_sleepflower/wikierror.jpg | |||
Hello, fellow Wikipedians! | |||
(It's in Dutch but I trust everyone is familiar with it; it basically asks me if I want to save a file called "Main_Page" that is of unknown format.) I tried to access the Main Page here but all I got was this weird error. This has happened on and off for the last few days, sometimes disappearing and then reappearing again. It seems to be only a problem in IE, as I am using Firefox right now (I couldn't access the technical help page in IE, got the error again) and it works just fine. I use Windows XP with IE 6. Anyone know what this is? ] 10:44, 23 August 2006 (UTC) | |||
I'm stuck on a problem with undefined references in the ] article, current version ] from 26 December 2024. | |||
In ], under the 'Editing' section, make sure "Use external editor by default" and "Use external diff by default" are '''off'''. ] <sup>]</sup> 13:41, 23 August 2006 (UTC) | |||
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 (...)'''}}}}. | |||
:Um, I'm not a member of Misplaced Pages so I can't change any preferences. ] 15:54, 23 August 2006 (UTC) | |||
Those two are ref named 'Branded' and named 'ADL'. | |||
::Hmmm, I figured you just were a non-logged in user. When you use I.E., are you sure you aren't logged into an account (possibly without knowing it, if "Remember me" is set)? I can't think of any other way for this to happen, unless Internet Explorer is misconfigured somehow. Try resetting it's defaults as well. ] <sup>]</sup> 16:00, 23 August 2006 (UTC) | |||
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) | |||
I am having the same problem too, got IE 6...I tried restoring to defaults and it is still not working, I can't access the main page or some articles...is something wrong with my comp...or wikipedia? | |||
: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) | |||
My guess is something with wikipedia and IE. Firefox seems to work just fine. I also did not have an account when trying this. Have logged into multiple machines with multiple versions of IE 6 running and all exhibit this behaviour. | |||
::{{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 == | |||
The main page is working for me now...but still some of the articles are still not working for me...I don't have a account either. | |||
{{Today/AD/SH/AH}} | |||
I've found that it can work at times, then try the same page again and the Main_Page download prompt occurs again... | |||
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) | |||
The main page isn't working for me once again as aren't some articles...what is odd...the articles not working for me...keeps on changing. This is very werid. | |||
::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 == | |||
:This will have been the Squid 2.6 ETag issue, and fixed as of a few days ago. --] 11:44, 30 August 2006 (UTC) | |||
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) | |||
== Sunscreen affects visibility? == | |||
:The documentation for {{tl|Infobox officeholder}} says the following: | |||
After ] vandalism on ], I added to the ]: | |||
:<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>. | |||
<nowiki>{{subst:test3-n|Sunscreen}} ~~~~</nowiki> | |||
:I'm guessing that's why. {{tq|Not displayed}} is a link to ], which seems relevant. – ] (]) (]) 15:50, 8 January 2025 (UTC) | |||
The preview looked okay, except '''Sunscreen''' was ]. Assuming I fat fingered it, did the copy and paste again. It was still red linked and there was no obvious problem with spelling—and it didn't seem to be a day when a word like '''the''' defied correct spelling. | |||
::I see, thanks, that makes sense now. ] (]) 00:20, 9 January 2025 (UTC) | |||
== Multiple citation templates == | |||
A while later the red vexed me, calling for more investigation. Clicking the redlink edits a new article named ''Sunscreen %E2 %80 %8E'' (spaces added for clarity). Those codes all seem displayable, though checking UTF-8 references, I got more confused: they could be ''gamma, cedilla, A umlaut''. Or they could be ''circumflex a, control, single shift 2''. | |||
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) | |||
#What are those characters? | |||
#Which interpretation of the codes is the right one? | |||
#How did they get there? (I think my methods are vanilla.) | |||
—] 18:33, 23 August 2006 (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) | |||
: E2 80 8E is a single unicode codepoint in UTF-8: the "LEFT-TO-RIGHT MARK". How it got in there, I don't know. If you edit the talk page, you can actually delete the non-printing character and fix it. —] (]) 18:41, 23 August 2006 (UTC) | |||
: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. | |||
: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) | |||
::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) | |||
:::This is really a matter for ]. --] 🌹 (]) 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 ] 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) | |||
::::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) | |||
:::::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) | |||
::::::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) | |||
:::::::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) | |||
::::::::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) | |||
::::::::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) | |||
::::Well, I am not sure if VisualEditor would be a big deal. You just recreate ] and maybe also ]. ] (]) 14:41, 9 January 2025 (UTC) | |||
== External link screening JS script I just made! == | |||
::Unicode character directionality indicators are displayed in watchlist pages and I'm not sure how many other contexts (MediaWiki now supports ] interfaces). If you copy the text I think you may or may not pick up the directionality indicator (which is invisible, so it's a little hard to tell if you've picked it up or not). Unexpected redlinks likely have this character at the end. I can make these go away (in Safari) by cursoring to the end of the link, making sure to be on the first closing "]" and backspacing from there. This may be worth writing a ] about. -- ] <small>(])</small> 19:02, 23 August 2006 (UTC) | |||
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. | |||
:::See the above section ]. Copy/pasting text in a wiki is often a game of chance. This may be yet another worthy of the FAQ (I've seen 3 or 4 in the last month or so). --] (]) 07:08, 24 August 2006 (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). | |||
== no user id listed at the end of my posts == | |||
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). | |||
Why is it that whenever I post something to Misplaced Pages it dosen't show my user id at the end like it does for other people. I don't know if this is called the signature or not on this system or if I haven't set it up correctly or what the deal is. Any assistance anyone out there can provide me with would be most appreciated. | |||
Stay safe everyone, especially if you are editing in ]! :) ] <sup>]]</sup> 06:14, 9 January 2025 (UTC) | |||
''e-mail removed to prevent spam'' | |||
: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): | |||
<small>—The preceding ] comment was added by ] (] • ]) 2006-08-23 19:39:07 (UTC).</small> | |||
:*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) | |||
:I'm not going to email you. You have to sign your posts with either 3 or 4 tildes (<nowiki>~~~</nowiki> or <nowiki>~~~~</nowiki>). The latter is preferred since it also adds a timstamp. — ] | ] 19:43, 23 August 2006 (UTC) | |||
: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) | |||
::Perhaps you're thinking posts should be signed automagically? That would be great for talk pages, but seriously annoying clutter for articles. —] 20:39, 23 August 2006 (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. ]<sup><small>]</small></sup> 02:04, 10 January 2025 (UTC) | |||
:::Yeah, the problem is (whihc might be a good thing) is that WIkipedia handles edits of talk pages in exactly the same way as articles. This is why your messages aren't signed automatically. ] ] 22:57, 23 August 2006 (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 {{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) | |||
:::: ] will fix this, IIRC. ]]<sup>(])</sup> 07:25, 24 August 2006 (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 == | ||
How to count fastly redlinks here? ] ] (]) 10:40, 9 January 2025 (UTC) | |||
In the '']'' page, I just tried to add three refs pointing to already existing refs - but only one of them works (#22). The other two (#18 and #19) don't show up at all, instead becoming empty refs down at #23 and #24. THis puzzles me and I am wondering where I messed up. ] 03:40, 24 August 2006 (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) | |||
:The original reference (to both) has a missing "=" (the syntax is <code><nowiki><ref name=xxx></nowiki></code>). The subsequent reference looks fine in both cases. -- ] <small>(])</small> 04:11, 24 August 2006 (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" == | |||
== Severe browser compatibility issue introduced... Cannot report with Bugzilla! == | |||
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) | |||
Since the Bugzilla page requires registration that includes an e-mail address, I am unable to use | |||
it to submit this bug report: The Links 2.1pre4 web browser can no | |||
longer view English Misplaced Pages content as of August 23, 2006 (and possibly up to a month before that). Any attempt to | |||
load a Misplaced Pages page results in much garbage being displayed, instead of readable text. A lot of | |||
the garbage shown in the display consists mostly of asterisks (*) and periods (.) | |||
with a few alphanumeric characters and punctuation marks. | |||
:You probably changed the "Editing mode" setting ]. ] ] 17:56, 9 January 2025 (UTC) | |||
Spanish, German, and Netherlands Misplaced Pages are still readable, and all languages are | |||
::Sjoerd de Bruin, you are a star! Thanks. ] (]) 18:29, 9 January 2025 (UTC) | |||
readable in Mozilla and Lynx. | |||
== Pipe-related glitch == | |||
] 08:28, 24 August 2006 (UTC) | |||
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) | |||
:This was most likely a temporary problem with the Squid 2.6 upgrade, due to a change in treatment of ETags. If so, this should have been resolved a couple days ago. --] 11:39, 30 August 2006 (UTC) | |||
:I'd immediately be looking at some sort of Wordpress or other spelling or blog browser extension.... ] (]) 20:04, 9 January 2025 (UTC) | |||
== Downloading sounds == | |||
::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 == | |||
Hi, | |||
I think the whole idea of Misplaced Pages is amazing and it has been the main source of my education for a while now. | |||
However,There's just one small complaint, I can never download your sound examples! What file type are they? Is there software I can download for this? Am I doing something wrong? Are they not Wav. files? And if not, why not? | |||
Please let me know as I am a composer/sound engineer who would benefit greatly from your examples of sine waves and ring modulation etc. | |||
I noticed that some sections are written like: == xxxxx == | |||
Will be looking forward to a reply | |||
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. | |||
] (]) 06:47, 10 January 2025 (UTC) | |||
:No. Please write articles instead. —] (] • ]) 08:08, 10 January 2025 (UTC) | |||
Sonny Collins | |||
::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 == | |||
:See ] —<span style="font: small-caps 14px times; color: red;">] (])</span> 15:07, 24 August 2006 (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") | |||
== Disappearing PNG images while using Firefox/Windows == | |||
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: | |||
Is anyone else noticing PNG images disappearing and reappearing in Misplaced Pages while using Mozilla Firefox for Windows? Is this a browser issue or a Misplaced Pages issue? (Sorry if this has been brought up before) ] <sup>] • ]</sup> 15:54, 24 August 2006 (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 == | |||
More info: The PNG image in question has a transparent background and is being used on the ] page as well as project templates. ] <sup>] • ]</sup> 20:24, 24 August 2006 (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) | |||
== template cite news == | |||
:Or perhaps this is a bug? ] (]) 02:50, 12 January 2025 (UTC) | |||
This is an edit request for protected ]. See ]. I would like to have the new ] completed there. See also ]. --] 16:16, 24 August 2006 (UTC) | |||
== V22's recent Appearance portlet has bigger min-content in grid than tools? == | |||
:Done by CesarB. Thanks! --] 22:30, 24 August 2006 (UTC) | |||
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) | |||
== Nuvola-inspired File Icons and Edit Bar for MediaWiki == | |||
==] wrong text displayed - mystery solved== | |||
I have created new File Type icons and Edit Bar icons for MediaWiki. Take a look at ] and ] | |||
] | |||
---- | |||
The word "pleased" should be "convicted". | |||
*These are a lot better, in my opinion, then those that ship with MediaWiki. | |||
* In the wiki-text it is "convicted". | |||
*They are of a unified theme, unlike the current MediaWiki icons. | |||
* I've done a history search using Wikiblame, I can't find the word "pleased" in recent history | |||
*Some contain copyrighted icons, like Word and Excel icons. I believe they can be used to illustrate files created by those programs. If that is incorrect, I have also included alternate icons without those restrictions. | |||
* I've purged the page. | |||
*I have also included some generic icons for file extensions I have not thought of, should they be of help, just copy them out of the generic folder and into the icons directory and rename them "fileicon-extension.png". | |||
* I've done a nearly-null edit of the section. | |||
*These icon set is intended for use in the largest possible situations. For instance, if have included .doc images because many companies need them on their wikis, even though they are banned on Misplaced Pages. | |||
* In other browsers the word "convicted" appears, logged in or logged out. | |||
*I would be thrilled if they were chosen to be included in future version of the MediaWiki software, and I give the MediaWiki Foundation full rights (where I have the rights to give) to do so. | |||
*I don't have SVG versions, because I don't know how to use SVG software. Should someone have the skills and the ], they are welcome to create more. | |||
*'''To install''' on your own wiki, download the zip file from my website , and extract the icons in your /skins/common/images/icons directory, overwritting the old ones. | |||
*'''To view them all on your wiki''', you must make a little change in "/includes/ImagePage.php" Open it up in your text editior and hit Ctrl+F. Type in there "$this->img->isSafeFile()" Hit Find. Replace this string with the text "1==1" Don't forget you need to make these changes again, if you upgrade MediaWiki. | |||
**One little note about this. Icons were disable for "not safe files", but I don't know why. Displaying a file icon seems to be perfectly safe. Can a developer tell me why icons are hidden for non-safe files? Thanks. | |||
*If anyone has changes or ideas, just drop me a line, ] | |||
---- | |||
What do you think? --] 18:19, 24 August 2006 (UTC) | |||
{{collapse top|Expand to see the reason, or puzzle over the mystery a little longer}} | |||
:I quite like them. To be used on MediaWiki I'm sure that they have to all be fully open-source etc., but I don't really know about the whole system. —]<font color="green">]</font>] ] 21:51, 24 August 2006 (UTC) | |||
] was re-writing the article, claiming to be translating from Russian to English. | |||
::I looked at all the ] for a short amount of time and wrote down what came to my mind when I saw them. Here's what I got: Bold (correct), Web link (correct), Heading (correct, but it looks a bit like "hi"), Picture (correct, but it's not very obvious), Italic (correct), Article link (correct), Calculator (wrong, I wasn't sure on that), Sound (correct), Strike out (wrong, it's actually "nowiki"), Signature (correct). I like the icons, and they would be even better if a couple of them were made a bit more obvious. ] 22:11, 25 August 2006 (UTC) | |||
{{collapse bottom}} | |||
:::I made some alternate ] in response to ]. The H1 could be just H, or we could change the codes to get H2, H3, etc. What do you think. The trademakred ] (Word, Excel) could be removed, if they are not allowed. There are alerrnates already included. --] 17:22, 26 August 2006 (UTC) | |||
All the best: ''] ]''<small> 13:38, 10 January 2025 (UTC).</small><br /> | |||
== Number of edits == | |||
== Variable watchlist font sizes in Android desktop view == | |||
On RfA there is usually mention of the number of edits often by type. How do I find out my stats, please? ] 22:08, 24 August 2006 (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? | |||
:See the links at ]. --] 22:43, 24 August 2006 (UTC) | |||
] | |||
:: Or rather see the links at ]. I suggest using either or ]'s on enwiki. --] 06:38, 25 August 2006 (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) | |||
== Add to search == | |||
: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) | |||
== Rollback does not count as an "edit" == | |||
How long does it take for a new article to make it into the search feature. I search for the title of my article and it does not show up {{unsigned|Involved|01:08, 25 August 2006}} | |||
When an account conducts a ], the edit does not count towards their edit count according to Misplaced Pages, such as at their contributions page. At least, that is what I have observed. Because of this, there is a discrepancy between their edit count according to Misplaced Pages itself and their edit count according to . Is this an intentional feature or a bug? By the way, I am not asking this because I am ], I am just curious as to why this is. ] (]) 21:09, 11 January 2025 (UTC) | |||
:I don't think there should be any delay. To what article do you refer? I don't see any new page-creations in your list. ~ ] 06:17, 25 August 2006 (UTC) | |||
: This is a known bug that will be fixed with on the next ]. ]. ] ] 22:07, 11 January 2025 (UTC) | |||
:There is a delay of several days, perhaps longer. ]≈<small>]</small> 12:42, 25 August 2006 (UTC) | |||
:{{ec}} Well, let's test it. As I type this, ], just refreshed, says "A user with 273,195 edits". I now make {{diff|Misplaced Pages:Sandbox|prev|1268856733|this edit}}, and I have 273,196 edits. I apply ] to that edit, and I again have 273,196 edits. So there appears to be truth in what you say. I'm wondering if there is some form of lag involved, and my edits might tick up later in the day. --] 🌹 (]) 22:13, 11 January 2025 (UTC) | |||
:See the second FAQ at the top of this page. --] 22:26, 25 August 2006 (UTC) | |||
== Background colour for Talk and other pages == | |||
== Multi-line redirects: confirmation required from developers == | |||
How can I change the background colour of Talk pages without changing Skin. I'm using MonoBook, and the talk page background is blue, but I'd like to change it to white. I presume that I can edit my monobook.css or common.css (I have done previously for other similar things, eg Watchlist, so I'm familiar with the general process). | |||
* Context - Until recently, redirect pages were storing only the very first line and deleting everything else. Recently, redirect pages have been storing more than the first line. | |||
* Question - Is this a permanent feature than can be documented, and officially used by editors? | |||
* Complement - Some have started using this feature for adding information to redirect pages without having to pile everything on the first line (category tags, redirect templates, meta-information in HTML comments, etc.). A new change in MediaWiki, going back to the old single-line behavior, would erase all pages using the useful but currently undocumented feature. We thus need to know if it's officially implemented, or if it's a glitch that we shouldn't use. | |||
Do we have a list of {{em|all}} the tweaks that can be to CSS, rather than having to ask about individual ones? ] (]) 00:47, 12 January 2025 (UTC) | |||
-- ] 10:00, 25 August 2006 (UTC) | |||
*If that is what you really want to change, you can try adding this to your ] : | |||
<syntaxhighlight lang=css> | |||
Er, is there no developer on this board? Should it be posted somewhere else? Zero answer seems weird for such a straightforward yes/no question. ] 13:29, 30 August 2006 (UTC) | |||
body.ns-1 { | |||
background-color: white; | |||
:I was also waiting for an answer on this one because of the discussion at ]. What I could find is ], comment #19, which seems to imply that this is a permanent change. (], ]). 15:00, 30 August 2006 (UTC) | |||
:: That's a great link! It provides us with an external, authoritative source about the status of both issues. I've added it to the talk page so as to keep it. Meanwhile: | |||
:: I went to ''#wikimedia-tech'' and got a partial answer from ], then a complete answer from ], the short story being: | |||
::* Categories in redirects are officially OK | |||
::* Multi-line redirects are officially OK | |||
::* BUT templates in redirects, such as the "R templates", are not OK for performance reasons, and may be broken in the future. | |||
:: The first two points are good, but the third one will be a problem for the current documentation at ] and all the ] | |||
:: The long story and IRC logs at | |||
:: ]. | |||
:: -- ] 17:24, 30 August 2006 (UTC) | |||
:::OT: Dear 62.147.38.54 (62.147.38.54, 62.147.112.177), may I ask you (two, three?) to create a login so you will have an own talk page. You seem be doing nice work here, so why make it so complicated ;-) --] 17:48, 30 August 2006 (UTC) | |||
==Diff edits== | |||
When in a diff page, the edit buttons next to a subject heading dissapears. Has anyone else been having this problem? I am using Linux KDE with Firefox 1.5.0.4. Thanks --] 10:45, 25 August 2006 (UTC) | |||
:Section edit links only appear when you are looking at the newest version. So when viewing a diff, the newest version must be on the right side. As I understand it, section editing is implemented by merging the changes for the edited section into the newest version. Merging into an older version is not supported. So this behaviour is as expected. The section structure of a page may change significantly over revisions, so the section numbering (which is used for section editing - see the url when clicking on a section edit) might be totally incompatible. --] 11:06, 25 August 2006 (UTC) | |||
:: It's certainly technically possible... It's probably not implemented because, well, how often do you need to revert only one section of someone's change? --] 11:22, 25 August 2006 (UTC) | |||
:::Woops. I was pressing diff on the waychlist, but it was a very active page and a new edit must have occured between. Thanks --] 11:45, 25 August 2006 (UTC) | |||
== Wikimedia.org server problems == | |||
In the past hour or so, http://svn.wikimedia.org (]) has been down. I've looked at some of the ], but it's hard to interpret the results on them. Anyone know of the best place to go to check on the most up-to-date mediawiki and wikimedia server status? --] 17:45, 25 August 2006 (UTC) | |||
:The best place to check the up-to-date status is the ]. --] 22:16, 25 August 2006 (UTC) | |||
:There was an odd outage which coincided with Brion being absent for the weekend. Long resolved, now. ] 05:01, 30 August 2006 (UTC) | |||
::Indeed, I found out on the tech IRC channel. It's amazing how many people were online and willing to respond to my questions there! I meant to respond here earlier to tell Cesar thanks. --] 13:59, 30 August 2006 (UTC) | |||
== Joining two accounts == | |||
By error I have registered twice ton Misplaced Pages - after some time of inactivity I couldn't log in so I have registered anew. Now I have found that I have some contribution to both accounts and also some to my IP before I have logged in for the first time. | |||
Is it possible to join the three into one account without losing any information? ] 19:56, 25 August 2006 (UTC) | |||
:No, unfortunatly accounts can not be merged together. ] <sup>]</sup> 20:42, 25 August 2006 (UTC) | |||
:You could, however, REDIRECT one User page to the other and explain what happened. ]|] 03:16, 26 August 2006 (UTC) | |||
::The redirection shall not allow to see the contents of your talk and personal page : copy them first to the account you wish to keep. --] <sup>]</sup> 18:50, 26 August 2006 (UTC) | |||
== Link == | |||
How do I link to other wikimedia wikis?--] ]] 20:40, 25 August 2006 (UTC) | |||
:Well it depends what wiki you want to link to and why you want to link. Can you be more specific please? ] <sup>]</sup> 20:41, 25 August 2006 (UTC) | |||
:: For a different language wikipedia use <nowiki>]</nowiki>, so to link to "Star Trek" on the spanish wikipedia use <nowiki>]</nowiki>. The link will appear on the sidebar. If you don't want the link to appear on the sidebar put a colon in frount as in <nowiki>]</nowiki>. For a different project try the project name i.e. <nowiki>]</nowiki>. ] 21:24, 25 August 2006 (UTC) | |||
:See ] for a general description, and ask here again if you need further help.-] 01:53, 26 August 2006 (UTC) | |||
:See also ] for a list of possible interwiki link prefixes (you can also link to non-wikimedia sites, actually). (], ]). 22:29, 26 August 2006 (UTC) | |||
== Semi Protection == | |||
On wikipedia to edit a semiprotected page a user must have a 4-day old account, but on my wiki (MediaWiki 1.6) a user only needs the account no mater how old it is. What is the cause of the difference? ] 21:24, 25 August 2006 (UTC) | |||
:I think a better place for that is at ]. —<span style="font: small-caps 14px times; color: red;">] (])</span> 03:31, 26 August 2006 (UTC) | |||
Quick answer; the autoconfirmed group isn't switched on by default; set <code>'''$wgAutoConfirmAge = 86400 * 4;'''</code> in LocalSettings.php to do this. ] 05:00, 30 August 2006 (UTC) | |||
== Fonts in SVG == | |||
Could someone tell me what fonts are supported for SVGs? Or more specifically, if I was to upload an SVG with ] (as a referenced font, not embedded) could MediaWiki render it correctly? I want to upload SVG renderings of a number of Unicode characters not in most fonts, which are currently GIF and I need to know if I can use DejaVu Sans as text or will I have to convert it to standard SVG paths (easy, but larger size than if it was text) - ]] 15:00, 26 August 2006 (UTC) | |||
:Ok I've established by myself, that it can't. But how can font support be added to MediaWiki, especially since DejaVu Sans supports such a wide range of charachters and is free (libre free). - ]] 15:22, 26 August 2006 (UTC) | |||
::File a feature request at . A server admin should see it soon enough and do something about it. If not, consider contacting one directly (via their talk page, e-mail or IRC). —] <small>(])</small> 16:30, 31 August 2006 (UTC) | |||
== Menu creation == | |||
How to create a menu on an article in wikipedia that can be expanded dynamically with a plus sign? One example is to create a detailed menu of a book, so that it will not take much space. If some one can give me a code and instructions to implement, it'll be great. Thanks in advance. ]<sup>]</sup> 15:40, 26 August 2006 (UTC) | |||
:See ]. Does it help ? --] <sup>]</sup> 18:47, 26 August 2006 (UTC) | |||
== Script? == | |||
Lately, a few times a day, when I'm accessing Misplaced Pages, my Firefox browser pops up a message about a script that can't run & gives me the choice of stopping it. Does anyone have any idea what might be going on here? (If you do, could you possibly answer here and ping me on my user talk page to let me know to come look? Thanks in advance.) - ] | ] 18:57, 26 August 2006 (UTC) | |||
:Doing what? Accessing what? Viewing what pages, performing what actions, etc? Full text of error or warning messages that appear? Name of the script? More information is needed. ] 04:59, 30 August 2006 (UTC) | |||
== Splitting a wikitable == | |||
I want to split the table at ] over three columns with the headings at the top of each. 'How to', please? ] 21:24, 26 August 2006 (UTC) | |||
:Do you mean something like this? | |||
{| class="wikitable" | |||
!Name | |||
!Period | |||
!Name | |||
!Period | |||
!Name | |||
!Period | |||
|- | |||
|] | |||
|1908–1910 | |||
|] | |||
|1910–1912 | |||
|] | |||
|1912–1919 | |||
|- | |||
|] | |||
|1919–1921 | |||
|] | |||
|1921–1925 | |||
|] | |||
|1925–1926 | |||
|- | |||
|] | |||
|1926–1929 | |||
|] | |||
|1929–1942 | |||
|] | |||
|1942–1943 | |||
|} | |||
:Regards, ] 21:45, 26 August 2006 (UTC) | |||
Many thanks for this. Just a supplementary; is it possible for a small amount of white background space (as opposed to a blank column) be inserted between each pair of columns, please? ] 22:42, 26 August 2006 (UTC) | |||
:How's this? | |||
{{col-begin}} | |||
{{col-3}} | |||
{| class="wikitable" | |||
!Name | |||
!Period | |||
|- | |||
|] | |||
|1908–1910 | |||
|- | |||
|] | |||
|1919–1921 | |||
|- | |||
|] | |||
|1926–1929 | |||
|} | |||
{{col-3}} | |||
{| class="wikitable" | |||
!Name | |||
!Period | |||
|- | |||
|] | |||
|1910–1912 | |||
|- | |||
|] | |||
|1921–1925 | |||
|- | |||
|] | |||
|1929–1942 | |||
|} | |||
{{col-3}} | |||
{| class="wikitable" | |||
!Name | |||
!Period | |||
|- | |||
|] | |||
|1912–1919 | |||
|- | |||
|] | |||
|1925–1926 | |||
|- | |||
|] | |||
|1942–1943 | |||
|} | |||
{{col-end}} | |||
:The amount of white space depends on your browser page width, so it may not be quite what you wanted.-] 00:07, 27 August 2006 (UTC) | |||
::I'll have a go with that, thanks. ] 00:19, 27 August 2006 (UTC) | |||
== Editing discographies == | |||
I just changed the name of the upcoming ] album to '']'', however, I can't figure out how to change it in the box at the bottom of all the MM pages. Can someone help me out here? The "the" is clearly lowercase, so the discography box on the MM pages should reflect that. ] 03:16, 27 August 2006 (UTC) | |||
:This box is a template, see ]. When you edit an aritlce, all the templates used in the article are listed at the very bottom of the edit page. -- ] <small>(])</small> 03:32, 27 August 2006 (UTC) | |||
:I've fixed it, but my post here to say so and explain clashed with Rick Block's explanation above.-] 03:33, 27 August 2006 (UTC) | |||
== Storm may affect Misplaced Pages servers. == | |||
Is Misplaced Pages servers in Florida prepared for this thing ? IF it hits where they currently think it'll hit, the storm may take down Misplaced Pages. Ready for a ] ? ] 05:43, 27 August 2006 (UTC) | |||
:Hi. You must be new. Let me introduce you to ]. In particular, ]. Wikimedia is located in the Tampa area, and they were more than prepared for what happened back then; this storm is not too likely to hit Tampa, but either way, yes, they have plans and know what they're doing. --] 06:03, 27 August 2006 (UTC) | |||
:In fact, they did cut power to downtown Tampa during Charley, and the WP servers ran off a generator. --] 06:11, 27 August 2006 (UTC) | |||
::I was raised as a ] USAF and US ARMY, w/ some family in classified govt. agencies. In the military, you learn to be prepared, or you end up dead due to enemy action, bad weather, disease. ] 07:01, 27 August 2006 (UTC) | |||
::''this storm is not too likely to hit Tampa'' As of 11AM EST Sunday, Tampa is right in the center of the projected track. -anon | |||
:::Latest track data show it may '''hit''' Tampa head on. Hope I'm incorrect. ] 02:16, 28 August 2006 (UTC) | |||
There are contingencies established at various levels to handle this sort of thing. ] 04:58, 30 August 2006 (UTC) | |||
== How can I remove the border around an image? == | |||
I have searched and searched and cannot find the answer. I don't want a border around my image. | |||
] 09:08, 27 August 2006 (UTC) | |||
: Don't use thumb or frame. | |||
{| style="margin-left:3em" | |||
|- | |||
| ] || <nowiki>]</nowiki> | |||
|- | |||
| ] || <nowiki>]</nowiki> | |||
|- | |||
| align=center | ] || <nowiki>]</nowiki> | |||
|} | |||
: Also see ]. --] 09:18, 27 August 2006 (UTC) | |||
I wasn't using either thumb or frame, and the smilies you posted also have a border around them. I don't want the box to show, I think it probably has something to do with the fact that it is a hyperlink, cuz it was purple and after I clicked on it, it was blue. So I guess my question should have been, "How do I make hyperlinks not be framed?"] 18:33, 27 August 2006 (UTC) | |||
: Are you using the ] "MySkin"? That skin always adds the blue/purple border around images. If that's the issue, then switching to another one (eg. MonoBook) will make the images framed as I described. --] 06:43, 28 August 2006 (UTC) | |||
== Print an article == | |||
Hi everyone, I want to print an article in Misplaced Pages. | |||
So I copy it in Microsoft word, but the wiki style will be lost! | |||
How can I transfer the info in wiki to Microsoft word if I don't want to change the style? (Like picture place and math formulas, etc)--] <sup>] | ]</sup> 14:31, 27 August 2006 (UTC) | |||
:The easiest way to print an article is to click "Printable version" in the toolbox when reading an article, and then just print that page. —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:34, 27 August 2006 (UTC) | |||
::I know this, but I want to edit the article in Microsoft word. --] <sup>] | ]</sup> 14:39, 27 August 2006 (UTC) | |||
:::Which version of Word? —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:48, 27 August 2006 (UTC) | |||
::::Microsoft Word 2003 (I have XP one too) --] <sup>] | ]</sup> 16:11, 27 August 2006 (UTC) | |||
:In the article you can click on 'edit', copy the page source to word, edit it, then copy the new version to a wiki edit window in your browser, click on 'show preview' and print that... ] 16:46, 27 August 2006 (UTC) | |||
== Not receiving confirmation e-mails == | |||
Help, Mr. Wizard! | |||
No matter how many times I click that button to send a confirmation e-mail to my address, I never receive a single one. They're not even spam-blocked; they just don't come. It's been 12 hours since my first try, and even that one hasn't arrived. I don't use a free address (e.g., hotmail, gmail, etc.), it's a standard e-mail address. I have no idea what's going on here...--] 17:23, 27 August 2006 (UTC) | |||
:If you're relating to your WP account : tick the appropriate in your preferences tag "Enable e-mail from other users". --] <sup>]</sup> 19:18, 28 August 2006 (UTC) | |||
That preference has nothing to do with email address confirmation. ] 04:57, 30 August 2006 (UTC) | |||
== Template:European mathematicians == | |||
The ] has some serious issues. Could some kind person please try to fix it? You can see what is doing to all affected categories by taking a look at ]. Thanks! - ] 19:24, 27 August 2006 (UTC) | |||
== Can I find a editor's IP? == | |||
Is there a way to determine an editor's IP? For example, I would be interested in knowing the IP that the brand-new ] used for his/her first posts. Curiously yours, ] 20:48, 27 August 2006 (UTC) | |||
: If you have a compelling reason to do so, you can ask at ]. However, such information is not given away lightly, so just wanting to know an IP of an editor won't get you anywhere, as that data is protected by our ]. ]]<sup>(])</sup> 20:54, 27 August 2006 (UTC) | |||
::It's certainly not worth suspending the Privacy policy, no. Thanks for your time, ] 02:59, 28 August 2006 (UTC) | |||
== Workarounds for browser problems displaying tables and Thumbed images. == | |||
*Undoubtedly these are known bugs, but I am interested in workarounds to achieve the resulting format in both Firefox and IE. My versions are the latest as of this date: Firefox for Windows, 1.5.0.6. -] 23:28, 27 August 2006 (UTC) | |||
] | |||
{| width="100%" | |||
|Table 1. Using Windows/Linux Firefox or Safari or Konqueror, the image will overlay this table.. OK with Internet Explorer. aaaaaaa bbbbbbbb bbbbbbbbbb ccccccccccc dddddddddddddddd eeeeeeeeeeeee ffffffffffff gggggggggggg hhhhhhhhhhh iiiiiiiiiii jjjjjjjj kkkkkk lllllllllll mmmmmmmmm nnnnnnnnnn ooooooooo pppppppp qqqqqqqqq rrrrrrrrrr sssssssssss tttttttttt uuuuuuuuuuuuu vvvvvvvvvvvvvv wwwwwwwwwww xxxxxxxxxxx yyyyyyyy zzzzzzzz | |||
|} | |||
] | |||
{| width="100%" align="left" | |||
|Table 2. Using Firefox, the image now displays normally. Using Safari, the table is placed below (following) the image. Under Internet Explorer, the text following the table will no<includeonly></includeonly>t display underneath the table.. aaaaaaa bbbbbbbb bbbbbbbbbb ccccccccccc dddddddddddddddd eeeeeeeeeeeee ffffffffffff gggggggggggg hhhhhhhhhhh iiiiiiiiiii jjjjjjjj kkkkkk lllllllllll mmmmmmmmm nnnnnnnnnn ooooooooo pppppppp qqqqqqqqq rrrrrrrrrr sssssssssss tttttttttt uuuuuuuuuuuuu vvvvvvvvvvvvvv wwwwwwwwwww xxxxxxxxxxx yyyyyyyy zzzzzzzz | |||
|} | |||
This line should be below table 2. Under Firefox and Konqueror it will display beneath Table 1. Using Safari, it appears beneath Table 1 not overlaid on the image. Under IE, it will appear to the right of the second table. | |||
<br clear=all/> <small>—The preceding ] comment was added by ] (] • ]) {{{2|}}}.</small> | |||
:I took the liberty of adding ] behaviour to this section.-] 04:47, 28 August 2006 (UTC) | |||
Perhaps what you're looking for is this? My guess is it will display consistently across all browsers. | |||
{|width="100%" | |||
|- | |||
|valign="top"| | |||
{| width="100%" | |||
|Table 3. Using Safari, the image displays normally with the table adjacent (on the left). aaaaaaa bbbbbbbb bbbbbbbbbb ccccccccccc dddddddddddddddd eeeeeeeeeeeee ffffffffffff gggggggggggg hhhhhhhhhhh iiiiiiiiiii jjjjjjjj kkkkkk lllllllllll mmmmmmmmm nnnnnnnnnn ooooooooo pppppppp qqqqqqqqq rrrrrrrrrr sssssssssss tttttttttt uuuuuuuuuuuuu vvvvvvvvvvvvvv wwwwwwwwwww xxxxxxxxxxx yyyyyyyy zzzzzzzz | |||
|} | |||
| ] | |||
|} | |||
with some text following the table. Using Safari, this text is below the end of the image, creating a visual gap following the table. -- ] <small>(])</small> 13:54, 28 August 2006 (UTC) | |||
*Hey- I wish it were that easy. Does your solution answer the issue? Nope. Not at all. The goal is that the table be able to utilize 100% of the screen space without regard to whatever thumbed images may or may not have appeared before. Surely there is some way to tell the renderer- Kill all previous states- clean slate. User wants 100% of the width of the client subwindow reserved for articles. I don't care how ugly it is- I just need it to work on all major browsers. -] 15:42, 28 August 2006 (UTC) | |||
::Then, you mean like the following? -- ] <small>(])</small> 17:34, 28 August 2006 (UTC) | |||
] | |||
Text sort of goes along for a while, but now we want a full width table. | |||
<br clear=all/> | |||
{| width="100%" | |||
|Table 4. aaaaaaa bbbbbbbb bbbbbbbbbb ccccccccccc dddddddddddddddd eeeeeeeeeeeee ffffffffffff gggggggggggg hhhhhhhhhhh iiiiiiiiiii jjjjjjjj kkkkkk lllllllllll mmmmmmmmm nnnnnnnnnn ooooooooo pppppppp qqqqqqqqq rrrrrrrrrr sssssssssss tttttttttt uuuuuuuuuuuuu vvvvvvvvvvvvvv wwwwwwwwwww xxxxxxxxxxx yyyyyyyy zzzzzzzz | |||
|} | |||
And, here's some text following the table. | |||
::There are worse cases. See ]. Try changing the window width; some widths look good, and for some, images overlap text. Sometimes, even the "edit" text button overlaps other text. Now that's a clear CSS bug. Remember HTML "tables", when nothing ever overlapped? --] 18:28, 28 August 2006 (UTC) | |||
:Thanks Rick. br clear all looks like it kills the float state that was confusing Firefox or IE. Hopefully others will confirm this solution (Table 4) works just fine on Safari and Konqueror. Regards, -] 23:55, 28 August 2006 (UTC) | |||
:In Konqueror, Table 3 appears with normal wrap not overlapping the image but beside it. Table 4 appears below the image.-] 01:49, 29 August 2006 (UTC) | |||
::I'm almost 100% certain <nowiki><br clear=all/></nowiki> works for all browsers (it works for Safari as well as the others previously listed). I would have suggested this originally, but didn't understand what you were attempting to do. -- ] <small>(])</small> 02:52, 29 August 2006 (UTC) | |||
==Tables of contents have disappeared== | |||
Using Firefox, the TOCs on all Misplaced Pages pages are gone. (I still see them using IE.) As nobody else has complained, it is probably just me, and could be something I have inadvertently done with the browser settings, but I have absolutely no idea what that could be. Any ideas? ] 06:35, 28 August 2006 (UTC) | |||
: See FAQ question #3 above, and see if force-reloading a page fixes it? --] 06:49, 28 August 2006 (UTC) | |||
::It did, thanks a lot! (Duh! I should have thought of that.) ] 06:56, 28 August 2006 (UTC) | |||
== Commons protection == | |||
An idea which is floated from time to time on ] is to apply for adminship on commons, as often images from Commons need to appear on the Misplaced Pages front page, and the current process is to save the image from commons, reupload it, protect it, and then delete it once it has gone from the front page. Adminship on Commons would save a lot of time as it removes the need to reupload the image. However, if an image is protected on Commons, does it automatically get protected on all other projects, or could I potentially upload another image to Misplaced Pages under the same name, thus circumventing the protection? <font style="color:#BB0055">'''s'''murrayinch</font>]<font style="color:#BB0055">ster<sup>(]), (])</sup></font> 07:03, 28 August 2006 (UTC) | |||
:Commons has historically rejected giving adminship to people on other projects unless they are also active contributors on Commons, and yes, your fear is correct, someone could just upload a local image to circumvent protection on Commons. ] 07:07, 28 August 2006 (UTC) | |||
== MediaWiki Software Like one on Misplaced Pages.org == | |||
I installed mediawiki software on my server and it works well. There is only one thing missing. Not every template is included. How do I install additional features so that the mediawiki software that I have installed becomes exactly like the one which is running wikipedia.org | |||
Are there additional plugins, etc available which have to be installed. | |||
For example, the following tags <nowiki><ref></ref></nowiki> are not parsed and look like tags only. The method that I have used is to iimport xml dumps using importdump.php and then browse the pages . | |||
<small>—The preceding ] comment was added by ] (] • ]) 13:25, August 28 2006 (UTC{{{3|}}})</small> | |||
:Install the extensions listed at ] (Cite, ParserFunctions). --] 14:03, 28 August 2006 (UTC) | |||
== Doubled references? == | |||
I was editing the article on ], and I added a new reference. When I previewed the page, everything seemed right, but when I saved the page, the references were doubled. What I mean by this was that there are six references, but reference one became reference 7, reference two became 8, and so on. Has anyone encountered this before, or will it fix itself? | |||
--] 19:23, 28 August 2006 (UTC) | |||
:Seems fine here. Six references, numbered 1-6. --] 19:28, 28 August 2006 (UTC) | |||
::I'm having a similar problem after editing ] to add a reference. I've checked twice, and there is only one set of <nowiki><ref></ref></nowiki> tags in the article; still, the reference is numbered as 2, and there are two identical references in the References section. Am I missing something subtle in the article body? PS Yes, I forced a reload from the server just to double-check. :-) --] 19:54, 28 August 2006 (UTC) | |||
:::Silly, silly me. I assumed my problem at ] was too bizarre to have been reported before, but obviously not. Sorry for the duplicated question below. ---] 03:00, 29 August 2006 (UTC) | |||
::::And few more sightings of this interesting phenomena: ] and ]. Seems like references which more than one occurence get their indexes doubled, and those with only one occurence get doubled... strange... --] 15:00, 29 August 2006 (UTC) | |||
:::::See below: ]. ] 15:08, 29 August 2006 (UTC) | |||
== ] ref numbers duplicated == | |||
Something has gone wrong with the reference numbers at ]. The references are duplicated and the first inline reference numbers is 8. No obvious cause. --] 19:38, 28 August 2006 (UTC) | |||
: Looks like the same problem reported below with several other articles. Presumably someone broke the cite code temporarily. It seems to be fixed now. --] 02:50, 29 August 2006 (UTC) | |||
:: I confirm the problem still exists as of 14:00 August 29 (UTC). It can be fixed temporarily with a ], but comes back if the article is edited. I first noticed the issue August 28 at 19:20 (UTC) when it was reported at ]. ] 14:09, 29 August 2006 (UTC) | |||
== Hyperlink issues after logging in == | |||
Every time I log in using Monobook skin, all hyperlinks appear underlined. It's fixable by clearing my browser cache, but in doing so I lose the download time benefits of having the pages cached. (Note: I use Internet Explorer). ] <sup>]</sup> 19:38, 28 August 2006 (UTC) | |||
:There's a less drastic way: do a forced reload on a single page (like this one). It will download again only that single page, and the CSS files (which is what you want to reload). I believe even a normal reload is enough, which should not download again the images and global CSS/JS. --] 19:49, 28 August 2006 (UTC) | |||
== Having trouble with an article I just created == | |||
The article is called ]. For some reason the footnote citations show up twice when I save the aricle. However, upon preview there are the correct number which is three. | |||
Something is doubling the footnote citations and I can't figure out what. Help would be greatly appreciated. I'm sure it is something simple that I'm just not seeing! ]] 21:18, 28 August 2006 (UTC) | |||
:Well, now suddenly it is fixed, and all I did was add stub. Don't understand. ]] 21:23, 28 August 2006 (UTC) | |||
::Now suddenly, the footnote citations are doubled again -- six instead of the three in the article. And all I did was add an internal link. Could it be Wiki? ]] 22:39, 28 August 2006 (UTC) | |||
== Having trouble with an article I just edited: similar to previous post == | |||
This problem is similar to that just reported by ]. I'm adding information with cites to ], but I just noted that a number of cites are doubled or appear multiple times in the References section. I can't figure out what I may have done wrong. Thanks! -] 21:31, 28 August 2006 (UTC) | |||
:In my case it either cured itself (mysteriously} or was fixed when I added a stub at the bottom. Maybe it is some sort of Wiki glitch. Now mine is fine. Try adding the <nowiki>{{stub}}</nowiki> at bottom. ]] 22:11, 28 August 2006 (UTC) | |||
::Thanks for the suggestion. I tired it but it didn't work. -] 22:20, 28 August 2006 (UTC) | |||
::I'm having a similar problem with an article I'm building in my sandbox. Adding a stub tag didn't work for me, either. ] 22:21, 28 August 2006 (UTC) | |||
:::The very first citation in ] is labeled "43". For what it's worth, I found that removing the "References" section changes it to "1"... obviously there are no footnotes then. -] 22:25, 28 August 2006 (UTC) | |||
::::I added a mere internal link, and now the problem is back again. And that just doesn't make sense. I wonder if I should take the internal link out or revert. Very strange. ]] 22:42, 28 August 2006 (UTC) | |||
:::::I reverted to version that was O.K. before and the footnote citations remain doubled. I think it must be Wiki, although I don't understand how. ]] 22:51, 28 August 2006 (UTC) | |||
::::::I did a null edit (save the page without changing anything) and it broke again. So might have nothing to do with your edits. --] 22:59, 28 August 2006 (UTC) | |||
:::::::That's what I'm thinking since there is no rhyme or reason to it. ]] 01:21, 29 August 2006 (UTC) | |||
== Back Page == | |||
When I use this computer that I'm on currently, and I use the Back Page function to go to the Recent Changes page, instead of giving me the page as it looked at the time that I was last there, it gives me a refereshed page. Any ideas on why? This doesn't happen on my PC at home. I'm using IE 7 here and IE 6 at home, could that be the reason? ]|] 22:14, 28 August 2006 (UTC) | |||
:Browser settings? In IE (6), it's Tools > Internet Options > General Tab > Temporary internet Files, Settings... then choose when you want it to check for newer versions. —] (]) 22:43, 28 August 2006 (UTC) | |||
::That's it. It was set to check for new versions automatically. Thanks. ]|] 22:48, 28 August 2006 (UTC) | |||
== Strange situation with footnotes == | |||
I have an odd situation with footnotes on the ] article. The very first such link (1a in the references) doesn't go anywhere. Moreover, the links to the and show different numbers of footnotes. | |||
I have a feeling it's a malformed footnote somewhere, but are there any clues to where it might be?--] 23:10, 28 August 2006 (UTC) | |||
:Having added a closequote to the name="something" field, the # of refs is back to 52. However, the first 2 backreferences (links from the footnotes back into the body of the article) are still broken. --] 23:19, 28 August 2006 (UTC) | |||
::'''Further update''': See ]. References are duplicated for some reason. Must be a bug in the cite code. I see the identical bug when logged in via firefox and as anon via IE.--] 23:38, 28 August 2006 (UTC) | |||
I don't know what's causing it, but purging () fixes it. --] 23:52, 28 August 2006 (UTC) | |||
:Um, every time the page is edited, it destroys the order of the links. It didn't do that before, and you can see what it is doing to ]. Can a site admin revert any change that happened to cite.php lately? ]]<sup>(])</sup> 02:50, 29 August 2006 (UTC) | |||
::Can you describe this destruction in more detail? For instance, is it a doubling of each footnote? --] 10:38, 29 August 2006 (UTC) | |||
::: There are two different phenomena. In one form, the entire list of footnotes is doubled. If there are supposed to be 10 foonotes, there will be 20 (numbered 1-20), with the first footnote in the text starting at number 11. In the other form, every footnote has doubled letters in the reference section, both and , as if a named template were being re-used. ] 10:45, 29 August 2006 (UTC) | |||
::: For an example of the first form, see ] (until someone clears it). ] 11:17, 29 August 2006 (UTC) | |||
:::: I'm having the same problem (see above #51) and also the person who wrote the note below mine {#52). So far we have received no help. ]] 12:20, 29 August 2006 (UTC) | |||
::::: We know how to fix it short-term. I'm leaving that one un-fixed so others know what we're talking about. ] 12:30, 29 August 2006 (UTC) | |||
::::There should be a more pernament and long-term solution than purging individual pages. The sheer number of questions asking the same questions (including me) is amazing. —'']'' <span style="color:gray;font-size:70%;">August 29, 2006, 14:28 (UTC)</span> | |||
:::::The problem only seems to happen for me if I edit an individual section and rearrange the order of footnotes within or add a new one. If I edit from the top of the page things stay in order. In either case, after reloading a minute or two later, the problem seems to resolve itself. It might simply be an issue of the cache being confused. Perhaps it registers only a part of the article updating instead of the entire thing. I'm not a technical expert, but that's my best guess. ] 00:17, 30 August 2006 (UTC) | |||
:::::: Some articles have been recached. However, I'm the last edit on one article over 12 hours old, and the issue is still present. It also appears after most edits on most articles using cite.php. ] 00:23, 30 August 2006 (UTC) | |||
:::::::Hm. Do you know if anyone's been having the issue whether they edit from the top of the page or just an individual section? Like I said, it's not happened for me at all when editing from the top. ] 00:52, 30 August 2006 (UTC) | |||
:::::::: I haven't done a detailed study, but I usually edit the entire page at once rather than by section. (Editing by section seems to introduce extra line breaks at the end of the section, sometimes.) I still see the problem regularly. ] 00:56, 30 August 2006 (UTC) | |||
:::::::::I guess that answers my question. Thanks. I guess it just must be random. ] 02:04, 30 August 2006 (UTC) | |||
== phtml == | |||
If you go to the page http://en.wikipedia.org/phtml it redirects to Main Page (and uses real http codes to redirect), but if you go to http://en.wikipedia.org/Phtml it uses the wiki-redirect system to go to PHP. | |||
If you go to http://en.wikipedia.org/search/?title=phtml it wiki-reidrects to PHP and so does ?title=Phtml. | |||
If you go to http://en.wikipedia.org/wiki.phtml it http-redirects to main page. | |||
So i'm guessing it thinks /phtml is equivelant to /wiki.phtml . | |||
Is there any reason why it thinks a slash is a dot? | |||
] (]) 23:35, 28 August 2006 (UTC) | |||
:Knowing the usual syntax for ]s, and knowing that that redirect is from ] (which uses regexps), I'd say someone wrote <code>.</code> (matches any character) when they meant <code>\.</code> (matches a literal dot). Report it on ] (product Wikimedia, component General/Unknown), and a developer will fix it later when they have time. --] 18:35, 29 August 2006 (UTC) | |||
::Exactly it. Fixed, thanks! --] 11:23, 30 August 2006 (UTC) | |||
== ] == | |||
Exists now, just thought I'd let you know. Happy editing--<i><b>]</b> <small>iso − 8859 − 1</small><b>]</b></i> 23:54, 28 August 2006 (UTC) | |||
== Need help in coding, probably == | |||
Due to a second instance of vandalism in my archives by users who cannot edit my user talk page (it was sprotected after it had been vandalized multiple times by IPs of banned users) I had decided to create a subpage that I have transcluded into my user talk page. However, I do not want level two headers nor do I want sections by established users to be superceded by possibly vandalous edits by malicious vandals. Is there a way to either | |||
# Make it so the unprotected section forces level 3 headers for each section? or | |||
# Make it so the unprotected section is always at the bottom of my page, and new sections via the new section tab are placed before it? | |||
--] 01:29, 29 August 2006 (UTC) | |||
:Oh, and I do not feel that unprotection is necessary at this moment in time. ] 01:30, 29 August 2006 (UTC) | |||
:No. --] 18:35, 29 August 2006 (UTC) | |||
== Mysterious problem involving footnotes and citation templates == | |||
] | |||
I tried to make a little ], but something went terribly wrong and I can't figure out how to fix the problem. For some mysterious reason, all the arrows pointing to the place where a footnote occurs are doubled in the reference section. Only the second of each pair appears to be functional. Please fix it if you can! ---] 02:57, 29 August 2006 (UTC) | |||
: After a ] of the page, is it still there? ] 02:59, 29 August 2006 (UTC) | |||
:: (edit conflict) Purge the cache. Something is wrong, but that appears to fix the issue, at least temporarily. Here's a screenshot of what's going on (click on the image and zoom in at the top references). ]]<sup>(])</sup> 03:02, 29 August 2006 (UTC) | |||
It seems to come and go. Reloading the page was one of the first things I tried, and it didn't seem to help. To my surprise, just after making the above query, reloading the page ''did'' seem to resolve the problem, but this definitely didn't seem to help earlier today. I am still baffled, but the fact that so many are experiencing problems suggests that something in the code might have been broken by a modification earlier today. ---] 03:09, 29 August 2006 (UTC) | |||
: I didn't just mean purge the cache. I added <tt>?action=purge</tt> to the URL and reloaded. You probably saw the version after I did that. ] 03:11, 29 August 2006 (UTC) | |||
*<tt>?action=purge</tt> has just worked for a similar problem I had. I've never encountered it before, has something changed today? ] 04:01, 29 August 2006 (UTC) | |||
*I'm thinking there may be something wrong on Misplaced Pages's end because this is the first time I've encountered this problem, and others as well. Any guesses? —'']'' <span style="color:gray;font-size:70%;">August 29, 2006, 13:53 (UTC)</span> | |||
:I'm not sure if there's any connection, but I noticed that today I ''could not'' reproduce a certain error that has always "worked" in the past, namely leaving out the slash in a closing <nowiki></ref></nowiki> tag. When it "works" this error captures all or at least a good chunk of the following text, up to the next header, assuming that it's still reading the reference. However, when I tried it today cutting out the slash produced just the same results as normal in the preview, and when I returned, having cancelled the edit, my footnotes were as described here. -- ] 15:50, 29 August 2006 (UTC) | |||
::]. I'm going to try the purge thing.--] 16:16, 29 August 2006 (UTC) | |||
:::Yeah, that worked.--] 16:18, 29 August 2006 (UTC) | |||
This question is very quickly becoming the MFAQ of the day. Is any permanent solution at hand? -- ]] 16:23, 29 August 2006 (UTC) | |||
: The permanent solution is to invalidate every page in the cache (which may be happening, ] seems fairly large at 420k and growing), and make sure the software invalidates a page with every save. ] 16:35, 29 August 2006 (UTC) | |||
I have filed ], related to this issue. ] 18:29, 29 August 2006 (UTC) | |||
:But apperently someone beat me, see also ]. ] 18:29, 29 August 2006 (UTC) | |||
:: Note that it appears on pages that do not use the references comment, such as ] and ]. (Do you need a separate registration for bugzilla?) ] 18:38, 29 August 2006 (UTC) | |||
I have added a ] to the top of this page to direct people towards the temporary solution (and to avoid even more sections talking about the same problem). --] 18:50, 29 August 2006 (UTC) | |||
:I found this while editing a page. Looking at it from another browser, all was OK. ''] ]'' 08:44 ] ] (GMT). | |||
== Whatlinkshere strangeness == | |||
I recently checked the "What links here" for the article ] (e.g. ) and found it now contains a lot of articles pertaining to Italian municipalities (e.g. ]), a seemingly unrelated topic. I assumed it was something to do with the navigation templates they use (]) but I can't find any link to ] within the template, nor anywhere else in the article. Checking the "Related changes" link for ] produces a list of mostly unrelated articles (], ], ]), none of which are seemingly linked to in the page. Can anyone shed a light as to why? ] 09:14, 29 August 2006 (UTC) | |||
:Yeah. Strange stuff. I haven't tracked down anything yet. For example I'm also utterly puzzled why editing ] says it transcludes ] =:-P. Need having a closer look on templates to make sure nobody vandalized any template. --] 09:59, 29 August 2006 (UTC) | |||
:I on ]. But now we have the doubled footnotes problem there (as reported on this page already, scroll up)... --] 10:06, 29 August 2006 (UTC) | |||
:: Could be a database problem. Edit a page and a number of non-present templates are listed, but once the page is saved the template connections seem to get fixed. (Then a purge to fix the foonotes... ;) ] 10:36, 29 August 2006 (UTC) | |||
:: After checking a few articles, I wonder if the template problem is a consequence of the recent WoW vandalism. Various templates were moved around. ] 11:26, 29 August 2006 (UTC) | |||
:::The ] page shows that the job queue is currently huge, and all cached data and stuff done through templates is probably a couple of hours out of date. ] ] 11:52, 29 August 2006 (UTC) | |||
::::50,000 entries on job queue is nothing dramatic. --] 11:55, 29 August 2006 (UTC) | |||
The job queue is now over 400,000. Could it be that every page on WP is being invalidated and recached? ] 16:31, 29 August 2006 (UTC) | |||
:Just for the records: Job queue length is now on 890,180. I would say this *is* huge now. Never seen it that high before. --] 22:02, 29 August 2006 (UTC) | |||
::I don't know if the two are related, but Whatlinkshere for images was patched very recently, which will require rebuilding the link table for all images. However, I don't know if those are being farmed onto the jobs queue. ] 01:24, 30 August 2006 (UTC) | |||
:::I came here to report the same problem, whatlinkshere for ] reports thousands of links from articles which don't link to it. What's up? - ]]] 02:14, 30 August 2006 (UTC) | |||
:I was just about the report the same strangeness for ]. I usually check ] redirects to determine whether they were meant to go to ]. This current problem is hindering that check. ] <sup>] • ]</sup> 02:33, 30 August 2006 (UTC) | |||
:Haven't found anything in common between various pages. Simple pages seem OK. Pages for various animals seem OK (these have a taxobox infobox). Minor league baseball teams seem OK (images and simple infobox). ] thinks that ] and ] link to it; all three of these are somewhat complex and use several images, templates and infoboxes (but different infoboxes). You don't suppose the Template whose name is an exclamation point is having its name used in a context which makes it be interpreted as a program or SQL "bang" symbol? (] 05:55, 30 August 2006 (UTC)) | |||
:Notice ] below says a category is including articles which do not have the category. Categories and Whatlinkshere may both be using indexes of some type. Without looking at the code, I wouldn't be surprised if the job queue is a DB index of some type. Something wrong with the first two type of indexes might affect the job queue, or perhaps all three things are entangled in some sort of index problem. I'm painting with a broad brush, but all this will undoubtedly get looked at shortly by someone with more detailed awareness of the system. (] 06:08, 30 August 2006 (UTC)) | |||
::Two possibilies: Someone found an unprotected meta template and screwed with it, or the tables are actually screwed up. Of interest to ]-related issues, {{TI|Ann_anime}} is somehow transcluded now or at some point in the recent past to hundreds of pages for an unknown reason. ] 08:02, 30 August 2006 (UTC) | |||
== Footnotes error? == | |||
I was just reading ] and thought that it was a problem on that end, solved easily by deleting cache etc. But after I editted ], the same error occured to me. The problem is gone and it's does not matter for me much, but I'm wondering if there's a bigger problem at Misplaced Pages's end. —'']'' <span style="color:gray;font-size:70%;">August 29, 2006, 13:28 (UTC)</span> | |||
: Read ] above. ] 13:37, 29 August 2006 (UTC) | |||
== Solution to problems with footnotes and references == | |||
Putting this in its own section because tons of people seem to be having this problem right now. | |||
Adding <tt>?action=purge</tt> to the URL of the page you are having problems with (load the page, then in the address bar, add <tt>?action=purge</tt> to the end of the URL and press Enter) seems to fix the problem with doubled footnotes and references that don't work, at least for some people. It worked for me with the ] article I edited yesterday. I'm not sure this is a permanent fix for the article itself; it may just fix your browser, but I guess it's worth trying. | |||
Credit goes to ] in the "Mysterious problem involving footnotes and citation templates" above. --] 13:44, 29 August 2006 (UTC) | |||
: I think ] mentioned it earlier, ]. ] 13:49, 29 August 2006 (UTC) | |||
: It has been noted in ]. (] 14:38, 29 August 2006 (UTC)) | |||
: It is not browser specific. I tried it on two computers. It may be User or Page specific. ] 18:00, 29 August 2006 (UTC) | |||
As I've been adding a lot of references lately to an article, I've also come across this problem. And I noticed something interesting, thay may hint at the cause of the problem. Editing a section creates a different result than editing the entire page. The footnotes or references start with those that are placed in that section or below, and then the entire article is scanned again, which results in only some footnotes or references being doubled. If you edit the entire page, it essentially does the same, resulting in a complete doubling. ] 14:44, 29 August 2006 (UTC) | |||
: It just happened to me with the ''initial version'' of ]. Plain editing did not work, purging did. ] 04:56, 30 August 2006 (UTC) | |||
This is a good fix, but still very annoying. The doubling effect has happened on three articles I have edited references for -- starting yesterday. --] (]) 17:43, 29 August 2006 (UTC) | |||
:I have tried the purge fix on ] but its getting worse - can anyone fix this article, please? ] 18:23, 29 August 2006 (UTC) | |||
:: It seems fine: 4 refmarks, 4 notes. ] 18:28, 29 August 2006 (UTC) | |||
:::Yes, I have edited some other sections and it has fixed itself. Weird. Thanks for looking, though. ] 18:41, 29 August 2006 (UTC) | |||
Has anyone put in a bug report to mediawiki? -- ] 04:00, 30 August 2006 (UTC) | |||
:A bug report ''has'' been filed. ] 04:54, 30 August 2006 (UTC) | |||
:There is a red notice box presently at the top of this page. For the benefit of archival readers I'll mention ]. (] 04:58, 30 August 2006 (UTC)) | |||
== Bot access funniness == | |||
I've recently reactivated the ] and in the process of testing it I made . This is not normally a problem, except every time I make a ''successful'' change, I get a "403: Forbidden" response code. This despite the fact that the edit happens anyway. I have no idea why and would like to know if anyone else is aware of this particular problem. — ] <sup>() (])</sup> 15:39, 29 August 2006 (UTC) | |||
:I can't speculate about why it allows you to edit and then gives you a 403, but I know Misplaced Pages 403's a variety of user agent strings that look like bots it doesn't like. Given the venerable age of Rambot, it might have been contructed before those restrictions were put in place. ] 01:18, 30 August 2006 (UTC) | |||
::That seems likely. It was totally restricting me when I had no user agent specified, so when I made one up, this was the result. I could spoof another bot's user agent string, but I'd rather get this one to be used, since it is unique and would be easier to block in the event of problems. Interestingly, getting a 403 is more efficient in terms of bandwidth than receiving a success with the new page included. I'm pretty sure I don't get a 403 on any other errors. Nevertheless, for all I know this could be a bug in the user-agent filtering. '''UPDATE:''' Strike that. I changed my user agent to spoof that of the pywikipediabot, with the same result. Apparently a 403 success :). — ] <sup>() (])</sup> 12:01, 30 August 2006 (UTC) | |||
::I think I may know what the problem is. Because the rambot predates current bot policy, and it has been running approved for years (besides being inactive for the past ~1.5 year period) without any regard to the forming/changing policy that has affected new bots. I've never been listed on ], so my guess is that the software is filtering out any account with the bot flag that are not on the approval log, or something similar to this. I'm unfamiliar with the "recent" technical limitations, but I think the rambot was the first bot with the bot flag, so any newer approval changes might not have been applied. This bug may be limited to the rambot only if that is the case, since any other new bot would have the flag AND be approved. — ] <sup>() (])</sup> 12:21, 30 August 2006 (UTC) | |||
::: It's listed as a bot in ], so there's nothing on the MediaWiki side of the equation. AFAIK, there's no "approved bot" flag in the database, and there's no interface to do so. Check the bot's IP, if you're running it from a different computer. Is it blocked? Are you trying to access a URL in Misplaced Pages's root folder or something similar? ]]<sup>(])</sup> 16:56, 30 August 2006 (UTC) | |||
:::I'm to understand there's blocks on various useragents in the squid proxy cache servers to prevent poorly coded bots from running amok. Perhaps a developer would know what user agent you could specify to avoid the 403. ] 19:55, 30 August 2006 (UTC) | |||
::::I suspected that it had nothing to do with "approval" and as for the user agent stuff, I spoofed the user agent to match the ever popular pywikipediabot, so it should have been none the wiser. And I'm editing from the same IP address and the addresses used in the bots seem like they should also work using a web browser. I don't know what the difference is. — ] <sup>() (])</sup> 20:03, 30 August 2006 (UTC) | |||
::::: Try something completely unique, and ideally put contact information (a URL, or even a wikilink would work) as part of the User-Agent string, and try it again... if it doesn't, then you are requesting a link, after page save, that is blocked by Apache (e.g. http://en.wikipedia.org/.htaccess). ]]<sup>(])</sup> 20:40, 1 September 2006 (UTC) | |||
::::::The user-agent string that I'm using *is* unique, since I just invented it to make it work at all. And the "request" is a page submit, which returns 403. If I view or edit the page (i.e. with "&action=edit") it works fine and I get a standard 200. When I view the SAME link with "&action=submit", that's when I get the 403. The only difference (besides the POST data being sent) is "edit" vs. "submit". -- ] 21:24, 1 September 2006 (UTC) | |||
== Animated GIF too big for thumb? == | |||
] | |||
I uploaded this ] (6MB animated gif) file to Commons earlier. However, MediaWiki fails to produce a thumbnail (like to the right), making the image useless. Is there a hard limit on the max size to animated gifs for thumbs?--] (]) 19:44, 29 August 2006 (UTC) | |||
:fixed, any ideas what happened?--] ([[User | |||
talk:Nilfanion|talk]]) 22:05, 29 August 2006 (UTC) | |||
::There's a limit on time and memory usage for image thumbnailing. If thumbnailing the image comes close to the limit, then some servers may be able to scrape under it while others fail. I wouldn't recommend using animated GIF as a storage format for large videos, ] is probably better. Some day we might even have support for embedding it in wiki pages. You could generate a small animated GIF thumbnail offline, for temporary use in articles. -- ] 11:27, 1 September 2006 (UTC) | |||
:::Yeah, thats just what the producing program outputs in ...--] (]) 12:23, 1 September 2006 (UTC) | |||
== Expunging block log entries == | |||
Anyone know offhand if there's already a BugZilla bug about the idea of expunging bogus entries from the block log? I looked, but didn't see anything that fit. This came up in this thread: ] an offshoot of ] Thanks! ++]: ]/] 21:50, 29 August 2006 (UTC) | |||
:I oppose. Two things can be done in cases like this. First, the user can save the links to the discussions (talk pages, ArbCom, WP:ANI) where the community agrees that a block is improper. Second, a respected admin can add an unblock to the log with an explanatory summary, so anyone viewing the log is notified of the situation. ] 13:02, 30 August 2006 (UTC) | |||
::In certain cases, I think, pointing to history and so forth, and even a cancelling unblock, are insufficient to properly expunge a record. Specifically, in Giano's case (whatever I may think of his general civility of late) I feel he has been unfairly labeled with having committed "hate speech". In another case, we have an admin that blocked a user for one second "because they said they had a clean block log". In another case, we have an admin who blocked a user ACCIDENTALLY and labeled it with the warning he meant for the troll he was trying to block. The block log is very significant and very permanent. I do not think that expunging should be done lightly, or by just one person acting alone, but there ought to be a way to get rid of entries that clearly should not be there in the first place. I'd like to see this more widely discussed but I am not sure where exactly. I note that I have been told by several old hands that there HAVE been cases of block entries being expunged in the past, but that it took direct developer intervention and was potentially error prone, and not easy to carry out. This new interface would make it easier but I do not advocate that it have wide availability. ++]: ]/] 14:24, 30 August 2006 (UTC) | |||
:::Unlike oversight removal of edit summaries with personal information, improper block log entries will remain very rare. We would desysop an admin who deliberately added personal info to a log, for example. An interface would seem a very low priority, and its existance would encourage increased use of the option. Mistakes can be explained away as I mentioned above, it doesn't really besmudge one's record if the record shows that the block summary was in error. As for increasing discussion, you can link to this thread from WP:ANI. ] 14:39, 30 August 2006 (UTC) | |||
:::: I agree with NoSeptember, particularily because if there is something truly egregious, then a developer can remove it, and if there's an interface, we'll go in a slippery slope, removing entries that really aren't that objectionable. (and for the record, I could benefit from this, just look at my block log...) ]]<sup>(])</sup> 17:00, 30 August 2006 (UTC) | |||
:::::There is already, I believe, a facility to ''really'' delete an edit, available to a subset of admins (arbitrators and a few others). I think the facility Lar proposes might be useful, and would support it if it doesn't involve too much work. And, for the record, the case which prompted Lar's enquiry did of course result in a desysopping - but the block record remains. --] 18:36, 30 August 2006 (UTC) | |||
In an extreme case like this, where someone has been seriously defamed in a way that could cause real-life harm in easily-imaginable scenarios, I think there should be a way of getting an item out of a block log. I don't think it should be easy or routinely available, and nor do I think that the wrong suffered by Giano gives him a free pass forever to be as uncivil as he likes to whoever he likes, but I DO think he has been seriously wronged and that Misplaced Pages should find a way to do something about it. And it should do likewise in any other rare and extreme case. ] 09:03, 31 August 2006 (UTC) | |||
:I think that this is a good idea, but should only be available to users with the ] permission. (As it happens, this consists mostly of current and former ArbCom members, and also includes two developers, three bureaucrats, and Jimbo Wales). Oversighting blocks should probably only be done on ArbCom decision, however. --] 12:02, 31 August 2006 (]]]) | |||
::'''Totally support''' the idea of improper blocks being expunged from block logs. Particularly ones with false and defamatory block summaries. ''(]])'' 12:56, 31 August 2006 (UTC) | |||
Not knowing this thread existed, I posted a very similar idea on ]. | |||
I think there is a problem with NoSeptember's objection in that the way the web works does not guarantee that people will always go to a user's page to check whether he's left a note of some previous block being unjust, or the block comment inaccurate. Worse, you could have some users who are very active on contentious topics and get hit by several unjust blocks. Explaining all that is going to make for dreary reading. Much better to purge the record in good faith. It's always good to be aware that what's created on Misplaced Pages may always be taken outside of Misplaced Pages. And I can't remember a time that the defeatist position turned out to be the right one with respect to Misplaced Pages conduct. - ] (] • ]) 13:56, 31 August 2006 (UTC) | |||
:I tend to agree, I think that it would be nice to have a (restricted) ability to purge log entries. People digging for stuff are probably going to look at the block log first, and having to maintain stuff on your user page explaining in detail why a certain block was unjust is probably not the best way to counter that. I'd like to see this for all log entries as well. This functionality might also help when some malcontent, frustrated by his edits that violate libel/privacy/copyright/obscenity/etc. laws being removed by oversight, starts putting this junk in the titles of articles, in usernames, etc. ] // ] 20:34, 1 September 2006 (UTC) | |||
::I agree with this proposal, administrators make mistakes and there needs to be a form of oversight to these logs. I just gave myself this while trying to put an end to a bunch of socks doing this . ]+] 06:51, 2 September 2006 (UTC) | |||
:::I agree also. Although purely accidental blocks are often easy to discern (such as the block I accidentally gave DVD R W a few moments ago <tt>:(</tt>), those accusing the blockee of hate speech and other horrendous acts leave a black smear across a user's record, harming their reputation. - ]]] 07:33, 2 September 2006 (UTC) | |||
:::: Perhaps it would be acceptable to restrict it only to oversighted users, as they're were granted that permission to deal with these kinds of things. ]]<sup>(])</sup> 07:42, 2 September 2006 (UTC) | |||
:::::I agree that oversight is probably the correct level of authority for this privilege. ] // ] 18:31, 2 September 2006 (UTC) | |||
== Problem with operation of category pages == | |||
A problem has appeared with the operation of category pages. ] contains entries for articles that are not in the category. ] 22:23, 29 August 2006 (UTC) | |||
: Might this be related to the above ]? Are we having problems with indexes? (] 06:02, 30 August 2006 (UTC)) | |||
::I edited one of these articles, which believed it contained the template, and the spurious entry disappeared. ''] ]'' 08:40 ] ] (GMT). | |||
: ] was fixed, and the problem apparently was stuff from recent edits being added to edited articles. So the recent flurry of ISBN-related edits was probably seeding this bug with ISBN category tags, which were then added to other articles. (] 15:45, 30 August 2006 (UTC)) | |||
== Foreign language external links == | |||
I notice that these are frequently added to articles but they do not display. What do they do, please? ] 22:40, 29 August 2006 (UTC) | |||
:You'll find them in the left column (outside the main article block). Under the "navigation", "search" and "toolbox blocks", there will be another block called "in other languages". ] 22:47, 29 August 2006 (UTC) | |||
==] - Footnotes problem== | |||
I'm trying to edit the above article, but I am running into a problem with footnotes. In ordinary circumstances this page should have 21 footnotes - but as you will see on the page, these 21 have increased to 42. For some reason the first 21 are listed as per usual, then the list is repeated for 22 through to 42. Furthermore, the footnotes in the text now start from number 22, rather than number 1. Can anyone shed any light on the problem? | |||
]<sup>]</sup> 23:29, 29 August 2006 (UTC) | |||
:Just noticed the solution above - purging the page has done the trick. | |||
:]<sup>]</sup> 23:34, 29 August 2006 (UTC) | |||
::Yes, this appears to be a common problem at the moment - it happened to me last night. <font face="sans-serif">''']]]'''</font> 09:21, 30 August 2006 (UTC) | |||
== Footnotes problem fixed == | |||
Since there's five million duplicate threads above, I won't respond in any of them individually. | |||
The problem should now be fixed; use action=purge on any remaining affected pages or just edit them again. --] 11:15, 30 August 2006 (UTC) | |||
:See ] (status: fixed). Thanks. --] 11:19, 30 August 2006 (UTC) | |||
:What about the spurious entries on category pages and What links here pages? As suggested elsewhere, editing an article causes it to disappear from listings it does not belong to, but it could be years before the listings are correct again. ] 13:54, 30 August 2006 (UTC) | |||
::Are those from editing of templates? Wait for the templates to clear, or edit the pages. --] 15:23, 31 August 2006 (UTC) | |||
== Odd results from What links here == | |||
What is Compost doing in the "What links here" results for "Tiberian Hebrew"? There are other entries in that list that probably don't belong there either. Is there something inaccurate about "What links here"? --] 12:26, 30 August 2006 (UTC) | |||
:I don't get compost in that list. Try purging your cache on that page: Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), IE: press Ctrl-F5, Opera/Konqueror: press F5. —<span style="font: small-caps 14px times; color: red;">] (])</span> 13:21, 30 August 2006 (UTC) | |||
:: That's because compost was just edited. If you edit any page, the links and categories for that article are updated and returned to normal. ] 13:25, 30 August 2006 (UTC) | |||
:I would like the ability to see which pages used to be linked to a page. Also, to see which pages used to be included in a category. Some sort of history page to track these things would be useful at times. ] 14:07, 30 August 2006 (UTC) | |||
::I agree, category history and category watching (so the Category shows up on your watchlist when a page is added to it) would be a great thing. —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:08, 30 August 2006 (UTC) | |||
== Technical inability for sysops to unblock themselves == | |||
Since it is already discouraged for sysops to unblock themselves, this inability should be "codified" in the MediaWiki software, in order to prevent intentional and unintentional abuse. Perhaps only bureaucrats and stewards should be allowed to unblock any sysop.] (]) 14:00, 30 August 2006 (UTC) | |||
:There are good reasons to be able to unblock oneself, technical reasons. As long as we are willing to desysop admins who improperly use this ability (on a case by case basis, due to mitigating factors), there is no real need to codify it. ] 14:05, 30 August 2006 (UTC) | |||
::Sometimes it is necessary for a sysop to unblock themself, such as if they are autoblocked due to someone else's vandalism. —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:09, 30 August 2006 (UTC) | |||
:: Try being behind AOL and not be able to unblock yourself. ]]<sup>(])</sup> 17:01, 30 August 2006 (UTC) | |||
==text color== | |||
How do you add custom text color? ] 18:26, 30 August 2006 (UTC) | |||
:Like this: <pre><span style="color: COLOR;">TEXT</span></pre> replacing COLOR with the color of your choice (either in English or the hexadecimal code) and TEXT should be the text you want to change the color of. —<span style="font: small-caps 14px times; color: red;">] (])</span> 18:37, 30 August 2006 (UTC) | |||
However, please avoid doing this as it will break the consistent nature of articles on the site. In addition, forcing text to be a specific colour harms accessibility. ] 19:30, 30 August 2006 (UTC) | |||
:Basically, colored text is good for signatures, user pages, portals, and a few other things. Other than that, though, it should not be used. —<span style="font: small-caps 14px times; color: red;">] (])</span> 19:48, 30 August 2006 (UTC) | |||
::...and some might argue against even many of those. Certainly signatures that look like can be distracting and annoying. —] <small>(])</small> 16:14, 31 August 2006 (UTC) | |||
== ] == | |||
Can someone fix the wikiness of this article? The first three "edit" links are groups halfway down the third section in the middle of a paragraph -- ] 20:43, 30 August 2006 (UTC) | |||
:Fixed. See ] for a detailed explanation on how to fix it in the future. --] 21:36, 30 August 2006 (UTC) | |||
==Interwiki linking== | |||
Is there a page about interwiki linking/external linking and how it should be, especially in regards to wikia and how ] links to . - ] 20:56, 30 August 2006 (UTC) | |||
:These pages might be useful to you: ], ], ], ], . ] 21:12, 30 August 2006 (UTC) | |||
::I guess I mean what are the rules about what's appropriate, not what' the syntax. - ] 22:53, 30 August 2006 (UTC) | |||
:::That's a question for ], not (technical), actually. ] might give you some directions. (], ]). 15:38, 31 August 2006 (UTC) | |||
== Userpage Work == | |||
Hi, I'm a small time user and I wanted to add some spice to my userpage. I really don't think I have enough content on my page or enough experience here that it is worth someone who is good at this to overhaul my userpage (like ], ] or ]), but I thought of adding a border, some new font color (I just found out how to do that by reading above), or some show/hide stuff. Is there a place I can visit or do I just have to stare at the complicated formatting on a well done page and try to figure it out? --] 21:00, 30 August 2006 (UTC) | |||
:Most effects are done using ], which you can research elsewhere in the web; for instance, for a black 1 pixel border, surround the content by <code><nowiki><div style="border: 1px solid black"></nowiki></code> and <code><nowiki></div></nowiki></code>. To hide a section, you have to use magic classes parsed by a magic code at ]; see {{tl|hidden}} to see how it's done (you can use <nowiki>{{hidden}}</nowiki> directly if it fits your needs). --] 21:26, 30 August 2006 (UTC) | |||
::Thanks I'll look into that. I'm not really sure what I want to do yet, but this really helps. --] 02:54, 31 August 2006 (UTC) | |||
:::Or you can do what everyone else does; find a page you like and copy the layout :). —]<font color="green">]</font>] ] 20:00, 31 August 2006 (UTC) | |||
::::Yeah I've seen people do that. I'm not sure, but I'll consider it. --] 20:13, 1 September 2006 (UTC) | |||
==Trying to put user contributions on watchlist== | |||
Hi, I was trying to find a way to be notified when known repeated spammers contributed, so that I could check their edits. I know there is some kind of complicated (for me!) workaround with CSS and enhanced recent changes. I asked at the help desk, and was told: | |||
<blockquote>Make a subpage that lists such users and use the related changes feature to see what changes they make. - Mgm|(talk) 11:16, 28 August 2006 (UTC)</blockquote> | |||
which was an adequate (if not ideal) workaround in theory. | |||
I ''am'' having a little trouble getting it to work though. I've set up a page at ], but when I click "Related Changes" from the toolbox, I can only get some edits to appear, although there are edits made after then. I'm not sure if others see the same thing, but (for example) no contributions from the first link ] appear on related changes. Thanks in advance. -] 07:46, 31 August 2006 (UTC) | |||
: I don't think related changes works with Special: pages. One could potentially write a quite script to output in a more user-friendly format... It could be done in javascript or elsewhere, not necessarily on the toolserver. --] 16:26, 31 August 2006 (UTC) | |||
That's a pretty interesting solution, but unfortunately I lack the skills to write any kind of script to deal with that... It does appear that some of the Special:Contributions pages are picked up by related changes, it just doesn't appear to be complete. (You might need to extend the date range for the example above.) -] 06:57, 1 September 2006 (UTC) | |||
== I can't up load an image == | |||
I try to upload a small jpeg and get the error: | |||
"." not valid file format | |||
any ideas? ] 12:38, 31 August 2006 (UTC) | |||
:Maybe name's wrong. Is your computer configured to see known file extensions? If not, configure so, and, if file name ends in ".", ".jpeg" or other strange extension, change it to ".jpg". If it hasn't extension, add ".jpg" | |||
{{User:Nethac DIU/Sign|en||15:40, 31 August 2006 (UTC)}} | |||
== How to use Block log? == | |||
Someone put a sign on my page saying: It is suspected that this user may be a sock puppet, meat puppet or impersonator of Shravak. Then it says go to block log for evidence. How do I use block log to find out the evidence against me? ] 16:45, 31 August 2006 (UTC) | |||
:Go to your contributions page (from the links at the top) and there will be some links under the title. One of them will take you to your block log. —]<font color="green">]</font>] ] 17:02, 31 August 2006 (UTC) | |||
::Well, I don't get it. I am supposed to enter something in there in the middle box? I aready removed the sockpuppet thing because the directions said that if there was no evidence entered on the red link, I could. That's correct, isn't it? ] 17:14, 31 August 2006 (UTC) | |||
:::You did not answer me and now ] has put it back. I am going to take it away because where is the evidence? There is nothing at the block log page. ] 19:39, 31 August 2006 (UTC) | |||
::::Here's ]. ] 19:46, 31 August 2006 (UTC) | |||
:::::But I made one edit to that page. Why am I being lumped in with someone else? ] has already received warnings from ] and ] which he erased from his talk page when ] specifically told him not to do any more erasing or change of his comments. ] 19:55, 31 August 2006 (UTC) | |||
::::::It looks like ] has misunderstood the methods of determining sock puppets and then reacted offensively to the consequences. So relax, if you've done nothing wrong you have nothing to worry about. ] 12:20, 1 September 2006 (UTC) | |||
==Delay on Search function seems to just get longer== | |||
Having made enquiries at ] about the long lag for the search index (the answer seems to be that the search index is updated whenever someone can get around to it, and as the Search function is not considered a priority, this is quite infrequently), I'm wondering at what point the Search function becomes so out of date that it's considered an urgent problem. From my own experience it currently seems to be over three months since it was last updated (question: is this for the Misplaced Pages as a whole, or is the search index more up to date for some articles than others?), which is more like several months than the "weeks" mentioned in your FAQ at the top. Is there a way we can petition those who can update the search index to somehow set a regular timetable to do this (in principle, the oftener the better, but I recognise they are busy with a great many things, so perhaps weekly or fortnightly at least is practicable)? ] 01:47, 1 September 2006 (UTC) | |||
:You can ask, but that won't actually help. I just need to sit aside for a few hours without being asked to do other things and get it fixed up. --] 08:51, 1 September 2006 (UTC) | |||
::Fair enough. I suppose I'm just hopeful that the necessary-but-not-always-urgent job of updating the search index could somehow be squeezed into the regular schedule of jobs amidst all the important-and-urgent ones that demand attention. I fear that it has a tendency to fall by the wayside until it too becomes urgent (as perhaps is the case now). I appreciate that updating the search index is a dull, onerous, time-consuming and thankless task. I can't do anything about the first three, but I can with respect to the last one: thank you! ] 01:25, 2 September 2006 (UTC) | |||
==talk/contribs links in signature== | |||
Please explain how I can set up my user name to include the talk/contribs links when I use four tildas to sign a message. I probably wouldn't want to do this every time - is there a way of toggling it on/off (five tildas, perhaps?) I find these quick links incredibly useful. Many thanks, ] 07:49, 1 September 2006 (UTC) | |||
: The short answer is ''no''. You can change your sig but you can only have one at a time. I'll tell you how to do this ''and'' show you a workaround. | |||
: Go to ] and put any text you like in the '''Signatures''' box, including links to your talk or contribs. It's a small box but will hold plenty of text anyway. ''Please, out of respect for other editors, don't get too cute.'' Images and templates are forbidden; colors and weird characters are usually ugly and make you look silly, not cool. Check the box '''Raw signature'''; this removes your default sig, which is just a link to your user page. Insert your new sig plus timestamp anywhere with '''four tildes'''. | |||
: '''Five tildes''' inserts only the timestamp. You can make this work in your favor. Create a subpage within your own userspace (e.g, ]). Put your sig there and from that point on, sign your talk page posts like this: | |||
:: <code><nowiki>{{subst:User:Foo/sig1}}~~~~~</nowiki></code> | |||
: Obviously, you can create a sig2, sig3, sig4 page. '''But please note well''' that all your sigs should include, at a minimum, your username and a link to either your user page or your talk page. It's probably ''unwise'' to avoid overelaborate sigs in general ''and'' avoid using widely different sigs from page to page. | |||
: There's a generic template you might consider, {{tl|user}}. To show you how it works, I'll sign ''this'' post with it. Good luck! ] (] • ]) 03:00, 2 September 2006 (UTC) | |||
==my contribs aren't being recorded!== | |||
for some reason, many -- most -- of my contributions aren't listed on my 'my contributions' page. does anyone know why an edit wouldn't show up there? thanks, --] 08:04, 1 September 2006 (UTC) | |||
:Could you point to some examples? A common reason might be that you made edits while logged out. --] 08:51, 1 September 2006 (UTC) | |||
:Another common reason is that the contribution was to an article which was subsequently deleted. --] 15:38, 1 September 2006 (UTC) | |||
== Unicode font selection == | |||
(moved from Misplaced Pages Help Desk) | |||
Hello. I have several Unicode fonts installed on my computer, for use with various typefaces in some graphics work I do. (For example, there is a Unicode font resembling Arial, Times New Roman, Verdana, etc.) Anyway, when IPA characters in a Misplaced Pages article appear, they are in one of the very light fonts I have installed, and are difficult to read. Is there any way of telling Misplaced Pages which Unicode font I want displayed, or does it always default to something? Thank you. — ] 08:53, 1 September 2006 (UTC) | |||
:Yes. If the IPA is properly tagged, you can edit your user CSS (] if you are using Monobook; for other skins, see the list at ]) and add the following: | |||
.IPA { font-family: "Bitstream Vera Sans" } | |||
:replacing "Bitstream Vera Sans" by the name of the font you want to use. As for the default, if you are using IE, it defaults to a ]; if you are using anything else, it uses your browser's default (all browsers but IE are able to get characters from other fonts if they do not exist in the current font). --] 15:36, 1 September 2006 (UTC) | |||
== Edit toolbar buttons won’t load (except ) == | |||
I’ve been unable to edit any wiki page from one particular computer running IE6 and XP sp2. Logged in, logged out or cleared cache, has no effect. This problem is roughly 1 month old, it all worked fine before, and I can’t remember to have changed anything significant on that installation for a long time. | |||
===The problem=== | |||
Reading pages goes okay. Edit window will load till it hits the toolbar buttons, it will load the Redirect button (), but non of the others (it’s trying to load it from …/skins-1.5/…etc. but will never happen). From that moment on that particular IE window is locked. Other IE windows will ‘http 404’ on all wiki sites, but not on anything else. Closing IE has no effect; I have to reboot to be able to read any wiki content again. | |||
The closest bugzilla report I could find is and related/duplicate reports, but I’m running IE6 on XP, not mac/safari. Anyway, I haven’t been able to solve it. Has anybody a suggestion where I should look to solve the problem? Thanks. --] 14:43, 1 September 2006 (UTC) | |||
:The button is being added via ] (the section under <code>/* add a redirect button to the edit page toolbar */</code>. Odd that that would work as an onload, but that javascript in the page wouldn't. I can suggest a few things to try, maybe, to narrow down the problem. Try these to see which stop the lockup: | |||
:1. Try disabling javascript, this should obviously work (but maybe not?). | |||
:2. Try going to the edit window of a user style page, these don't load the toolbar: ]. Also try going to the view-source of a protected page, eg ] (if you aren't sysop). | |||
:3. Try disabling the addbutton function temporarily. Put into ] and then clear your cache: | |||
<pre>function addButton() { | |||
// do nothing | |||
};</pre> | |||
:4. Try other Wikis for the problem: | |||
::A. ] | |||
::B. ] | |||
::C. ] | |||
:Report results here (anyone else have any ideas?), this will help narrow down the cause. --] (]) 07:32, 2 September 2006 (UTC) | |||
== Any documentation on the various #if functions? == | |||
Hi folks, I'm trying to play around with the #if, #ifeq, and other commands. Is there any published documentation on how to use these things? I've been going at it blind, but I'd like to go at it with a better idea of the syntax. Thanks, ] ] 17:44, 1 September 2006 (UTC) | |||
: See ]. --] 17:53, 1 September 2006 (UTC) | |||
::See also ] for practical examples of usage. -] 19:07, 1 September 2006 (UTC) | |||
:::Wonderful. Thanks, guys. --] ] 19:37, 1 September 2006 (UTC) | |||
== Template:Hidden - Auto Show/Hide == | |||
The show/hide box produced with {{tl|Hidden}} automatically remain open unless there is more then one of those, when all of the boxes remain closed. These is no way to set individually if the boxes should be open or closed by default. I think that editors should be able to control each box individuality if the boxes should default open or closed. It would be nice if a coder would be able to build this feature. It could be controlled by adding "|default=hidden" to the template syntax or writing something in the actual code. I am not too good with JavaScript, so I don't know what will work. If someone can build this feature it would be nice. See the discussion at ] | |||
The boxes are powered from the base javascript and are affected somewhat from ] This feature premiered at ] --] 00:21, 2 September 2006 (UTC) | |||
: This feature doesn't work ''at all'' in my browser (Mozilla 1.2.1 and ''please'' don't ask why). Please don't use it. {{unsigned2|02:39, 2 September 2006|John Reid}} | |||
:I coded up a replacement for the <code>createNavigationBarToggleButton</code> function at ] which allows one to specify if the box should be open or closed by default. It can be found at if you want to check the code. Once it's added to Monobook.js (replacing the function already there), using <code>NavFrameDefaultHide</code> instead of <code>NavFrame</code> will force the box to be hidden by default, and using <code>NavFrameDefaultShow</code> instead of <code>NavFrame</code> will force the box to be shown by default. I intend to add the code to Monobook.js in a few days if nobody complains. --] 16:59, 2 September 2006 (UTC) | |||
== Show as a tree / Show as a list in Catgegories == | |||
When did this come about? Any additional info available? ] ≠ ] 01:30, 2 September 2006 (UTC) | |||
:Do you like it? Duesentrieb volunteered to make an announcement, since he did most of the work. He announced it on commons, de and the category tree page, saying that he wasn't active on en. I've now followed that up with a post to wikitech-l, which is hopefully a more visible forum for Wikimedians generally. Here is the archive of my post: . -- ] 05:12, 2 September 2006 (UTC) | |||
::Haven't had a chance to play with it very much yet, but my initial impression is that it will be very useful. ] ≠ ] 12:09, 2 September 2006 (UTC) | |||
::: It could be useful (though I suspect I shall mainly stay with list), but it was very confusing when Cats started showing as a tree without my having selected it. ] 12:17, 2 September 2006 (UTC) | |||
I find it very confusing, mainly when many subcategories exist, and I'm totally opposed to the fact that categories appear as a tree by default. ] 12:22, 2 September 2006 (UTC) | |||
I like that new feature. Kudos to Duesentrieb and Tim! --] 14:36, 2 September 2006 (UTC) | |||
In response to some criticisms, Duesentrieb has just implemented a "unified view", which combines the strengths of both the tree view and the list view. There's apparently also an override parameter for bots. -- ] 14:40, 2 September 2006 (UTC) | |||
:Categories are now appearing as a tree by default with no apparent means of over-riding this - help please! I find the list view much easier to read and navigate. ] 15:19, 2 September 2006 (UTC) | |||
One potential problem is that people who click on the "+" sign and get the "nothing found" result, might think that is the end of the road: no articles there. Of course, it really means that there are just no subcategories. But will new users realise they need to click on the category link to see the articles inside the category? ] 16:10, 2 September 2006 (UTC) | |||
:Another problem is that it is slower and less intyitive than the list, and depriving users of the choice (as appears to have happened) will discourage editors from exploring the categories to find the best ones for articles. ] 16:13, 2 September 2006 (UTC) | |||
::I might (eventually) prefer the option to switch between views, rather than this "unified" version in use at the moment. But please, where was this discussed? It could be a great feature, and I use many of the Category tools, including the awesome , but I really want to see a debate about this rather major change (or be pointed to one if I missed it). There is also a post by Tim Starling that explains some of this. Also, Tim's comment above was ''"In response to some criticisms"'' - well, where can I read these criticisms and add my own? Thanks. ] 16:21, 2 September 2006 (UTC) | |||
== Edit summary stubbornness == | |||
Occasionally, I get the message warning me of no edit summary, even though I've provided one. Cute workarounds, like previewing again and then saving, with or without copy-pasting the edit sum, sometimes work and sometimes save the page without any edit sum. I feel it's ''vital'' to edit with good summaries, so this is an issue for me. ]] 02:42, 2 September 2006 (UTC) | |||
:I don't think it counts the section that you are editing as part of the edit summary (the part of the summary that's like <code>/* Edit summary stubbornness */</code>). Could that be your problem? —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:24, 2 September 2006 (UTC) | |||
== Zero section editing == | |||
Hello all. I suggest adding a feature to display '' link for zero section as this is done in Russian Misplaced Pages. You should append<pre> | |||
/* Making "edit" link for zero section */ | |||
var disable_zero_section = 0; | |||
function edit_zero_section() | |||
{ | |||
if(disable_zero_section != 1 && (document.getElementById('bodyContent').innerHTML.match('class=\"editsection\"'))) | |||
document.getElementById('bodyContent').innerHTML = "<div class=\"editsection\" id=\"ca-edit-0\"></div>" + document.getElementById('bodyContent').innerHTML; | |||
} | } | ||
</syntaxhighlight> | |||
addLoadEvent(edit_zero_section); | |||
*You can pretty much style anything at all, almost every element has a class or ID, view the page source to see them all. — ] <sup>]</sup> 01:25, 12 January 2025 (UTC) | |||
</pre> | |||
:(edit conflict) {{ping|Mitch Ames}} This is the current CSS in MonoBook: | |||
into ] and <pre>.editsection { float: right; margin-left: 5px; }</pre> into ]. This link looks like all other '' links. If doubt, please test in your own ] & ]. In Russian Misplaced Pages this is a default. ] 07:59, 2 September 2006 (UTC) | |||
<syntaxhighlight lang="css"> | |||
div#content, | |||
:Full support. If the specialists don't find any no-go's I would love to have this. I tested it in my user js/css and found a bug. The js should be: | |||
div#p-cactions li a:hover, | |||
<pre> | |||
div#p-cactions li.selected a, | |||
/* Making "edit" link for zero section */ | |||
div#content div.thumb { | |||
var disable_zero_section = 0; | |||
background-color:#F8FCFF; | |||
function edit_zero_section() | |||
{ | |||
if(disable_zero_section != 1 && (document.getElementById('bodyContent').innerHTML.match('class=\"editsection\"'))) | |||
document.getElementById('bodyContent').innerHTML = "<div class=\"editsection\" id=\"ca-edit-0\"></div>" + document.getElementById('bodyContent').innerHTML; | |||
} | } | ||
</syntaxhighlight> | |||
addLoadEvent(edit_zero_section); | |||
:You could change it to white in ] with !important added to override the existing CSS: | |||
</pre> | |||
<syntaxhighlight lang="css"> | |||
:--] 10:06, 2 September 2006 (UTC) | |||
div#content, | |||
::If that means what I think it does (having an edit box for the lead/intro, the text before the first section header) I most definitely support that. --] 11:47, 2 September 2006 (UTC) | |||
div#p-cactions li a:hover, | |||
:::Aye, you can see it in action on the ]. However, if we decide to have this, I think it would be better to write it directly into the software, because: | |||
div#p-cactions li.selected a, | |||
:::* No Javascript would be used. This means less downloading and some people don't have Javascript enabled. | |||
div#content div.thumb { | |||
:::* It seems like a simple task to write it into the software. | |||
background-color:white !important; | |||
:::* It would work with all the Wikipedias. | |||
} | |||
:::* <s>It could respect <nowiki>__NOEDITSECTION__</nowiki>, or maybe this does that already?</s> | |||
</syntaxhighlight> | |||
:::] 12:18, 2 September 2006 (UTC) | |||
:] is a whole language and our skins have numerous things which can be targeted with CSS. A list of all possible tweaks is not realistic but maybe there should be an attempt to list significant tweaks many users may want. Some of ] and ] make CSS tweaks without users having to copy the CSS. ] (]) 01:36, 12 January 2025 (UTC) | |||
:::: Arguments against Javascript are too common, not related to this idea. The fact is that we need this feature right now (it provides great traffic economy when zero section should be edited in big article). Also, this code ''supports'' NOEDITSECTION: it only appends edit link for zero section if there is already at least one edit link (so it will not be displayed for articles with NOEDITSECTION or protected articles, for article without subtitles or when user disables edit links in preferences). ] 12:24, 2 September 2006 (UTC) | |||
::{{section link|Help:User style|CSS}} has some info and sample changes. ] (]) 04:11, 12 January 2025 (UTC) | |||
::::: Cool, that's good that it works like that. I disagree that we need it "right now". Wouldn't it be better to wait a bit longer to get it implemented directly into the software so that it can benefit everyone, instead of rushing it in just for us? ] 12:40, 2 September 2006 (UTC) | |||
:::::: I think that increasing global JS in size isn't so bad for users while it is cached by browser. Yes, you'll be forced to reload about 3K after this change but you spend much more reading your watchlist once :). About engine implementation: MediaWiki developers are too busy; haven't you seen number of unresolved reports in ]? ;) So, I think that's not good idea to place some fixes on our side right now... ] 12:50, 2 September 2006 (UTC) | |||
::::::: Perhaps it is okay to get it written in like this for now, and then a permanent solution could be implemented in the future. I doubt it'll save much bandwidth, but it's useful at least. Do you know why the pages don't have links written into the top already? There may be a valid reason for that. ] 13:27, 2 September 2006 (UTC) | |||
:I strongly support this being added to the site js and css. Why not common.css and common.js though? —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:20, 2 September 2006 (UTC) | |||
::There is no ]. See ]. --] 15:53, 2 September 2006 (UTC) | |||
== Using images from other wikipedia == | |||
I usually write in CAtalà viquipedia and sometimes I need an image that it's not in Commons but I find in GErmany wiki, for instance. The only solutions I know is copy this image to Commons and, then use it from Català wiki. Is it possible to use an image from English, French or whatever wikipedia without move it previously to Commons?. What should be the sintax to display the image?.Thanks. --] 09:52, 2 September 2006 (UTC) | |||
:I don't think that there is a way to do that. You either have to copy it to your local Misplaced Pages if it's under fair use or put it on commons for everyone to use if it's under a free license. —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:21, 2 September 2006 (UTC) | |||
== Job queue == | |||
A couple of things I've observed about the job queue at ]: | |||
#If only <nowiki><noinclude></nowiki> text is edited in a template, which of course has no affect on pages transcluding it, the job queue still grows. In the case of very heavily used templates like {{tl|WPBiography}} this can add a 6 figure number to the queue unnecessarily. It would be better if Mediawiki were able to filter our changes of this kind. | |||
#It would seem also that if a template is edited, and then changed again whilst the first round of changes are in the job queue (not desirable, but sometimes a bug is found or an edit reverted) the job queue grows again. Wouldn't it be better to queue up articles only once and perform all changes when the article reaches the front of the queue. --] 15:31, 30 August 2006 (UTC) | |||
:# Could it be that you meant text in ]? If yes, ] solves that problem. | |||
:# Would be nice, but is nothing to make us bothered, as this is the job of the developers to optimise the servers as far enough as needed to support what is allowed. Or disallow by technical restrictions (example: ]) what is unwanted and will never be tolerated. Of course this as an ideal ;-). --] 14:26, 2 September 2006 (UTC) | |||
:::Whoops, I did mean <nowiki><noinclude></nowiki>. Thanks. --] 17:36, 2 September 2006 (UTC) | |||
== Listing redirects to a template == | |||
I've just moved a heavily used template ({{tl|WikiProjectSongs}}→the much easier to remember {{tl|Songs}}). | |||
My problem is that this template is used on over 13000 talk pages ({{WP1|Song}}) and the what links here list is very large. Is there any way of finding out which pages ''redirect'' there only, so I can check for double redirects? --] 11:50, 2 September 2006 (UTC) | |||
:There are no double redirects. I set the limit to 5000 (]), which covered all links/transclusions, and looked for the word "redirect", it was only found once, so there's no double redirects. —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:28, 2 September 2006 (UTC) | |||
::Excellent, thanks - and thanks for the tip. --] 17:31, 2 September 2006 (UTC) | |||
== Odd article names == | |||
I was looking through the dump of the database looking for some words for the wiktionary when I ran into a whole bunch of odd article names: | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
*] | |||
Notice that these are article names with the space(s) removed. They are redirects. Any idea why these exist? (Someone at wiktionary asked about finding a list of all single word WP article names that didn't have entries in Wiktionary.) ] 14:05, 2 September 2006 (UTC) | |||
:No idea. Maybe initial typos that were moved later? —<span style="font: small-caps 14px times; color: red;">] (])</span> 14:30, 2 September 2006 (UTC) | |||
:Early versions of MediaWiki used ] to generate wikilinks, and other wiki softwares still do. These are probably very old articles or had such redirects made to catch links created in that style by users who are used to link like that from other wikis. --] <span style="font-size:75%">]</span> 15:28, 2 September 2006 (UTC) | |||
::Yes, these are old CamelCase redirects. They probably need to be kept for historical reasons. ] 16:22, 2 September 2006 (UTC) | |||
:::Well, that's interesting. Thank you. ] 17:01, 2 September 2006 (UTC) | |||
To confirm this, you can look back to the date of creation. For example, see the . ] 17:32, 2 September 2006 (UTC) | |||
== Namespace question == | |||
Hi! Quick question: If I make an edit to ], then in which namespace would my edit be counted to be in—user space or article space? TIA!--]<sup>a.k.a.D<font color="green">]</font>epu<font color="white"> </font>Joseph |<font color="green">]</font></sup> 14:11, 2 September 2006 (UTC) | |||
:User space. It is a subpage of page Example in namespace User. ] 14:18, 2 September 2006 (UTC) | |||
::Okay, thanks! I was beginning to wonder why I was having so many user space edits. This explains it. Thank you.--]<sup>a.k.a.D<font color="green">]</font>epu<font color="white"> </font>Joseph |<font color="green">]</font></sup> 14:28, 2 September 2006 (UTC) | |||
== wikify template == | |||
Um, is something up with the wikify_date template? I think someone messed with it, and I don't know how to fix it. Thanks. ] 17:52, 2 September 2006 (UTC) | |||
:Please ask ] (, ). --] 18:09, 2 September 2006 (UTC) | |||
::Perhaps also point out that the {{tl|Wikify}} template now appears to use the first optional parameter for two things, the date and whether the template is being used on an article or section. ] 18:14, 2 September 2006 (UTC) | |||
==Assistance needed at Wikiversity== | |||
Over at the English ], we're working on a ]. It contains some bugs that need to be eliminated, and I'm hoping to recruit an experienced coder to take on the task. In particular, we need to add <nowiki><h2> and </h2></nowiki> elements to the headings in the right-hand column, and the image is off-center (and lacking the right-hand border) in IE6. Also, the original designer used a complex system of transclusion that hopefully could be simplified, and I'm sure that plenty of our code is sloppy and inefficient. | |||
Thanks in advance! —] 09:03, 27 August 2006 (UTC) | |||
:No one has responded, so I'm bumping this to the bottom. If anyone can help, please step forward. —] 08:15, 29 August 2006 (UTC) | |||
== Image placement is broken on ] == | |||
::Out of desperation, I'm bumping this one more time. We have consensus to implement the new Wikiversity main page, and only the need to fix these bugs is stopping us. Is anyone able and willing to help? —] 18:06, 2 September 2006 (UTC) | |||
] | |||
:::might be worth trying th contact people listed at or .] 18:42, 2 September 2006 (UTC) | |||
The images in the article ] (]) are not placed correctly on desktop. Sometimes, the right-hand column of images overlaps with the reference section, but not always. –] (]]) 02:38, 12 January 2025 (UTC) |
Latest revision as of 04:11, 12 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)
- Or perhaps this is a bug? YBG (talk) 02:50, 12 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)
Rollback does not count as an "edit"
When an account conducts a rollback, the edit does not count towards their edit count according to Misplaced Pages, such as at their contributions page. At least, that is what I have observed. Because of this, there is a discrepancy between their edit count according to Misplaced Pages itself and their edit count according to XTools. Is this an intentional feature or a bug? By the way, I am not asking this because I am obsessed with my edit count, I am just curious as to why this is. Cyrobyte (talk) 21:09, 11 January 2025 (UTC)
- This is a known bug that will be fixed with on the next WP:THURSDAY. T382592. * Pppery * it has begun... 22:07, 11 January 2025 (UTC)
- (edit conflict) Well, let's test it. As I type this, Special:Contributions/Redrose64, just refreshed, says "A user with 273,195 edits". I now make this edit, and I have 273,196 edits. I apply WP:ROLLBACK to that edit, and I again have 273,196 edits. So there appears to be truth in what you say. I'm wondering if there is some form of lag involved, and my edits might tick up later in the day. --Redrose64 🌹 (talk) 22:13, 11 January 2025 (UTC)
Background colour for Talk and other pages
How can I change the background colour of Talk pages without changing Skin. I'm using MonoBook, and the talk page background is blue, but I'd like to change it to white. I presume that I can edit my monobook.css or common.css (I have done previously for other similar things, eg Watchlist, so I'm familiar with the general process).
Do we have a list of all the tweaks that can be to CSS, rather than having to ask about individual ones? Mitch Ames (talk) 00:47, 12 January 2025 (UTC)
- If that is what you really want to change, you can try adding this to your Special:MyPage/monobook.css :
body.ns-1 { background-color: white; }
- You can pretty much style anything at all, almost every element has a class or ID, view the page source to see them all. — xaosflux 01:25, 12 January 2025 (UTC)
- (edit conflict) @Mitch Ames: This is the current CSS in MonoBook:
div#content, div#p-cactions li a:hover, div#p-cactions li.selected a, div#content div.thumb { background-color:#F8FCFF; }
- You could change it to white in Special:MyPage/monobook.css with !important added to override the existing CSS:
div#content, div#p-cactions li a:hover, div#p-cactions li.selected a, div#content div.thumb { background-color:white !important; }
- CSS is a whole language and our skins have numerous things which can be targeted with CSS. A list of all possible tweaks is not realistic but maybe there should be an attempt to list significant tweaks many users may want. Some of Misplaced Pages:User scripts/List and Special:Preferences#mw-prefsection-gadgets make CSS tweaks without users having to copy the CSS. PrimeHunter (talk) 01:36, 12 January 2025 (UTC)
- Help:User style § CSS has some info and sample changes. isaacl (talk) 04:11, 12 January 2025 (UTC)
Image placement is broken on Toque macaque
The images in the article Toque macaque (permalink to current version) are not placed correctly on desktop. Sometimes, the right-hand column of images overlaps with the reference section, but not always. –LaundryPizza03 (dc̄) 02:38, 12 January 2025 (UTC)
Category: