Wikipedia:Village pump (technical)/Archive 97
This page contains discussions that have been archived from Village pump (technical). Please do not edit the contents of this page. If you wish to revive any of these discussions, either start a new thread or use the talk page associated with that topic.
< Older discussions · Archives: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217
Link rot continuing
So a while ago (I think over a year, but I may be overstating things), I made a pitch to start auto-adding archive links to cite-web template links. That discussion got bogged down and I lost track of it, but it seems, at least from the numerous dead links I've seen, that the end result was apparently no action.
I tend to use archive.org, I don't care which archive source we use, I don't care if we use a random number generator to choose among a list of possible archive sites and invite anyone who wants to join that list if they can handle the requests.
We could do this via bot. All we need is a simple bot that goes to cite-web template links, checks if there are archived copies, if it's dead (or I would prefer even if it wasn't dead yet), add an archiveurl and archivedate parameter (if we can make it smart enough and the archive source offers multiple archived copies, we should aim for the copy closest to the access date (if available, otherwise closest to the date the citation was added, if available, otherwise latest), barring those with bad http response codes). I'm not an expert on Wikipedia bots and I also am not generally active enough to wade through the bot approval process, but someone could write this.
However, this is also something which ought to be doable on the Wikipeda software-level, and/or the Wikipedia foundation. I would just like to see some action by some one to combat this problem. Of course, I'm sure someone will ask, why not me? Maybe someday, but given my level of Wikipedia involvement, I'm not betting on soon. Jztinfinity (talk) 19:20, 5 February 2012 (UTC)
- Random web pages archive OK, but very few periodicals allow themselves to be archived by free services, opting rather to use a pay-to-view archiving solution. An automated archiving solution would preferentially maintain links to the lowest quality sources, unfortunately. Not a bad idea to do, it's just a matter of looking at the consequences of putting such a solution in place. --User:Ceyockey (talk to me) 19:51, 5 February 2012 (UTC)
- I think that one thing which could help to deal with link rot where a periodical is involved would be implementation of the findtpl extension. I found this a minute ago while poking around for ways to search citation template parameter values for a particular periodical title, The News Journal, which has a 'move to pay-to-read archive' policy in place which breaks all article links in a matter of weeks after use here. The use of the findtpl extension in conjunction with some bot work could provide a useful assist to people who want to monitor references to particular periodicals in citations. --User:Ceyockey (talk to me) 23:16, 5 February 2012 (UTC)
Renumbering template parameters
When adding a new parameter to a template that calls {{Infobox}}, it's necessary to increment the numbers of all the subsequent parameters. Does anyone have a script or tool to perform this tedious task? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:37, 5 February 2012 (UTC)
Broken bullet points
I don't know if this is a new issue, but I've never encountered it before until twice recently: Bullet points and numbered lists failing to wrap around floating images (example) breaking away from their sentences. (I can't remember the other example!) There's a similar, not-so-critical problem with indents not working when placed to the right of an image. Can this be fixed with code or is it a software issue? nagualdesign (talk) 07:56, 29 January 2012 (UTC)
- What browser/OS are you using? Your example looks OK to me using IE8 on Windows 7 (but I think I remember seeing the problem you have described using IE9 on Windows 7). DH85868993 (talk) 08:11, 29 January 2012 (UTC)
- Yes I've seen it with Win7 & IE9. Roger (talk) 08:20, 29 January 2012 (UTC)
- Win7/IE9, yes. I found another example, too. Edit: On my computer the bullet points float above the image on the far left. nagualdesign (talk) 08:32, 29 January 2012 (UTC)
- Yes I've seen it with Win7 & IE9. Roger (talk) 08:20, 29 January 2012 (UTC)
- I've rearranged the images, adding {{-}} to prevent text-wrapping. Goodvac (talk) 08:25, 29 January 2012 (UTC)
- Thank you but that was not what I wanted, and moving the panorama down was unnecessary either way - it's the smaller image causing the interference. nagualdesign (talk) 08:32, 29 January 2012 (UTC)
- I moved the panorama because it just looked odd at the top of the article. Feel free to move it back up if you so wish, but {{-}} is the key to fixing the text-wrapping. Goodvac (talk) 08:39, 29 January 2012 (UTC)
- Thank you but that was not what I wanted, and moving the panorama down was unnecessary either way - it's the smaller image causing the interference. nagualdesign (talk) 08:32, 29 January 2012 (UTC)
- It's a small bug in the CSS implementation. The bullets/numbers are placed outside the list item content (list-style-position: outside;). This is fine when there is nothing in front of them, but interferes with floating content. What basically happens is that the list margins are ignored. Using inside would fix lists beside floating content, but will break list indenting. — Edokter (talk) — 11:17, 29 January 2012 (UTC)
- Has the bug always been there? The layout isn't ideal in IE8 or IE6 either (see screenshot). I don't recall seeing this before. - Pointillist (talk) 11:40, 29 January 2012 (UTC)
- Yes, it has always been there. — Edokter (talk) — 11:55, 29 January 2012 (UTC)
- It's been there as long as I can remember (May 2009). I try to avoid placing left-aligned images low down in a section, in case they protrude into the next. Right-aligned images protruding into the next section are less of a problem. --Redrose64 (talk) 17:12, 29 January 2012 (UTC)
- Thank you to those who have taken the time to follow this issue up. Whilst it is arguably very minor it's certainly worth adding to the To do list for the programmers. Internet Explorer with all of its quirks is the bugbear of many a website designer, but design for it we must. 'Favouring the other leg', so to speak, is not technically a solution. nagualdesign (talk) 11:20, 30 January 2012 (UTC)
- It's not just IE; all browsers exhebit this behaviour. And as I explained above, there is no solution. It's basically a design consideration. — Edokter (talk) — 11:27, 30 January 2012 (UTC)
- Would adjusting the right-hand margin of left-floated images to a more happy medium help? - Jarry1250 [Deliberation needed] 14:08, 30 January 2012 (UTC)
- That may cause excessive space between the image and normal text. — Edokter (talk) — 14:41, 30 January 2012 (UTC)
- AFAICS it is just IE 9 (the top screenshot in the image above) where the list numbers and bullets are outside the layout box. Happens in both 32-bit and 64-bit IE9 on 64-bit Windows 7, using Vector, Monobook and Simple skins. This is a distinct bug using IE9/Win7. It doesn't happen in Chrome, FF or older IE: they just exhibit the known list-style-position: outside; issue described by Edokter. - Pointillist (talk) 10:10, 6 February 2012 (UTC)
- Ah, didn't catch that. I'm curious to see what would happen with list-style-position: inside; in IE9 (which I don't have). In any case, I'm afraid we still would not be able to fix it. Best practice is to avoid lists next to left-floating elements. — Edokter (talk) — 11:53, 6 February 2012 (UTC)
- Would adjusting the right-hand margin of left-floated images to a more happy medium help? - Jarry1250 [Deliberation needed] 14:08, 30 January 2012 (UTC)
- It's not just IE; all browsers exhebit this behaviour. And as I explained above, there is no solution. It's basically a design consideration. — Edokter (talk) — 11:27, 30 January 2012 (UTC)
- Thank you to those who have taken the time to follow this issue up. Whilst it is arguably very minor it's certainly worth adding to the To do list for the programmers. Internet Explorer with all of its quirks is the bugbear of many a website designer, but design for it we must. 'Favouring the other leg', so to speak, is not technically a solution. nagualdesign (talk) 11:20, 30 January 2012 (UTC)
- It's been there as long as I can remember (May 2009). I try to avoid placing left-aligned images low down in a section, in case they protrude into the next. Right-aligned images protruding into the next section are less of a problem. --Redrose64 (talk) 17:12, 29 January 2012 (UTC)
- Yes, it has always been there. — Edokter (talk) — 11:55, 29 January 2012 (UTC)
- Has the bug always been there? The layout isn't ideal in IE8 or IE6 either (see screenshot). I don't recall seeing this before. - Pointillist (talk) 11:40, 29 January 2012 (UTC)
Help moving list defined references
I want to move a lot of text with a lot of references from Game of Thrones (TV series) to Game of Thrones (season 1). Unfortunately, the source article uses list-defined references (WP:LDR). This means I must copy the entire huge list of references to the target article, and then I get cite errors in the reference lists in both articles because many footnotes defined in the list are now used in the other article. Is there some fix or workaround for not having to sort out manually every single reference? Or is there a tool that can convert the article back to normal inline references format, which allows much more flexible editing? Sandstein 20:12, 5 February 2012 (UTC)
- I fixed the cite errors by converting the entire article (including the LDR portion that you added) back to the inline format using my References segregator script. These are the steps I performed:
- I used regex to replace uses of the {{r}} template with plain ref tags.
- I copied and removed (cut) the entire LDR list from the wikitext.
- I clicked the "Segregate refs for editing" button.
- I removed all the empty ref tags from the lower text box.
- I pasted the LDR list into the lower text box (after its existing contents).
- I saved the page, which merged the citation templates from the lower text box into the upper text box and removed the unused footnotes in the process.
- I only did a quick check for obvious errors and duplicate references, so you probably should examine the list of references to see if there is anything that did not convert correctly. PleaseStand (talk) 20:54, 5 February 2012 (UTC)
- Thanks for your prompt and competent help! I'm now trying to fix the corresponting errors in the source article using the same procedure. Do you remember the regex you used for the first step? Sandstein 21:03, 5 February 2012 (UTC)
- Or are there other regex experts around? Simply using {{r|(.+)}} → <ref name="\1" /> doesn't work, as this will treat lines that contain multiple {{r}} entries as one match. (As an aside, this weird references format really annoys me; it's ridiculous that one needs regex knowledge and a special script just to move text from one article to the other.) Sandstein 21:34, 5 February 2012 (UTC)
- I agree that {{r}} and {{rp}} are annoying. If your regex engine is sufficiently advanced, you could try {{r|(.+?)}} instead; otherwise you could try {{r|([^}]+)}}. See Regex#Lazy quantification for an explanation of how this works. Anomie⚔ 00:36, 6 February 2012 (UTC)
- I have fixed the cite errors on the source article using the same procedure. I used the "Search and replace" feature of the enhanced editing toolbar (Search for:
{{r\|([^}]+)}}
, Replace with:<ref name="$1"/>
, Treat search string as a regular expression) to deal with {{r}} (note the backslash that escapes the vertical bar). PleaseStand (talk) 02:38, 6 February 2012 (UTC)- Thanks again! I have documented this at Help:Converting between references formats. Sandstein 07:15, 6 February 2012 (UTC)
- I have fixed the cite errors on the source article using the same procedure. I used the "Search and replace" feature of the enhanced editing toolbar (Search for:
- I agree that {{r}} and {{rp}} are annoying. If your regex engine is sufficiently advanced, you could try {{r|(.+?)}} instead; otherwise you could try {{r|([^}]+)}}. See Regex#Lazy quantification for an explanation of how this works. Anomie⚔ 00:36, 6 February 2012 (UTC)
HOW TO EDIT IN IPHONE?
LONG ARTICLE, I CAN NOT EDIT IN IPHONE. BECAUSE I CAN NOT SCROLL DOWN IN EDIT WINDOW.
HOW TO SCROLL DOWN IN EDIT WINDOW?
I WANT, BELOW SUBJECT, "WRITE THE LAST" ICON
BECAUSE, IN IPHONE, SCROLL DOWN IS VERY DIFFICULT.
IN SOUTH KOREA, 1/2 PEOPLE USE IPHONE. -- Bonafide2004 (talk) 23:15, 5 February 2012 (UTC)
- All other observations aside, this is probably a very valid point. Anyone else tried editing with iOS or Android devices? ▫ JohnnyMrNinja 23:24, 5 February 2012 (UTC)
- Please don't shout. --Redrose64 (talk) 23:28, 5 February 2012 (UTC)
- general question - not responding to Nin — Would searching for a term not jump to that term location in the edit window, as it does in a regular browser instance? --User:Ceyockey (talk to me) 23:28, 5 February 2012 (UTC)
- There is no search for term native for Safari/iPhone. I have an applet that I use for that purpose, and it will highlight terms, but not jump to them. PuppyOnTheRadio (talk) 03:35, 6 February 2012 (UTC)
I USE ANDROID. :)
I READ Help talk:Mobile access#Scroll down when editing a wiki page -- Bonafide2004 (talk) 23:31, 5 February 2012 (UTC)
- iPhone iOS 4.x will not allow scrolling, whereas iPhone iOS 5.x will. Updating your iOS software through iTunes should fix your issues. PuppyOnTheRadio (talk) 02:16, 6 February 2012 (UTC)
- Of course that only works for 3GS or later, as earlier models can't support iOS 5, if the users even want to update. Perhaps we should look at a simple addition to the editing window for these types of devices? ▫ JohnnyMrNinja 07:36, 6 February 2012 (UTC)
- People still use older model iPhones! OMG! PuppyOnTheRadio (talk) 08:22, 6 February 2012 (UTC)
- Serious note - it's an issue with the browser and not the site. I have tried playing with different options to be able to adjust it and had no joy. Again, going to Help talk:Mobile access#Scroll down when editing a wiki page I've added another way of getting around this, which is to copy all text to notepad, make the edits, and tyhen copying it all back to the edit box. It's a pain to do but I have not been able to find any better work-around. PuppyOnTheRadio (talk) 08:38, 6 February 2012 (UTC)
- Of course that only works for 3GS or later, as earlier models can't support iOS 5, if the users even want to update. Perhaps we should look at a simple addition to the editing window for these types of devices? ▫ JohnnyMrNinja 07:36, 6 February 2012 (UTC)
- iPhone iOS 4.x will not allow scrolling, whereas iPhone iOS 5.x will. Updating your iOS software through iTunes should fix your issues. PuppyOnTheRadio (talk) 02:16, 6 February 2012 (UTC)
Local image search?
I've been trying to search local images but the search results include Flickr images. Is there an easy way to filter these out? ▫ JohnnyMrNinja 01:48, 6 February 2012 (UTC)
- I usually attempt using MediaWiki's search function as well as Google to find hard-to-reach things. Does this search help? Killiondude (talk) 06:24, 6 February 2012 (UTC)
- The problem is that Commons images display as local WP pages to search engines, so many images that come up are actually on Commons. ▫ JohnnyMrNinja 06:33, 6 February 2012 (UTC)
- How about this? Goodvac (talk) 06:41, 6 February 2012 (UTC)
- That does it, thanks! Although, it still doesn't make sense that the default search for this wiki contains images hosted on another wiki. Makes maintenance a bit of a pain. ▫ JohnnyMrNinja 07:03, 6 February 2012 (UTC)
- It's the way that the Wikimedia projects are linked together. File:Commons-logo.png is hosted on commons at http://commons.wikimedia.org/wiki/File:Commons-logo.png, and to make it usable on Wikipedia, it may also be reached as http://en.wikipedia.org/wiki/File:Commons-logo.png - two locations, one page. If shortcuts like this didn't exist, it would be more difficult to use images from commons, and much of the point of having commons would be lost. --Redrose64 (talk) 14:48, 6 February 2012 (UTC)
- Most image searchers probably want to view or use images without caring where they are so it makes sense to include Commons by default. But it would sometimes be helpful if the namespace selector had an option for local files. PrimeHunter (talk) 15:08, 6 February 2012 (UTC)
- It's the way that the Wikimedia projects are linked together. File:Commons-logo.png is hosted on commons at http://commons.wikimedia.org/wiki/File:Commons-logo.png, and to make it usable on Wikipedia, it may also be reached as http://en.wikipedia.org/wiki/File:Commons-logo.png - two locations, one page. If shortcuts like this didn't exist, it would be more difficult to use images from commons, and much of the point of having commons would be lost. --Redrose64 (talk) 14:48, 6 February 2012 (UTC)
- That does it, thanks! Although, it still doesn't make sense that the default search for this wiki contains images hosted on another wiki. Makes maintenance a bit of a pain. ▫ JohnnyMrNinja 07:03, 6 February 2012 (UTC)
- How about this? Goodvac (talk) 06:41, 6 February 2012 (UTC)
- The problem is that Commons images display as local WP pages to search engines, so many images that come up are actually on Commons. ▫ JohnnyMrNinja 06:33, 6 February 2012 (UTC)
Edit a section from a diff
Wasn't it once possible to edit a section directly from a diff? It would be convenient to do so. DrKiernan (talk) 08:31, 6 February 2012 (UTC)
- I'm glad you can't. I often forget I'm looking at a diff and try to edit a section. But that's just me. Someguy1221 (talk) 08:35, 6 February 2012 (UTC)
- On the other hand, I don't a point in not being able to edit a section in a diff to the latest version of a page. Helder 09:47, 6 February 2012 (UTC)
- That's what I mean: if I click on a diff from my watchlist then I often want to go straight to the amended section to make a further edit; but instead I have to edit the entire page. I thought we used to be able to go straight to the section and edit it. DrKiernan (talk) 10:36, 6 February 2012 (UTC)
- @Someguy1221: The old behaviour was that section edit links would only show in a diff if the more recent version of the two being compared was the current version; in that way you couldn't accidentally edit a section within an old version. The new behaviour is that some pages show section edit links in a diff: and when they are shown, they still follow the old rule about only showing when comparing to current version.
- On the other hand, I don't a point in not being able to edit a section in a diff to the latest version of a page. Helder 09:47, 6 February 2012 (UTC)
- Editing a section from a past version is technically possible as a combination of
oldid=
id withaction=edit§ion=
n, but it would be unwise to call this from adiff
oroldid
because of the risk of wikitext corruption due to sections' renumbering. Incnis Mrsi (talk) 10:13, 6 February 2012 (UTC)
- See Wikipedia:Village pump (technical)/Archive 96#Missing section edit links on a diff and bugzilla:33671. PrimeHunter (talk) 11:33, 6 February 2012 (UTC)
- Yes, this used to be possible and was recently broken. You can still edit from a diff if you transclude a special page onto the page, though no one knows why. According to comments in the bug, this has been fixed in MediaWiki 1.19, which will hopefully be rolled out within the next few weeks. Ucucha (talk) 13:53, 6 February 2012 (UTC)
- Yeah, it's hisioulsy anoying to me -- 98% of the time when I want to edit and it's not a rollback/undo, I'm looking at a diff, because after all, how else would I check what's new?. The change has been annoying enough that I've simply not even bothered a few times. ♫ Melodia Chaconne ♫ (talk) 14:54, 6 February 2012 (UTC)
- Yes, this used to be possible and was recently broken. You can still edit from a diff if you transclude a special page onto the page, though no one knows why. According to comments in the bug, this has been fixed in MediaWiki 1.19, which will hopefully be rolled out within the next few weeks. Ucucha (talk) 13:53, 6 February 2012 (UTC)
Movepagetext not showing proper message to admins.
I've noticed that I'm not getting the admin-specific message when I move a page: "Note to admins: The "leave a redirect behind" option should only be unchecked when..". I left a note on this on the talk page here but there's been no response. Is this just me or is no sysop seeing the appropriate warning? Tassedethe (talk) 17:01, 6 February 2012 (UTC)
- That message is not used anymore, the new message is Movepagetext-noredirectfixer but nobody cared to update it, see WP:Village pump (technical)/Archive 96#Special:MovePage instructions. — AlexSm 17:13, 6 February 2012 (UTC)
- Ah, that explains that then. It does seem that the new message is missing much of the older one's functionality e.g the specific warnings about trying to move User pages. Tassedethe (talk) 18:46, 6 February 2012 (UTC)
System messages in German?
Please see this permanent link. At the bottom of the page an extra-large red font text says that there are <ref> tags but no <references /> tag in the article, but why does it say that in German? Maybe we've decided to gradually turn into a German-language Wikipedia, but there is one already... I'm confused :) --Theurgist (talk) 17:54, 6 February 2012 (UTC)
- It doesn't for me. --Golbez (talk) 18:02, 6 February 2012 (UTC)
- It's a bug, see T33216. A purge fixes it. Anomie⚔ 18:06, 6 February 2012 (UTC)
- (edit conflict) This is part of bug #31216, it's a fairly complex issue todo with the interaction of caching layers. - Jarry1250 [Deliberation needed] 18:07, 6 February 2012 (UTC)
- Documented at Help:Cite errors#Error in wrong language. ---— Gadget850 (Ed) talk 18:12, 6 February 2012 (UTC)
- Same issue as Wikipedia:Village pump (technical)/Archive 95#German cite error. The last person to edit the page had their interface language set to German, and you're getting their cached copy back. WP:PURGE the page, and it'll sort itself out. --Redrose64 (talk) 18:39, 6 February 2012 (UTC)
- Documented at Help:Cite errors#Error in wrong language. ---— Gadget850 (Ed) talk 18:12, 6 February 2012 (UTC)
Database error
Getting the following error when I save an edit:
A database error has occurred. We apologise for any inconvenience this might have caused. The most likely cause of this problem is a search or other operation that took too long. Possible reasons include:
* A search where all words are in quotes. Try searching without the quotes initially or add a few more words outside the quotes to restrict the search; * An exceptionally large personal watchlist (probably over 10,000 items); or * Exceptionally heavy load on the database servers.
Technical details about this error:
Last attempted database query: (SQL query hidden) Function: SqlBagOStuff::set
MySQL error: 1637: Too many active concurrent transactions (10.0.6.50)
Thanks. Lugnuts (talk) 19:10, 6 February 2012 (UTC)
- I keep on getting that too - only in the last 20 minutes or so, but I did get the same error a few times last week as well. It's not only when you try to save a page either - I got it the first time I tried to come here. SmartSE (talk) 19:14, 6 February 2012 (UTC)
- I'm getting this too. It'll come up, but the edit will still go through. Ten Pound Hammer • (What did I screw up now?) 19:20, 6 February 2012 (UTC)
- This error was caused by a mistake in the swift deploy (see next topic). It was resolved at about 19:20UTC. Bhartshorne (talk) 21:56, 6 February 2012 (UTC)
- Thanks. Lugnuts (talk) 08:06, 7 February 2012 (UTC)
Database error and linking with Commons
I originally got the Database error as mentioned above. Now I see odd things with images that come from Commons. Over at Commons, it's very slow to load a page with multiple images, and not all the images load. If I pull up a WP page that has images from Commons, such as Museums in East Texas or Museums in West Texas, some of the images will load, but in some places it instead links directly to the WP page image, rather than the image as the other do. Maile66 (talk) 19:24, 6 February 2012 (UTC)
- On my computer, the situation has been resolved for the time being. Maile66 (talk) 21:11, 6 February 2012 (UTC)
infobox and image conflicting (IE9)
Hi, just started having an issue with the infobox and the centered image in Fluorine conflicting. It was NOT an issue for weeks before, just started right now. Seems to be only in IE9 an issue. Mozilla is fine and so is Chrome. And even IE was fine until just now (fine for several days).
FYI, moving the image to the left did not help (with space separators). Still have the conflict (basically image will not display until after the infobox is done). If I allow to text wrap, will work, but then I break the section header. REally I want it the way it was before (centered, looked sweet).
Ideas? Will it fix itself?
TCO (talk) 05:23, 7 February 2012 (UTC)
P.s. Don't fuss at me for too many pictures or a big infobox or centering an image. I like using the layout as more than just a wall of text and only text wrapped images. Help please instead of fussing. ;-) Really everything was fine until a few hours ago.
- Is compatibility view enabled? If so, it breaks all sots of stuff on Wikipedia. ---— Gadget850 (Ed) talk 13:46, 7 February 2012 (UTC)
- That was it. Turned it back off. Must have hit it by mistake...it is right next to the reload button. Thanks for your expertise!TCO (talk) 14:51, 7 February 2012 (UTC)
Hidden text
The edit box used to have a one-click feature to hide text. But, it's not there anymore. I forgot how to hide text, and I had to search for in a labyrinth of help pages. Why can't that feature be retained in the new edit box? Aditya(talk • contribs) 13:26, 7 February 2012 (UTC)
- "Hide text" can refer to different features and I'm not sure which one you mean. Below "Save page" you can select "Wiki markup" in a drop down box (if you have JavaScript enabled). There you can click
<!-- -->
to make a source comment if that is what you mean. PrimeHunter (talk) 13:42, 7 February 2012 (UTC)
Type of user in javascript
Is there a simple test in javascript to determine whether a given username is a registered user or an ip? SpinningSpark 15:38, 7 February 2012 (UTC)
- Presumably a regex match is easiest, and to keep things simple (since I'm fairly confident we don't allow you to imitate anything that even looks like an IP address), we can use a more general regex that we might otherwise. If
username
is the relevant string:
if( username.match( /^([12]?[0-9][0-9]\.){3}([12]?[0-9][0-9])$/ ) ){
//IP
} else {
//User
}
- It's not particularly specific, but I don't think it needs to be. - Jarry1250 [Deliberation needed] 15:50, 7 February 2012 (UTC)
- This solution is not safe for work, because there are IPv6 unregs too. Incnis Mrsi (talk) 16:01, 7 February 2012 (UTC)
- It's not future proof, but it'll work for now. We don't have IPv6 users (yet). - Jarry1250 [Deliberation needed] 16:28, 7 February 2012 (UTC)
- This solution is not safe for work, because there are IPv6 unregs too. Incnis Mrsi (talk) 16:01, 7 February 2012 (UTC)
- What about mw.user.anonymous()? Helder 16:03, 7 February 2012 (UTC)
- If a set of four numeric values is tested, it's worth testing that each of those is in the range 0-255. That is, a user name like 256.256.256.256 cannot be an IP address. --Redrose64 (talk) 16:08, 7 February 2012 (UTC)
- I don't think we allow people to register as User:256.256.256.256, though I could be wrong. and mw.user.anonymous would be fine if you have a user object; I'd forgotten about that. It depends how careful you want to be (AFAIK, it's all done by username anyway: there's no official IP/username divide). - Jarry1250 [Deliberation needed] 16:28, 7 February 2012 (UTC)
- I just tried and couldn't register User:256.256.256.256; User:256.256.256.256.256 didn't work either. That one gave a different error message though (complaining about there being no letters in the name). It might come from MediaWiki:Titleblacklist though I haven't located the relevant regex. Ucucha (talk) 16:46, 7 February 2012 (UTC)
- Forgive me for not being very smart with this, but isn't mw.user.anonymous just returning whether or not I am an IP or not? What I need to know is whether a name I have stored in a variable is an IP. SpinningSpark 16:50, 7 February 2012 (UTC)
- How about mw.user.name() then (listed in the same manual page)? It apparently returns NULL for logged-out users. Ucucha (talk) 16:52, 7 February 2012 (UTC)
- I don't understand how I enter my variable into that expression. Can you give an example? SpinningSpark 18:02, 7 February 2012 (UTC)
- How about mw.user.name() then (listed in the same manual page)? It apparently returns NULL for logged-out users. Ucucha (talk) 16:52, 7 February 2012 (UTC)
- Forgive me for not being very smart with this, but isn't mw.user.anonymous just returning whether or not I am an IP or not? What I need to know is whether a name I have stored in a variable is an IP. SpinningSpark 16:50, 7 February 2012 (UTC)
- I just tried and couldn't register User:256.256.256.256; User:256.256.256.256.256 didn't work either. That one gave a different error message though (complaining about there being no letters in the name). It might come from MediaWiki:Titleblacklist though I haven't located the relevant regex. Ucucha (talk) 16:46, 7 February 2012 (UTC)
- I don't think we allow people to register as User:256.256.256.256, though I could be wrong. and mw.user.anonymous would be fine if you have a user object; I'd forgotten about that. It depends how careful you want to be (AFAIK, it's all done by username anyway: there's no official IP/username divide). - Jarry1250 [Deliberation needed] 16:28, 7 February 2012 (UTC)
- If a set of four numeric values is tested, it's worth testing that each of those is in the range 0-255. That is, a user name like 256.256.256.256 cannot be an IP address. --Redrose64 (talk) 16:08, 7 February 2012 (UTC)
- At svn User.php, the following test is defined (with ".xxx" as an alternative suffix for compatibility with old logs) in
User::isIP
: return preg_match('/^\d{1,3}\.\d{1,3}\.\d{1,3}\.(?:xxx|\d{1,3})$/',$name) || IP::isIPv6($name);
IP::isIPv6
is in turn defined at IP.php with some complicated regexes.User::isValidUserName
rejects usernames that matchUser::isIP
, are blank or too long, contain a slash, or (for ucfirst wikis) begin with a lowercase letter.- — Richardguk (talk) 17:00, 7 February 2012 (UTC)
function isIP(userName) {
var ip=false;
$.ajax({
url: '/w/api.php?action=query&list=allusers&aufrom='+userName+'&auto='+userName+'&auprop=rights&format=json',
success: function(data) { ip=typeof(data.query.allusers[0])=="undefined"; },
dataType: 'json',
async: false
});
return ip;
};
— Bility (talk) 18:42, 7 February 2012 (UTC)
- I have tried to implement that regex at User:Spinningspark/monobook.js but I don't really understand regex very well. It seems to be returning userIP=true no matter what the input. Can someone take a look? - it is right near the beginning of the page. SpinningSpark 19:06, 7 February 2012 (UTC)
- Don't wrap the regex in single quotes. In other words, change
'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.(?:xxx|\d{1,3})$/'
to/^\d{1,3}\.\d{1,3}\.\d{1,3}\.(?:xxx|\d{1,3})$/
. — Bility (talk) 19:21, 7 February 2012 (UTC)- Done it, but it makes no difference. The line still returns userIP=true no matter what. SpinningSpark 23:24, 7 February 2012 (UTC)
- The code
if (userIP=true)
is wrong. It should beif( userIP == true )
with two equal signs. — AlexSm 23:34, 7 February 2012 (UTC)- Ah, thanks for that. Forgot about the ==, all works now. Cheers everyone who looked at this. SpinningSpark 00:03, 8 February 2012 (UTC)
- The code
- Done it, but it makes no difference. The line still returns userIP=true no matter what. SpinningSpark 23:24, 7 February 2012 (UTC)
- Don't wrap the regex in single quotes. In other words, change
- I have tried to implement that regex at User:Spinningspark/monobook.js but I don't really understand regex very well. It seems to be returning userIP=true no matter what the input. Can someone take a look? - it is right near the beginning of the page. SpinningSpark 19:06, 7 February 2012 (UTC)
Persistent Talk Page Links
A common issue I've found is, someone will post a link to a talk page (or a village pump discussion or whichever), and then you click on it and get the most current version of the talk page with the content of that link archived. From that point you could try searching for that page, but finding an archived copy of a talk page based on a broken link can be painful. My proposal - I'm not sure. I mainly just wanted to say this is an issue in Wikipedia.
One possible solution, that would need fleshing out... Maybe next to section headers on talk pages/village pump pages there could be a link that says "permalink"? Jztinfinity (talk) 18:09, 28 January 2012 (UTC)
- I've been moaning and groaning for years about broken/stale links to past discussions. I usually just end up manually fixing the links myself. -- Ϫ 14:38, 29 January 2012 (UTC)
- This is something that the archiving bots ought to fix at archiving time. Josh Parris 14:41, 29 January 2012 (UTC)
- User:ClueBot III does. Anomie⚔ 17:32, 29 January 2012 (UTC)
- Example. --Redrose64 (talk) 19:52, 30 January 2012 (UTC)
- So ClueBot III changes links to archived discussion sections, but what about pages on which ClueBot III does not run, or pages in userspace which users do not wish to be changed? And what about external links (or even links kept personally by users outside of Wikipedia, say, copy/pasted somewhere)? The solution is not to change references to dead section links to point to different targets; one solution would be to design the software such that links to sections of discussion pages automatically redirect to archived copies. —danhash (talk) 14:55, 2 February 2012 (UTC)
- You'll love LiquidThreads, if they ever get it working and force it on us. Anomie⚔ 20:53, 2 February 2012 (UTC)
- So ClueBot III changes links to archived discussion sections, but what about pages on which ClueBot III does not run, or pages in userspace which users do not wish to be changed? And what about external links (or even links kept personally by users outside of Wikipedia, say, copy/pasted somewhere)? The solution is not to change references to dead section links to point to different targets; one solution would be to design the software such that links to sections of discussion pages automatically redirect to archived copies. —danhash (talk) 14:55, 2 February 2012 (UTC)
- This is something that the archiving bots ought to fix at archiving time. Josh Parris 14:41, 29 January 2012 (UTC)
- Any link fixing bot cannot solve the problem of link rot because there are also links in edit summaries, such as in [1]. Let us wait for LiquidTheads to come? Incnis Mrsi (talk) 19:17, 8 February 2012 (UTC)
Deploying Swift for thumbnails this week (Feb6-9)
This week (Monday through Thursday), I will be switching over the backend system that hosts thumbnails (scaled images) for all wikis from our existing server to Swift, a clustered object store. This move gets us ready to be able to dramatically increase the amount of data we can hold in Commons and the other wiki projects.
As with all new systems, though it has been tested, the possibility exists that something will go wrong. I would like your help testing and reporting any issues. There are two main methods available to report issues:
- IRC: join #wikimedia-tech and ping maplebed
- Wiki: add a section to the Issues page on mediawiki.org.
Today, only files that contain "/a/a2/" in the URL are be affected. More files will be affected throughout the week following a gradual rollout schedule. Though I will take bug reports on other issues, they're less likely to be related to the change I'm making.
More detail is available on the wikitech-l mailing list post I wrote last week.
Thanks for your help, Bhartshorne (talk) 21:53, 6 February 2012 (UTC)
- FYI: There is an Interwiki map that can be used as a reference to wikify links to wikitech:Swift and mailarchive:wikitech-l/2012-January/057905.html. – Allen4names 06:51, 7 February 2012 (UTC)
- Thanks; I've updated the post with the correct interwiki links. Bhartshorne (talk) 00:43, 9 February 2012 (UTC)
Edit notice color
Does anyone know the hex color of the bright orange edit notices we used to have? I would like to adopt it for my Wikia sites. – Confession0791 talk 03:40, 8 February 2012 (UTC)
- If you are talking about this notice:
- then the hex color is #ffce7b. Hope that helps. However, I may be misunderstanding you, as you said used to have. --Andrew (User:90) (talk) 04:13, 8 February 2012 (UTC)
- No, it was used for lists of tv episodes concerning the addition of unsourced future material. The color was closer to #ffcc00. – Confession0791 talk 04:24, 8 February 2012 (UTC)
- Ah, sorry 'bout that. Is there an article where you know for sure the edit notice was used? If so, and if the edit notice has been deleted, then perhaps an administrator would be willing to provide you with the deleted content so you could find your color. --Andrew (User:90) (talk) 04:43, 8 February 2012 (UTC)
- Do you mean Template:Future episodes editnotice? I don't see orange in the page history. PrimeHunter (talk) 04:49, 8 February 2012 (UTC)
- It was used for some teen sitcom episode lists. I talked to Beeblebrox, but he doesn't know anything about hex colors. – Confession0791 talk 04:53, 8 February 2012 (UTC)
- This search contains a lot of editnotices for TV episodes, but the couple I looked at did not have anything helpful in the history. I'm gonna have to give up on this one, but good luck finding what you're looking for. --Andrew (User:90) (talk) 05:00, 8 February 2012 (UTC)
- It was used for some teen sitcom episode lists. I talked to Beeblebrox, but he doesn't know anything about hex colors. – Confession0791 talk 04:53, 8 February 2012 (UTC)
- No, it was used for lists of tv episodes concerning the addition of unsourced future material. The color was closer to #ffcc00. – Confession0791 talk 04:24, 8 February 2012 (UTC)
- Testing that background:#FFA500 gives the same color as background:orange:
Automatically combining male and females into a single category
Is it possible to redirect categories? So if you put Category:Swordswomen on an article it would really go into Category:Swordsmen, but show as Swordswomen on the article? Richard-of-Earth (talk) 06:43, 7 February 2012 (UTC)
- It's not possible to display the pages in the target category. See Help:Category#Moving and redirecting category pages. If Category:Swordswomen was redirected to Category:Swordsmen then an article using Category:Swordswomen would display Swordswomen on the article and clicking it would lead to Category:Swordsmen, but the articles using Category:Swordswomen would not be displayed there. PrimeHunter (talk) 12:44, 7 February 2012 (UTC)
- The only permitted method for redirecting a category is by using the
{{Category redirect}}
template, see for example Category:Living People. If an article were given the wikicode[[Category:Living People]]
(capital "P"), it would be categorised as such; and within 24 hours a bot will come along and recategorise it as[[Category:Living people]]
(small "p"). I don't know if the bots will fixup all redirected categories though: Matekoraha Te Peehi Jaram has been in Category:Ngati Maru (Taranaki) for over three days now. --Redrose64 (talk) 14:06, 7 February 2012 (UTC)- Example bot edit here. The redirected category had existed for seven days; the page had been in that cat for five. --Redrose64 (talk) 18:11, 9 February 2012 (UTC)
- The only permitted method for redirecting a category is by using the
- So, should this be changed? Should a new kind of category redirect be made? Opinions? Richard-of-Earth (talk) 20:32, 7 February 2012 (UTC)
- This is a poor idea. It will just cause confusion if a page is displayed in a category but another category name is displayed on the page. PrimeHunter (talk) 20:40, 7 February 2012 (UTC)
Counting number of sections on page for transposing
I put something up earlier about this. I'm trying to get something that will count the number of sections in a particular page, and return the value to another page to be used with parser functions (so to return the nth last section.) I had a response that didn't help me earlier, so I'm bumping it back up. PuppyOnTheRadio (talk) 07:45, 7 February 2012 (UTC)
- You don't need to start a new thread. If you post to your original thread, which is at #Counting number of sections on page, it saves the discussion from becoming split. This will become a greater problem when one of the two becomes old enough for archiving, but the other isn't. --Redrose64 (talk) 14:10, 7 February 2012 (UTC)
- Good point. Still not an answer that helps me, and as the last discussion seems to have come to a schreeching halt, I'm just putting it up again now rather than waiting for the last one to be archived and then putting it up. PuppyOnTheRadio (talk) 00:56, 9 February 2012 (UTC).
- The best I can come up with is:
- Goto Google
- If you don't have one already, open an account
- Go to Google docs
- Create a spraedsheet
- Put in a cell this: =counta(ImportHtml(ʺhttp://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)ʺ,ʺlistʺ,3))
- You now have the count of topics from this page.
- Put in a cell this: =ImportHtml(ʺhttp://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)ʺ,ʺlistʺ,3)
- You now have a list of topics from this page.
- I don't know if this works for every article. You may have to change the index (3 in this case) for different pages. I leave it to you to figure out how to reverse the list. Richard-of-Earth (talk) 08:39, 9 February 2012 (UTC)
- Thanks - I might have a chat to a js scripter friend to see if he can twist this around a bit to work in a wikia.js file. PuppyOnTheRadio (talk) —Preceding undated comment added 00:58, 10 February 2012 (UTC).
Template:US year nav is included at the bottom of every XXXX in the United States article. But it really makes a mess of itself in some of these articles, such as 1777 in the United States. Notice how the bottom elements of the page get all bunched up? I thought I would be clever and insert {{clear}} at the top of the template, purge everything, and then the problem would be solved. But that did not work. Does anyone know how this problem can be solved? Am I missing an obvious problem in the article page? --Andrew (User:90) (talk) 21:26, 7 February 2012 (UTC)
- It wasn't you, someone didn't close some divs elsewhere on the page. — Bility (talk) 21:36, 7 February 2012 (UTC)
- Ah, I see what you did. I just did the same to 1776 in the United States and it worked. I wonder if it is a good idea to use {{Div col}} at all for lists that only contain a few items. Perhaps this is not the correct place to ask, but would anyone object if I just removed {{Div col}} instead of closing it in the other XXXX in the United States articles that are unclosed? --Andrew (User:90) (talk) 21:46, 7 February 2012 (UTC)
- I wouldn't object, since it looks stupid like that. — Bility (talk) 22:03, 7 February 2012 (UTC)
- I expect that there will be no technical objections, but you might like to run it past WP:USA who might have some sort of agreed style. --Redrose64 (talk) 22:14, 7 February 2012 (UTC)
- I wouldn't object, since it looks stupid like that. — Bility (talk) 22:03, 7 February 2012 (UTC)
- Ah, I see what you did. I just did the same to 1776 in the United States and it worked. I wonder if it is a good idea to use {{Div col}} at all for lists that only contain a few items. Perhaps this is not the correct place to ask, but would anyone object if I just removed {{Div col}} instead of closing it in the other XXXX in the United States articles that are unclosed? --Andrew (User:90) (talk) 21:46, 7 February 2012 (UTC)
- FYI: As suggested above, I have raised this issue here. --Andrew (User:90) (talk) 22:43, 9 February 2012 (UTC)
RIPE blocks WHOIS requests
It seems that RIPE are now blocking WHOIS requests from Toolserver: http://toolserver.org/~chm/whois.php?ip=2.222.86.252
See also http://www.ripe.net/data-tools/db/faq/faq-db/why-did-you-receive-the-error-201-access-denied Andy Dingley (talk) 22:33, 8 February 2012 (UTC)
- I notified the tool author in dewiki although he doesn't seem to be very active at the moment. We could suggest e.g. https://apps.db.ripe.net/search/query.html?flags=r&searchtext= for Template:Anontools. By the way, I made a userscript to automatically fetch and display whois on IP contribs pages. — AlexSm 20:12, 9 February 2012 (UTC)
"Edit count" and "Articles created" links
Since X! (talk · contribs) has now retired and his account has expired on the toolserver, what are we going to do with the "Edit count" and "Articles created" links at the bottom of Special:MyContributions page? Jared Preston (talk) 01:16, 9 February 2012 (UTC)
- You beat me to it. I was not aware of the connection until things evolved from my query at User talk:Drmies#Technical issue.3F. I hope that something can be sorted out but the technicalities are beyond me. - Sitush (talk) 01:38, 9 February 2012 (UTC)
- Need someone at the toolserver to resurrect this pretty important tool.Jasper Deng (talk) 03:42, 9 February 2012 (UTC)
- Apparently, the source code to the edit counter was only published through the web interface in a non-crawlable fashion. I do not see it in https://svn.toolserver.org/svnroot/soxred93/. So unless someone already happened to download the source code, X! is willing to provide a copy of his source code, or his Toolserver account can be somehow reactivated, someone will have to rewrite it. PleaseStand (talk) 05:52, 9 February 2012 (UTC)
- Need someone at the toolserver to resurrect this pretty important tool.Jasper Deng (talk) 03:42, 9 February 2012 (UTC)
- Edit-counts for all-language WPs: The SUL tool "sulinfo" still works, and shows the edit-counts for all WP languages, including for enwiki:
- That tool uses the Quentinv57 account. -Wikid77 (talk) 13:41, 9 February 2012 (UTC)
- Edit count w/ stats: http://toolserver.org/~River/cgi-bin/count_edits (or http://toolserver.org/~River/cgi-bin/count_edits?user=xxx&dbname=enwiki_p) for direct access on en-Wiki. Gives the same numerical results as X!'s counter, though you have to add the total edits (actually the live edits) and deleted edits to get what X! called total edits. There's a machine readable output version, too http://toolserver.org/~River/cgi-bin/count_edits?user=xxx&dbname=enwiki_p&machread=1. Regards, TransporterMan (TALK) 14:48, 9 February 2012 (UTC)
- Edit-counter pie chart for self use: I have been able to use the WikiChecker tool, but only for my own username and only with the default 500-edit analysis. For a user named "Axx" checking self:
- When I tried to request an analysis of "1000" edits, it gave an error message, but at least it had given the pie chart for my recent 500 enwiki edits. -Wikid77 14:55, 9 February 2012 (UTC)
- Now the links have been removed from the Special:MyContributions page, but it would be really, really nice if they could be replaced in the near future. X!'s tools were magnificent. Jared Preston (talk) 21:07, 9 February 2012 (UTC)
- Non-tech person here - I'd just like to add my hope that somehow this very useful tool can be reactivated. Beyond My Ken (talk) 22:26, 9 February 2012 (UTC)
- Concur it needs fixed X!'s tools were very helpful. Hopefully he would be willing to give another bot user his code.Edinburgh Wanderer 01:02, 10 February 2012 (UTC)
- Non-tech person here - I'd just like to add my hope that somehow this very useful tool can be reactivated. Beyond My Ken (talk) 22:26, 9 February 2012 (UTC)
- Now the links have been removed from the Special:MyContributions page, but it would be really, really nice if they could be replaced in the near future. X!'s tools were magnificent. Jared Preston (talk) 21:07, 9 February 2012 (UTC)
User:TParis has obtained the edit counter source code; see User talk:X!#Soxred93 Toolserver tools. The code is up and running on his own Toolserver account, and he has added the new links to the contributions page footer. PleaseStand (talk) 04:44, 10 February 2012 (UTC)
Templates with bugs in coordinates
Coordinates in {{Infobox_ancient site}} don't show up at the top of the article as they do in {{Infobox Historic Site}}.. Try it at Byllis.
- {{Infobox settlement}} falsifies coordinates when given like longitude=49.12345. Compare source and geohack-link in Butrint. -- Kr51-2 (talk) 10:48, 28 January 2012 (UTC)
- {{Infobox ancient site}} has parameters for latitude, longitude and coordinates. Don't use latitude or longitude; use coordinates and the {{coord}} template with desired display options.
- Butrint has decimal coordinates in the infobox but then it has
{{Coord|39|45|N|20|01|E|type:city}}
near the bottom of the markup, which renders at the top of the page. ---— Gadget850 (Ed) talk 12:13, 28 January 2012 (UTC)
- In Byllis, the problem with using
|coordinates=
instead of|latitude=
|longitude=
is that the pushpin map only works if|latitude=
|longitude=
are given. {{Infobox ancient site}} will display coordinates upper right when|latitude=
|longitude=
are given, provided that|coordinates_display=inline,title
is also given. - The problem at Butrint is that
{{infobox settlement}}
doesn't recognise|latitude=
|longitude=
- you need to use|latd=
|longd=
instead, and also give it|coordinates_display=inline,title
. The{{coord}}
near the bottom does need to be removed though, if not the page will show up in Wikipedia:Database reports/Articles containing overlapping coordinates when that gets rebuilt on 2 February. --Redrose64 (talk) 19:43, 28 January 2012 (UTC)- Thanks for the details, though that's not much fun for a casual user... -- Kr51-2 (talk) 22:53, 3 February 2012 (UTC)
- I have already fixed them, see here and here. --Redrose64 (talk) 13:02, 4 February 2012 (UTC)
- Thanks for the details, though that's not much fun for a casual user... -- Kr51-2 (talk) 22:53, 3 February 2012 (UTC)
We really need to sort this out; and standardise our templates so that they all accept coordinates (and other parameters) in the same way. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:34, 10 February 2012 (UTC)
Combination of Template:Dts and Template:Birth date and age2
Hello Pump.
Is there a template that is the combination of Template:Dts and Template:Birth date and age2?
Background: I'd like to be able to create wikitables that are sortable and present the athlete's age at a certain point, for instance at the beginning of a tournament. The Dts is sortable, but is not able to calculate and present age. The Bda2 calculates age and presents birth date and age, but is not sortable (well, it's sortable, but you know what I mean).
In other words, I'm looking for a template that essentially achieves this:
{{sort|1991-01-02|2 January 1991 (age 21)}} or {{sort|1991-01-02|January 2, 1991 (age 21)}} (depending on date format) from parameters date-of-birth, date-starting-point and date-format.
HandsomeFella (talk) 18:04, 31 January 2012 (UTC)
- Would nobody help me with this? HandsomeFella (talk) 10:46, 3 February 2012 (UTC)
- I don't know of any way to get it to calculate and sort at the same time. You'll probably have to go with the code you used inside the nowiki tags. Nyttend (talk) 03:28, 4 February 2012 (UTC)
- I described a solution at Template talk:Start date#reorder output to make sortable. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:52, 10 February 2012 (UTC)
New shoutbox that actually works
I've created a shoutbox template that doesn't completely screw up your talk page, at Template:Shoutbox sidebar, with very simple and clean installation. People have been trying to use shoutboxes here since at least 2009, but they've always been weird floating boxes that got in the way of other content and features. Fixed! — SMcCandlish Talk⇒ ʕ(Õلō)ˀ Contribs. 19:05, 3 February 2012 (UTC)
- I added it at my talk. Can you make the "Click here" link edit "section 0", so that the rest of the talk page doesn't load when adding a message? —danhash (talk) 14:46, 10 February 2012 (UTC)
Transparent PNGs used for math formulas unreadable on black background
Math formulas created using Wikipedia's markup look fine on a white or light-colored background, but are virtually unreadable on browsers which are using a black background. This is because they are turned in to PNGs with black fonts (with a very faint gray outline) on a transparent background.
Examples:
What it looks like on a white background
What it looks like on a black background
The only solution I can think of to this that accomodates users who browse Wikipedia with a browser configured to use a black background is to make all math PNGs use a white or light-colored background by default.
Using PNGs with transparent backgrounds but any fixed color for the foreground is a recipe for trouble. -- noosphere 12:49, 9 February 2012 (UTC)
- First of all, your lookpic.com links are HTTP 403. Please, point to a page in Wikipedia where such formulas on the black background may have some use. Even if it exists, a workaround for a particular task may be found easier than to accommodate some changes to texvc. Incnis Mrsi (talk) 13:26, 9 February 2012 (UTC)
- 403 for me as well. Some readers prefer a black background, such as can be enabled with Preferences → Gadgets → Use a black background with green text on the Monobook skin. If we switch to Monobook and enable that gadget, then we would probably see the issues. ---— Gadget850 (Ed) talk 13:39, 9 February 2012 (UTC)
- That gadget includes the appropriate workaround:
img.tex { background: white; }
. You can preview the gadget by addinguseskin=monobook&withCSS=MediaWiki:Gadget-Blackskin.css
to the url, e.g. [2]. Anomie⚔ 13:58, 9 February 2012 (UTC)- I might not call this workaround an appropriate one. White bars with black glyphs are definitely better than black glyphs on black background, but this does not yet fit to the green-on-the-black style. File a bug to bugzilla: to permit custom foreground in WP:texvc. Not only green and white foregrounds can be used, but possibly also a blue one, to place hyperlinks on formulas. Incnis Mrsi (talk) 15:12, 9 February 2012 (UTC)
- How is the math renderer going to know what the background color happens to be, to pick the right foreground color? Or if you're talking about specifying the color in wikitext, that won't help much either as white-on-white for the vast majority of readers is worse than black-on-black for a few who know what they did. Unless perhaps you're proposing some mechanism where a user Javascript can swap out all the black-text images for white-text images? Except that the way the Math extension is structured, the image is rendered just once when the wikitext is parsed (unlike image thumbnails, which are rendered when the HTTP request for that sized thumbnail comes in). Anomie⚔ 20:41, 9 February 2012 (UTC)
- It is already possible to customize both the foreground and the background color of a specific formula. For more details see Wikipedia talk:WikiProject Mathematics/Archive 63#Background color for formulas and meta:Help:Displaying a formula#Color. Helder 01:49, 10 February 2012 (UTC)
- Unfortunately, this solution does not really help me. I use my own stylesheet when looking at Wikipedia, and even were I to use Wikipedia's stylesheet, in order to configure it to use a black background I'd need to sign in to use it -- something I don't do 99% of the time. I only sign in to edit, which is pretty rare these days. As such, solutions which require me to sign in to use are pretty useless. That probably goes for most other users who view Wikipedia with a black background, as most of them probably don't even have Wikipedia accounts in the first place. -- noosphere 17:04, 9 February 2012 (UTC)
- Why can't you add that same rule to your personal stylesheet? Anomie⚔ 20:41, 9 February 2012 (UTC)
- What an excellent suggestion! It worked! Here is how a formula from the Mathematics article looks like now. Not perfect, as the top of the radical symbol and the tops and bottoms of some numbers look cut off due to them being too close to the edge of the white background (and I'm sure I'll run in to other similar border issues with other formulas), but it's far better than the alternative. This is also probably not the best solution for Wikipedia in general, because it will require users who haven't logged in but who use a black background in their browser to change their personal stylesheets, but at least now it's possible. Finally, of course, the remaining objection is one that's been raised before: that it looks ugly. It would look much better if the foreground color could be changed to white instead. However, I don't really mind, as I'm perfectly capable of changing my own stylesheet and as long as the results are reasonably readable, I am happy. -- noosphere 08:58, 10 February 2012 (UTC)
- You can use this script to change the foreground color of all formulae in the current page to any of the supported colors (in the example, it is set to "red"). Helder 17:57, 10 February 2012 (UTC)
- What an excellent suggestion! It worked! Here is how a formula from the Mathematics article looks like now. Not perfect, as the top of the radical symbol and the tops and bottoms of some numbers look cut off due to them being too close to the edge of the white background (and I'm sure I'll run in to other similar border issues with other formulas), but it's far better than the alternative. This is also probably not the best solution for Wikipedia in general, because it will require users who haven't logged in but who use a black background in their browser to change their personal stylesheets, but at least now it's possible. Finally, of course, the remaining objection is one that's been raised before: that it looks ugly. It would look much better if the foreground color could be changed to white instead. However, I don't really mind, as I'm perfectly capable of changing my own stylesheet and as long as the results are reasonably readable, I am happy. -- noosphere 08:58, 10 February 2012 (UTC)
- Why can't you add that same rule to your personal stylesheet? Anomie⚔ 20:41, 9 February 2012 (UTC)
- I might not call this workaround an appropriate one. White bars with black glyphs are definitely better than black glyphs on black background, but this does not yet fit to the green-on-the-black style. File a bug to bugzilla: to permit custom foreground in WP:texvc. Not only green and white foregrounds can be used, but possibly also a blue one, to place hyperlinks on formulas. Incnis Mrsi (talk) 15:12, 9 February 2012 (UTC)
- That gadget includes the appropriate workaround:
- Sorry about the 403 error. Hopefully the following imageshack links will work: white bg, black bg. As for your request to see "a page in Wikipedia where such formulas on the black background may have some use," that would be any page with a math formula! For example, the formulas on the Wikipedia article on Mathematics look pretty much like the ones I linked to above: virtually unreadable to someone viewing the article with a browser configured to use a black background. -- noosphere 16:58, 9 February 2012 (UTC)
- Which browsers are these that override the Wikipedia house style? The only browser that I've used where black background is the default was Lynx, a text-only browser, where image colours are a non-issue. --Redrose64 (talk) 21:43, 9 February 2012 (UTC)
- It's not the default, but both Firefox and Opera allow you to override any site's stylesheet. For example, Firefox has an extension called Stylish (with close to a million users), which lets you choose from a variety of global and site-specific styles -- some of the most popular are styles that use a dark background for browsing at night. Right now I'm using another Firefox extension that allows me to override default styles. The Opera browser has a number of built-in styles that could be selected to override the any site's default style -- some of these styles have black backgrounds. I'm sure there are other ways of overriding stylesheets in Firefox, Opera, and most other browsers. -- noosphere 09:20, 10 February 2012 (UTC)
- Which browsers are these that override the Wikipedia house style? The only browser that I've used where black background is the default was Lynx, a text-only browser, where image colours are a non-issue. --Redrose64 (talk) 21:43, 9 February 2012 (UTC)
- 403 for me as well. Some readers prefer a black background, such as can be enabled with Preferences → Gadgets → Use a black background with green text on the Monobook skin. If we switch to Monobook and enable that gadget, then we would probably see the issues. ---— Gadget850 (Ed) talk 13:39, 9 February 2012 (UTC)
- See also Bug 8. Helder 01:49, 10 February 2012 (UTC)
Wikipedia ads
I added the block code from Template:Wikipedia ads to my common.css, and it worked. Then it randomly stopped working, so I added !important, and it worked again. I am now again seeing these stupid ads on talk pages, and I want them gone. Forever. Do I even have to explain how annoying and pointless they are? Anyway, what must I add to my common.css to never, ever, ever, ever see these again? (common.css only works while logged in of course, so I'll also add it to my Adblock Plus.) —danhash (talk) 18:22, 9 February 2012 (UTC)
- It works for me, thank you for the link :) jonkerz ♠talk 18:33, 9 February 2012 (UTC)
- Show the page where you see the ad, maybe it just doesn't use the template. — AlexSm 18:36, 9 February 2012 (UTC)
- User:Misza13 and every page that the header is used on. I already checked, and it uses the template. —danhash (talk) 21:07, 9 February 2012 (UTC)
- It's a table wikimarkup error in User:Misza13/Global Header. You can either fix it by adding
|
in front of{{Qxz-ads}}
or could try this CSS to hide just the image:img[alt^="Qxz-ad"] {display:none}
— AlexSm 21:41, 9 February 2012 (UTC)- Thank you! I fixed it, but how could this cause the CSS code to fail? —danhash (talk) 16:40, 10 February 2012 (UTC)
- When you have wikicode like this
- Thank you! I fixed it, but how could this cause the CSS code to fail? —danhash (talk) 16:40, 10 February 2012 (UTC)
- It's a table wikimarkup error in User:Misza13/Global Header. You can either fix it by adding
- User:Misza13 and every page that the header is used on. I already checked, and it uses the template. —danhash (talk) 21:07, 9 February 2012 (UTC)
{| wrong line |normal row |)
- MediaWiki either moves the wrong line outside the table or removes it. In this case the wrong line was another table definition
{| class="plainlinks qxz-ads"
so after it was removed the CSS class was simply not there. — AlexSm 17:00, 10 February 2012 (UTC)- Thanks for the explanation! —danhash (talk) 18:06, 10 February 2012 (UTC)
- MediaWiki either moves the wrong line outside the table or removes it. In this case the wrong line was another table definition
PDF creator problem
I'm trying to download John Williams as a PDF (using this link from the toolbox (Download as PDF)). However, when I download it, it appears as unformatted plain text with the error message "WARNING: Article could not be rendered - outputting plain text. Potential causes of the problem are (a) a bug in the pdf-writer software (b) problematic Mediawiki markup (c) table is too side."
Is there anything I can do to fix the article? I don't know if it matters, but I've tried downloading on Firefox 9.0.1 and Firefox 6, with the same result on each. Thanks. --Philosopher Let us reason together. 00:16, 10 February 2012 (UTC)
- The precise text in the generated PDF file (including a typo in "ouputting" which is needed to search other reports): "WARNING: Article could not be rendered - ouputting plain text. Potential causes of the problem are: (a) a bug in the pdf-writer software (b) problematic Mediawiki markup (c) table is too wide".
- I don't know a solution. PrimeHunter (talk) 00:31, 10 February 2012 (UTC)
- It's the table that's causing the problem. I made a copy of the article in a sandbox page and commented out the table and it rendered fine. I'm not convinced it's the table's width that is the problem though (I tried a different page with a full-width table, and that worked fine); my guess is that it's the table's overall size causing the issue. But having said all that, I don't know a solution either. Sorry. DH85868993 (talk) 01:51, 10 February 2012 (UTC)
- I have reported this as a bug at meta:Book tool/Feedback#Bug: WARNING: Article could not be rendered - ouputting plain_text. - I reproduced the problem with just the table with Opera browser version 11.61, see the bug report for more details. -84user (talk) 15:44, 10 February 2012 (UTC)
- It's the table that's causing the problem. I made a copy of the article in a sandbox page and commented out the table and it rendered fine. I'm not convinced it's the table's width that is the problem though (I tried a different page with a full-width table, and that worked fine); my guess is that it's the table's overall size causing the issue. But having said all that, I don't know a solution either. Sorry. DH85868993 (talk) 01:51, 10 February 2012 (UTC)
Excluding images locally
With respect to commons we usually don't keep local copies of free files available globally and have on the other hand some fair-use files they won't have. What about a third situation where a file is available on commons but it might not fit in here for any reason such as being a POV version of another file, blatantly promotional etc. Leaving apart for a moment the question of criteria, let's simple assume there is a file that we would delete here, but commons not, so it exits there. Are there any technical means to prevent its inclusion here? --Tikiwont (talk) 21:43, 10 February 2012 (UTC)
- By restricting its use via MediaWiki:Bad image list (still allows viewing and comes up in searches) or by uploading a local image as the same file name (local images are given priority over Commons' images). Killiondude (talk) 21:47, 10 February 2012 (UTC)
- Thanks. The first is akin to the spam list that i had in mind and the second might be a useful occasional quick fix. --Tikiwont (talk) 22:08, 10 February 2012 (UTC)
Interwiki bots
Interwiki bots stubbornly re-add interlang links that humans have judged are inappropriate. This is unacceptable. All interwiki bots should be reprogrammed to never re-add an interlang link that a human editor has removed. --Trovatore (talk) 22:41, 10 February 2012 (UTC)
- What's the problem article? :) --Izno (talk) 22:46, 10 February 2012 (UTC)
- Determinacy, this time. I've added {{nobots}} to it; I hope they respect it. But this problem comes up over and over again, and it's incredibly frustrating. Fight the machines! --Trovatore (talk) 22:47, 10 February 2012 (UTC)
{{nobots}}
is rather drastic. If you don't actually remove the ILL, but put it inside a HTML comment tag, this will usually fool the bot into thinking that it's there, whilst in reality it's ineffective. Then, you can go around the other languages to see which one has the erroneous link, and disable that in the same way. See also Wikipedia:Village pump (technical)/Archive 96#Removing incorrect interlanguage links?. --Redrose64 (talk) 23:48, 10 February 2012 (UTC)- Hmm, drastic perhaps, but how do we publicize the HTML-comment thing, and does it always work? I completely disagree with the notion that editors should have to go around to all other languages and fix them so that the interwiki bots don't do stupid things. That should be the responsibility of the bot writers and operators, and if they fail in that then there needs to be a way to turn them off. --Trovatore (talk) 04:15, 11 February 2012 (UTC)
- I linked to H:ILL above; here's the specific section: H:ILL#Bots and links to and from a section, third paragraph. --Redrose64 (talk) 11:07, 11 February 2012 (UTC)
- Hmm, drastic perhaps, but how do we publicize the HTML-comment thing, and does it always work? I completely disagree with the notion that editors should have to go around to all other languages and fix them so that the interwiki bots don't do stupid things. That should be the responsibility of the bot writers and operators, and if they fail in that then there needs to be a way to turn them off. --Trovatore (talk) 04:15, 11 February 2012 (UTC)
- Determinacy, this time. I've added {{nobots}} to it; I hope they respect it. But this problem comes up over and over again, and it's incredibly frustrating. Fight the machines! --Trovatore (talk) 22:47, 10 February 2012 (UTC)
Section edit tab missing?
I'm not sure why the section edit tabs are not showing for sections 9 (Articles 101 through 120) through 19 (Articles 301 through 320) of Wikipedia:Contributor copyright investigations/PumpkinSky. I'm currently doing some work in this area, and editing is quite slow because I have to save such a large section. I suspect it is something quite simple, but I'm not seeing it.--SPhilbrick(Talk) 18:37, 11 February 2012 (UTC)
- My first SWAG is something to do with {{cot}}/{{cob}}. ---— Gadget850 (Ed) talk 18:58, 11 February 2012 (UTC)
- Fixed There were two sets of stray double braces that interacted with {{cot}}/{{cob}}. When you would edit section 9, the following sectioos were in the edit window as if they were subsections. ---— Gadget850 (Ed) talk 19:30, 11 February 2012 (UTC)
- Thanks for fixing that, much easier to edit now--SPhilbrick(Talk) 14:53, 12 February 2012 (UTC)
- Fixed There were two sets of stray double braces that interacted with {{cot}}/{{cob}}. When you would edit section 9, the following sectioos were in the edit window as if they were subsections. ---— Gadget850 (Ed) talk 19:30, 11 February 2012 (UTC)
Editnotice links broken
There's something wrong with whatever MediaWiki page governs the format of the links to create editnotices in the top right corners of editing windows: while the "Page notice" line is working fine, something's suddenly gone wrong with the "Group notice" link — instead of displaying simply as "Group notice", it now displays as [[Template:Editnotices/Group/Template:FULLROOTPAGENAME|Group notice]]. Any idea what's wrong? I don't get any relevant edits from Special:RecentChangesLinked, and (except for one page that was edited nine months ago) all of the MediaWiki pages that link to Template:FULLROOTPAGENAME were last edited in 2009. Nyttend (talk) 02:41, 12 February 2012 (UTC)
- I undeleted Template:FULLROOTPAGENAME which I guess was deleted by accident (see User talk:Fastily#Undeleted). This fixed it. PrimeHunter (talk) 02:44, 12 February 2012 (UTC)
Book creator problem
There seems to be an issue with the Book Creator. See this report on the Help Desk: Wikipedia:Help_desk#Render_server_error_while_creating_book
I saw the same problem, starting at about 90%. RudolfRed (talk) 06:30, 12 February 2012 (UTC)
Newpages backlog includes nonexistent pages
Apologies if this has been covered elsewhere. When patrolling the unpatrolled backlog, I've found a few pages which've been moved without a redirect which are still appearing on the backlog. These include Swain (Ski Area) and Apcpdcl. As the pages don't exist, there's no way to patrol them and so they seem destined to recur at the bottom of the backlog for eternity. I'm aware this is hardly a major issue—I was mostly just wondering if there's an obvious way of marking such pages as patrolled that I'd missed &/or if there's a workaround of some sort already in place? Thanks. – hysteria18 (talk) 23:39, 12 February 2012 (UTC)
- You can purge the page by appending
&action=purge
to the New Page log url (for example, here). This will remove the deleted pages from the log. Goodvac (talk) 23:57, 12 February 2012 (UTC)- Ah, excellent. Thanks! – hysteria18 (talk) 00:08, 13 February 2012 (UTC)
- See also bugzilla:30368. Helder 23:05, 13 February 2012 (UTC)
Bugzilla down
As of the time of this post, Bugzilla is down. I can ping its server, but cannot load any of its pages (I'm timing out).Jasper Deng (talk) 00:58, 13 February 2012 (UTC)
- According to the server admin log, it appears to be a DoS attack in progress.Jasper Deng (talk) 01:59, 13 February 2012 (UTC)
Trying to play sample from todays main page...
- When I use Windows Media Player I get : Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file.
- When I use Quicktime I get : Error -2048 Couldn't open the file Berceuse_by_Gabriel_Fauré_op56_no1.ogg because it is not a file that Quicktime understands
- When I use Realplayer nothing at all happens !
I have no preference which I to use... Any ideas ? Thanks GrahamHardy (talk) 02:56, 13 February 2012 (UTC)
- I've downloaded the Codex thingy and associated .OGG with Windows Media Player and can now successfully play the downloaded .OGG file; however when I just click on the button from the article I get a little red cross... GrahamHardy (talk) 03:12, 13 February 2012 (UTC)
Obtaining a recent changes feed
I have started working on an anti-vandalism tool that I hope will replace Lupin's tool (which was created long before the API existed), and I am questioning whether RSS (or Atom) is still the best way to obtain recent changes information, including diffs. There is no way to specify the starting time (or better, rcid) of the feed, meaning either edits will get lost or will be sent twice or multiple times. On the other hand, I could poll the API for a list of changes (or use the IRC feed if possible) and then download the diffs individually. I would like some feedback on which is the better approach and if there is an approach I have not yet thought of. PleaseStand (talk) 13:42, 13 February 2012 (UTC)
- meta:IRC/Channels#Recent changes
- meta:Recentchanges via XMPP although I don't know if prototype on toolserver still works
- there was http://wiki.toolserver.org/view/RC_Websocket_server which doesn't seem to work now
- — AlexSm 17:53, 13 February 2012 (UTC)
Mediawiki:Addedwatchtext
The message Mediawiki:Addedwatchtext should be corrected, it doesn't show an appropriate text if one adds a template talk page to his or her watchlist. For example, when I'd added the Template talk:Space on my watchlist, the message: "The page "Template talk:Space" has been added to your watchlist, which will list edits to this page and its associated talk page." appeared - that doesn't really make much sense. --Eleassar my talk 17:10, 13 February 2012 (UTC)
- It is possible to use something like "
associated {{#ifeq: {{NAMESPACE}} | {{TALKSPACE}} | subject | talk }} page
". — AlexSm 17:23, 13 February 2012 (UTC)- It has, since October 2006. The problem is that the AJAX "watch" command uses the page API when calculating {{NAMESPACE}} and {{TALKSPACE}}, rather than the page being watched or unwatched. Fortunately, this is easy to work around. Anomie⚔ 18:06, 13 February 2012 (UTC)
Error downloading book
When trying to download a book I made as a PDF I got this error message:
An error occured on the render server: RuntimeError: command failed with returncode 9: ['mw-render', '-w', u'rl', '-c', u'cache/2d/2d0871b4860438bd/collection.zip', '-o', u'cache/2d/2d0871b4860438bd/output.rl', '--status', u'qserve://localhost:14311/2d0871b4860438bd:render-rl', '--template-blacklist', u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', u'Exclude in print', '--print-template-prefix', u'Print', '--print-template-pattern', u'$1/Print', '--language', u'en'] Last Output: 75732533' 77.4157498552% laying out Guizhou77.4157498552% laying out Guizhou2012-02-13T17:16:59 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=475732533' 77.4157498552% laying out Guizhou77.4157498552% laying out Guizhou2012-02-13T17:17:03 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476232900' 77.4157498552% laying out Hainan77.4157498552% laying out Hainan2012-02-13T17:17:07 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476232900' 77.4157498552% laying out Hainan77.4157498552% laying out Hainan2012-02-13T17:17:12 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233005' 77.4157498552% laying out Hebei77.4157498552% laying out Hebei2012-02-13T17:17:15 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233005' 77.4157498552% laying out Hebei77.4157498552% laying out Hebei2012-02-13T17:17:20 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476346125' 77.4157498552% laying out Heilongjiang77.4157498552% laying out Heilongjiang2012-02-13T17:17:22 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476346125' 77.4157498552% laying out Heilongjiang77.4157498552% laying out Heilongjiang2012-02-13T17:17:25 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233231' 77.4157498552% laying out Henan77.4157498552% laying out Henan2012-02-13T17:17:27 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233231' 77.4157498552% laying out Henan77.4157498552% laying out Henan2012-02-13T17:17:31 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233292' 77.4157498552% laying out Hubei77.4157498552% laying out Hubei2012-02-13T17:17:34 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233292' 77.4157498552% laying out Hubei77.4157498552% laying out Hubei2012-02-13T17:17:36 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233362' 77.4157498552% laying out Hunan77.4157498552% laying out Hunan2012-02-13T17:17:40 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233362' 77.4157498552% laying out Hunan77.4157498552% laying out Hunan2012-02-13T17:17:44 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233443' 77.4157498552% laying out Jiangsu77.4157498552% laying out Jiangsu2012-02-13T17:17:47 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476233443' 77.4157498552% laying out Jiangsu77.4157498552% laying out Jiangsu2012-02-13T17:17:49 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234256' 77.4157498552% laying out Jiangxi77.4157498552% laying out Jiangxi2012-02-13T17:17:51 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234256' 77.4157498552% laying out Jiangxi77.4157498552% laying out Jiangxi2012-02-13T17:17:54 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234320' 77.4157498552% laying out Jilin77.4157498552% laying out Jilin2012-02-13T17:17:56 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234320' 77.4157498552% laying out Jilin77.4157498552% laying out Jilin2012-02-13T17:17:59 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234415' 77.4157498552% laying out Liaoning77.4157498552% laying out Liaoning2012-02-13T17:18:04 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=476234415' 77.4157498552% laying out Liaoning77.4157498552% laying out Liaoning2012-02-13T17:18:08 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=475735115' 77.4157498552% laying out Qinghai2012-02-13T17:18:08 rlwriter.warning >> invalid image url (obj.target: u'Image:Qinghai in China (+all claims hatched).svg') 2012-02-13T17:18:08 rlwriter.warning >> invalid image url (obj.target: u'Image:Qinghai in China (+all claims hatched).svg') 2012-02-13T17:18:09 rlwriter.warning >> invalid image url (obj.target: u'Image:Qinghai Cross Section.jpg') in function system, file /home/pp/local/bin/nslave.py, line 63
Any help? — Preceding unsigned comment added by 92.96.72.213 (talk) 17:19, 13 February 2012 (UTC)
Playing sound/videos
Hi, the presence of the sound clip on today's main page once again highlights the unsatisfactory nature of Wikipedia's media handling. Every single website in the universe, with the sole exception of Wikipedia, plays media without any problems on my PC. Only Wikipedia has some bizarre and arcane method that requires installation of God knows what unknown software from some source I have never heard of and do not by default trust. It is completely crazy. I believe I read an explanation once, but whatever that explanation is, it needs serious reconsideration. 86.177.105.189 (talk) 18:48, 13 February 2012 (UTC)
- I've downloaded the Codex thingy and associated .OGG with Windows Media Player and can successfully play the downloaded .OGG file; however when I just click on the button from the article I get a little red cross... GrahamHardy (talk) 03:12, 13 February 2012 (UTC)
- Have you tried the HTML 5 video player from multimedia beta? Helder 23:10, 13 February 2012 (UTC)
- I've enabled it but still get a little red cross...GrahamHardy (talk) 21:53, 14 February 2012 (UTC)
Toolserver blocked from accessing RIPE WHOIS
RIPE NCC addresses cannot be looked up, because apparently the toolserver IPv6 address has been blacklisted.Jasper Deng (talk) 06:25, 14 February 2012 (UTC)
- Please check the following to confirm that the toolserver has no AAAA record.
$ host -t AAAA toolserver.org toolserver.org has no AAAA record
- I think it must be something else. – Allen4names 08:11, 14 February 2012 (UTC)
- The individual Toolserver web servers (wolfsbane and ortelius) do have IPv6 addresses, which are 2620:0:862:101::2:6 and 2620:0:862:101::2:7 according to DNS. PleaseStand (talk) 12:59, 14 February 2012 (UTC)
- The message I got today was:
- The RIPE Database is subject to Terms and Conditions.
See http://www.ripe.net/db/support/db-terms-conditions.pdf ERROR:201: access denied for 2620:0:862:101:0:0:2:7 Sorry, access from your host has been permanently denied because of a repeated excessive querying. For more information, see http://www.ripe.net/data-tools/db/faq/faq-db/why-did-you-receive-the-error-201-access-denied
Dougweller (talk) 14:16, 14 February 2012 (UTC)
- It was down a couple days ago, but came back after several hours. Apparently, they banned toolserver again. :P Reaper Eternal (talk) 14:18, 14 February 2012 (UTC)
- I think we should tell the WMF about it, since it just makes WHOIS queries that much harder.Jasper Deng (talk) 20:15, 14 February 2012 (UTC)
- Apparently, if the server is registered as a proxy (which the toolserver tool is functioning as in this case), you can do 20,000 queries per day rather than just 1000. [3] Reaper Eternal (talk) 20:27, 14 February 2012 (UTC)
- I think we should tell the WMF about it, since it just makes WHOIS queries that much harder.Jasper Deng (talk) 20:15, 14 February 2012 (UTC)
Could someone with dev access delete this page please? WP crashed while I was editing it, and now it hangs every time I try to bring the page up. - Dank (push to talk) 19:29, 14 February 2012 (UTC)
- I can see why it is hanging up - you transcluded several users' userpages in there. I'll revert the page to it's previous state. Klilidiplomus+Talk 19:54, 14 February 2012 (UTC)
- You could have deleted it yourself, just append "?action=delete" to the standard URL to bring up the deletion form without having to load the page. Anomie⚔ 19:58, 14 February 2012 (UTC)
- Thanks much. - Dank (push to talk) 20:31, 14 February 2012 (UTC)
Creating a proto cross-project watchlist
So I've currently got a javascript/jquery code (some of which I understand, most is gobbledygook) that I use to call and manipulate the top 10 entries in my watchlist, to display on a page where I keep all my daily stuff to check. It got me thinking, would it not be possible to modify this code to also query my commons watchlist, then combine the two arrays/tables and list by order of timestamp?
Unfortunately I suck at javascript, and even when I try to make a query to commons nothing happens.
User:Floydian/callwatchlist.js is where the code is. Any expert js scripters that know how to do this stuff? - ʄɭoʏɗiaɲ τ ¢ 15:21, 11 February 2012 (UTC)
- Where are all the javascript gurus? - ʄɭoʏɗiaɲ τ ¢ 17:30, 15 February 2012 (UTC)
Drawing images with a markup language - is it possible now or in near future?
Hello! In Wikipedia you can write equations in LaTeX:
but is it possible to draw images with a markup language? And if it is not, do you know if such a feature will be implemented in near future? It would be a significant improvement for:
- image coherency (for example, if you look the electrical engineering articles in Wikipedia, all the circuit diagrams have different appearance because they are drawn with many different tools. Using one markup language would harmonize the outlook of the diagrams and make Wikipedia look more professional. Same applies to block diagrams etc.)
- ease of image editing (It is easy to fix little mistakes (text in images etc.) or update the images by just editing source code, instead of fighting with image editor.)
For example, one option would be TikZ: http://www.texample.net/tikz/examples/
Best Regards, --Vesa Linja-aho (talk) 08:40, 14 February 2012 (UTC)
- First of all, using one markup language would not harmonize the outlook of the diagrams, and also could make Wikipedia look inconvenient for editing and dull, as there are deliberately much of diversity here. Don't invent anything new, while there is something old to apply, for you. Incnis Mrsi (talk) 09:14, 14 February 2012 (UTC)
- I disagree. Adding such a markup language probably would help standardize the look of electrical diagrams, for the same reason regular TeX standardizes the look of Mathematical equation. Plain text or other format equations are acceptable, but they may be converted. People would not be required to use the language, any more than they're required to use TeX or SVG. I don't agree that providing a useful tool makes Wikipedia "dull". Superm401 - Talk 16:54, 14 February 2012 (UTC)
- SVG is a mark-up based image system. What are you looking for that SVG does not deliver? --Tagishsimon (talk) 17:02, 14 February 2012 (UTC)
- Universal browser support. PuppyOnTheRadio (talk) 06:06, 15 February 2012 (UTC)
- I know SVG. As a TeX package, TikZ provides a different approach, which some users may prefer for mathematical or scientific diagrams. For instance, it can allow GNUPLOT integration. Superm401 - Talk 06:39, 15 February 2012 (UTC)
- "regular TeX standardizes the look of mathematical equation"? It is true for mathematical and physical journals, but applied to Wikipedia… is sounds like a fairy tale for children's bedtime. I know that coders cannot fix a bug with HTML "−" presentation for seven years, and I made numerous edits to replace <math> with explicit HTML to get rid of texvc's ugly (HTML rendering must be enabled to see what is wrong here). And I saw numerous instances of bad typesetting despite the use of <math>. Incnis Mrsi (talk) 17:26, 15 February 2012 (UTC)
- I am not saying Wikipedia's TeX implementation is perfect. I support Vesa's idea to use the TikZ package for additional diagram support. But I also support bug fixes to the existing system. Superm401 - Talk 23:09, 15 February 2012 (UTC)
- SVG is a mark-up based image system. What are you looking for that SVG does not deliver? --Tagishsimon (talk) 17:02, 14 February 2012 (UTC)
- I disagree. Adding such a markup language probably would help standardize the look of electrical diagrams, for the same reason regular TeX standardizes the look of Mathematical equation. Plain text or other format equations are acceptable, but they may be converted. People would not be required to use the language, any more than they're required to use TeX or SVG. I don't agree that providing a useful tool makes Wikipedia "dull". Superm401 - Talk 16:54, 14 February 2012 (UTC)
Thumbnail wrongly generated
Help! Last week I updated a file I had uploaded for use in Template:Contains_Korean_text, which appears in dozens of articles. I checked that my change was appearing at the time and all was well. Today I find that my correction appears to have reverted in the infobox! But, going to the file’s page, the full size graphic displays correctly; only reduced versions are wrong. (The 120px thumbnail listed under versions on the file page, and the 40px version in the infobox itself. The difference is the character at the lower-right.) Is there a way to force thumbnails to regenerate? And how could this have happened? MJ (t • c) 06:35, 15 February 2012 (UTC)
- Probably caused by a problem with the thumbnail server migration. I have purged the File page to fix the problem. You might also need to clear your own browser cache to see the updated thumbnail. — Richardguk (talk) 07:29, 15 February 2012 (UTC)
Fixed Thanks so much, for the purge and the info! MJ (t • c) 15:30, 15 February 2012 (UTC)
- Yeah, thanks for the advice! I was about to open a new thread on the very same issue before I saw this! --Andrew (User:90) (talk) 23:26, 15 February 2012 (UTC)
Glitch?
There is a template called Hadith collections two, but when you click on the template from this article, it redirects you to another template. Pass a Method talk 07:07, 15 February 2012 (UTC)
- Fixed. Have added an optional Title parameter to {{IslamNavigation}} to allow {{Hadith collections two}} to link to itself in its footer while linking to the Hadith collections article redirect in its header. — Richardguk (talk) 07:49, 15 February 2012 (UTC)
Transfer watchlist to another account
I recently created an alt account at the suggestion of an admin. Which is User:Edinburgh Wanderer Mobile I'm trying to find out if there is a way my watchlist on this my parent account can be transferred over to the mobile account without having to do it manually. Edinburgh Wanderer 10:36, 15 February 2012 (UTC)
- There is a link to the editable list on your watchlist page: Edit raw watchlist. You can copy this list of watched titles, then switch accounts, and paste the text in to your new raw watchlist list. — Richardguk (talk) 11:27, 15 February 2012 (UTC)
- Thank you very much for that. Hadnt realised it would be that simple. Edinburgh Wanderer 13:57, 15 February 2012 (UTC)
- I think you can just copy the watchlist token (visible under Special:Preferences) from your main account to your new account to link the two watchlists together. Reaper Eternal (talk) 14:04, 15 February 2012 (UTC)
- No, you cannot "link" them. The token is a "password" to access watchlist RSS feed. — AlexSm 14:50, 15 February 2012 (UTC)
- I think you can just copy the watchlist token (visible under Special:Preferences) from your main account to your new account to link the two watchlists together. Reaper Eternal (talk) 14:04, 15 February 2012 (UTC)
- Thank you very much for that. Hadnt realised it would be that simple. Edinburgh Wanderer 13:57, 15 February 2012 (UTC)
Is it possible to block an editor just from some pages but not others?
I mean with MediaWiki in general, not necessarily the way it's configured on en.wp. I'm asking this question because of this ArbCom proposal, in particular the community is encouraged to review and document common good practice for administrators imposing editing restrictions as a condition of an unblock and in lieu of blocks. ASCIIn2Bme (talk) 20:07, 15 February 2012 (UTC)
- No, this is not possible. There was an attempt in the past, but it was removed. ^demon[omg plz] 20:21, 15 February 2012 (UTC)
- To expand slightly, it is possible, but the technical cost of implementing it is simply too great to warrant it. - Jarry1250 [Deliberation needed] 21:08, 15 February 2012 (UTC)
"My sandbox" missing when on "My preferences" tab
The new "My sandbox" link on the user toolbar is missing when the user is on the "My preferences" tab. Jason Quinn (talk) 23:30, 15 February 2012 (UTC)
- Add-ons to the top navbar or the left sidebar are not loaded on Special pages. ---— Gadget850 (Ed) talk 23:35, 15 February 2012 (UTC)
- I know that .js modifications to the UI will load on the watchlist, so that is not entirely correct. I also know that they will not load on the preferences page. Presumably to stop people from breaking their own UI. :D --Izno (talk) 23:43, 15 February 2012 (UTC)
- You are right. I ran a sample of Special:SpecialPages and my mods load. ---— Gadget850 (Ed) talk 23:56, 15 February 2012 (UTC)
- As far as I know Special:Preferences has always disabled user scripts for security reasons. A script could change your email and then the script-writer could request your password sent by email and take over your account. — Bility (talk) 00:44, 16 February 2012 (UTC)
- You are right. I ran a sample of Special:SpecialPages and my mods load. ---— Gadget850 (Ed) talk 23:56, 15 February 2012 (UTC)
- I know that .js modifications to the UI will load on the watchlist, so that is not entirely correct. I also know that they will not load on the preferences page. Presumably to stop people from breaking their own UI. :D --Izno (talk) 23:43, 15 February 2012 (UTC)
Removing What do I put in my CSS or whatever to make this not appear? I don't need this link. Thanks. —Justin (koavf)❤T☮C☺M☯ 06:38, 16 February 2012 (UTC)
- As Alex Smotrov says above, you disable it in the Appearances section of your preferences. — Bility (talk) 07:27, 16 February 2012 (UTC)
Job Queue
Could the job queue be stuck? It's been a long time since I looked at this page, so I don't remember what normal is. I ask, because things slowed about 22:33 on the clock. That's how long I've been waiting for changes to show on "What Links Here" on a couple articles. Things were going fairly rapidly before that. Maile66 (talk) 23:50, 15 February 2012 (UTC)
- Hmmmmmmmmmmm. And 25 minutes since I posted this, it still doesn't show up on my Watchlist as anything changed on the Pump. Maybe it's a busy server. My server seems to be "mw 45". Maile66 (talk) 00:17, 16 February 2012 (UTC)
OK, everything finally cleared/showed up on my end like it's supposed to. That's an 2 hours and 45 minutes for the Watchlist items to show up. Whatever...it's OK now. Maile66 (talk) 00:22, 16 February 2012 (UTC)
- Really plugged up for me. I got a 533 second lag on my edits. Ten Pound Hammer • (What did I screw up now?) 02:07, 16 February 2012 (UTC)
- And it's up to 738 now. Who deleted something ginormous this time? ;) - The Bushranger One ping only 02:11, 16 February 2012 (UTC)
- It's OVER ONE THOUSAND... - The Bushranger One ping only 02:16, 16 February 2012 (UTC)
- At least while I'm waiting I was amused by reading the Village Stocks. Thanks! :) Jeancey (talk) 02:18, 16 February 2012 (UTC)
- No problem. Should I apologise for linking to TVTropes? :P And server seems to be running normal now. - The Bushranger One ping only 02:44, 16 February 2012 (UTC)
- At least while I'm waiting I was amused by reading the Village Stocks. Thanks! :) Jeancey (talk) 02:18, 16 February 2012 (UTC)
- It's OVER ONE THOUSAND... - The Bushranger One ping only 02:16, 16 February 2012 (UTC)
- And it's up to 738 now. Who deleted something ginormous this time? ;) - The Bushranger One ping only 02:11, 16 February 2012 (UTC)
- Really plugged up for me. I got a 533 second lag on my edits. Ten Pound Hammer • (What did I screw up now?) 02:07, 16 February 2012 (UTC)
"My Sandbox" link
How to disable it? I DO NOT want a new button that makes less space. ~~Ebe123~~ → report on my contribs. 11:39, 16 February 2012 (UTC)
- There's a new checkbox at Special:Preferences - Gadgets tab - Appearance section. -- John of Reading (talk) 11:48, 16 February 2012 (UTC)
- Thanks! ~~Ebe123~~ → report on my contribs. 12:00, 16 February 2012 (UTC)
- Instead of disabling it, can I change it so that it links to my actual sandbox rather than a non-existent page? Roger (talk) 12:18, 16 February 2012 (UTC)
- I inserted a redirect to my actual sandbox (see User:Toshio Yamaguchi/sandbox). This works. The only thing that annoys me is that edit mode is triggered automatically when clicking on the link. Could that be disabled? Toshio Yamaguchi (talk) 12:40, 16 February 2012 (UTC)
- No, but you can disable it and add personal JS to add menus to either personaltools (top) or toolbox (left).
- Preferences → Gadgets → Add a "my sandbox" link to the personal toolbar area = unchecked
- Add this to Special:MyPage/common.js:
- No, but you can disable it and add personal JS to add menus to either personaltools (top) or toolbox (left).
mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template%3AUser_sandbox%2Fpreload&editintro=Template%3AUser_sandbox',
'My sandbox', 'pt-mysandbox', 'Go to my sandbox');
- The preload adds {{User sandbox}} if the sandbox does not already exist. The editintro shows the same message. If you don't want them, then use:
mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit',
'My sandbox', 'pt-mysandbox', 'Go to my sandbox');
- If you don't want it to open for editing, then remove
&action=edit
- You can modify this to add most anything to the personal toolbar, and there are similar methods to add menus to the left toolbar. ---— Gadget850 (Ed) talk 12:45, 16 February 2012 (UTC)
- It works now the way I want it. Thanks Gadget. Toshio Yamaguchi (talk) 15:47, 16 February 2012 (UTC)
- If you don't want it to open for editing, then remove
Borders
Does anybody know how to programme your sandbox monobook to place a border frame, sort of like a gold picture frame around the edge of the wiki screen? I just want to embolden it from my browsing panels that's all.♦ Dr. Blofeld 18:11, 16 February 2012 (UTC)
- Are you looking for a CSS implementation, or would you be willing to wrap your whole sandbox in a
<div>...</div>
? What I mean is, do you want others to be able to see the border also? — Bility (talk) 18:32, 16 February 2012 (UTC)
My bad, I meant monobook LOL. In my preference I want to be able to have a frame around the pages or the whole thing to embolden it in contrast that's all.♦ Dr. Blofeld 18:51, 16 February 2012 (UTC)
- Try adding
#bodyContent { border: 6px solid gold; padding: 1em; }
- to your CSS and see if that's what you're looking for. — Bility (talk) 21:07, 16 February 2012 (UTC)
- Or you could seriously annoy people like me by copying from User talk:Hazard-SJ. That blue border hides stuff, particularly when viewing a page diff. --Redrose64 (talk) 21:13, 16 February 2012 (UTC)
Thanks!♦ Dr. Blofeld 22:25, 16 February 2012 (UTC)
Unified login
Not sure if I'm in the right place, but after using {{help me}} I was advised to ask my question here.
When logging into Wikipedia through unified login, I'm logged into every project except Wiktionary (see revision in reply of February 10) (and of course the three two projects pending SUL-request). At first this was solved by not using the secure server (https://), but now it refuses regardless of settings. When logging into Wiktionary directly there is no problem, but then I won't be logged into any of the other projects. In both cases the icons shown suggest I should be logged into all projects. To make it even more interesting: when logging into Wiktionary (manually) after logging into Wikipedia, then logging out on Wiktionary, all of a sudden I am logged out on Wikipedia too, so for logging out it does seem to work... I haven't been able to find anything in the help sections, does anybody have a suggestion? Thank you, — Quibus (talk) 14:00, 8 February 2012 (UTC)
- Curious. When I'm logged into Wikipedia, going for wikt: shows the "Redrose64 / My talk / My preferences / My watchlist / My new messages (None) / My contributions / Log out" links upper right, so I'm logged in there too. If I then log out of Wiktionary, and return to Wikipedia, I find that I have been logged out there too. This is what I expect SUL to do.
- I have observed the following over a period of many months, which may not be the whole story. The process of logging out zaps the cookie created when you logged in. I think that SUL means that one cookie is shared by all projects: therefore, logging out of Wiktionary will also log you out of Wikipedia. When additional projects join SUL, the user database is not always copied over, so it's worth visiting Special:MergeAccount every so often to keep them up to date.
- When the secure server had its own URL structure, i.e. https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page for the Main Page, it had its own cookies. Now that the only difference in URL structure is https versus http (the secure server main page is now at https://en.wikipedia.org/wiki/Main_Page), it can be demonstrated that by logging in "insecure" and then switching to "secure" (by altering http to https in the browser address bar) you are still logged in, therefore the cookie is shared. --Redrose64 (talk) 15:38, 8 February 2012 (UTC)
- The cookies are only shared if you log in insecurely. If you log in using https, the cookies are marked "secure" so you will not be logged in when accessing via http. Anomie⚔ 17:30, 8 February 2012 (UTC)
- Thank you both for your input and suggestions. I have visited Special:MergeAccount every so often since my SUL-request was initiated. After reading your posts I've checked whether removing cookies would do the trick (it didn't) and if logging in through secure server again would change anything (it also didn't). When checking the projects in the Special:MergeAccount list on whether I'm logged in or not I noticed Wikitionary is not the only project I'm not logged in, it's every project under Wikimedia I'm not logged into and a couple of foreign Wikis:
- Unified login succesful: af, en, es, fo, fr, ga*, gd*,it, nl, pl, ru, tpi, uk
- Unsuccesful: Wikicommons, Wikibooks, Wikinews, Wikiquote, Wikisource, Wikiversity, Wiktionary, fo.wikisource, ga.wiktionary*, gd.wiktionary*, Wikimedia incubator, Mediawiki, Wikimedia Meta-wiki, Wikispecies
- So, issue not solved, but maybe this makes things clearer? — Quibus (talk) 09:13, 10 February 2012 (UTC) * = modified after PrimeHunter post, — Quibus (talk) 16:16, 10 February 2012 (UTC)
- Thank you both for your input and suggestions. I have visited Special:MergeAccount every so often since my SUL-request was initiated. After reading your posts I've checked whether removing cookies would do the trick (it didn't) and if logging in through secure server again would change anything (it also didn't). When checking the projects in the Special:MergeAccount list on whether I'm logged in or not I noticed Wikitionary is not the only project I'm not logged in, it's every project under Wikimedia I'm not logged into and a couple of foreign Wikis:
- You have accounts at gawiktionary and gdwiktionary but not gawiki and gdwiki, so ga and gd in your Unsuccesful must be at wiktionary. Then it appears Wikipedia is treated specially for you. Some browsers can make cookie settings for individual domains. Maybe you accidentally did this for wikipedia.org. Which browser do you have? Can you try another? PrimeHunter (talk) 12:57, 10 February 2012 (UTC)
- Thank you PrimeHunter, you're absolutely right about the ga and gd account being Wiktionary, I didn't notice. After visiting them again (still not logged in) I also visited ga-wiki and gd-wiki, where the unified login did work, so they both appear in the Special:MergeAccount list now.
- I didn't think of using another browser, thanks for that one, sadly it doesn't make a difference. Standard browser is Firefox 9, alternative is IE9. I'll try checking cooky settings now, in the mean time any suggestion is welcome. — Quibus (talk) 16:16, 10 February 2012 (UTC)
- Resolved! Looking at the cooky settings I noticed I had third party cookies disabled. Enabling it did the trick and everything works fine on https:// too. Thanks again everybody for all the input. — Quibus (talk) 19:09, 10 February 2012 (UTC)
- I've found that Special:MergeAccount doesn't always pull in all other projects. If you check http://toolserver.org/~luxo/contributions/contributions.php?user=Xxxx (where
Xxxx
should be replaced by your username) you may sometimes see that one or more of the listed projects has a pink background; near the top it says "SUL: Account unattached" instead of "SUL: Account automatically created ...". Click on any page listed in the pink region, go for your browser's "back" button then the "refresh" button, and you should find that the pink background disappears indicating that your accounts are now linked. --Redrose64 (talk) 14:23, 17 February 2012 (UTC)- This is unrelated to Quibus' problem. What you describe is almost certainly cases where a page you have edited has been transwikied to a wiki where your account is not registered yet. Just like other wikis, your account is automatically registered first time you visit any page there. I admit it's confusing that your edits can be registered in a wiki where your account is not registered. PrimeHunter (talk) 21:37, 18 February 2012 (UTC)
HTTPS issues
Browsing https://en.wikipedia.org in Google Chrome, the HTTPS encoding is displayed red (№ 4 in this table). It was green before, so something insecure seems to have been added recently. See also broader discussion on Meta. It Is Me Here t / c 14:40, 12 February 2012 (UTC)
- It works for me, so it suggests that it's one of your user scripts or gadgets that's at fault. I shall have a poke. - Jarry1250 [Deliberation needed] 14:50, 12 February 2012 (UTC)
- Hmm, well I'm running prose_size.js, so it can't be that (I'm assuming you're running vector). What gadgets have you got enabled? - Jarry1250 [Deliberation needed] 14:52, 12 February 2012 (UTC)
- It is green for me.
- But there are gadgets which were not migrated to protocol relative URLs yet. E.g. if I enable Wikipedia:Multimedia beta features I get the following (because of bugzilla:29649, I think):
The page at https://en.wikipedia.org/wiki/Main_Page ran insecure content from http://prototype.wikimedia.org/mwe-gadget/mwEmbed/remotes/mediaWiki.js?uselang=en.
- There may be some other gadgets with the same problem. Helder 14:54, 12 February 2012 (UTC)
- Not really bugzilla:29649, although that may well be an issue for the gadget too. The cause of the problem here is that the gadget loads http://prototype.wikimedia.org/mwe-gadget/mwEmbed/remotes/mediaWiki.js?uselang=en. And since prototype.wikimedia.org doesn't seem to support https access, we can't really do anything to fix it. Anomie⚔ 15:47, 12 February 2012 (UTC)
- Vector (css, js); common js. Gadgets: Browsing # 3, 6, 7, 10. Editing # 2, 3, 7. Appearance # 1, 3, 7, 8, 16, 18. Compatibility # 2. Advanced # 2. It Is Me Here t / c 15:02, 12 February 2012 (UTC)
- Appearance #16 would be the Wikipedia:Multimedia beta mentioned above, wouldn't it? Try disabling that one temporarily and see if that fixes your issue. Anomie⚔ 15:47, 12 February 2012 (UTC)
- I'm afraid that unticking it in Preferences left the icon red, even after purge/hard-refresh. It Is Me Here t / c 10:25, 13 February 2012 (UTC)
- Since you've made a note of which you've got enabled, perhaps you could try disabling them all temporarily? - Jarry1250 [Deliberation needed] 13:49, 13 February 2012 (UTC)
- I have to report that now that I've unticked MWEmbed the padlock is green again in Chrome (although I could have sworn that it continued to be red initially after removing the gadget from my preferences). It Is Me Here t / c 13:59, 17 February 2012 (UTC)
- Since you've made a note of which you've got enabled, perhaps you could try disabling them all temporarily? - Jarry1250 [Deliberation needed] 13:49, 13 February 2012 (UTC)
- I'm afraid that unticking it in Preferences left the icon red, even after purge/hard-refresh. It Is Me Here t / c 10:25, 13 February 2012 (UTC)
- Appearance #16 would be the Wikipedia:Multimedia beta mentioned above, wouldn't it? Try disabling that one temporarily and see if that fixes your issue. Anomie⚔ 15:47, 12 February 2012 (UTC)
The server which is hosting that gadget, unfortunately isn't available on https atm... It's in the works of going trough code review, so i doubt it will be updated before that is finished... I'll ask anyway though. —TheDJ (talk • contribs) 12:09, 18 February 2012 (UTC)
Printable version without images
Is there a way to generate a printable version of an article, that would not include images (and their descriptions)? --eugrus (talk) 19:19, 13 February 2012 (UTC)
This will suppress images. Need to dig a bit to get the captions. Will get back to this in a bit.
/* do not print images or captions*/
@media print {
img {display: none;}
.thumb {display: none;}
.thumbinner {display: none;}
.thumbcaption {display: none;}
.magnify {display: none;}
}
---— Gadget850 (Ed) talk 19:59, 13 February 2012 (UTC)
- I've tried putting into User:Eugrus/common.js and it doesn't effect anything at all. Isn't it the right place for this script? --eugrus (talk) 22:03, 13 February 2012 (UTC)
- You want to put it in User:Eugrus/common.css instead. Titoxd(?!? - cool stuff) 08:26, 14 February 2012 (UTC)
- Tried this as well. No effect( --eugrus (talk) 10:19, 14 February 2012 (UTC)
- I see that you've left the code in User:Eugrus/common.js - you should probably blank that out. Also, make sure that you bypassed your browser's cache, as described at the top of the .css and .js pages. --Redrose64 (talk) 11:22, 14 February 2012 (UTC)
- I left that a bit vague didn't I. Got a real life interrupt while I was writing that. I updated the source code to suppress captions. ---— Gadget850 (Ed) talk 11:48, 14 February 2012 (UTC)
- I see that you've left the code in User:Eugrus/common.js - you should probably blank that out. Also, make sure that you bypassed your browser's cache, as described at the top of the .css and .js pages. --Redrose64 (talk) 11:22, 14 February 2012 (UTC)
- Tried this as well. No effect( --eugrus (talk) 10:19, 14 February 2012 (UTC)
- You want to put it in User:Eugrus/common.css instead. Titoxd(?!? - cool stuff) 08:26, 14 February 2012 (UTC)
/* do not print images or captions*/
@media print {
img,
.thumb,
.thumbinner,
.thumbcaption,
.magnify {display: none;}
}
Works also and requires less css. Not that it matters because it ends up being minified (to some extent; mostly the whitespace), but just noting. --Izno (talk) 19:53, 14 February 2012 (UTC)
- I am now getting where the misunderstanding is: what I am talking about is getting rid of images on "&printable=yes" pages: not just in the actually printed text on paper. Is this possible? --eugrus (talk) 22:20, 15 February 2012 (UTC)
My gadget Print dialog might be useful. —TheDJ (talk • contribs) 12:13, 18 February 2012 (UTC)
How does one go about getting a new filetype added to the list of allowable uploads?
The title pretty much says it. I don't want to spill the details as we are still working on a model, but its an XML based filetype (aka text based) that could provide an untold benefit to the project. Who deals with this? I know there will need to be community consensus to implement it, but when that has been achieved where does it go? Bugzilla? - ʄɭoʏɗiaɲ τ ¢ 17:33, 15 February 2012 (UTC)
- Yes, Bugzilla. Do you mean creating an entirely new filetype (as opposed to adding an existing filetype to the list of allowed filetypes)? Ucucha (talk) 21:04, 15 February 2012 (UTC)
- No I mean adding a new type (.kml) to the list of allowed filetypes that can be uploaded. - ʄɭoʏɗiaɲ τ ¢ 03:44, 16 February 2012 (UTC)
- Unfortunately, kml and kmz are a bit problematic bugzilla:26059. —TheDJ (talk • contribs) 12:18, 18 February 2012 (UTC)
- No I mean adding a new type (.kml) to the list of allowed filetypes that can be uploaded. - ʄɭoʏɗiaɲ τ ¢ 03:44, 16 February 2012 (UTC)
"My Sandbox" link
When did this link get added, and where is the deciding discussion? —danhash (talk) 19:25, 15 February 2012 (UTC)
- And how can I get rid of
{{user sandbox}}
at the top and why don't the sections have links? Or is it just me? — Bility (talk) 19:29, 15 February 2012 (UTC)- Uncheck it in gadgets, section "appearance". — AlexSm 19:38, 15 February 2012 (UTC)
- WP:Gadget/proposals#My Sandbox. — AlexSm 19:38, 15 February 2012 (UTC)
- Thanks Alex; knew I'd seen it proposed somewhere recently. Are interface changes such as this one documented anywhere that's easy to find? When searching for documentation about the change I came up empty. —danhash (talk) 20:59, 15 February 2012 (UTC)
- As far as I know, there is no formalized way in which interface changes as made by the English Wikipedia community are published centrally, though usually, this very spot is a good place to keep an eye on. —TheDJ (talk • contribs) 12:21, 18 February 2012 (UTC)
- Thanks Alex; knew I'd seen it proposed somewhere recently. Are interface changes such as this one documented anywhere that's easy to find? When searching for documentation about the change I came up empty. —danhash (talk) 20:59, 15 February 2012 (UTC)
Sandbox, not sandbox
Has the User namespace always treated the case of the first letter of subpages as significant? (I ask because the My Sandbox link goes to Special:MyPage/sandbox instead of Special:MyPage/Sandbox.) Mark Hurd (talk) 23:29, 15 February 2012 (UTC)
- Yes— subpages in all allowed namespaces are case sensitive. ---— Gadget850 (Ed) talk 23:36, 15 February 2012 (UTC)
secure.wikimedia.org down?
This breaks the HTTPS everywhere addon... I can still use https://en.wikipedia.org/ 129.67.86.189 (talk) 21:18, 16 February 2012 (UTC)
- Upgrade your HTTPS Everywhere. Anomie⚔ 21:39, 16 February 2012 (UTC)
- https://secure.wikimedia.org was also down for me but it's up again. PrimeHunter (talk) 14:08, 17 February 2012 (UTC)
Proposal to allow the uploading of *.kml files
As a result of an RfC at WikiProject:Highways, a discovery was made recently that allows us to display linear data on Google Maps and Bing Maps with an extraordinary level of detail. Thanks to User:Dschwen, WikiMiniAtlas already supports the new data. In addition to the simple linear features that we have exploited thus far, there exists the potential to label specific points, or display entire networks (think subway systems, or rivers and their tributaries) on the mapping services. Lots of potential, but still lots of groundwork to lay.
To see a few examples of what this can do, check out:
- River Liffey (link in title), a convoluted river in Ireland
- Ontario Highway 401 (link in the title), a 500-mile highway
- Deansgate (link in the Further reading section), a short urban major roadway that begins and ends inexplicably
Note how in River Liffey we can put markers on the various landmarks along the river's course, as well as including separate lines for the tributaries that feed the river.
The main issue faced thus far is manipulating the data, as we cannot upload a *.kml file. Since they are text-based XML files, the contents can be copy-pasted into a subpage; however this presents a significant hurdle to user-friendliness.
Google Earth, NASA WorldWind, Gaia, and most GIS software can open, manipulate, create and save these files, so they are far easier to create than the standard PDF format. However, the files are article specific, so I feel they aren't appropriate for commons in most cases.
So, essentially, this is a request for community consent to add *.kml to the list of allowable filetypes. - ʄɭoʏɗiaɲ τ ¢ 02:44, 17 February 2012 (UTC)
- Support—as a supporter of the KML-based solution, I feel that we need to take this additional step before pursuing the concept on a wider range and number of articles. As it stands, we have no way to easily document the source of the KML data, and using subpages makes it more difficult for readers to reuse the data files. Imzadi 1979 → 02:50, 17 February 2012 (UTC)
- Support *.xml variant = low risk + potential benefit. Happy to say yes. PuppyOnTheRadio (talk) 03:19, 17 February 2012 (UTC)
- Comment See T28059: at the moment, it seems kml is unlikely, but kmz might be possible. Anomie⚔ 03:43, 17 February 2012 (UTC)
- Is there no way to have wiki output/treat them as raw text instead of trying to parse or run the code? - ʄɭoʏɗiaɲ τ ¢ 06:35, 17 February 2012 (UTC)
- Support but repeating my observation at Wikipedia talk:WikiProject Geographical coordinates#...and a few points, are you sure this is not already allowed?
Regarding KML file uploading: there are already about 120 KML files uploaded at Commons some years ago, made accessible from the parent :File: pages there via commons:Template:Overlay (documented further at commons:Commons:Geocoding/Overlay; e.g. File:Etna eruption seen from the International Space Station.jpg which references commons:File:Etna eruption seen from the International Space Station.jpg/overlay.kml (but note the unexpected redlink if the same KML subpage is accessed indirectly with :File: instead of :commons:File:). I don't know whether KML files can be (or already are) uploaded to enwiki, but it seems unlikely that the ability to upload KML files to Commons will have been revoked since the 120 files were added. — Richardguk (talk) 00:02, 17 February 2012 (UTC)
— Richardguk (talk) 20:50, 17 February 2012 (UTC)
- Given that they are subpages, I'd assume they were manually added by copy/pasting the contents of a kml file, similar to what we are doing here at the moment. - ʄɭoʏɗiaɲ τ ¢ 22:16, 17 February 2012 (UTC)
- I take your point. From the instructions at Geocoding/Overlay, you are right. It hadn't occurred to me that the difference is significant, but I suppose it means that the existing KML "files" are in fact merely "file description subpages" containing KML code (as their wikitext) but which, as far as the servers are concerned, have no file attached. (Afterthought: In some ways, a file description page is more accessible than a proper upload, being editable in place and simple changes viewable as diffs. But I concede that it is a bit of a kludge.) — Richardguk (talk) 23:32, 17 February 2012 (UTC)
- Given that they are subpages, I'd assume they were manually added by copy/pasting the contents of a kml file, similar to what we are doing here at the moment. - ʄɭoʏɗiaɲ τ ¢ 22:16, 17 February 2012 (UTC)
- Support. The current way of using subpages is actually fine, too. But if you guys want to upload the data as files on commons, that would be fine, too. It would just be a bit more difficult for me to obtain the data (due to crosssite scripting prohibitions (unless accessin via Special:FilePath works...)). KMZ would require me to write a decompressing proxy on the toolserver. I would certainly prefer raw uncompressed XML/KML data, as that is very easy to process in JavaScript using XMLHTTPRequests :-). --Dschwen 23:37, 17 February 2012 (UTC)
- Actually, if upload.wikimedia.org serves the file with a Content-encoding: gzip header I wouldn't have to worry about unzipping it, the browser would do it for me. --Dschwen 00:02, 18 February 2012 (UTC)
Graphic for portal link to Academy Award portal isn't loading
When the following is added to articles to link to the Academy Award portal, the graphic isn't loading, and the generic portal image appears:
Is there a fix for this? The image that is intended to be displayed is "Oscar.svg", located at Template:Portal/Images/Academy Award. Northamerica1000(talk) 18:12, 17 February 2012 (UTC)
- See Template:Portal/doc#Image. I think you need to move it to Template:Portal/Images/Academy award, lowercase "a". -- John of Reading (talk) 18:24, 17 February 2012 (UTC)
- (edit conflict) Er, File:Oscar.svg is a red and yellow flag. Not sure why that's relevant. Anyway, the problem is a misnamed page. It needs to be at Template:Portal/Images/Academy award. --Redrose64 (talk) 18:26, 17 February 2012 (UTC)
- Fixed – After creating the new page suggested above, it works! Added image: Video-x-generic.svg Northamerica1000(talk) 18:34, 17 February 2012 (UTC)
Adding RSS Feeds to Wikipedia
Is it possible to add RSS feeds of external pages to Wikipedia? If so, how do I do it? For example, I would like an updated feed of my favorite CDs from Listal. I know the <rss> tag works on Intellipedia, but what will work here? Thank you for your help. Allen (talk) 17:48, 18 February 2012 (UTC)
- That requires an extension such as RSS, which is not enabled here. --Izno (talk) 18:57, 18 February 2012 (UTC)
- See also WP:ELNO no. 9. --Redrose64 (talk) 18:57, 18 February 2012 (UTC)
- So, unfortunately, it looks as if it can't be done. Does anyone know if RSS feeds from Wikipedia pages can be put on Listal? Allen (talk) 21:48, 18 February 2012 (UTC)
- See also WP:ELNO no. 9. --Redrose64 (talk) 18:57, 18 February 2012 (UTC)
Looking for a tool
For years now, I've been looking for a tool which would be immensely helpful in matching suspected sockpuppets to possible puppet masters. What I need is a tool into which you can put a number of articles, and it would return the names of editors who had worked on all those articles, or a significant subset of them -- this on the theory that socks frequently return to the "scene of the crime" and can't resist editing the articles they edited under previous IDs. The list generated would provide some starting points to look for behavioral commonalities.
Does anyone know of such a tool, or would anyone be interested in making it? Beyond My Ken (talk) 21:55, 17 February 2012 (UTC)
- Pretty easy for someone with a toolserver account. — Bility (talk) 22:21, 17 February 2012 (UTC)
- You may be aware of this already, but Wikistalk performs a broadly similar function and can be useful for sock hunting. Graham87 03:53, 18 February 2012 (UTC)
- Wikistalk (which is a great tool) actually does the opposite of what I want. It takes multiple editors and tells you what articles they have in common. What I need is a tool which you give articles and it generates users who edited them in common, Beyond My Ken (talk) 05:04, 18 February 2012 (UTC)
- You'll want to filter out a lot of bots and other prolific editors, but otherwise, yeah, it sounds straightforward. Got any particular articles in mind? 67.117.145.9 (talk) 00:40, 19 February 2012 (UTC)
- Not at this time - I'm lookng for a generally usable tool. Beyond My Ken (talk) 22:59, 19 February 2012 (UTC)
- You'll want to filter out a lot of bots and other prolific editors, but otherwise, yeah, it sounds straightforward. Got any particular articles in mind? 67.117.145.9 (talk) 00:40, 19 February 2012 (UTC)
- Wikistalk (which is a great tool) actually does the opposite of what I want. It takes multiple editors and tells you what articles they have in common. What I need is a tool which you give articles and it generates users who edited them in common, Beyond My Ken (talk) 05:04, 18 February 2012 (UTC)
Quartic function has spam inserted directing all clicks to a racist 9/11 conspiracy site
At least for me, going to the page quartic function leads to a strange situation where all clicks on any link (including "edit", "talk", etc.) lead to a racist Jew-baiting 9/11-conspiracy site at pump.pp4l.me. Conceivably this is a virus on my machine but I suspect it's code inserted into the page itself. I can't edit the page or look at its history, but I can see the page source, and I see the following:
<div style="position:fixed;left:0;top:0"><b><a href="http://pump.pp4l.me/proof.php"><img alt="Chess tile .png" src="//upload.wikimedia.org/wikipedia/commons/9/97/Chess_tile_.png" width="8000" height="8000" /></a></b></div>
This is stuck in directly between "This suggests using a ..." and "... resolvent cubic whose roots may be variously described as a discrete Fourier transform or a Hadamard matrix transform ..."
(This is one of the things that suggests a page mod rather than a virus -- it occurs only on one page, and it makes use of Wikipedia-specific links, and it inserts in the middle of some text)
Note that the div places an invisible image over the entire window, intercepting all links. Please fix this and permanently ban whoever put this in!
Thanks.
Benwing (talk) 08:21, 18 February 2012 (UTC)
- The vandalized template has already been fixed. Ravensfire (talk) 08:32, 18 February 2012 (UTC)
- Yes, see [4]. Goodvac (talk) 08:34, 18 February 2012 (UTC)
- I've meta bl'd the link. --Dirk Beetstra T C 08:36, 18 February 2012 (UTC)
- Thanks. Ravensfire (talk) 08:40, 18 February 2012 (UTC)
- That was a quite devious abuse of the template mechanism. The "link" mechanism used there looks quite dangerous: is there ever a valid use for it other than to link to other pages on Wikimedia projects? If not, perhaps it should be filtered in software at render time. -- The Anome (talk) 11:05, 18 February 2012 (UTC)
- I remember being cought by filter 139 when using
style="position: absolute"
code, the filter being there to prevent a similar trick. -DePiep (talk) 11:17, 18 February 2012 (UTC) - Filter 139 is currently disabled, apparently because of too many false positives -- otherwise, it looks likely it would have caught this. Perhaps we should have a variant of filter 139 that just checks edits in template space? -- The Anome (talk) 11:27, 18 February 2012 (UTC)
- Or which looks for four digit widths and/or heights? Or with high z-index? Or all three? - Jarry1250 [Deliberation needed] 11:39, 18 February 2012 (UTC)
- The really bad thing here was to be able to make images (in this case, an invisible image) link to external sites. A whitelist for the linking mechanism in question would have defeated its principal purpose of redirecting the user to an attack page. I wonder, is there ever any legitimate reason to use this feature to link anywhere but to the same wiki the page itself is on? If not, we could restrict the attribute to use only relative links. -- The Anome (talk) 11:44, 18 February 2012 (UTC)
- (edit conflict)When I talked about my edit there, in 2010, the filter was changed to allow established users pass through. I have not followed this issue after that. Filter usage is sensitive wrt the workload, very often there is a tradeoff. -DePiep (talk) 11:47, 18 February 2012 (UTC)
- Let's make Filter 139 specific to the template space, then, and re-enable it. Perhaps we should even make the exception admin-only, rather than autoconfirmed? However, I'd still like to see action on making the "link=" parameter safe, as that is a long-term and complete fix to the root problem of this exploit. -- The Anome (talk) 11:53, 18 February 2012 (UTC)
- The link parameter is likely to be used in template space. So perhaps a filter that looks for the combination 'link=' and 'position:absolute' would be more effective. — Edokter (talk) — 12:16, 18 February 2012 (UTC)
- That is also used in templates. One thing that is used in vandalism such as this is an image linking to an external site - does this have any legitimate uses? Peter E. James (talk) 21:08, 19 February 2012 (UTC)
- The link parameter is likely to be used in template space. So perhaps a filter that looks for the combination 'link=' and 'position:absolute' would be more effective. — Edokter (talk) — 12:16, 18 February 2012 (UTC)
- The really bad thing here was to be able to make images (in this case, an invisible image) link to external sites. A whitelist for the linking mechanism in question would have defeated its principal purpose of redirecting the user to an attack page. I wonder, is there ever any legitimate reason to use this feature to link anywhere but to the same wiki the page itself is on? If not, we could restrict the attribute to use only relative links. -- The Anome (talk) 11:44, 18 February 2012 (UTC)
- Or which looks for four digit widths and/or heights? Or with high z-index? Or all three? - Jarry1250 [Deliberation needed] 11:39, 18 February 2012 (UTC)
- I remember being cought by filter 139 when using
- That was a quite devious abuse of the template mechanism. The "link" mechanism used there looks quite dangerous: is there ever a valid use for it other than to link to other pages on Wikimedia projects? If not, perhaps it should be filtered in software at render time. -- The Anome (talk) 11:05, 18 February 2012 (UTC)
- Add
position:fixed
as was used in this current abuse. Is the third aspect, the option "transparent image covering whole page" prevented this way? -DePiep (talk) 12:41, 18 February 2012 (UTC)
- Add
Okay, they hit a new template with a different but similar link. Anything from the above discussion viable to prevent future attempts? Ravensfire (talk) 17:24, 18 February 2012 (UTC)
Note: We've been getting a lot of complaints about this at the Help Desk. See the following threds:
- WP:HD#Possibly malicious link in page about Royal Thai Police.
- WP:HD#Baldiwn of Forde article may have been vandalized
- WP:HD#Mass vandalism through editing unprotected templates
- WP:HD#All links on OS X page linking to 9/11 site.
- WP:HD#The page of Autism appears to have been hacked with an overlay that provides a link to a racist 9/11 conspircy site
- WP:HD#Anti-Israel Redirects?
- WP:HD#Problem with map on Bosnia and Herzegovina
Singularity42 (talk) 18:15, 18 February 2012 (UTC)
On a related note, we are still getting questions about this at the Help Desk as people need to clear their cache in order for the updated, non-vandalised pages to appear. Would it be possible to temporarily put something in place that either did this for people or told people to refresh their browsers to deal with this? I'm not incredibly well-informed, so I don't know exactly what would be needed, but something would be helpful. ItsZippy (talk • contributions) 19:13, 18 February 2012 (UTC)
- I've now adjusted filter 139 to catch at least some of these, and enabled it. Please could someone check my edits to the filter for sanity, and check that they catch the edits in question? -- The Anome (talk) 19:23, 18 February 2012 (UTC)
- I have not checked the HD links.
- imo, there are three orifices of attack:
- OR1: Cover the whole page with an invisible, linked image
- OR2: Link to an external page
- OR3: Use
style="position:fixed"
or..."position:absolute"
- Then there are angles of prevention:
- ANG1: Use a filter to prevent some code (like filter 139; could use user-status)
- ANG2: Restrict certain code to template space
- ANG3: Prevent external links in these templates
- By Venn, using multiple lines could prevent many multiple attacks. -DePiep (talk) 19:45, 18 February 2012 (UTC)
- 422 deals with this as well, stemming from a similar set of attacks last month, though apparently not quite comprehensively; I've emailed the author of that to take a look at it. Shimgray | talk | 19:44, 18 February 2012 (UTC)
- I'm glad I found this thread (after stumbling upon a link at ANI). Was trying to figure out where to go to, to point out this weird phenomena. I was reading the London 2012 Olympics article and noticed this strange redirect to a 9/11 Jewish conspiracy page, whenever I clicked on a link, image, or even just the plain white background of the article. I'm highly concerned, as the site it directs me to is causing my anti-virus programme to go berserk, telling me that my computer is under threat. Has anyone else's anti-virus software been flashing up with warnings from this weird site? Wesley☀Mouse 20:00, 18 February 2012 (UTC)
- Thanks for adjusting the abuse filter to stop / slow this down. For those that find a page affected by this but aren't sure were it's from, edit the page and look at the templates used in that page. Look at the history for each template that's not protected and you should be able to figure out which one was changed fairly quickly and revert it. Ravensfire (talk) 20:16, 18 February 2012 (UTC)
- I've just created and enabled filter 453, which should temporarily stop all recently-created editors from editing templates at all. I'll disable it in a few hours, when this has blown over, and all the affected templates tracked down and fixed, but I think it will be a good idea to keep it around for the time being so that it can be re-enabled at a moment's notice if this starts up again. -- The Anome (talk) 20:37, 18 February 2012 (UTC)
- I can't see the filters. It will be all right. -DePiep (talk) 20:51, 18 February 2012 (UTC)
- I've just created and enabled filter 453, which should temporarily stop all recently-created editors from editing templates at all. I'll disable it in a few hours, when this has blown over, and all the affected templates tracked down and fixed, but I think it will be a good idea to keep it around for the time being so that it can be re-enabled at a moment's notice if this starts up again. -- The Anome (talk) 20:37, 18 February 2012 (UTC)
OK: this all seems to have gone quiet for now, and I can't see any more reports of similar vandalism recently. Filter 453 is now deactivated, and filter 139 will stay active for now to watch out for similar attacks. If this recurs, please let me and WP:AN/I know, and further action will be taken. -- The Anome (talk) 22:28, 18 February 2012 (UTC)
- OK. I've now deactivated 139, and reactivated 453, which is now hopefully both simple and specific enough to work. The oversighting of the abusive diffs, and the difficulty of extracting diff content without getting an eyeful of hate/malware content, has made this very difficult to debug. -- The Anome (talk) 01:34, 19 February 2012 (UTC)
- There is an option in the Misc tab of My Preferences for "Do not show page content below diffs", although I don't know if it works for deleted revisions. It also seems strange that the diffs would be oversighted (and not just deleted via WP:REVDEL), as some of the links are still visible via the spam blacklist. Peter E. James (talk) 21:08, 19 February 2012 (UTC)
- That option in My Preferences does indeed work for deleted revisions. Graham87 00:46, 20 February 2012 (UTC)
Ways to cut down on load time for a template
I've created a template at Commons (link) that's meant to inform the reader about a lot of copyright information at once. Unfortunately, because copyright is very complicated, there is a ton of template logic inside. The result is that any page which uses the template takes about 7 seconds to load. Is there a way I might cut down on the load time of this template? I cannot think of one, other than forking the whole project into JavaScript and adding it to the site's vector.js. Magog the Ogre (talk) 19:31, 19 February 2012 (UTC)
- Haven't got any suggestions on speed but that testing for y or 1-9 character could be made into a separate template. -- WOSlinker (talk) 19:41, 19 February 2012 (UTC)
{{#switch:{{padleft:|1|{{lc:{{{1}}}}}}} |y|1|2|3|4|5|6|7|8|9=1 <!-- first character is "y", or any positive integer --> |#default=0 }}
- Not a bad idea. Of course, I'm sure you can tell that the majority of the logic is in the region specific templates (commons:Category:PD-in templates), commons:Template:PD-in/logic, and commons:Template:PD-in/logic-and. Magog the Ogre (talk) 20:07, 19 February 2012 (UTC)
- Of course, you might want to hold off on the port to JS (if it's required in the end) until Lua support goes live (tentatively expected to be near the end of this year), although tangible case studies may induce faster work on the project). - Jarry1250 [Deliberation needed] 13:32, 20 February 2012 (UTC)
- Not a bad idea. Of course, I'm sure you can tell that the majority of the logic is in the region specific templates (commons:Category:PD-in templates), commons:Template:PD-in/logic, and commons:Template:PD-in/logic-and. Magog the Ogre (talk) 20:07, 19 February 2012 (UTC)
Cannot login from iPhone
I have tried during today to use my iPhone's browser to log in and make some edits. This fails on multiple accounts, regardless of which browser I use (tried Safari, the Wikipedia app, and Grazing, a third-party browser; but I suppose they just differ in the chrome, not in the actual HTTP(s) client).
Firstly, there is no "log in" link in the mobile version of Wikipedia. This may be a conscious decision (even as to dissuade mobile users from attempting to log in because of support issues, perhaps??) but I am mentioning this in order to provide the full picture.
Secondly, if I navigate to the main (non-mobile) site's login page, I get redirected to the mobile version http://en.m.wikipedia.org/w/index.php?title=Special:UserLogin&returnto=Main+Page&returntoquery=useformat%3Dmobile%26mobileaction%3Dview_normal_site, which does not display a login box. The warnings on the login page are visible, but not the user name and password boxes. I worked around this by scrolling down to the full site ("View this page on regular Wikipedia") link, as opposed to the mobile site (http://en.wikipedia.org vs http://en.m.wikipedia.org).
But even then, I cannot log in. I obviously know my user name and password, as I was able to log in from my computer. The error message says "Login error / There was an unexpected error logging in. Please try again. If the problem persists, it may be because you have cookies disabled, and you should check that they are enabled in your browser settings". (It then goes on to explain how to secure my account.)
If you can view logs for troubleshooting, I believe my phone's IP address just now is 178.55.164.227.
Brief update: Cookies was set to "From Visited" in Grazing. Just to check that this isn't the issue, I changed it briefly to "Always", but this did not help.-- era (Talk | History) 11:34, 20 February 2012 (UTC)
Asian font for a punctuation character?
I asked this at the Help desk and was recommended to ask here: At Ellipsis – in Japanese and Chinese, the 3-dot leaders “…” (U+2026) appear on the baseline when the text displays in a Western font. In Asian typesetting it should be vertically centered, and in fact the same codepoint in Japanese (& some Chinese) fonts displays properly centered (like 3 midpoints ···). Is there a template or something with a CSS rule to force display of an East Asian font? I know Unicode obviates most font assignments for world scripts, but in this case it makes a difference visually. I considered substituting the midline ellipsis math operator (⋯ U+22EF) but that would be misleading about the correct character to use. So I thought I should ask for opinions. MJ (t • c) 19:27, 11 February 2012 (UTC)
- You might try template {{lang}}. It won't force a font, but might trigger your browser to pick the right one. — Edokter (talk) — 22:06, 11 February 2012 (UTC)
Thanks, Edokter – {{lang}} sounds like exactly what I wanted. But then I went to edit the section in Ellipsis and found it already used there. I tried changing {lang|ja} to {lang|hani}, but it made no difference. I guess that’s because the ellipsis is in General Punctuation, not an Asian block of Unicode. MJ (t • c) 02:24, 12 February 2012 (UTC)
- In my environment (Japnese Windowx XP, IE8), {{lang|ja|…}} displayes properly vertically centered dots (…), while without the template, the dots appear on the baseline (…). It seems the markup is fine and the problem is that the font your browser is using for Japanese is not the one with vertically centered dots for horizontal ellipsis. --Kusunose 06:38, 21 February 2012 (UTC)
Random Sampling of AFDs?
Have a look at Template:Recent changes article requests. I'd like to do the same sort of thing, except transcluding the output onto a single page and generating the list of possible titles from the contents of Category:AfD debates. Is there a way that a template could parse that category list and pick random entries, or would we need a bot to generate such a list (in the form of Template:Recent changes article requests/list, for example)? The idea is similar to that of the "Random Article" link, in that you click and get a set of debates you might not ordinarily see. Perhaps articles from outside your usual areas of interest, or in categories you don't normally review. The age of the debates is a factor as well; unless it's the first or last day of the debate, it's difficult to highlight that the article is still up for deletion (apart from the article itself). So this might get more eyes on articles in the middle few days of their debates. Is this feasible? Or am I overthinking it? UltraExactZZ Said ~ Did 19:46, 13 February 2012 (UTC)
- As far as I can tell, it wouldn't be possible to fully automate this type of process using only templates. You can get a list of articles at AfD by using something like {{#categorytree:AfD debates|mode=pages|hideroot}}, but it would be formatted into HTML already, and furthermore there isn't a practical way (that I know of) to just pick a few out of the list randomly and transclude them to a page.
- However, this would be a trivial task for a bot to do, and as you indicated on my talk page, the bot I run already works with AfD's and is fully aware of the status of all articles that are currently at AfD. I think this is an idea worthy of a bot task, after some discussion and fleshing out of the details. There are probably several different kinds of such lists that could be created simultaneously. In addition to a list of random open AfD's that is updated a few times per day (perhaps about 25 AfD's on the list), I think it would be useful to maintain a list of AfD's that urgently need more attention from potential voters. The bot could assign an "urgency score" to each AfD and then list the top 25 AfD's by score. I'm envisioning the score being comprised of things like:
- The fewer bolded (non-comment) votes an AfD has, the higher its score
- The smaller the AfD discussion page is (i.e. in bytes), the higher its score
- The shorter the time before the AfD is scheduled to be closed, the higher its score
- The more times an AfD has already been relisted, the higher its score
- Any comments, suggested tweaks, or ideas for other lists? —SW— babble 20:54, 13 February 2012 (UTC)
- Much simpler than my idea - I like it. You could also check for stagnant debates, using the time since last edit measurement. The trick is coming up with a metric for everything rolled into one score. UltraExactZZ Said ~ Did 13:18, 14 February 2012 (UTC)
- I've got something preliminary set up at User:Snotbot/AfD's requiring attention. —SW— converse 00:03, 15 February 2012 (UTC)
- Much simpler than my idea - I like it. You could also check for stagnant debates, using the time since last edit measurement. The trick is coming up with a metric for everything rolled into one score. UltraExactZZ Said ~ Did 13:18, 14 February 2012 (UTC)
- I like it. It's self-evident why the debates are listed (most for lack of participation). Does the bot create a report somewhere that shows actual scores? UltraExactZZ Said ~ Did 19:17, 16 February 2012 (UTC)
- The bot seems to be gravitating toward the most relisted debates, which probably comes from the scoring criteria - so that's working. I think this'll do just fine. Thanks! UltraExactZZ Said ~ Did 13:26, 21 February 2012 (UTC)
"Forgot my password" from email
I've proposed that the new feature to email generated temporary passwords based on the email address be enabled. Superm401 - Talk 06:33, 14 February 2012 (UTC)
- I hope that WP does not keep any user passwords! This would be most insecure. See password hash and the sony debacle : PlayStation_Network_outage#Unencrypted_personal_details 21:22, 16 February 2012 (UTC) — Preceding unsigned comment added by 129.67.86.189 (talk)
- Looking at bugzilla:34386 and bugzilla:13015, I think the new feature will actually send an email containing a forgotten account name. There's nothing there about sending the password. -- John of Reading (talk) 21:28, 16 February 2012 (UTC)
- Em 34386| talks about passwords and then changed to username half way through. And WMF would already have details of passwords stored somewhere or you wouldn't be able to log in.Edinburgh Wanderer 21:31, 16 February 2012 (UTC)
- No, they don't store passwords - they store encryptions of passwords. During the logging-in process, when you enter a password, it's encrypted and this encrypted version is compared against the encrypted password stored in the database. If these match, the password is assumed to match as well: the chances of two different passwords having the same encrypted form are extremely small. There is no actual means of decrypting the encrypted form. --Redrose64 (talk) 22:31, 16 February 2012 (UTC)
- To be pedantic, "encrypted" is the wrong word there. "Hashed" is the correct term. Anomie⚔ 02:00, 17 February 2012 (UTC)
- No, they don't store passwords - they store encryptions of passwords. During the logging-in process, when you enter a password, it's encrypted and this encrypted version is compared against the encrypted password stored in the database. If these match, the password is assumed to match as well: the chances of two different passwords having the same encrypted form are extremely small. There is no actual means of decrypting the encrypted form. --Redrose64 (talk) 22:31, 16 February 2012 (UTC)
- Em 34386| talks about passwords and then changed to username half way through. And WMF would already have details of passwords stored somewhere or you wouldn't be able to log in.Edinburgh Wanderer 21:31, 16 February 2012 (UTC)
- Looking at bugzilla:34386 and bugzilla:13015, I think the new feature will actually send an email containing a forgotten account name. There's nothing there about sending the password. -- John of Reading (talk) 21:28, 16 February 2012 (UTC)
- Thats not true - a password hash is one way only --you do *not* need a copy of a password to log in. You need the salted, hashed password. 86.7.36.50 (talk) 22:25, 16 February 2012 (UTC)
- That's technically not true either. You need something (not necessarily the original password) that, after the authentication code salts and hashes it, matches the stored password hash. Anomie⚔ 02:00, 17 February 2012 (UTC)
- I'm sorry for the unclear wording. I've clarified it. Wikipedia certainly does not store user passwords in plain text. It uses per-user salted double MD5. It currently has a feature to email you your username and a new temporary password if you forget your current password. You also don't have to use the temporary password, in case it is sent maliciously; it expires in 7 days. The proposed feature is to email this information even if you forget your username. Superm401 - Talk 00:22, 21 February 2012 (UTC)
Suggested edit to template and creation of tracking category
{{Rating}} This template accepts values such as {{Rating|9|10}} but not {{Rating|9.1|10}} (as it appears on this revision of Paranoid (album).) Can someone please amend this so that incorrect uses populate a tracking category? I'd be happy to sweep through and fix them. Thanks. Please also respond on my talk if you can to let me know that it's been made. —Justin (koavf)❤T☮C☺M☯ 07:40, 15 February 2012 (UTC)
- From the Template Documentation: For example, if a reviewer awards something a rating of "8.6" (expressed in digits) on a scale of ten, you should write it as "8.6" or "8.6/10.0" in your article. Do not use {{Rating|8.6|10}} as it is inaccurate and misleading. (Emphasis is mine. ) It's not a technical issue. Setting it up so that it can show a fraction of a star is technically complex, and probably not worth it. PuppyOnTheRadio (talk) 08:16, 15 February 2012 (UTC)
- Koavf isn't asking for the ability to display fractional stars. He's asking for a means to detect such attempts at misuse, I suspect that it would be somewhat along the lines of Category:Pages with incorrect use of RailGauge template which lists attempts to use an unrecognised value in the
{{RailGauge}}
template. For example,{{RailGauge|1435}}
is valid, but{{RailGauge|1430}}
is not, and will put the article into that tracking cat. --Redrose64 (talk) 14:06, 15 February 2012 (UTC)- Indeed. But the documentation does not actually state that fractional numbers should not be used, it states only that the template should not be used for ratings that were not originally expressed in "stars". The template code seems to round any fraction to a half, 1.01, 1.5 and 1.99 would all display identically, like this: , , . Before changing the template, which is edit-protected, perhaps someone familiar with its use could edit its unprotected documentation page with more restrictive guidance, to demonstrate that there is a consensus for prohibiting some (or all?) decimals. Koav might not have realised that the template accepts decimals and displays halves. — Richardguk (talk) 15:13, 15 February 2012 (UTC)
- This is a non-issue I think. Reviewers that use stars don't use tenths. The rating in the example should just say "9.1" and shouldn't be using
{{rating}}
at all (it's actually incorrect now, as the mouseover says 9/10 instead of 9.1/10). As for the tracking category, no opinion, although hopefully it won't be used to round down decimals like on Paranoid. — Bility (talk) 18:44, 15 February 2012 (UTC)- Clarification RedRose is exactly right--I'd like a tracking category like the example given, for exactly the reason that Bility points out: no one assigns "9.1 stars" so any time that appears in an article 1.) the template has been misused and 2.) the template incorrectly rounds these values. It should be amended so that it only accepts "X", "X.5", and "X.0" values and if anyone puts in "X.7" then an error tracking category is generated and someone (me) can come along to fix these errors. —Justin (koavf)❤T☮C☺M☯ 19:14, 15 February 2012 (UTC)
- This is a non-issue I think. Reviewers that use stars don't use tenths. The rating in the example should just say "9.1" and shouldn't be using
- Indeed. But the documentation does not actually state that fractional numbers should not be used, it states only that the template should not be used for ratings that were not originally expressed in "stars". The template code seems to round any fraction to a half, 1.01, 1.5 and 1.99 would all display identically, like this: , , . Before changing the template, which is edit-protected, perhaps someone familiar with its use could edit its unprotected documentation page with more restrictive guidance, to demonstrate that there is a consensus for prohibiting some (or all?) decimals. Koav might not have realised that the template accepts decimals and displays halves. — Richardguk (talk) 15:13, 15 February 2012 (UTC)
- Koavf isn't asking for the ability to display fractional stars. He's asking for a means to detect such attempts at misuse, I suspect that it would be somewhat along the lines of Category:Pages with incorrect use of RailGauge template which lists attempts to use an unrecognised value in the
Category I've done the easy part: Category:Pages with incorrect use of Rating template. —Justin (koavf)❤T☮C☺M☯ 21:58, 15 February 2012 (UTC)
- In which case, my couple of edits to the page in question could happily be undone. I might just do that. PuppyOnTheRadio (talk) 00:39, 16 February 2012 (UTC)
- I have limited access to the site at work, so my ability to test is a little limited, but as far as can work out all that it needs is:
<includeonly>{{#ifexpr:{{{1}}} mod 0.5 = 0|<!-- There is no issue. Nothing to see here. Move along -->|[[Category:Pages with incorrect use of Rating template]]}}</includeonly>
- to be popped in there. PuppyOnTheRadio (talk)
- Another alternative is to not worry too much about the categorisation, but instead set the template up so that if it picks up the catch I've set up there it dislays it as a numerical figure instead, and otherwise as per the current template set-up. PuppyOnTheRadio (talk) 01:01, 16 February 2012 (UTC)
- It's already implemented in Template:Rating/sandbox, although unfortunately the wiki version of the modulus operator isn't refined enough to use decimals. There are other changes in the sandbox, but I did mention this tracking category in the talk page thread. — Bility (talk) 01:03, 16 February 2012 (UTC)
- Really? I could have sworn I've done that in the past with a binary calculator. Stupid parser. An alternative would be
{{#ifexpr: {{{1}}}*2 <> floor({{{1}}}*2)...
, but either way works. PuppyOnTheRadio (talk) 01:21, 16 February 2012 (UTC)- I don't think that would work for n.5? I ended up using
{{#ifexpr:{{{1}}}-floor{{{1}}}<>0and{{{1}}}-floor{{{1}}}<>.5
. — Bility (talk) 01:29, 16 February 2012 (UTC)- Of course it would. 0.5 multiplied by 2 = 1. Any other decimal multiplied by 2 would would return another decimal figure. PuppyOnTheRadio (talk) 07:23, 16 February 2012 (UTC)
- Well in your example of 0.5 (half a star),
0.5 * 2 <> floor(0.5) * 2
would return true, meaning it would get categorized as being improperly used even though half stars are valid. At any rate, I've tested the Rating/sandbox version in article space and it correctly adds the category or doesn't as it's written. — Bility (talk) 16:14, 16 February 2012 (UTC)- I left out the end bracket. Should be
0.5 * 2 <> floor(0.5 * 2)
. (I edited the above bit as well.) PuppyOnTheRadio (talk) 00:57, 17 February 2012 (UTC)
- I left out the end bracket. Should be
- Well in your example of 0.5 (half a star),
- Of course it would. 0.5 multiplied by 2 = 1. Any other decimal multiplied by 2 would would return another decimal figure. PuppyOnTheRadio (talk) 07:23, 16 February 2012 (UTC)
- I don't think that would work for n.5? I ended up using
- Really? I could have sworn I've done that in the past with a binary calculator. Stupid parser. An alternative would be
- It's already implemented in Template:Rating/sandbox, although unfortunately the wiki version of the modulus operator isn't refined enough to use decimals. There are other changes in the sandbox, but I did mention this tracking category in the talk page thread. — Bility (talk) 01:03, 16 February 2012 (UTC)
- Another alternative is to not worry too much about the categorisation, but instead set the template up so that if it picks up the catch I've set up there it dislays it as a numerical figure instead, and otherwise as per the current template set-up. PuppyOnTheRadio (talk) 01:01, 16 February 2012 (UTC)
- Resolved thanks to Tra. PuppyOnTheRadio talk 07:47, 20 February 2012 (UTC)
- to be popped in there. PuppyOnTheRadio (talk)
Check out this 4.3 star review. :P — Bility (talk) 22:45, 20 February 2012 (UTC)
#REDIRECT redirects to an older version if not logged in
I've added a paragraph on RGBA LEDs to LED lamp#Technology overview. It's the third one in this section and it starts with "The color rendering of RGB LEDs, however, is worse than one would expect".
This paragraph doesn't show up if I'm (a) not logged in and (b) am going through a redirect, such as LED bulb. Purging helps only until the next time I clear my browser cache.
I see this on two different machines, one on Win7+Firefox3.6.26 and one on WinXP+Firefox3.6.26, and using two different i'net providers, too.
Have I found a MediaWiki bug? --Mkratz (talk) 20:09, 15 February 2012 (UTC)
- This is a known problem, see Wikipedia:Village pump (technical)/Archive 96#Parser cache not invalidated for redirect pages. --Redrose64 (talk) 20:34, 15 February 2012 (UTC)
- I've made one more try to get some ops-side explanations on this, then I think it will be time to update WP:Purge and WP:Redirect, even if it's only to say "we're not sure and no-one is saying". Franamax (talk) 21:25, 15 February 2012 (UTC)
- Thanks for your help; I've just confirmed with LED bulb that the workaround is to purge the redirect page itself. Another redirect, Led lamp, still delivers an at least two weeks-old version to IP editors.
- Parsing the "What links here" page for redirects and purging them looks like a nice job for a bot until the ops get around to fix this problem. --Mkratz (talk) 10:47, 22 February 2012 (UTC)
- Would it be technically possible to add a "purge" link to the "Redirected from" message temporarily? Something like "(Redirected from Foo. Out of date copy? Purge the page)" - where "Purge" is a link that will purge the redirect. -- John of Reading (talk) 11:03, 22 February 2012 (UTC)
- I've made one more try to get some ops-side explanations on this, then I think it will be time to update WP:Purge and WP:Redirect, even if it's only to say "we're not sure and no-one is saying". Franamax (talk) 21:25, 15 February 2012 (UTC)
Looking for Help Gathering Data on Bots
Hello. Some of you might have run into me before...I am doing a research project on bots, bot operators, and technical tools on WP and WM projects. I'm wondering if anyone wants to tackle this problem, which would help me out tremendously. I am looking for stats and data on bots, especially over time. Things like:
- (#) of bot accounts registered over time (by month would be fine) (on English WP)
- (#) of bot edits over time (on English WP)
- (#) of BRFA approved and not approved over time (on English WP only, obviously)
- same trends for bot use on other language versions (which would be a bonus)
I've found some info on these things spread around WP, but nothing that is both up-to-date and reasonably accurate/reliable. I'm not sure if getting this info involves dealing with a data dump (I suspect it does), or if there are simpler ways to do it. If you're interested in investigating this with me, I'd really appreciate the help. Please let me know here or on my talk page.
And if you're a bot operator or Wikimedia developer (or someone who deals with the technical infrastructure of WP) and you'd like to be interviewed, please see my call here.
Thanks! UOJComm (talk) 23:42, 17 February 2012 (UTC)
- The folks over at Wikipedia:Database reports should be able to help you out on most counts. Josh Parris 05:15, 18 February 2012 (UTC)
- It's very hard to gather meaningful data on bot editing of wikipedia since there are an unknown number of unauthorized ones running from regular user accounts at any time. We just had a messy arb case to get rid of an especially persistent abuser, but there are are constantly new incidents. It's like trying to get statistics on liquor consumption by looking at liquor tax receipts, in a region full of moonshiners. 67.117.145.9 (talk) 21:47, 18 February 2012 (UTC)
- Thanks to both of you for the help. Yes, I don't imagine I will be able to get a fully accurate take on bot activity because of those flying under the radar (or the ones who apparently think they are...could you pass along the link to that ArbCom case?). For my project, just getting data on approved bots will be good enough, though. I will check with the people at database reports. Thanks again! UOJComm (talk) 00:35, 19 February 2012 (UTC)
- The arb case was WP:Arbitration/Requests/Case/Betacommand 3. That situation wasn't "under the radar", it was blatant, it just took years of drama to make it (probably temporarily) stop. One issue is there's a bogus "legal" definition of a bot (WP:BOTPOL) that enables a lot of wikilawyering over whether something is a bot or not, with lots of programs and editing just skirting the boundaries and avoiding getting treated as bots (even though that is what they are). So the arb case I linked didn't involve long-running, fully-automatic bots (that might be what you're interested in) but a lot of smaller bursts of automatic editing. 67.117.145.9 (talk) 00:53, 19 February 2012 (UTC)
- What would you suggest to improve the definition? Feel free to start a discussion at WT:BOTPOL. Anomie⚔ 20:54, 19 February 2012 (UTC)
- The arb case was WP:Arbitration/Requests/Case/Betacommand 3. That situation wasn't "under the radar", it was blatant, it just took years of drama to make it (probably temporarily) stop. One issue is there's a bogus "legal" definition of a bot (WP:BOTPOL) that enables a lot of wikilawyering over whether something is a bot or not, with lots of programs and editing just skirting the boundaries and avoiding getting treated as bots (even though that is what they are). So the arb case I linked didn't involve long-running, fully-automatic bots (that might be what you're interested in) but a lot of smaller bursts of automatic editing. 67.117.145.9 (talk) 00:53, 19 February 2012 (UTC)
- Thanks to both of you for the help. Yes, I don't imagine I will be able to get a fully accurate take on bot activity because of those flying under the radar (or the ones who apparently think they are...could you pass along the link to that ArbCom case?). For my project, just getting data on approved bots will be good enough, though. I will check with the people at database reports. Thanks again! UOJComm (talk) 00:35, 19 February 2012 (UTC)
- Thank you for the link and the comments. If you would like to be interviewed for my project, I'd love to hear your detailed thoughts. Please send me an email (anonymity can be maintained if desired). UOJComm (talk) 22:49, 20 February 2012 (UTC)
Racist vandalism back again
Could someone with the appropriate technical skills take a look at WP:AN/I, and try to find out why, despite my best efforts, filter 139 has been missing more of the incoming racist template vandalism? Please be very careful viewing the diffs given there: they cover the content with an invisible image that clickjacks every link to racist sites which may well also contain malware, even in preview mode. -- The Anome (talk) 00:42, 19 February 2012 (UTC)
- 139 is now deactivated, and only 453 is active, and has been tested on defanged vandal template wikitext. Let's see if it catches the next lot. -- The Anome (talk) 01:35, 19 February 2012 (UTC)
- Please contact me immediately if you find any vandalism with a similar MO. Elockid (Talk) 03:25, 19 February 2012 (UTC)
- There are ongoing efforts on Meta to blacklist the affected urls globally, as they have shown up across multiple Wikimedia wikis. Snowolf How can I help? 07:08, 21 February 2012 (UTC)
Minor issue with Special:Upload
I've noted a small issue in the Special:Upload for all logos - the summary field includes {{non-free logo}} at the bottom and the licensing options only include "I don't know..." and non-free logo again; thus most logos now are being uploaded with two copyright templates. Minor glitch, but probably easily fixable. Skier Dude (talk) 02:44, 20 February 2012 (UTC)
- I second this. I probably double licensed about 50 county seals in the past week or two before realizing this was why. Not a big deal, but probably fixable, like Skier Dude said. --Andrew (User:90) (talk) 20:40, 20 February 2012 (UTC)
Top most 1000 used words
Where is list of 1000 or 2000 top most used words of english wikipedia? Is it possible to do this list if it no.--Kaiyr (talk) 14:09, 20 February 2012 (UTC)
- I would imagine it would follow the "most used words in English" list... --Izno (talk) 16:21, 20 February 2012 (UTC)
- It actually would be nice to generate a concordance of words used in Wikipedia, as this would indicate whether Wikipedia deviates from normal language usage. However, I suspect it would be loaded up with technical terms such as template parameter instructions, and the words "redirect" and "disambiguation". bd2412 T 16:42, 20 February 2012 (UTC)
- A possible topic for research, I'm sure, but not really appropriate for encyclopedia writers. Just sayin'. --Izno (talk) 18:46, 20 February 2012 (UTC)
- It actually would be nice to generate a concordance of words used in Wikipedia, as this would indicate whether Wikipedia deviates from normal language usage. However, I suspect it would be loaded up with technical terms such as template parameter instructions, and the words "redirect" and "disambiguation". bd2412 T 16:42, 20 February 2012 (UTC)
Sort challenge
In User:Sphilbrick/List of current NCAA Division I women's basketball coaches, the table is set up to be sortable. I have a subheading in the first column so that one can edit a row, without having to edit the whole table. That adds a numbering to the entries, which is fine. However, if I sort on the team column, it sort such that 1 is first, then 10, rather than 2.
I tried adding <span style="display:none;">Air Force Falcons</span> inside the headings, but that didn't seem to help; my guess is that it converts the heading code to numbers, then sorts. I tried adding the span style outside the headings, but then it doesn't render the headings.--SPhilbrick(Talk) 16:05, 20 February 2012 (UTC)
- What numbering? I don't see any numbers and it sorts fine for me. I went through all your revisions and never saw any numbers. Which skin are you using? — Bility (talk) 16:13, 20 February 2012 (UTC)
- You only see numbers in the first column because you have "Auto-number headings" enabled at Special:Preferences#mw-prefsection-rendering. It's disabled by default. PrimeHunter (talk) 16:16, 20 February 2012 (UTC)
- I turned on section numbering and tested some invisible spans in the table and it seems to work for me. It look all right on your end? — Bility (talk) 16:31, 20 February 2012 (UTC)
- @PrimeHunter Thanks, I've had autonumbering on for so long, I forgot it wasn't a default.
- @Bilty I was trying to imbed the invisible spans in the team entry, as oppose to a new line. I see you added through Bradley, is there an automated way to do this, or is it one at a time? In any event, thanks for identifying the problem.--SPhilbrick(Talk) 16:52, 20 February 2012 (UTC)
- @Bilty Oh and to answer the question directly, rather than implicitly, yes, that seemed to work. Alabama A&M now comes before Alabama Crimson , but that looks like an oddity in the original source (extracted from Wikipedia:WikiProject_College_Basketball/Master_Table)--SPhilbrick(Talk) 16:57, 20 February 2012 (UTC)
- Is the list going to grow? You might want to make a template for these entries in your userspace and use that to cut down on clutter and make it easier to add teams. — Bility (talk) 17:25, 20 February 2012 (UTC)
- No, the list is essentially complete (one or two new teams a year show up, but that's pretty minor), although I need to add the sort key to every row, so wondering if that can be done in an organized way rather than one at a time. When you did the first 20 or so, did you do each row manually, or did you have a better technique?--SPhilbrick(Talk) 22:48, 20 February 2012 (UTC)
- Did them manually by copy/pasting "
<span style="display:none;"></span>
" then highlighted the team name and Ctrl-dragged it into the span. If you want, I can do the list fairly quickly with some regex. Do you want to keep the span or make a template? — Bility (talk) 23:00, 20 February 2012 (UTC)- I also need to add the rest of the headings, plus I need to add a sort key for the name, so they will sort by last name , not first. Let me try dumping it to Excel and trying to fix it myself, first. --SPhilbrick(Talk) 23:31, 20 February 2012 (UTC)
- I have used
{{sortname}}
for this purpose; see e.g. first column of table at User:Redrose64#Done, rows for Daniel Kinnear Clark, George Augustus Nokes, and Robert Absalom Thom. --Redrose64 (talk) 14:06, 21 February 2012 (UTC)
- I have used
- I also need to add the rest of the headings, plus I need to add a sort key for the name, so they will sort by last name , not first. Let me try dumping it to Excel and trying to fix it myself, first. --SPhilbrick(Talk) 23:31, 20 February 2012 (UTC)
- Did them manually by copy/pasting "
- No, the list is essentially complete (one or two new teams a year show up, but that's pretty minor), although I need to add the sort key to every row, so wondering if that can be done in an organized way rather than one at a time. When you did the first 20 or so, did you do each row manually, or did you have a better technique?--SPhilbrick(Talk) 22:48, 20 February 2012 (UTC)
- Is the list going to grow? You might want to make a template for these entries in your userspace and use that to cut down on clutter and make it easier to add teams. — Bility (talk) 17:25, 20 February 2012 (UTC)
Signatures
Is there some (working) way to use different font faces in signature? Armbrust, B.Ed. Let's talkabout my edits? 21:07, 20 February 2012 (UTC)
- Yes. See this example: Example (talk). Reaper Eternal (talk) 21:09, 20 February 2012 (UTC)
- I don't see any difference after I removed the font-family part of the code. See: Example (talk). Armbrust, B.Ed. Let's talkabout my edits? 21:13, 20 February 2012 (UTC)
- If you see no difference, it's possible that the font (in this case Lucida console) isn't installed on your machine. When this is the case, most browsers will fail gracefully, by displaying a fallback font. The example below
<span style="font-family:'Courier new',monospace">Courier new, with monospace as fallback</span>
shows how this may be amended: if Courier new isn't installed, it'll try monospace; if that isn't installed either, it'll default to the page style. --Redrose64 (talk) 21:31, 20 February 2012 (UTC)
- If you see no difference, it's possible that the font (in this case Lucida console) isn't installed on your machine. When this is the case, most browsers will fail gracefully, by displaying a fallback font. The example below
- I don't see any difference after I removed the font-family part of the code. See: Example (talk). Armbrust, B.Ed. Let's talkabout my edits? 21:13, 20 February 2012 (UTC)
- (edit conflict) Sure, just look further up this page at the technicolor riot. There are two main ways: using
<font face="xxx">...</font>
or<span style="font-family:xxx;">...</span>
, where xxx is the font name. Be careful that use of non-default fonts does not violate WP:ACCESS though. I've spotted the following (colours removed for clarity): arial Calibri Copperplate Gothic Light Courier new, with monospace as fallback papyrus Tahoma Trebuchet MS Trebuchet MS (done another way) --Redrose64 (talk) 21:26, 20 February 2012 (UTC)
MiszaBot is down
All MiszaBots have been down for three days now. User:Misza13 has not edited since last May and cannot be reached via email, so if anyone has any other ways to reach him/her, can you please do so? Talk pages and noticeboards are starting to pile up and require manual archiving at this time. --Andrew (User:90) (talk) 22:20, 20 February 2012 (UTC)
- Also being discussed at Wikipedia:Bot_owners'_noticeboard#Misza13.27s_bots_seem_to_be_down.Edinburgh Wanderer 22:26, 20 February 2012 (UTC)
- Some people believe that nightshade.toolserver.org is down, and that's the reason why the archive bot is not running. Sending a ping to 91.198.174.201 gets 'destination host unreachable'. If the nightshade server is going to be down for a while, maybe someone could move the crontab from there to one of the working toolserver machines. EdJohnston (talk) 03:05, 21 February 2012 (UTC)
- I don't know why you say "some people" believe. Nightshade is down and bot operators have been advised afaik to move their cronjobs to willow, which is still operational. As I understand it, the issue has persisted since the extraordinary maintenance on Toolserver on the 16th and 17th, but I might be mistaken on this. Snowolf How can I help? 07:10, 21 February 2012 (UTC)
- Misza has responded at User talk:Misza13#Re: Bots down & stuff. He indicates he will run his archive bots manually beginning at 16:00 on 21 Feb. until somebody fixes nightshade. (He thinks moving the cron jobs to willow could create further problems). The nightshade machine has been down since Friday 17 Feb. In the toolserver issue report, DaB has stated: "Looks like I disconnected the disc-controller or the disc by accident. Needs someone in the colo to fix this." EdJohnston (talk) 14:23, 21 February 2012 (UTC)
- I don't know why you say "some people" believe. Nightshade is down and bot operators have been advised afaik to move their cronjobs to willow, which is still operational. As I understand it, the issue has persisted since the extraordinary maintenance on Toolserver on the 16th and 17th, but I might be mistaken on this. Snowolf How can I help? 07:10, 21 February 2012 (UTC)
- Some people believe that nightshade.toolserver.org is down, and that's the reason why the archive bot is not running. Sending a ping to 91.198.174.201 gets 'destination host unreachable'. If the nightshade server is going to be down for a while, maybe someone could move the crontab from there to one of the working toolserver machines. EdJohnston (talk) 03:05, 21 February 2012 (UTC)
Unable to enter text at one site
I wanted to leave a note at talk:Inflation rate world.PNG that the map is in error (It shows the US with 0% inflation, whereas the cited source gives the US's inflation rate as 3%; I didn't check any other countries), but when I twice tried to leave a comment, my heading got erased and I could not (physically) enter any text at all into the text box. Kdammers (talk) 06:02, 21 February 2012 (UTC)
- That image is hosted at Wikimedia Commons, which means you will need to use the discussion page there. Here is a direct link where you can enter your comment. --Andrew (User:90) (talk) 06:24, 21 February 2012 (UTC)
- Thanks. It's too bad that's not explained (clearly?) at the talk page itself. Kdammers (talk) 07:18, 21 February 2012 (UTC)
- It could be explained by a check in MediaWiki:Newarticletext like it already does for the file page. Compare the "Create" tab at File:Inflation rate world.PNG and File talk:Inflation rate world.PNG. You can post a suggestion at MediaWiki talk:Newarticletext. PrimeHunter (talk) 12:55, 21 February 2012 (UTC)
Wikipedia search (2012-02-21)
A query made up of two or more words produced no results until 08:45 of the 21st of February 2012 (UTC). It now runs fine in the main namespace, but not in other namespaces, where it produces no results. Happy editing! –pjoef (talk • contribs) 11:23, 21 February 2012 (UTC)
- Same here, manually searching talk archives produces no results. Searching from an archive box produces a lot of results, but clicking "search" again without changing anything produces again no results.
- It looks like "/wiki/Special:Search?" works but "/w/index.php?title=Special%3ASearch&" doesn't. Simply replacing this part of the URL fixes the search. I think it that the "?" and the "&" in the query strings and not placed in the correct places when used the second form.
- (by the way, the link in the archive box form uses "&fulltext=Search" twice). --Enric Naval (talk) 12:18, 22 February 2012 (UTC)
Changes to Template:Infobox
I don't know if this is the right place, but nothing else came to mind (tell me if I'm wrong), so here goes...
Per this, I'd like to find someone template-savvy who would be willing to sandbox this idea and put the Portal links inside the infoboxes. Nolelover Talk·Contribs 15:41, 21 February 2012 (UTC)
- I hope you plan on getting a wider consensus. I don't think the few people watching WP:PORTAL should be changing something as far-reaching as infoboxes. — Bility (talk) 15:58, 21 February 2012 (UTC)
- Well, it was an RfC, but yes, I understand. Hence I'm asking for someone to sandbox this, just so we have some idea what it will look like. FWIW, I couldn't care less where the Portal links go, but since some people thought it was a good idea I figure there's no harm in testing this. Nolelover Talk·Contribs 16:04, 21 February 2012 (UTC)
- For infoboxes using {{infobox}}, simply add the portal to
|below=
; after gaining consensus. ---— Gadget850 (Ed) talk 16:38, 21 February 2012 (UTC)
Reordering account links at the top of all pages
Is there a script that allows me to reorder the links for my account? In particular, I would like to change the ordering from
Toshio Yamaguchi My talk My preferences My watchlist My contributions Log out My sandbox
to
Toshio Yamaguchi My talk My preferences My watchlist My contributions My sandbox Log out
Is that possible for my own account only? Toshio Yamaguchi (talk) 18:15, 21 February 2012 (UTC)
- Your sandbox is last? Mine is third (Redrose64 My talk My sandbox My preferences), so I guess the position isn't set in stone. I have no special code for setting it - it's just the default position when I have the gadget 'Add a "my sandbox" link to the personal toolbar area.' turned on. --Redrose64 (talk) 18:22, 21 February 2012 (UTC)
- What skin are you using? Grandiose (me, talk, contribs) 18:26, 21 February 2012 (UTC)
- Add two more parameters to addPortletLink in your common.js so the last part looks like this:
'Go to my sandbox', null, '#pt-logout');
; also see the gadget code MediaWiki:Gadget-mySandbox.js. — AlexSm 18:28, 21 February 2012 (UTC)
- (edit conflict × 2) Try this:
$( document ).ready( function() { $( 'a', '#pt-mytalk' ).text( 'My talk' ); $( 'a', '#pt-preferences' ).text( 'My preferences' ); $( 'a', '#pt-watchlist' ).text( 'My watchlist' ); $( 'a', '#pt-mycontris' ).text( 'My contributions' ); $( 'a', '#pt-mysandbox' ).text( 'My sandbox' ); $( 'a', '#pt-logout' ).text( 'Logout' ); });
- Hope this helps. (I'm not a great JS programmer! ;) Also note that
pt-mycontris
is not a typo.) Reaper Eternal (talk) 18:30, 21 February 2012 (UTC) - (edit conflict × 3) He's using Safari, I think it might be a browser incompatibility with whatever method they're using to insert the list node. — Bility (talk) 18:31, 21 February 2012 (UTC)
- Hope this helps. (I'm not a great JS programmer! ;) Also note that
- Alex' solution works. Now 'Log out' is at the far right side and 'My Sandbox' is directly to the left of it. Thanks very much to all for the help. Toshio Yamaguchi (talk) 18:34, 21 February 2012 (UTC)
Clicking on External Link sets off antivirus alert
I was editing Saint Thyrsus and one of the External Links was to www.saintpatrickdc.org etc. When I clicked on the link it set off my antivirus program (ESET NOD32). This has never happened to me before in years of editing. I deleted 2 instances of this link (I was making the references look better), so it's not on the current article page—you'll have to look at older versions of the article. This is the message from my antivirus program: ESET NOD32 Antivirus - Alert Access denied !
Details:
Web page: http://channel-reward-central.com/?sov=146639&id=aDS-cALL-gsociety-dU2FsdGVkX19hZGw3N0lha39LWvtOGQAqbDuDRYN8yrRyEF6lfa9JNQ
Description: Access to the web page was blocked by ESET NOD32 Antivirus. The web page is on the list of websites with potentially dangerous content.
www.eset.com
--Kenatipo speak! 22:25, 21 February 2012 (UTC)
- The domain seems to have been squatted. Reaper Eternal (talk) 22:26, 21 February 2012 (UTC)
- Thanks, Reaper. Does Wikipedia do anything about squatted domains? --Kenatipo speak! 22:32, 21 February 2012 (UTC)
- There's really nothing to be done except remove the offending links per WP:ELNO. Regards, Orange Suede Sofa (talk) 22:39, 21 February 2012 (UTC)
- I found a way of fixing the problem. Instead of a URL that ends, for example, with .htm#thyr, if I change it to .shtml, it appears to take me where I want to go. (I can drop the #thyr because the original didn't take me to that section of the page anyway.) An "everything" Search for www.saintpatrickdc.org yields 463 results, almost all of them Catholic saints. It looks like I've been given a project for Lent. Thanks for your help! --Kenatipo speak! 00:45, 22 February 2012 (UTC)
- I've opened several of the old .htm URLs now and the worst that happens is a "404 page not found" message. My antivirus program may have erred on the side of safety initially, but that's OK with me. --Kenatipo speak! 21:02, 22 February 2012 (UTC)
- I found a way of fixing the problem. Instead of a URL that ends, for example, with .htm#thyr, if I change it to .shtml, it appears to take me where I want to go. (I can drop the #thyr because the original didn't take me to that section of the page anyway.) An "everything" Search for www.saintpatrickdc.org yields 463 results, almost all of them Catholic saints. It looks like I've been given a project for Lent. Thanks for your help! --Kenatipo speak! 00:45, 22 February 2012 (UTC)
- There's really nothing to be done except remove the offending links per WP:ELNO. Regards, Orange Suede Sofa (talk) 22:39, 21 February 2012 (UTC)
- Thanks, Reaper. Does Wikipedia do anything about squatted domains? --Kenatipo speak! 22:32, 21 February 2012 (UTC)
How to add a parameter to a template?
I designed User:Piotrus/TDYK for notifying people about DYKs. I'd like for it to be more specific; I'd like to be able to use a {{subst:User:Piotrus/TDYK|parameter - article's name}}, so that the template would actually mention the name of the article that I specify in the parameter. How can this be done? Perhaps somebody who understands the templates better than me could edit my template and add that functionality to it? In similar vein, I'd like my User:Piotrus/w welcome template to be responsive to a parameter that would specify the name of a WikiProject that the person I am inviting may be interested in joining. --Piotr Konieczny aka Prokonsul Piotrus| talk to me 23:22, 21 February 2012 (UTC)
- For example, suppose Template:Testing contains
The article name is [[{{{name}}}]]
.{{testing|name=Google}}
will appear as "The article name is Google". Goodvac (talk) 23:26, 21 February 2012 (UTC) - I've modified your template to include this functionality. Goodvac (talk) 23:31, 21 February 2012 (UTC)
- Thanks, I can work with that. Can the name= be omitted, so the template would require just
{{testing|Google}}
? --Piotr Konieczny aka Prokonsul Piotrus| talk to me 23:34, 21 February 2012 (UTC)- Yes, you can change {{{name}}} to {{{1}}}. Goodvac (talk) 23:36, 21 February 2012 (UTC)
- Thanks, I can work with that. Can the name= be omitted, so the template would require just
Javascript for collapse
Where is all the JavaScript for the collapsible boxes on Commons? Specifically, with JavaScript I would like put a hook that executes when the user clicks the box for dropdown. Magog the Ogre (talk) 23:46, 21 February 2012 (UTC)
- It looks like commons:MediaWiki:Common.js doesn't have the code for WP:NAVFRAME and implements collapsible tables a bit differently so I recommend you to use this: mw:ResourceLoader/Default modules#jQuery.makeCollapsible. — AlexSm 00:01, 22 February 2012 (UTC)
Technical difficulties
I got the "Sorry! This site is experiencing technical difficulties" notice twice a minute ago, but my edits still went through. Was this just a hiccup, or are there things going on? Ten Pound Hammer • (What did I screw up now?) 01:12, 22 February 2012 (UTC)
- There are constantly things going on, and some may cause an occasional hiccup. Things-going-on log. — Edokter (talk) — 01:25, 22 February 2012 (UTC)
Changing text layout for shorter lines
I'm looking for a solution for someone which will switch page layout from a 'fluid grid style' design to one which adds a max-width statement, to improve legibility for those with difficulty reading long lines. Is there such a tweak, either in .js or .css that I can recommend? Ocaasi t | c 05:04, 22 February 2012 (UTC)
- Add
#bodyContent { width:80% }
- to your skin.css and tweak the percentage as necessary. Note that this shortens the width of all pages, including watchlist and contribs pages. You can disable this effect on special pages by
prependingadding another line of code:.ns-special
to the css above (.ns-special #bodyContent...
).ns-special #bodyContent { width:100% }
. Goodvac (talk) 05:25, 22 February 2012 (UTC)- Thanks! Ocaasi t | c 13:01, 22 February 2012 (UTC)
- Oops, I made a mistake with the special pages disabling. Modified post. Goodvac (talk) 18:41, 22 February 2012 (UTC)
- Thanks! Ocaasi t | c 13:01, 22 February 2012 (UTC)
Help:My sandbox
I started Help:My sandbox. ---— Gadget850 (Ed) talk 12:19, 22 February 2012 (UTC)
Search has gone very bad for several hours.
hopiakuta Please do sign your communiqué .~~Thank You, DonFphrnqTaub Persina. 16:30, 22 February 2012 (UTC)
Transclusion issue
On WP:TFD, Wikipedia:Templates for discussion/Log/2012 February 16 and Wikipedia:Templates for discussion/Log/2012 February 15 are just showing up as plain links instead of transclusions of those day's logs. Is this just due to template overflow? Ten Pound Hammer • (What did I screw up now?) 21:18, 22 February 2012 (UTC)
- Yep, see Wikipedia:Template limits. At the bottom of the source code is:
NewPP limit report Preprocessor node count: 57617/1000000 Post-expand include size: 2048000/2048000 bytes Template argument size: 247794/2048000 bytes Expensive parser function count: 3/500"
- Goodvac (talk) 21:22, 22 February 2012 (UTC)
- Perhaps the habitual TFDers could be persuaded to slow down a bit? --Redrose64 (talk) 21:26, 22 February 2012 (UTC)
User page
This probably isn't even an issue for VPT, but it seemed like a place I could get a quick answer; I've always used Firefox, where my talk page looks fine with the discussions left-aligned, but in *cough* Internet Explorer the discussions are centred, which looks terrible. Could someone tell me what the difference is that's causing the problem? Thanks. Black Kite (talk) 01:45, 23 February 2012 (UTC)
- In IE, table cells do not inherit the
text-align
property from the table. And by default,<th>
tags are center-aligned. Apply the alignment directly to the cells instead of to the table, and it should work. Anomie⚔ 01:57, 23 February 2012 (UTC) - Also, "text-align:centre" should be "text-align:center". — Edokter (talk) — 01:59, 23 February 2012 (UTC)
- Also/or: use "|" instead of "!" at the beginning of the last line of table code, to make it a normal left-aligned
<td>...</td>
element instead of a bold centered<th>...</th>
. In any case, having so many unclosed tables and unclosed table cells is taking chances with the wikitext parser! — Richardguk (talk) 02:06, 23 February 2012 (UTC)- Thanks all. I think "centre" was my UK auto-correct kicking in! Black Kite (talk) 11:34, 23 February 2012 (UTC)
- Also/or: use "|" instead of "!" at the beginning of the last line of table code, to make it a normal left-aligned
Template:GAN not working Bengali Wikipedia
I have created bn:Template:GAN in Bengali Wikipedia,but it is not substituting in Talk page. Please help us. ---- Jayanta Nath (Talk|Contrb) 05:00, 23 February 2012 (UTC)
- Try replacing "Talk" on the first line with "আলাপ". – Allen4names 06:06, 23 February 2012 (UTC)
- Thank you Allen, it is working fine.-- - Jayanta Nath (Talk|Contrb) 08:14, 23 February 2012 (UTC)
Transclude template without adding category
This may be impossible, but is there a way to transclude a template into a page without that page ending up on a category in that template? (Assuming the template is generally designed to have the page added to a category.) PuppyOnTheRadio talk 12:29, 23 February 2012 (UTC)
- You would have to add that feature to the template; see Wikipedia:Category suppression. ---— Gadget850 (Ed) talk 12:32, 23 February 2012 (UTC)
- Most WikiProject banners have such a feature. If I put
{{WikiProject Biography}}
on a talk page, that talk page is categorised into Category:WikiProject Biography articles and some others; but if I put{{WikiProject Biography|category=no}}
, the categories are suppressed - this is achieved by careful use of{{WPBannerMeta/hooks/cats}}
within the project banner.
- Most WikiProject banners have such a feature. If I put
- Outside of the WikiProject banner system, the template
{{Category handler}}
is used for a similar purpose - see its|nocat=
parameter. --Redrose64 (talk) 17:36, 23 February 2012 (UTC)- Was trying to work out a way to do it without altering a template directly. Dagnabbit! PuppyOnTheRadio talk 03:10, 24 February 2012 (UTC)
Mozilla Wiki structure disappears
Firefox 10.0.2: The wiki structure is disrupted. I can't see tabs and the left panel. Images do not have default look. Is anybody else experiencing the same??? Redtigerxyz Talk 16:47, 23 February 2012 (UTC)
- I can see the left panel in Commons, but the Commons logo on the home page is not visible. Except that everything else looks good in Commons. Redtigerxyz Talk 16:50, 23 February 2012 (UTC)
- Does this page start with:
- The Wikimedia Foundation's 2012 steward election has started. Please vote.
- [Hide]
- [Help with translations!]
- ---— Gadget850 (Ed) talk 16:54, 23 February 2012 (UTC)
- Does this page start with:
- Jump to: navigation, search
- The Wikipedia banner (Welcome to Wikipedia)
- Today's featured article | In the News
- ...
- More than 50,000 articles: Bahasa Melayu · Български · Eesti · Ελληνικά · Simple English · Euskara · Galego · עברית · Hrvatski · Lietuvių · Norsk (nynorsk) · Slovenčina · Slovenščina · Srpskohrvatski / Српскохрватски · ไทย
- Complete list of Wikipedias
- Retrieved from "http://en.wikipedia.org/w/index.php?title=Main_Page&oldid=473360982"
- Hidden categories:
- Article Feedback Blacklist
- Views
- Main Page
- Talk
- View source
- History
- Watch
... I can't see "The Wikimedia Foundation's 2012 steward election has started" banner anywhere on the page in Mozilla, but can see it in IE. Redtigerxyz Talk 17:06, 23 February 2012 (UTC)
- Sounds like either the stylesheets aren't loading or you have CSS disabled. Do you have Firefox Web Developer installed? Check Firefox View (you may have to press ALT to show the menus) → PAge style. ---— Gadget850 (Ed) talk 17:46, 23 February 2012 (UTC)
(←) Error log from WEb Developer:
- Error: jQuery is not defined
Source File: http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=skins.vector&only=scripts&skin=vector&* Line: 1
- Error: mw is not defined
Source File: http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=site&only=scripts&skin=vector&* Line: 1 Redtigerxyz Talk 17:16, 24 February 2012 (UTC)
- Not getting the problem today. --Redtigerxyz Talk 10:28, 25 February 2012 (UTC)
Redoing the code for Wikipedia's fundraiser pages so their contents are readable on Facebook posts
https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?uselang=en&appeal=Appeal-Sengai
When I post that link on my Facebook page, it should display this preview:
- I was born a poor farmer in rural India in 1936. Today I rely on and edit Wikipedia.
- I want Wikipedia to be here for all future generations. This is our annual fundraising drive to pay for the servers, small staff and other infrastructure that keeps Wikipedia on the web for free...
But instead, the preview displays the following:
- $( document ).ready( function () { // Disable submitting form with return key $( 'form' ).bind( 'keypress', function(e) { var code = ( e.keyCode ? e.keyCode : e.which ); if ( code == 13 ) return false; } ); } ); /* This CSS is responsible for the overall layout of the LP*/ #LP-table {…
What can be done to repair this behavior? Boozerker (talk) 17:18, 23 February 2012 (UTC)
- This script tag is inside a paragraph, which could easily confuse Facebook. I've filed this as bug 34660. Superm401 - Talk 23:46, 23 February 2012 (UTC)
- Thanks for filing the bug. This is definitely on our radar. We are reworking the entire landing page system for the next fundraiser and hope to fix this and a multitude of other issues in the process. Following bug 34660 is probably the best way to get updates on this. Pgehres (WMF) (talk) 10:40, 25 February 2012 (UTC)
Custom drop down options on special pages
How can I customize personally options found at MediaWiki:Ipbreason-dropdown, MediaWiki:Protect-dropdown, MediaWiki:Deletereason-dropdown and other drop down lists found on various administrative special pages? For example, how could I make "Repeatedly removing speedy deletion templates from own created pages" appear in the Ipbreason-dropdown list for me without actually adding it to Ipbreason-dropdown? I had it suggested that such customization could be done via javascript or something similar, but I'm not sure if this is even possible, let alone how to do it. Any suggestions? Ks0stm (T•C•G•E) 18:29, 23 February 2012 (UTC)
- I tried throwing together some javascript to add additional reasons to the block form (easy enough), but apparently there is some form sanitation code in the MediaWiki engine that blocks any submitted values that aren't on the block reason. Reaper Eternal (talk) 20:03, 23 February 2012 (UTC)
- You could make it so when you click a custom reason, it pre-fills the 'mw-input-wpReason-other' textbox then changes the reason to Other. That should be useful and will not be detectable by the server. Superm401 - Talk 00:40, 24 February 2012 (UTC)
I'm a dark background kind-a-guy; I set my browser to ANYTHING but white ... so equations, formulas, practically anything notated at wiki appearing as clear-backgrounded image is absolutely unintelligable
My suggestion is that since those browsers who leave their settings with light background would be unaffected by a change from CLEAR to WHITE backgrounds in these script images, why not make EVERY equation/etc white backgrounded?
That way, despite my dark background, I (capital) would be able to read the darn things. — Preceding unsigned comment added by 67.102.65.21 (talk • contribs) 19:23, 23 February 2012
- See Wikipedia:Village pump (technical)/Archive 97#Transparent PNGs used for math formulas unreadable on black background. In short, if you override Wikipedia's styles for the background color, also override
img.tex
to specify a background color for math images. Anomie⚔ 20:48, 23 February 2012 (UTC)- Alternatively, you can use this script to change the foreground color of all formulae in the current page to any of the supported colors (in the example, it is set to "red"). Helder 21:38, 23 February 2012 (UTC)
Are you using either the background/foreground color selection in the web browser options or the operating system's High Contrast mode to force the black background? Either way, you would only see a white outline around the black text. If I am not mistaken, Wikipedia will, sooner or later, switch to rendering these formulas in JavaScript using MathJax (so there would be no images involved). I know of no good workaround, as most CSS changes do not affect High Contrast mode.
If you happen to use Internet Explorer as your web browser, you could create an account here, log in, and then go to Special:MyPage/common.css and insert the following code to make the formulas white-on-black. Then press Ctrl-F5 to load the new settings.
img.tex { background-color: white; filter: invert; }
Otherwise, just use the script Helder posted, and put it in Special:MyPage/common.js instead (bypassing your web browser's cache afterward). PleaseStand (talk) 04:36, 24 February 2012 (UTC)
- PS: I've simplified the script a little. Helder 16:21, 26 February 2012 (UTC)
Slow wiki?
Is the site really slow for anyone else? It's taking up to 30 seconds for my edits to go through. Ten Pound Hammer • (What did I screw up now?) 19:33, 23 February 2012 (UTC)
- No, this one went through straight away.--Gilderien Talk|Contribs 20:58, 23 February 2012 (UTC)
- It was running slow earlier.Edinburgh Wanderer 21:01, 23 February 2012 (UTC)
Article counter
Hi, what happenned with this tool http://toolserver.org/~soxred93/pages/. Exist another similar tool?--Inefable001 (talk) 05:29, 24 February 2012 (UTC)
- Here ya go. --Andrew (User:90) (talk) 06:02, 24 February 2012 (UTC)
- Basically you can access all of soxred93's tools by replacing the soxred93 part of the URL with tparis. The user that previously operated the tools has retired and TParis now operates them. --Andrew (User:90) (talk) 06:06, 24 February 2012 (UTC)
- Ok, thank you--Inefable001 (talk) 07:26, 24 February 2012 (UTC)
- Basically you can access all of soxred93's tools by replacing the soxred93 part of the URL with tparis. The user that previously operated the tools has retired and TParis now operates them. --Andrew (User:90) (talk) 06:06, 24 February 2012 (UTC)
permanent link to an older version, found by time code
Hello, is there a way to transfer this scheme:
for version history to
- &old
idtime= …
for single versions?
The intention is to link a version of the respective page at a currently interesting point in time (e.g. last page version in february 2007, maybe inclusive more accurate parameters) or, similar to FullURL and #expr, to link a version of the respective page [xy] time ago. --Hæggis (talk) 17:42, 24 February 2012 (UTC)
- I don't think so. I can't find anything related to dates at mw:Manual:Parameters to index.php, other than
filetimestamp
, which only works inFile:
namespace. --Redrose64 (talk) 18:10, 24 February 2012 (UTC)
- You can link to a page history only containing the last revision before a given time. See Wikipedia:Complete diff and link guide#Timestamp limits and use limit=1. You cannot link directly to the revision as far as I know. A reader must first click your link and then the single revision in the page history. PrimeHunter (talk) 18:14, 24 February 2012 (UTC)
why won't image load on page?
Hi,
I started the page Fred R. Moore, based on an image from the Commons. (The image seems to have moved over to wikipedia.)
But the image won't load. What am I doing wrong? Thanks, MathewTownsend (talk) 21:28, 24 February 2012 (UTC)
- Switching to the .jpg version seems to work. I'm not sure what's up with the .tif. Chris857 (talk) 21:35, 24 February 2012 (UTC)
- It's not moved over to Wikipedia. You can tell that it's still on commons because of the presence of this box below the resolution information. Commons images are accessible on Wikipedia under the same names - the source is transparent. --Redrose64 (talk) 21:38, 24 February 2012 (UTC)
- I don't get what you mean. When I originally linked it, it was on the Commons. I found it by looking through a list of images on the Commons that hadn't been categorized yet. But now when I click the link, its on wikipedia. I can't seem to get back to the Commons version. MathewTownsend (talk) 21:50, 24 February 2012 (UTC)
- ok, this link is to the Commons. I went there and got it. But now when I click it, it goes to a wikipedia page. What gives? MathewTownsend (talk) 21:53, 24 February 2012 (UTC)
- I don't get what you mean. When I originally linked it, it was on the Commons. I found it by looking through a list of images on the Commons that hadn't been categorized yet. But now when I click the link, its on wikipedia. I can't seem to get back to the Commons version. MathewTownsend (talk) 21:50, 24 February 2012 (UTC)
- never mind, now it's loading. Thanks! MathewTownsend (talk) 21:56, 24 February 2012 (UTC)
- The link File:FRED R. MOORE - HUMANITARIAN, EDITOR, LEADER, 1857-1943 - NARA - 535620.tif goes to a Wikipedia page which doesn't actually exist. What you see is a replica of the commons page, with the addition of this box and a few other items near the bottom. In that box, if you click the link titled "description page there", you will get to the true image page on Commons. --Redrose64 (talk) 22:04, 24 February 2012 (UTC)
- Yeah, but if I just click the link, it goes to a wikipedia page - even though I linked it to the Commons page. Am I supposed to move it over? Other times I've added an image from the Commons, there hasn't been a problem. MathewTownsend (talk) 22:12, 24 February 2012 (UTC)
- The scaled-down versions of the tif won't load for me either. But the full size tif is a ridiculous 8 Mbytes. Have you tried converting to a PNG? — RHaworth (talk · contribs) 22:23, 24 February 2012 (UTC)
- Well, now it a jpg file on the article page. Thanks to whoever did that. Really, thanks! MathewTownsend (talk) 22:30, 24 February 2012 (UTC)
- I thought that I explained... the link goes to something that only looks like a Wikipedia page. It is a "page" that doesn't actually exist. The image is on Commons. Its description page is on Commons, see Help:File page. Those are the proper places. Nothing needs to be moved anywhere. The whole point about having images on commons is that they are available to be shared by all Wikimedia projects, without having to make local copies on all the different Wikipedias, see Wikipedia:Wikimedia Commons. Images on commons are placed in articles, or linked, using exactly the same syntax as for images held on Wikipedia. There is no special technique, nothing that you can do to the image linking code that means "I want this image to come from Wikipedia", or "I want this image to come from Commons". When you make an image link, it looks for an image of that name on Wikipedia and presents that if available. If there isn't one, it looks on commons and if there is one there, returns the image with the same appearance that it would have had it been held on Wikipedia with the exception that the box MediaWiki:Sharedupload-desc-here is contained within the page. --Redrose64 (talk) 23:00, 24 February 2012 (UTC)
- The scaled-down versions of the tif won't load for me either. But the full size tif is a ridiculous 8 Mbytes. Have you tried converting to a PNG? — RHaworth (talk · contribs) 22:23, 24 February 2012 (UTC)
- Yeah, but if I just click the link, it goes to a wikipedia page - even though I linked it to the Commons page. Am I supposed to move it over? Other times I've added an image from the Commons, there hasn't been a problem. MathewTownsend (talk) 22:12, 24 February 2012 (UTC)
- The link File:FRED R. MOORE - HUMANITARIAN, EDITOR, LEADER, 1857-1943 - NARA - 535620.tif goes to a Wikipedia page which doesn't actually exist. What you see is a replica of the commons page, with the addition of this box and a few other items near the bottom. In that box, if you click the link titled "description page there", you will get to the true image page on Commons. --Redrose64 (talk) 22:04, 24 February 2012 (UTC)
- never mind, now it's loading. Thanks! MathewTownsend (talk) 21:56, 24 February 2012 (UTC)
User creation
I have a question about User:Masterg and User:Masterg82. The accounts exist but I don't see their creations in the log (Masterg, Mastgerg82) or in the api, although Masterg82 is showing up as having created his account. Could this be from a registration that happened too many years ago? Or is there some other explanation? Just curious. — Bility (talk) 21:40, 24 February 2012 (UTC)
- Hmm. My first thought was that they were created on another Wikipedia, and then SUL'd. But this doesn't seem to be the case - see Masterg and Masterg82. --Redrose64 (talk) 22:16, 24 February 2012 (UTC)
- On Special:Listusers, if an entry for a user does not have an attached account creation date, the account was created before the [[new user log was created in September 2005, and also had no edits when the "creation date" feature was added to the special page in January 2009. Graham87 08:02, 25 February 2012 (UTC)
- Except for Masterg82 and probably others, for some reason. Graham87 08:05, 25 February 2012 (UTC)
- On Special:Listusers, if an entry for a user does not have an attached account creation date, the account was created before the [[new user log was created in September 2005, and also had no edits when the "creation date" feature was added to the special page in January 2009. Graham87 08:02, 25 February 2012 (UTC)
Inputbox with namespaces is broken
The page Help:Contents uses an inputbox with "namespaces=Help**,Wikipedia**,Template**,Category". According to mw:Extension:InputBox, this means the first three checkboxes should be ticked by default. An IP has noted here that this isn't working - by default, no checkboxes are ticked and only the main namespace is searched. -- John of Reading (talk) 22:09, 24 February 2012 (UTC)
- I don't know why but a comparison [5] of produced code for the above inputbox with
namespaces=Main**,Help
shows that here at en.wikipedia.org a parameterchecked="checked"
is not made when a namespace has**
after it. PrimeHunter (talk) 22:50, 24 February 2012 (UTC)
- Browsing the code review leads to T33158. This is fixed in MW 1.19, which is deployed on Meta. ---— Gadget850 (Ed) talk 09:56, 25 February 2012 (UTC)
Out of Office Reply to Wikipedia e-mails
I receive a steady stream of e-mails (via the 'E-mail this user' link) on matters which should be dealt with on talk pages. I want to give people who do this a prompt, automatic message about it.
I created a special GMail account and set up an Out of Office AutoReply (GMail is schizophrenic and also calls it a Vacation responder) to give a message saying "if it is a Wikipedia matter, use my talk page".
Seemed to be a good idea - one problem: GMail is sending the AutoReply to the bounce address, wiki<at>wikimedia.org and not to the 'From' address of the sender. Any suggestions?
(Ironically, the first e-mail I received on this new accout was from someone who I had blocked with 'cannot edit own user_talk page' - so the auto message would have been pointless.) — RHaworth (talk · contribs) 22:19, 24 February 2012 (UTC)
Problem displaying panoramic images (Android browser)
Hi, in the Android browser (tablet), Wikipedia pages with very wide images, usually panoramas, are scaled so that the whole image fits the width of the screen, resulting in text so small that it is almost illegible. I wondered if there was anything that could be done at the Wikipedia end to stop this happening.* I know that browser compatibility issues are a pain in the neck... 81.159.106.110 (talk) 04:19, 25 February 2012 (UTC) *Or at the browser end, should anyone happen to know!
User last edit
Hi. I'm trying to generate a list of users who are in a particular user group (ie Admins) that also reflects the date/time of their last edit, so as to work out what admin is on the site at any given time. I'm assuming that there is a way to do this using dpl, but that is unfortunately not within the list of my coding skills. Anyone have any options? PuppyOnTheRadio talk 08:32, 25 February 2012 (UTC)
- testwiki:MediaWiki:Common.js/usershowidle.js (desc) was an old thing I worked on to do sort-of that. --Splarka (rant) 08:36, 26 February 2012 (UTC)
- See also no:MediaWiki:Gadget-show-sysop-activity.js, which generates a table at no:Wikipedia:Administratorer/Status after enabling the gadget on no:Special:Preferences#mw-prefsection-gadgets. Helder 19:11, 26 February 2012 (UTC)
- Thanks for the options. *.js looks like the best way to tackle this. PuppyOnTheRadio talk 01:12, 27 February 2012 (UTC)
- There is a simpler way to become aware of admins who have recently taken any actions. Open up Special:Log and look for deletions, blocks or protections. EdJohnston (talk) 04:24, 27 February 2012 (UTC)
- That won't pick up all admin actions: for example, edits to protected pages. --Redrose64 (talk) 09:31, 27 February 2012 (UTC)
- There is a simpler way to become aware of admins who have recently taken any actions. Open up Special:Log and look for deletions, blocks or protections. EdJohnston (talk) 04:24, 27 February 2012 (UTC)
- Thanks for the options. *.js looks like the best way to tackle this. PuppyOnTheRadio talk 01:12, 27 February 2012 (UTC)
- Hey, did you use one of the options above or are you still looking for something? — Bility (talk) 16:09, 27 February 2012 (UTC)
MediaWiki:Asksqltext
Please see the "MediaWiki:Asksqltext — delete or to be updated?" section of WP:AN. Billinghurst and I think that the page should be deleted, but we're not sure what it does/did or what effects (if any) its deletion would have. Nyttend (talk) 03:24, 26 February 2012 (UTC)
Redirects to Wiktionary
Normally, soft redirects to Wiktionary are excluded from being counted as articles by technical services such as the Untagged Uncategorized Articles tool. However, what seems to happen is that if somebody replaces such a redirect with a dicdef article, and then somebody else reverts that back to the redirect again, then the page suddenly does start getting picked up as an uncategorized article, and won't subsequently drop from the list through most normal means. To date, the only workaround that has proven effective at all is to add the redirect to Category:Temporary maintenance holdings, a category I created specifically as a crapcatcher for random oddball situations like this — but that isn't a viable permanent solution to the problem.
The most recent example is loose cannon.
Does anybody know what else can be done to fix the technical issue here, and cause the system to properly revert back to recognizing the page as a Wiktionary redirect again so that it doesn't get picked up by article-scanning tools? Thanks. Bearcat (talk) 19:08, 26 February 2012 (UTC)
- What if you delete it and restore only the oldest edit? Nyttend (talk) 23:17, 26 February 2012 (UTC)
- Without knowing how this Untagged Uncategorized Articles tool works, it's unlikely that anyone can guess what the problem is in order to find the solution. You might be best served by asking the author of the tool directly. Anomie⚔ 03:07, 27 February 2012 (UTC)
Commons category template
What's up with {{Commons category}}? It's not displaying properly in this article. Safari 5.1.2. Jsayre64 (talk) 19:36, 26 February 2012 (UTC)
- Looks like it really didn't appreciate that bullet point. Chris857 (talk) 19:47, 26 February 2012 (UTC)
- Aha… thanks for fixing it. Jsayre64 (talk) 22:20, 26 February 2012 (UTC)
GeoGroup URL bug
There's an unresolved URL encoding issue with {{GeoGroup}}, which requires some attention, please. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:04, 20 February 2012 (UTC)
- Anyone? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:08, 28 February 2012 (UTC)
Special:NewPages queue
Uhh, any idea how the Special:NewPages queue lost about 11 days worth of articles in the course of about 2 hours? See http://toolserver.org/~snottywong/cgi-bin/patrolgraph.cgi?hours=168 —SW— yak 01:04, 23 February 2012 (UTC)
- According to the time frame you have there, the drop occurs about 3 or 4 hours after the Signpost's special report about page patrolling. We were looking at this today, actually, and have concluded that it was a series of inactive patrollers "waking up" and clearing the queue, thought that may be an incorrect assumption.--Jorm (WMF) (talk) 01:19, 23 February 2012 (UTC)
- I suppose the patrol log would reveal the answer, if one was motivated enough to look through it. 11 days of articles is a lot of patrolling for a few patrollers to do though. Kinda makes you wonder if someone just opened up 1000 articles and hit the "patrolled" link without even looking at them. —SW— express 16:30, 23 February 2012 (UTC)
- I did a little digging and it's not adding up. According to an SQL query on toolserver, only 81 articles were marked as patrolled on February 21st between 19:00 and 20:00 UTC (that's 81 articles in article space only, which were manually marked as patrolled). Yet, the graph shows that the newpages queue lost 6 days worth of articles in that hour. How is that possible? —SW— yak 23:38, 23 February 2012 (UTC)
- Was this when nightshade was down? See #MiszaBot is down above. --Redrose64 (talk) 12:57, 24 February 2012 (UTC)
- Nope, my tasks run on willow. And besides, the newpages queue hasn't been in the single-digits since... well, the last time that mediawiki software was updated and the entire queue got wiped out. The only logical explanation I can think of is that there were a bunch of editors who went on a patrolling spree in the middle of the queue, over a few days, and then when the back of the queue caught up to the hole they made in the middle, there was a big discontinuity in the graph (since the tool which creates the graph only looks at how old the last few articles in the queue are). But still, to erase 11+ days worth of articles from the queue is a pretty monumental task, unless you're barely looking at each article, which is not the point of NPP. —SW— spill the beans 15:20, 24 February 2012 (UTC)
- Was this when nightshade was down? See #MiszaBot is down above. --Redrose64 (talk) 12:57, 24 February 2012 (UTC)
- I did a little digging and it's not adding up. According to an SQL query on toolserver, only 81 articles were marked as patrolled on February 21st between 19:00 and 20:00 UTC (that's 81 articles in article space only, which were manually marked as patrolled). Yet, the graph shows that the newpages queue lost 6 days worth of articles in that hour. How is that possible? —SW— yak 23:38, 23 February 2012 (UTC)
- I suppose the patrol log would reveal the answer, if one was motivated enough to look through it. 11 days of articles is a lot of patrolling for a few patrollers to do though. Kinda makes you wonder if someone just opened up 1000 articles and hit the "patrolled" link without even looking at them. —SW— express 16:30, 23 February 2012 (UTC)
I did my own analysis day-by-day around the signpost article. It looks mostly like a lot of stuff patrolled by Sfan00 IMG. — Andrew Garrett • talk 00:16, 25 February 2012 (UTC)
- He patrols files, not articles, usually. Okeyes (WMF) (talk) 19:00, 27 February 2012 (UTC)
Red links not go to edit mode
I'm sure this has been asked before, but how do I keep red links from going directly to edit mode? This is more than useless to me and incredibly annoying. —danhash (talk) 20:16, 24 February 2012 (UTC)
- One option is to get yourself blocked. Or you could try this userscript to "fix" the red links:
//red links not go to edit mode
$( function(){
$( 'a.new' ).each( function(i, aa){
aa.href = aa.href.replace(/[?&]action=edit/, '')
})
})
- — AlexSm 20:37, 24 February 2012 (UTC)
- Later fixed to make it work. — AlexSm 22:29, 24 February 2012 (UTC)
- Trying for a block isn't necessary. Log out, and a redlink will then go to a generic information page, something like this. --Redrose64 (talk) 21:10, 24 February 2012 (UTC)
- I am usually logged-in while using Wikipedia (and for good reason—I edit), so logging out does not fix my problem. —danhash (talk) 21:25, 24 February 2012 (UTC)
- Quite: but nor would being blocked, which is the suggestion that I was responding to. --Redrose64 (talk) 21:29, 24 February 2012 (UTC)
- I am usually logged-in while using Wikipedia (and for good reason—I edit), so logging out does not fix my problem. —danhash (talk) 21:25, 24 February 2012 (UTC)
- Trying for a block isn't necessary. Log out, and a redlink will then go to a generic information page, something like this. --Redrose64 (talk) 21:10, 24 February 2012 (UTC)
- Thanks Alex, I'll try it out. I really don't need more JavaScript than is necessary executing on every page load though; I already have enough user scripts that could/should be MediaWiki functions as it is. If I were a casual user it wouldn't be that big of a deal, but especially when I'm working on long pages from moderately-powered computers it gets pretty ridiculous. If MediaWiki can change it for blocked users there should be an option in preferences for everyone. Is a user script the only current way? If so, I propose an option be added by the devs; should be pretty simple. —danhash (talk) 21:04, 24 February 2012 (UTC)
- The code doesn't seem to work. I added semicolons and it still didn't work. Is there a typo anywhere? —danhash (talk) 21:59, 24 February 2012 (UTC)
- Try this (slightly modified Alex's version):
$( function() {
mw.util.$content.find( 'a.new' )
.each( function(i, aa){
aa.href = aa.href.replace(/[?&]action=edit/, '')
})
})
- Goodvac (talk) 22:15, 24 February 2012 (UTC)
- It works! What does the "&redlink=1" part of the URL mean though? —danhash (talk) 22:17, 24 February 2012 (UTC)
- It just means that url was a redlink. If you want, I can tweak the code to get rid of that part too. Goodvac (talk) 22:20, 24 February 2012 (UTC)
- I figured as much; I guess what I mean is what is the point i.e. what function does it serve? —danhash (talk) 22:22, 24 February 2012 (UTC)
&redlink=1
tells MediaWiki not to automatically open edit mode if you do not have permissions. I'm not sure if there are any other uses. — AlexSm 22:29, 24 February 2012 (UTC)- Yes, it's described on mw:Manual:Parameters to index.php#Optional additional data, bottom of that section. --Redrose64 (talk) 23:12, 24 February 2012 (UTC)
- I figured as much; I guess what I mean is what is the point i.e. what function does it serve? —danhash (talk) 22:22, 24 February 2012 (UTC)
- It just means that url was a redlink. If you want, I can tweak the code to get rid of that part too. Goodvac (talk) 22:20, 24 February 2012 (UTC)
- It works! What does the "&redlink=1" part of the URL mean though? —danhash (talk) 22:17, 24 February 2012 (UTC)
- Goodvac (talk) 22:15, 24 February 2012 (UTC)
I can't think of any good reason for the default action for clicking a red link to be an edit window. Most of the time (at least for me) clicking a red link is a way to get information about the page, such as deletion logs or "what links here", not to edit the page. If I want to create the page I'll simply click "create". Can someone add the ability to MediaWiki for red links not to go to edit mode? The JavaScript above is useful when it works, but there are places where red links aren't modified not to go to edit mode; plus, nobody needs more JavaScript than is necessary loading on every page. —danhash (talk) 21:53, 27 February 2012 (UTC)
- If nobody here is interested I'll go ahead and file a feature request. —danhash (talk) 15:22, 1 March 2012 (UTC)
colour distorted image on Zaculeu
This image File:Zacuelu1.jpg is displaying incorrectly as a thumbnail on the Zaculeu page, with severe colour distortion when using Firefox. The commons file looks fine, and it displays fine on internet explorer and opera. Clicking on the thumbnail produces a normal-looking photo. I remember there being a bunch of photos like this on the page some time ago but can't remember how they got sorted out. Any help greatly appreciated, Simon Burchell (talk) 01:32, 26 February 2012 (UTC)
- The article displayed OK for me but the 320x207px thumbnail wasn't displaying when I clicked the link at commons:File:Zacuelu1.jpg until I purged the Commons File page. If you now clear your Firefox cache, does the thumbnail show OK in your browser now? — Richardguk (talk) 02:42, 26 February 2012 (UTC)
- Looks like the same problem described in commons:Commons:Village pump/Archive/2011/09#Colour-Distorted images. Anomie⚔ 04:32, 26 February 2012 (UTC)
- Thanks, but purging had no effect. Simon Burchell (talk) 10:50, 26 February 2012 (UTC)
- For me, it shows just fine in IE7, Chrome, Safari and Opera, but in Firefox 3.6.27 it shows as a monochrome image: black and magenta at all resolutions. It's not a full-colour image from which the green has been removed - there are no reds or blues, just shades taken from a magenta scale like this:
- For me, it shows just fine in IE7, Chrome, Safari and Opera, but in Firefox 3.6.27 it shows as a monochrome image: black and magenta at all resolutions. It's not a full-colour image from which the green has been removed - there are no reds or blues, just shades taken from a magenta scale like this:
- Thanks, but purging had no effect. Simon Burchell (talk) 10:50, 26 February 2012 (UTC)
- The image has an embedded color profile ("SFprofT (OpticFilm 7600i).icc") that Firefox may be confused by. Converting the image to default RGB may fix the problem. — Edokter (talk) — 15:14, 26 February 2012 (UTC)
- Thanks for all the feedback. How do I convert the image to default RGB? Simon Burchell (talk) 15:35, 26 February 2012 (UTC)
- Open the original image in Gimp, then either assign the default RGB profile (to show the original colors), or convert the embedded profile to RGB (to show the intended effect), save the file and reupload to Commons. — Edokter (talk) — 15:52, 26 February 2012 (UTC)
- Thanks everyone who replied - I've converted the colour profile in GIMP as suggested and uploaded the corrected version, everything looks fine. All the best, Simon Burchell (talk) 18:26, 26 February 2012 (UTC)
- OK, you might like to work a similar trick with File:Zacuelu3.jpg and File:Zaculeu5.jpg, which also have the overwhelming magenta, but unlike the first one, these do show subtle reds and blues - just no green. --Redrose64 (talk) 21:24, 26 February 2012 (UTC)
- I was in the process of doing just that when I realised someone had already fixed them by uploaded them to slighlty different filenames File:Zacuelu3A.jpg and File:Zaculeu5A.jpg. Simon Burchell (talk) 22:29, 27 February 2012 (UTC)
- Thanks for all the feedback. How do I convert the image to default RGB? Simon Burchell (talk) 15:35, 26 February 2012 (UTC)
Template v .t. e on mobile devices
On my iPhone at least, when viewing a template with "v t e" links, it displays as a vertical three-member list, i.e.:
- v
- t
- e
Guessing this is a bug, would be better if they were each on the same line. LukeSurl t c 16:33, 27 February 2012 (UTC)
- Please discuss at {{navbar}}. ---— Gadget850 (Ed) talk 16:42, 27 February 2012 (UTC)
- This is a problem because there are no mobile cascading style sheets which we can edit, like with Mediawiki:Common.css. Go vote up bug 22659 on Bugzilla if you want to see some work done on it. --Izno (talk) 18:16, 27 February 2012 (UTC)
- I've dropped a note on Wikimedia's mobile-l mailing list, asking for a fix. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:04, 28 February 2012 (UTC)
Apply attribute to table column?
Is it possible to apply an attribute, such as align="right" or cellpadding="5", to a table column?
I think it's possible for rows based on this mediawiki entry: http://www.mediawiki.org/wiki/Help:Tables#Attributes_on_rows
but I'm not sure about columns
2.24.242.34 (talk) 19:52, 27 February 2012 (UTC)
- This is one of those features that's been lacking from HTML right from the start (well, since HTML 3.2 anyway which is when tables were added). The thing is, there's an enclosure for the cells making up a row - this is the
<tr>...</tr>
element - to which attributes may be applied. There is no enclosure for a single column - the next enclosure outwards from<tr>...</tr>
is<table>...</table>
; again, attributes may be applied to that, but they affect the whole table. But, certain attributes do have an effect on a whole column - the width is one of them, so if you putstyle="width:10%;"
into the attributes of any cell, that whole column will be forced to that width. --Redrose64 (talk) 20:03, 27 February 2012 (UTC)
- Unfortunately COL element is not supported by MediaWiki: mediazilla:986. — AlexSm 20:26, 27 February 2012 (UTC)
Canon PowerShot A
Canon_PowerShot_A (edit | talk | history | protect | delete | links | watch | logs | views) Down in the A2200 section, the table is completely messed up, and trying to fix it is giving me a headache. I'm OK with wikitables, but when you throw in rowspans it gets too much for me. Can someone take a stab at fixing this? hbdragon88 (talk) 20:50, 27 February 2012 (UTC)
- I've undone the edit which caused some of the damage. --Redrose64 (talk) 21:18, 27 February 2012 (UTC)
Script that fetches references mentioned in a section I'm editing that aren't currently available?
Let's say I'm editing a section, and there are references cited in it (such as <ref name="example" />), but the ref itself is declared in another section. Anyone know of a script that fetches these automatically while editing a section so I can see the ref's info? Surely this is something that would be fairly popular if it existed or was widely known? I looked through WP:JS and don't see anything there that does this.
Lately I've been using the References Segregator to move all references out of inline and into the References section so that text is less cluttered, and with a script like the one I'm looking for, I wouldn't need to keep a window open of all existing references while editing. Gary King (talk · scripts) 21:58, 27 February 2012 (UTC)
- I literally thought of this just in the past hour. I would love such a script/function. —danhash (talk) 22:01, 27 February 2012 (UTC)
- I am pretty sure the preview function of WP:WIKED does this. – ukexpat (talk) 22:05, 27 February 2012 (UTC)
- Unfortunately I'm not a big fan of wikEd as it's too bloated for my taste. I like some of its components, though, like the one you mentinoed, as well as wikEdDiff in particular.
- EDIT: I just checked wikEd, and it doesn't look like it retrieves refs not in the current section, both when editing and previewing a section.
- Oh, I just recalled the Ajax Preview script, which essentially does what I'm asking. You click a button while in Preview and it fetches the refs that are currently cited. There are a few things that I'd like to change from the script, such as making it run immediately rather than require a button click, and change the loading symbol to show "Loadinfg..." instead, as well as stopping the script from modifying existing buttons. My own version of the script is at User:Gary King/ajax preview.js, so take your pick. Gary King (talk · scripts) 22:09, 27 February 2012 (UTC)
- Gary, what does your script do that wikEd's preview does not do? I'd like suggest it on the wikEd page. —danhash (talk) 15:52, 1 March 2012 (UTC)
- Oh, I just recalled the Ajax Preview script, which essentially does what I'm asking. You click a button while in Preview and it fetches the refs that are currently cited. There are a few things that I'd like to change from the script, such as making it run immediately rather than require a button click, and change the loading symbol to show "Loadinfg..." instead, as well as stopping the script from modifying existing buttons. My own version of the script is at User:Gary King/ajax preview.js, so take your pick. Gary King (talk · scripts) 22:09, 27 February 2012 (UTC)
Counters
I used to consult an application site that counted how many hits per month a Wikipedia entry received. The site was http://stats.grok.se/, but is not longer operating. I wondered if a reader of this entry could direct me to another site that could do the same thing. Thank you. Iss246 (talk) 22:49, 27 February 2012 (UTC)
- See User talk:Henrik#http://stats.grok.se/. Henrik has not yet responded, but there is a link to an alternative tool at the top of his talk page. PleaseStand (talk) 23:16, 27 February 2012 (UTC)
Thank you very much. I visited the page, and found an alternative traffic counter. Iss246 (talk) 00:24, 28 February 2012 (UTC)
Changing upload link in the sidebar
- == Looking for a MediaWiki page ==
What's the name of the MediaWiki page that contains links on the left side of the page? I've looked through WhatLinksHere for Wikipedia:About, Wikipedia:Contact us, and Wikipedia:Upload, but I can't figure out what it is. Nyttend (talk) 03:42, 28 February 2012 (UTC)
- MediaWiki:Sidebar. — AlexSm 03:47, 28 February 2012 (UTC)
- Thank you. Next question: how does one change its Wikipedia:Upload link so that it points to Wikipedia:File Upload Wizard? I know that we don't fix links in many pages, but it seems rather absurd for one of the site's most prominent links to go to a redirect. Nyttend (talk) 03:58, 28 February 2012 (UTC)
- I believe it's mw:Manual:$wgUploadNavigationUrl (for example, see server log for Aug 5, 2007 or mediazilla:12044) and you need to ask devs to change it. — AlexSm 04:18, 28 February 2012 (UTC)
- It's set with
'enwiki' => '/wiki/Wikipedia:Upload'
in http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php. PrimeHunter (talk) 04:21, 28 February 2012 (UTC)- It's customizable per wiki in MediaWiki:Upload-url? C.f. commons:MediaWiki:Upload-url. Lupo 07:15, 28 February 2012 (UTC)
- So I created that page now, but the link still goes to Wikipedia:Upload. Is it just a caching issue, or did I do something wrong? Nyttend (talk) 02:30, 29 February 2012 (UTC)
- commons:MediaWiki:Upload-url controls the URL for the upload item in the "participate" section in the sidebar; the upload link in the toolbox on Commons is hidden using CSS. The only way to change the upload link in the toolbox (besides poking at it with Javascript) is to have a sysadmin set
$wgUploadNavigationUrl
in the wiki configuration (as mentioned above), to install an extension that will change it in theBaseTemplateToolbox
hook, or otherwise modify the MediaWiki software. Anomie⚔ 02:49, 29 February 2012 (UTC)
- commons:MediaWiki:Upload-url controls the URL for the upload item in the "participate" section in the sidebar; the upload link in the toolbox on Commons is hidden using CSS. The only way to change the upload link in the toolbox (besides poking at it with Javascript) is to have a sysadmin set
- So I created that page now, but the link still goes to Wikipedia:Upload. Is it just a caching issue, or did I do something wrong? Nyttend (talk) 02:30, 29 February 2012 (UTC)
- It's customizable per wiki in MediaWiki:Upload-url? C.f. commons:MediaWiki:Upload-url. Lupo 07:15, 28 February 2012 (UTC)
- Thank you. Next question: how does one change its Wikipedia:Upload link so that it points to Wikipedia:File Upload Wizard? I know that we don't fix links in many pages, but it seems rather absurd for one of the site's most prominent links to go to a redirect. Nyttend (talk) 03:58, 28 February 2012 (UTC)
- Stop please. Did anyone actually bother looking at the logs? The redirect is a recent thing while Wikipedia:File Upload Wizard is being tested. If you're happy with the Wizard, move it to WP:Upload, but don't go changing all of the links, of which there are hundreds. ▫ JohnnyMrNinja 02:42, 29 February 2012 (UTC)
Template rendering bug
A bug reported at Template talk:Lang#Rendering problem late last year, still requires attention. Can someone help, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:51, 28 February 2012 (UTC)
- Short term: add ‎ right after the template. This invisible formatting character says "from here on, L-to-R letters". Without, brakets &txc are handled as belonging to the hebrew, R-to-L text. -DePiep (talk) 12:00, 28 February 2012 (UTC)
Comprehensive blocking of banners, ads, and other intrusive announcements
What does it take to get rid of ALL banners, banner-like messages, ads, text announcements, and other intrusive annoyances? A few days ago when I logged into Wikipedia I saw yet another extraordinarily annoying message at the top of my watchlist page ("Are you interested in encouraging more university professors to use Wikipedia as a teaching tool? Do you enjoy leading, coordinating, and organizing teams? If so, we want you! We are now recruiting for Wikipedia Regional Ambassadors to the multiple regions of the U.S. Click here for more details. [hide]"). Big bold grey text that even after hidden leaves a huge chunk of whitespace at the top of the watchlist until the page is refreshed and that comes back every time you log in. I am tired of this shit. I would rather have external ads on Wikipedia, because those are generally extremely easy to block. The SOPA blackout was about an issue that legitimately affected all Wikipedia users; this banner is not. I don't care who is recruiting for what, what is being voted on, what ArbCom is doing, or anything else that I have ever seen a banner about enough for it to intrude on my screen real estate. Many of these banners are also dynamically loaded with JavaScript so that the page fully loads without them and then they pop up, skewing the whole page that has already loaded and pushing all the content down an inch or more on the screen. Or else they are loaded statically and only dynamically hidden after the page loads. I have WP:Goings-on watchlisted and I would be happy to watchlist any other page that has current important announcements. I would love to have a "Current announcements" link on the left menu that I could click on when I want to see what's new with Wikipedia and the WMF. But I do NOT want any more crap taking up space on my screen, especially when it behaves like it was written by an incompetent script kiddie who once read "HTML for Dummies" in 4th grade. My common.css hides sitenotices and Wikipedia ads. I already had to update the blocking code for Wikipedia ads once when it stopped working. I tried adding CSS to block the new watchlist message, but it ended up blanking most of the page and I don't have the time or patience to troubleshoot it. From all the times that I have searched and searched to find an answer to the question of how I can get rid of these intrusions and annoyances I have not been able to come up with a comprehensive answer. I don't want a userscript to fix this; JavaScript is dynamic, and changing the page after it has loaded is an unacceptable solution. The only acceptable solution is either: 1. CSS code to add to my common.css that blocks ALL such messages permanently i.e. something I don't have to update every time somebody adds a banner in a new place; or 2. preferably just give me an option in preferences to turn this shit off across all WMF sites. Then a page in the Wikipedia: namespace should be created to inform other users how to block these annoyances; I am perfectly willing to create the page myself. Frankly I am surprised that this issue has not been resolved before now. —danhash (talk) 15:37, 28 February 2012 (UTC)
#siteNotice , #watchlist-message, .geonotice{ display: none !important; }
would hide both forms of watchlist notice (the ones above, which are watchlist-geonotices, and the ones below, which are plain ol' watchlist notices. I shall leave you to your conclusions as to their merits. - Jarry1250 [Deliberation needed] 15:52, 28 February 2012 (UTC)- Thanks Jarry. What other possibilities for image/text banners/announcements are there? —danhash (talk) 16:47, 28 February 2012 (UTC)
- I've added #siteNotice to my previous message, which covers the ones that display on every page (including fundraising I think). Can't think of any other notices off the top of my head. - Jarry1250 [Deliberation needed] 16:51, 28 February 2012 (UTC)
- I keep seeing them in more and more places over time. I see them on multiple WMF wikis as well, so maybe it's higher up than administration here. Anybody know who is in charge of annoying users? —danhash (talk) 15:45, 1 March 2012 (UTC)
- I've added #siteNotice to my previous message, which covers the ones that display on every page (including fundraising I think). Can't think of any other notices off the top of my head. - Jarry1250 [Deliberation needed] 16:51, 28 February 2012 (UTC)
- Thanks Jarry. What other possibilities for image/text banners/announcements are there? —danhash (talk) 16:47, 28 February 2012 (UTC)
An article that uses tables with lots of text in individual cells?
Hey,
Does anyone happen to know an article that deals elegantly with table cell fields that have greater than usual amounts of text?
I'm trying to learn advanced table formatting and it would be very helpful if someone could link to an article that deals with this problem: when a table is the best data structure to use, but a few cells need to have large amounts of text in them.
Thanks!
2.24.242.34 (talk) 16:07, 28 February 2012 (UTC)
- How do you mean? Every cell has text? One particular column ("Notes" as a header)? I know that the first is, if not forbidden, then highly discouraged due to web semantics, while the second is commonplace. Or is there something else you're trying to figure out? --Izno (talk) 16:41, 28 February 2012 (UTC)
Thanks for replying. I mean, a table where a particular cell has a great deal of text. For example, a cell in a table that had three hundred words of text. I'm wondering if there's a way to handle this kind of thing elegantly and was looking for examples. Thanks!
Lemonbalmtea (talk) 18:31, 28 February 2012 (UTC)
- Maybe some page from this list? The template is useed to wrap big sections into a wikitable. Little controlling CSS style involved. -DePiep (talk) 18:41, 28 February 2012 (UTC)
- {{Episode list}} places the episode summary in a table-wide cell, and all other info in a multi-cell row above it. See example at Doctor Who (series 5)#List of episodes. If everything was in one row then it would give poor formatting with lots of blank space when the summary often has far more content than the other cells. The summary parameter is documented at {{Episode list}} with "ShortSummary (optional) A short 100-300 word summary of the episode". I find the name ShortSummary a bit ironic in that context but some fans tend to write very long summaries. I guess the name is intended to restrain them. PrimeHunter (talk) 23:36, 28 February 2012 (UTC)
Where have all our stewards gone?
Why does this return No user found when that isn't the case?--SPhilbrick(Talk) 18:32, 28 February 2012 (UTC)
- Steward is a global user right, so they don't show up in the local list. Special:GlobalUsers/steward is the correct link. Goodvac (talk) 18:38, 28 February 2012 (UTC)
- Then why have the item in the list? Seems misleading.--SPhilbrick(Talk) 18:42, 28 February 2012 (UTC)
- That is confusing. Unless there is some historical reason it should stay, perhaps a bug report should be made to remove it from the dropdown on enwiki. On meta it is also a local user right and it works there. Killiondude (talk) 01:55, 29 February 2012 (UTC)
- Then why have the item in the list? Seems misleading.--SPhilbrick(Talk) 18:42, 28 February 2012 (UTC)
"Long time passing..." — Richardguk (talk) 03:50, 29 February 2012 (UTC) ("When will they ever learn? When will they ever learn?")
- To remove it would require huge changes to a configuration setting and the database; it just isn't worth it.Jasper Deng (talk) 04:11, 29 February 2012 (UTC)
- It... would? Wikimedia must have some really messed up configurations... or was that a given? — Isarra (talk) 04:20, 29 February 2012 (UTC)
- Yes. It's a relic from the pre-CentralAuth period.Jasper Deng (talk) 05:08, 29 February 2012 (UTC)
- It... would? Wikimedia must have some really messed up configurations... or was that a given? — Isarra (talk) 04:20, 29 February 2012 (UTC)
- To remove it would require huge changes to a configuration setting and the database; it just isn't worth it.Jasper Deng (talk) 04:11, 29 February 2012 (UTC)
- Given the complexity of this it suggests that good help really is hard to find. PuppyOnTheRadio talk 06:20, 29 February 2012 (UTC)
IP Editing
I don't mean for this to sound like an overly snide comment but if you don't want IP's to edit then you should just mandate that you must have a username to edit. Requiring 3 or more capthas for an IP to make one change is senseless and a pretty strong message that you would rather not have IP's editing content. Every time I try and edit as an IP it takes no less than 3 captchas to do one change. 71.163.243.232 (talk) 00:43, 29 February 2012 (UTC)
- If I recall correctly, you only have to answer a CAPTCHA if the edit you are making involves an external link. See WP:IP. You may have had to answer 3 if you didn't enter it correctly the first two times. Killiondude (talk) 01:52, 29 February 2012 (UTC)
- Then something must not be working. It will let you edit a talk page without a captcha but if you make any changes to any pages it has required at least 3 and as many as 5 before I stopped trying. Try and add an infobox or a portal as an IP. 71.163.243.232 (talk) 02:12, 29 February 2012 (UTC)
- I just used IE's InPrivate Browsing to add an info box to a random page (that could use one) while logged out and it worked with no CAPTCHA (it did not include an external link): [6].
- I have also adjusted an external link, including adding one, which did require exactly one CAPTCHA, even though I made a whitespace edit to the article displayed when the CAPTCHA was requested: [7] (I then made a further edit to that page adding {{it}} twice and was not ask for a CAPTCHA even though it was the same line the external links were on.)
Finally I still intend to test adding an infobox with an external link, to exactly test User:71.163.243.232's complaint, but unless I give in and use a sandbox, I might take a while locating a good page to edit.Mark Hurd (talk) 07:07, 29 February 2012 (UTC)- I added an infobox person with an external link, admittedly one already on the page, and I was not asked for a CAPTCHA again (same session where I was earlier asked for a CAPTCHA once): [8] Mark Hurd (talk) 07:39, 29 February 2012 (UTC)
- I don't know then, every time I try it asks for multiple ones. No big deal though I just wanted to let someone know. 71.163.243.232 (talk) 12:11, 29 February 2012 (UTC)
- Then something must not be working. It will let you edit a talk page without a captcha but if you make any changes to any pages it has required at least 3 and as many as 5 before I stopped trying. Try and add an infobox or a portal as an IP. 71.163.243.232 (talk) 02:12, 29 February 2012 (UTC)
After looking at 71.163.243.23's contribs, I tried some tests in the sandbox. No captcha when making an ordinary edit but it did ask me for a captcha when using the "undo" function. On second thought maybe this "feature" should be enabled for logged in users too. (but not for rollback) Might slow down some edit wars :) The last part was semi sarcastic. --Ron Ritzman (talk) 14:22, 29 February 2012 (UTC)
Intermittent search problems
Off and on, when I try to search, I get no results. Redlinks just say "there is no article" without the usual list of articles in which the search string or something similar appears, and when I search for articles I know exists, it just says "there is a page named..." without listing anything at all below it. This happens daily, off and on, sometimes alternating between this and "normal" (actually getting results) from search to search with just a few seconds in between. Server load? - The Bushranger One ping only 06:55, 29 February 2012 (UTC)
- I've seen this too. In my case it is normally the first search for something, and I think I've seen more than zero results, but on clicking search again, without changing what namespaces are included, you get the many results expected. Sometimes it seems the first search results do not include fuzzy results. Mark Hurd (talk) 07:11, 29 February 2012 (UTC)
- The Search index is not updating properly - spelling mistakes I corrected on 25 Feb are still appearing in searches, whilst hitting refresh generates different selections of results. The usual reason is "a stale version of one of search index slices" whatever that means. Could someone please contact whoever deals with this problem - it is making us WikiGnome's work very difficult. Arjayay (talk) 19:23, 29 February 2012 (UTC)
- Should be fixed/catching up now, according to rainman-sr —TheDJ (talk • contribs) 22:44, 29 February 2012 (UTC)
- The Search index is not updating properly - spelling mistakes I corrected on 25 Feb are still appearing in searches, whilst hitting refresh generates different selections of results. The usual reason is "a stale version of one of search index slices" whatever that means. Could someone please contact whoever deals with this problem - it is making us WikiGnome's work very difficult. Arjayay (talk) 19:23, 29 February 2012 (UTC)
- I noticed this on Portuguese Wikipedia/ Wikibooks some hours ago. At some point I was getting results in one of the following pages and not on the other:
- But then it worked again... Helder 23:10, 29 February 2012 (UTC)
Mainspace editing problems
I don't seem to be able to preview or view the changes of my edits in the mainspace. I can save pages, but it page hangs and does not get loaded afterward. I do not have the problem in projectspace. It does not seem to matter if I'm logged in or whether I use Chrome or IE8. Any ideas as to what is wrong? —Ost (talk) 15:30, 29 February 2012 (UTC)
- This problem went away for me but lingered when I tried to preview or view changes through some toolserver apps. Now it seems to be completely resolved, though I don't know its cause or solution. —Ost (talk) 19:09, 29 February 2012 (UTC)
- The database has spent a good bit of time in read only mode lately, so that may have been the problem. I have had it happen to me a couple times in the past week or so. --Andrew (User:90) (talk) 19:16, 29 February 2012 (UTC)
Error with WP:AFT v4 on Halo 3 OST
I'm having a visual error pop up and I'm not sure why. On Halo_3_Original_Soundtrack, I'm seeing the WP:AFT version 4 up under the track listing section. Until this time, I have seen that particular box at the bottom of the page beneath the various appendices. Using Fx 10.0.2 on Windows 7. I tried shift refreshing the page as well as purging and then refreshing, and it would not disappear. Am I the only one? Or was this a test condition for the box...? --Izno (talk) 19:21, 29 February 2012 (UTC)
- Looks like PleaseStand handled it. --Izno (talk) 22:55, 29 February 2012 (UTC)
- The problem was that the second div was left unclosed. There was also a missing {{clear}} after both floating divs. PleaseStand (talk) 23:04, 29 February 2012 (UTC)
- The missing clear was probably the reason the div was left unclosed, heh... --Izno (talk) 23:50, 29 February 2012 (UTC)
- The problem was that the second div was left unclosed. There was also a missing {{clear}} after both floating divs. PleaseStand (talk) 23:04, 29 February 2012 (UTC)
Screen goes blank
Whenever I load a page, it goes completely blank after it finishes loading. Only happens when I'm logged in, works normally when logged out. Did one of you guys break something? If so, can you fix it or suggest a workaround? Kilopi (talk) 23:48, 29 February 2012 (UTC)
- Try to disable gadgets one by one and then report back here, plus mention your browser. — AlexSm 23:52, 29 February 2012 (UTC)
- It was revisionjumper. I'm using Opera. Kilopi (talk) 23:59, 29 February 2012 (UTC)
The offending line of code from the German Wikipedia page at de:MediaWiki:Gadget-revisionjumper.js: PleaseStand (talk) 00:04, 1 March 2012 (UTC)
document.write('<script type="text/javascript" src="'+revisionjumperlocation+'/w/index.php?title='
+ 'MediaWiki:Gadget-revisionjumper-config.js&action=raw&ctype=text/javascript"><\/script>');
- Revision jumper has been fixed for all non secure.wikimedia.org users by a german sysop on my request, see [9] Regards, Snowolf How can I help? 08:11, 1 March 2012 (UTC)
Code for top of pages? (Css/JavaScript)
Does anyone know how to get rid of all the notations at the top of the page on monobook? ("my talk", "my preferences", etc.). I certainly don't mind them, but this latest revision, like all "improvements", has made Wikipedia even slower and more absurdly difficult to navigate for me. It seems to have to do with these notations, since they're always the ones moving while the page is loading. Is there some kind of code I can enter into Custom CSS and/or Custom JavaScript to get rid of as much as possible without getting read of the text/pictures of every individual article? I already have something for the logo, and getting rid of everything else while keeping article content would be fantastic. All Hallow's Wraith (talk) 05:36, 1 March 2012 (UTC)
- The following CSS will remove the top links:
#p-personal { display: none; }
- If you want to remove everything, except the "article", "talk", "edit", etc. tabs and the page content, use the following:
#column-one, #p-personal { visibility: hidden; }
#p-cactions { visibility: visible; }
- Goodvac (talk) 06:25, 1 March 2012 (UTC)
- Thanks. What about the bottom? On many pages, I get that horizonal scrollbar appearing for a second (or two), and then disppearing, thus taking up more time. How do I get rid of that? (can I?) All Hallow's Wraith (talk) 06:55, 1 March 2012 (UTC)
- I'm not quite sure what you mean. The browser's scrollbar?
FYI, since you aren't blocking#column-one
, you will need only#p-personal { display: none; }
. Goodvac (talk) 07:02, 1 March 2012 (UTC)- Well, most people have a vertical scrollbar on the right side of their pages, and then a horizontal one at the bottom (when necessary). "Scrollbar" may not be the right word. Something in the coding on Wikipedia is causing the bottom scrollbar to appear and then disappear every time I open a page (i.e. even when this scrollbar is not necessary, which is most of the time, unlike the vertical scrollbar). I guess the fact that I'm using Internet Explorer '06 is what's causing all this. All Hallow's Wraith (talk) 07:23, 1 March 2012 (UTC)
- Well that certainly won't help. I'm predicting that IE6 will officially be dropped in about a year time. It's already down to 3% html requests, when it's below 1%, official support will end. —TheDJ (talk • contribs) 10:21, 1 March 2012 (UTC)
- Well, most people have a vertical scrollbar on the right side of their pages, and then a horizontal one at the bottom (when necessary). "Scrollbar" may not be the right word. Something in the coding on Wikipedia is causing the bottom scrollbar to appear and then disappear every time I open a page (i.e. even when this scrollbar is not necessary, which is most of the time, unlike the vertical scrollbar). I guess the fact that I'm using Internet Explorer '06 is what's causing all this. All Hallow's Wraith (talk) 07:23, 1 March 2012 (UTC)
- I'm not quite sure what you mean. The browser's scrollbar?
- Thanks. What about the bottom? On many pages, I get that horizonal scrollbar appearing for a second (or two), and then disppearing, thus taking up more time. How do I get rid of that? (can I?) All Hallow's Wraith (talk) 06:55, 1 March 2012 (UTC)
Unable to access scripts
I am unable to edit any page with the scripts I have installed. Whenever I edit a page, the scripts box on the side just remains empty. I have tried blanking and re-creating my scripts page and bypassing my cache, but still I just get an empty scripts box on the side menu. CanuckMy page89 (talk), 06:47, 1 March 2012 (UTC)
- My scripts in vector.js are also broken. Bgwhite (talk) 09:38, 2 March 2012 (UTC)
document.write is not longer working
Please be advised that document.write is no longer working as of Mediawiki 1.19. Please switch all your scripts and monobooks (if you use vector I don't care about you :P) to the new mw.loader.load. Example:
from
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Voice of All/adminnolupin/monobook.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
to <code=> mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice of All/adminnolupin/monobook.js&action=raw&ctype=text/javascript');
If you don't dare change it yourself for fear of breaking it or are not an admin, please reply to this thread and somebody will fix it. Regards, Snowolf How can I help? 07:39, 1 March 2012 (UTC)
- Thank you for fixing this in my monobook. Keegan (talk) 07:43, 1 March 2012 (UTC)
- Is this why none of my imported scripts are working? (see my question above) CanuckMy page89 (talk), 08:30, 1 March 2012 (UTC)
- I don't understand. Can someone help me? CanuckMy page89 (talk), 08:58, 1 March 2012 (UTC)
- igloo works fine and so should the other scripts you're using. Are you using any gadgets? Snowolf How can I help? 09:07, 1 March 2012 (UTC)
- Just Twinkle. But even when I disable it, scripts still won't work. CanuckMy page89 (talk), 09:42, 1 March 2012 (UTC)
- igloo works fine and so should the other scripts you're using. Are you using any gadgets? Snowolf How can I help? 09:07, 1 March 2012 (UTC)
- Just for your information, the usage of document.write has been ill-advised for over 5 years now. The reason for that was that it would break in async loading. Since we are now loading more parts async then before, this will bring up a lot of issues where people were still using it. This is not a bug. The bug is people after 5 years still going against advice and now finding out. It was not working before, but now more people are being confronted with it not working. —TheDJ (talk • contribs) 09:50, 1 March 2012 (UTC)
- Nobody here is saying that it's a bug, and I am aware that it has been deprecated for a while :) For anybody interested, see bugzilla:34482 and m:Wikimedia Forum/Archives/2012-02#document.write() not only discouraged, it doesn't work. Snowolf How can I help? 09:54, 1 March 2012 (UTC)
- So what exactly would I have to write on my monobook page to get the scripts working for me again? Does ImportScript no longer work? CanuckMy page89 (talk), 11:03, 1 March 2012 (UTC)
- Well the problem is not what you had in your monobook.js page. The problem is what the scripts that you were properly loading right there, were doing. One or more of those scripts was/is broken, and the only thing you can do is either find the problem in them (which i guess is not an option), or disabling/removing them until they are fixed by their authors or a kind 3rd person. —TheDJ (talk • contribs) 21:14, 1 March 2012 (UTC)
- So what exactly would I have to write on my monobook page to get the scripts working for me again? Does ImportScript no longer work? CanuckMy page89 (talk), 11:03, 1 March 2012 (UTC)
- Nobody here is saying that it's a bug, and I am aware that it has been deprecated for a while :) For anybody interested, see bugzilla:34482 and m:Wikimedia Forum/Archives/2012-02#document.write() not only discouraged, it doesn't work. Snowolf How can I help? 09:54, 1 March 2012 (UTC)
User contributions dropdown menu
Has thewre been a change in the user contributions dropdown menu? I had this installed, so that I could see user contributions from the top tool bar rather than the side of the page. But this morning, the button had disappeared. I checked my preferences, and installed the "change page and user options" gadget. This reinstalled the buttons; but now, when I click on User:Contributions, I get redirected to Fundraising! Please restore the old functionality. RolandR (talk) 08:24, 1 March 2012 (UTC)
- And Page:History takes me to History. I can't work like this! RolandR (talk) 08:38, 1 March 2012 (UTC)
- Could you post here the exact text of this gadget? I can't seem to find what this gadget is. Snowolf How can I help? 09:22, 1 March 2012 (UTC)
- I'm not sure about the text, but it's the gadget documented at User:Haza-w/Drop-down_menus. I've now disabled it; but I only added it this morning because the original dropdown buttons and functionality had disappeared overnight. RolandR (talk) 09:58, 1 March 2012 (UTC)
Numbers
After every edit on the contributions page there is a number for example (+67) or (-18). What do these numbers mean? Pass a Method talk 10:34, 1 March 2012 (UTC)
- The difference between the sizes of the revisions, e.g. (+67) means that that revision is 67 bytes longer than the previous one. ― A. di M. 10:38, 1 March 2012 (UTC)
Color doesn't change for links when I visit them; is this an update-related problem?
Moved from WP:RD/C.
When I open a page (in a new tab) in IE 8.0.7601.17514 by middleclicking on an external link from a Wikipedia article, the link typically changes from blue to purple. Suddenly, this color change is not happening: it's just as blue after clicking as it is before. What could be causing this problem? I made some changes earlier today, but several hours after I finished making those changes, the blue/purple issue had not yet arisen. I'm strongly inclined to think that I changed something without meaning to change it. I've not had any updates come through for my Windows 7 system in the last few days. Nyttend (talk) 05:47, 1 March 2012 (UTC)
- It sounds like you've switched off browser history, or activated private browsing mode. If the browser is being told not to remember which pages you've viewed, then it won't change the link colour to identify visited links. AJCham 08:12, 1 March 2012 (UTC)
- I thought that private browsing was only a matter for individual tabs; how does one activate private browsing mode for the entire browser? I forgot to specify that the problem has persisted even after I restarted the computer, so it's definitely not the result of making an error that affects just the specific browser window. Additionally, when I click the tab to bring up the new window, it presents me with a list of closed tabs that I can bring up, just like normal, so I don't think that I've entirely turned off the browser history. Among other things, the "Delete browser history upon exit" button is not checked. Nevertheless, can you tell me how to disable it, so I can disable it and re-enable it? Thanks! Nyttend (talk) 13:01, 1 March 2012 (UTC)
- I just remembered something else that might play in. I'm somewhat red-green colorblind, and at least in my case, this means that I simply can't see red or green very well. As a result, I often can't tell the difference between blue and purple, because if the red influence isn't very strong, I simply don't see it at all. Is there a way that I could have told it to reduce the strength of the purple color that will appear when I click the links? I dimly remember from a basic HTML class that it's possible for a website admin to specify the color that will appear when a link is clicked; did MW1.19 contain a change of this sort? Nyttend (talk) 13:23, 1 March 2012 (UTC)
- Ugg, it's even more complicated than I realised. At Amos Sawyer, the links to Prince Johnson, Charles Taylor, and Bloomington, Indiana appear in their proper shade of purple; I visited all of them yesterday or the day before. However, even after I visit Ellen Johnson Sirleaf's article, its link is still blue in Sawyer's article. Nyttend (talk) 13:46, 1 March 2012 (UTC)
- The reason I've moved this over here is that it may be an upgrade-related problem; I visited a lot of links before 2300 UTC yesterday, and they're displaying fine, while links that I've visited since that time are displaying as if I'd not visited them. Nyttend (talk) 14:18, 1 March 2012 (UTC)
Odd article headers
Hi folks, just wondering if someone could help me out with a small problem, namely that all of my article headers are being displayed with tags around them, in this manner: <span dir="auto">Dextrocardia</span> - what's going on, please? :-S SalopianJames (talk) 14:51, 1 March 2012 (UTC)
- Do you have the StumbleUpon toolbar installed by any chance? Ucucha (talk) 14:54, 1 March 2012 (UTC)
- I did indeed, and that's fixed it - many thanks! :-) SalopianJames (talk) 14:59, 1 March 2012 (UTC)
- A user at Wikipedia:Help desk/Archives/2012 February 29#HTML tags in page titles reported a fix which apparently didn't require complete removal of StumbleUpon: there's a checkbox in options under "Search & Tagging" that says "Highlight recommended results." Uncheck that, and the problem is fixed. PrimeHunter (talk) 21:48, 1 March 2012 (UTC)
- I did indeed, and that's fixed it - many thanks! :-) SalopianJames (talk) 14:59, 1 March 2012 (UTC)
Help collecting problem reports for MediaWiki 1.19
Last night, we rolled out MediaWiki 1.19 to all the Wikipedias. I'd like help collecting problem reports. If you can enter problem reports in Bugzilla, please do. Otherwise, leave a message on meta's "Problem reports" page. -- ☠MarkAHershberger☢(talk)☣ 14:58, 1 March 2012 (UTC)
Changes to file redlinks in 1.19?
Was there a change to the handling of file redlinks introduced in the recent software update to 1.19? If I remember correctly, a click on a file redlink used to go to the edit page of the (missing) file page. While that was in many respects not very useful (we don't want people to edit file description pages of nonexisting files), at least it had one advantage: it showed the user the file's deletion log.
Now suddenly clicking on a file redlink leads to the upload page, Wikipedia:Upload. This is just horrible, for several reasons:
- If there is a file redlink, in the huge majority of cases it is because there used to be a file and it was deleted. If a file was deleted, we usually don't want editors to just re-upload it. Even if there was a case for the deletion to be overturned, what we'd want the editor to do is to ask for it to be restored, not to make a new upload.
- The upload link doesn't actually go to Special:Upload, but to Wikipedia:Upload. That's the page with the entry to the upload guide. (Right now it's a redirect to the experimental Wikipedia:File Upload Wizard; otherwise it used to be the page that's currently at Wikipedia:Upload/old). The redlink comes with a parameter "?wpDestFile=....", apparently assuming the filename will be preloaded into the upload form. However, unlike the bare Special:Upload, neither the old Wikipedia:Upload nor the current Wikipedia:File Upload Wizard have any use for this parameter. Nothing in the system helps to make sure the re-uploaded file will get the correct filename to turn the redlink into a functioning file link again.
- Even worse, neither of the two wizards nor indeed the plain Special:Upload show the user the one, most important piece of information they need to be given: the deletion log. They are thus left entirely in the dark as to why the file is gone.
Thus, in effect, we are inviting people to wildly re-upload files that we just deleted, contrary to our deletion and undeletion policies and processes. We are encouraging them to do that under any new random filename. And we aren't even telling them why we deleted a file in the first place.
Can we please, please get some solution restored that directs these redlinks to something that makes sense? What would make sense is a page that shows the deletion log, possibly with instructions on how to ask for a file to be restored and an overview of our deletion policies or something. Fut.Perf. ☼ 15:30, 1 March 2012 (UTC)
- I think that has been that way for years? At least judging by when I created User:Amalthea/File Redlinks.js to fix that for me ... Amalthea 16:33, 1 March 2012 (UTC)
- Strange. No, I can't remember ever having been sent to an upload page. It was always either the bare file page address (as in //en.wikipedia.org/w/index.php?title=File:Just_an_example.jpg), or the file page in edit mode (as in https://en.wikipedia.org/w/index.php?title=File:Just_an_example.jpg&action=edit). I seem to remember the former was what you got from a red file-insertion link ([[File:Just an example.jpg]]), the latter from a colon'ed bare text link ([[:File:Just an example.jpg]]). But in any case, the edit-the-file-page solution isn't optimal either, is it? Fut.Perf. ☼ 16:42, 1 March 2012 (UTC)
- It certainly went to the upload page when I did this edit at 13:53 UTC yesterday. --Redrose64 (talk) 16:45, 1 March 2012 (UTC)
- This issue has a somewhat complicated history which can be seen in bugzilla:23140. —TheDJ (talk • contribs) 21:08, 1 March 2012 (UTC)
- Ugh. That bugzilla is confusing. So there was something called "$wgUploadMissingFileUrl" which allowed us to do something more useful. What is the effect of this latest change now? I find that hard to read. Is "$wgUploadMissingFileUrl" still around, could we use it, and have we ever used it? Fut.Perf. ☼ 21:49, 1 March 2012 (UTC)
- This issue has a somewhat complicated history which can be seen in bugzilla:23140. —TheDJ (talk • contribs) 21:08, 1 March 2012 (UTC)
- It certainly went to the upload page when I did this edit at 13:53 UTC yesterday. --Redrose64 (talk) 16:45, 1 March 2012 (UTC)
- Strange. No, I can't remember ever having been sent to an upload page. It was always either the bare file page address (as in //en.wikipedia.org/w/index.php?title=File:Just_an_example.jpg), or the file page in edit mode (as in https://en.wikipedia.org/w/index.php?title=File:Just_an_example.jpg&action=edit). I seem to remember the former was what you got from a red file-insertion link ([[File:Just an example.jpg]]), the latter from a colon'ed bare text link ([[:File:Just an example.jpg]]). But in any case, the edit-the-file-page solution isn't optimal either, is it? Fut.Perf. ☼ 16:42, 1 March 2012 (UTC)
Colons in links
Um, what is with the links on this page being prefixed by all the colons (::::::)? Chris857 (talk) 16:21, 1 March 2012 (UTC)
- To answer myself, it looks like AnomieBOT has gone mad. Chris857 (talk) 16:24, 1 March 2012 (UTC)
- Bot task shut down at User:AnomieBOT/shutoff/AccidentalLangLinkFixer. I've removed the multiple colon prefixes on this page. — Richardguk (talk) 16:37, 1 March 2012 (UTC)
Doubly fixed now. It was a combination of two things:
- T36865, resulting in the API returning no interwiki prefixes.
- AnomieBOT's code didn't specifically test for "no interwiki prefixes exist" (since that shouldn't ever happen here), and the GIGO result was that it would end up matching the ":" at the beginning of links using the colon trick.
The bug is fixed, and AnomieBOT's code has been adjusted to match nothing if no interwiki links exist. Please don't hesitate to stop the bot again if any other problems come up. Anomie⚔ 20:28, 1 March 2012 (UTC)
Unable to edit refs
Since the latest changes to MediaWiki, I am unable to edit any refs. If I try to edit a page, instead of the detailed citation, I just see a grey button labelled "ref". There is no way to display or edit the ref itself. Without this, I am totally unable to edit -- please advise and help me! RolandR (talk) 20:40, 1 March 2012 (UTC)
- Which browser/page are you using/editing?--Gilderien Talk|Contribs 20:47, 1 March 2012 (UTC)
- I'm using Firefox 10, and I was trying to edit Dror Adani, but I have the same problem whatever page I try to edit. I've posted a screenshot here. RolandR (talk) 20:57, 1 March 2012 (UTC)
- Warning: don't click on the above link, you'll get some nasty popups. --Redrose64 (talk) 21:43, 1 March 2012 (UTC)
- I'm using Firefox 10, and I was trying to edit Dror Adani, but I have the same problem whatever page I try to edit. I've posted a screenshot here. RolandR (talk) 20:57, 1 March 2012 (UTC)
- Maybe you have a non-compatible reference-manipulating script in User:RolandR/vector.js. Try disabling the scripts. PrimeHunter (talk) 20:51, 1 March 2012 (UTC)
- Which ones? How? Everything was fine yesterday, so it would appear to be a bug with the latest software upgrade. RolandR (talk) 20:57, 1 March 2012 (UTC)
- If a user script is non-compatible with the latest software upgrade then the fix will probably be to modify the user script. Try to log out and see if the problems stops. If it does then log in again and isolate the problem. You could for example start by blanking User:RolandR/vector.js. If this makes references work then gradually bring back the scripts until the problem occurs again. Your screenshot is from Beersheba#Antiquity which works fine for me. PrimeHunter (talk) 21:09, 1 March 2012 (UTC)
- Which ones? How? Everything was fine yesterday, so it would appear to be a bug with the latest software upgrade. RolandR (talk) 20:57, 1 March 2012 (UTC)
- OK, I've done that, and it seems that WikiEd is the culprit. If I disable it, I can again edit refs. But it's a pain editing without it; what should I do to try to get this fixed? RolandR (talk) 21:58, 1 March 2012 (UTC)
- Report at User talk:Cacycle/wikEd and wait. — AlexSm 22:00, 1 March 2012 (UTC)
- OK, I've done that, and it seems that WikiEd is the culprit. If I disable it, I can again edit refs. But it's a pain editing without it; what should I do to try to get this fixed? RolandR (talk) 21:58, 1 March 2012 (UTC)
- You have a lot of scripts installed. As mentioned in the comment immediately preceding your latest one, you should remove all scripts then slowly add them one by one until you find out which one is causing the problem. One of your scripts is causing JavaScript conflicts. You could also check Firefox's Error Console to see if there are any errors that might give you clues as to what script is causing the problem. Gary King (talk · scripts) 22:01, 1 March 2012 (UTC)
- I've done that, and established that WikiEd is causing the problem. Currently reporting it on the WikiEd bug report page. RolandR (talk) 22:16, 1 March 2012 (UTC)
- And I've received an answer. My WikiEd settings had somehow been changed (presumably by the upgrade, as I changed nothing overnight), and I've now restored full functionality. RolandR (talk) 22:58, 1 March 2012 (UTC)
- I've done that, and established that WikiEd is causing the problem. Currently reporting it on the WikiEd bug report page. RolandR (talk) 22:16, 1 March 2012 (UTC)
ESC cancels out all edits
I'll keep this brief since I just lost my last message. In IE8, ESC cancels all wiki edits. I just lost a lot of work after I hit something that popped up a window. I hit ESC one too many times, and I lost all my edits. This is not an issue on Firefox, but I sometimes edit on a computer that cannot have anything besides the approved software bundle. Any workarounds besides save early, save often or working on a separate text editor? Cheers. Encycloshave (talk) 21:25, 1 March 2012 (UTC)
- Hit "Preview" when you want to "Save" so that your latest edits are saved, but not submitted as an edit yet. This is a problem with IE specifically; many people complain about it but it still exists in IE, I guess. Gary King (talk · scripts) 21:51, 1 March 2012 (UTC)
- Could also try this code (→ your common.js). — AlexSm 22:05, 1 March 2012 (UTC)
$('#wpTextbox1').keydown( function(e){ //prevent ESC
if( e.which == 27 ) e.preventDefault()
})
- Yeah, I've noticed this several times before. I don't have any suggestions (beyond what was given above) except to be very careful when you're signing your posts or typing the "1" key. I do almost all of my writing in a text editor, as you mentioned above. Nyttend (talk) 03:16, 2 March 2012 (UTC)
- Many thanks Alex!
popups and Twinkle have disappeared ...
... in Firefox (my preferred browser).
Twinkle has also disappeared in Opera, but popups works fine there.
Both are working fine in IE9 and Chrome.
Using Monobook skin (appears to be the same for Vector, but haven't checked all possibilities yet).
--NSH001 (talk) 22:01, 1 March 2012 (UTC)
- To pick up the latest scripts you must bypass your browser cache in Firefox - Ctrl+F5. -- John of Reading (talk) 22:13, 1 March 2012 (UTC)
- Thanks, that fixed it (Sometimes it pays to check the obvious! I gave up this morning, when I saw what a total disaster Wikipedia was ...). --NSH001 (talk) 22:25, 1 March 2012 (UTC)
How to regenerate an image thumbnail?
For the thumbnail here, the bottom third or so is cut-off; it just appears white. How can I purge the thumbnail so that it is regenerated? I tried purging the page, then the image (on Commons), but neither method seems to do the trick. Gary King (talk · scripts) 03:34, 2 March 2012 (UTC)
- I don't know, but I've seen the same thing. That particular image looks fine to me, but Manhattan Project#Isotope separation and the lead image of Faster-than-light neutrino anomaly are cut off. I notice that it seems to happen only to large images. Chris857 (talk) 03:42, 2 March 2012 (UTC)
- All indicated images look fine to me, suggesting that it's a browser issue than WP's. Trying hard-reloading the page (usually shift-F5 for most browsers). --MASEM (t) 03:47, 2 March 2012 (UTC)
- Yeah it looks good now. Perhaps someone was reading this post and purged the image for me... Gary King (talk · scripts) 03:48, 2 March 2012 (UTC)
- This is a real server issue.
- The purge works for that page, but doesn't fix the others. The image itself is fine and displayed fine at other sizes.
- Images are being generated in a corrupt form an cached and a mechanism to properly purge them would be useful.
- Alarbus (talk) 04:34, 2 March 2012 (UTC)
- When the thumbnails were recently moved to the new swift architecture, some got corrupted in this way. Apparently the bug causing that has been fixed, but some bad cached images remain. Purging them should fix it, if it doesn't, then that means purge signals are again not reaching one of the caching servers. —TheDJ (talk • contribs) 07:15, 2 March 2012 (UTC)
- Sounds right. I've purged the Black Sox several times, and full purging from the browser seems to have finally done it. The Hobart image has cleared, too; not anything I did, though. Thanks, Alarbus (talk) 07:40, 2 March 2012 (UTC)
- I saw the same things, Alarbus has been working on cleaning up my mistakes.--Wehwalt (talk) 08:57, 2 March 2012 (UTC)
- This was a server hiccup; they need to feed the server monkeys more bananas. And I'll fix most any mistakes; it's a wiki: they are everywhere. Alarbus (talk) 09:07, 2 March 2012 (UTC)
- I saw the same things, Alarbus has been working on cleaning up my mistakes.--Wehwalt (talk) 08:57, 2 March 2012 (UTC)
- Sounds right. I've purged the Black Sox several times, and full purging from the browser seems to have finally done it. The Hobart image has cleared, too; not anything I did, though. Thanks, Alarbus (talk) 07:40, 2 March 2012 (UTC)
non-standard iw link markup and FA/GA tagging of iw articles
- User talk:Hgrosser#spans on iw links?
- User talk:Wehwalt#IW links
- Help talk:Interlanguage links#spans on iw links?
Hgrosser's been wrapping iw links with a span styled display:none; He's also tried baking-in {{link FA}} IDs: Diff of Murder of Julia Martha Thomas. This seems in good faith, but I don't think it a good idea. He's done this on a bunch of wikis; fa, pt, zh, hi, he, da, de...
I only noticed this because he did it to the current main paged article. This is going to need more participants on that help page or a better venue. Alarbus (talk) 04:20, 2 March 2012 (UTC)
Blocks don't appear on All Public Logs
http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=&user=&page=WildBot doesn't show any blocks. http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=block&user=&page=WildBot does. How come? Josh Parris 12:04, 2 March 2012 (UTC)
- It shows on http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=&user=&page=User%3AWildBot with User:WildBot instead of WildBot. The block log is only for users so User: is automatically added in your second example but not the first. PrimeHunter (talk) 12:32, 2 March 2012 (UTC)
- That makes sense. Josh Parris 13:01, 2 March 2012 (UTC)
File Subpages
Just wondering, is there a reason why the File namespace doesn't allow subpages?--Octify27 (talk) 00:28, 2 March 2012 (UTC)
- The developers probably saw no reason for them to have subpages. They are files, after all, not pages of content. This subsequently allows files to have slashes in their names if necessary; I don't know exactly how common that is, though. Gary King (talk · scripts) 01:18, 2 March 2012 (UTC)
- Oh, maybe there's a way to override it then?--Octify27 (talk) 01:24, 2 March 2012 (UTC)
- It's set with mw:Manual:$wgNamespacesWithSubpages. Wikipedia's setting is in http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php. It requires a system administrator (not the same as a Wikipedia administrator) to change. File talk allows subpages. Change requests can be made at bugzilla: but I see no reason to allow it for File. PrimeHunter (talk) 01:45, 2 March 2012 (UTC)
- Alright, cool, I was just wondering why that wouldn't work, but it's no big deal. :P Thank you!--Octify27 (talk) 01:51, 2 March 2012 (UTC)
- Slashes cannot be part of a filename because they separate directories from filenames. So, if an image were named
File:Foo/bar.jpg
this would actually be a file namedbar.jpg
residing in a directory namedFoo
. You can see how Mediawiki uses directories to manage files by right-clicking on any exposed image and selecting "Copy Image Location". Then paste that into any plain text editor (such as a Wikipedia edit window). You might get something like this:http://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/Kate_Webster_filtered.jpg/77px-Kate_Webster_filtered.jpg
- here,77px-Kate_Webster_filtered.jpg
is the filename,http://upload.wikimedia.org/
is the base URL, andwikipedia/commons/thumb/5/5b/Kate_Webster_filtered.jpg/
is a chain of six directories, the path through the directory structure. --Redrose64 (talk) 17:33, 2 March 2012 (UTC)
- Slashes cannot be part of a filename because they separate directories from filenames. So, if an image were named
- Alright, cool, I was just wondering why that wouldn't work, but it's no big deal. :P Thank you!--Octify27 (talk) 01:51, 2 March 2012 (UTC)
Removing a page from the search box
Is it possible to remove a page from the search box? For example, when you type something into the search box several options are shown to the page that you may be looking for, is it possible for a page to be 'invisible' per se? Whenaxis talk · contribs | DR goes to Wikimania! 02:24, 2 March 2012 (UTC)
- I really doubt it. What's the point of making secret pages? Sounds like something that could be easily abused. Gary King (talk · scripts) 03:30, 2 March 2012 (UTC)
- There's the behavior switch "magic word"
__NOINDEX__
, intended to prevent search engines from indexing a page. But I don't know whether it affects Wiki's own search results. — Richardguk (talk) 04:31, 2 March 2012 (UTC)- I'm familiar with
__NOINDEX__
. I'm just asking because users have pages like twinkleoptions.js and huggle.css and people could mess up the code by searching it up in the search box. Whenaxis talk · contribs | DR goes to Wikimania! 18:02, 2 March 2012 (UTC)
- I'm familiar with
- There's the behavior switch "magic word"
- Not sure how that could happen? You can't edit another person's .js and .css pages, only your own. Gary King (talk · scripts) 18:45, 2 March 2012 (UTC)
- Really? Okay. Thanks :) Whenaxis talk · contribs | DR goes to Wikimania! 21:19, 2 March 2012 (UTC)
How Are Non-Logged-In Users Able to Make Any Edits
How in the world can users that aren't logged in able to make any edits? When I'm not logged in, I don't see any way to make any kind of edits (read "View source"). Thanks! Allen (talk) 03:13, 2 March 2012 (UTC)
- You are only supposed to see "View source" on the relatively few protected pages. Here is a random unprotected article: Jashwant Singh. I see "Edit" when I log out. There once was a bug where unregistered users sometimes saw "View source" on unprotected pages. They could click it and edit the page anyway, but I haven't seen reports of this bug in a long time. PrimeHunter (talk) 03:20, 2 March 2012 (UTC)
- Could you be editing from a softblocked IP (i.e. school)? — Train2104 (talk • contribs) 00:29, 5 March 2012 (UTC)
What no redirect button?
The redirect button appears to have disappeard from the list of buttons above the edit window. Can we have it back please? Mjroots (talk) 05:15, 2 March 2012 (UTC)
- It's there for me, are you using the new, or the 'old' edit toolbar ? —TheDJ (talk • contribs) 12:37, 2 March 2012 (UTC)
- Click Advanced and then the right-pointing arrow. It's also among the options when you select Wiki markup in the drop down box below Save page. PrimeHunter (talk) 12:38, 2 March 2012 (UTC)
- I use the old toolbar, and the redirect button indeed disappeared after the upgrade to 1.19. But just a few hours ago, it reappeared. Goodvac (talk) 05:52, 3 March 2012 (UTC)
- When I've got the edit window open, there is no "advanced" feature that I can see. Where should I be looking. My browser is Firefox, BTW. I've not changed any settings, so I don't know which toolbar I'm using. *sigh* If it ain't broken... Mjroots (talk) 06:58, 8 March 2012 (UTC)
- Then you must be using the old toolbar, which looks like this.
When I enter the editing mode, the redirect button does not appear; when I hard-reload the page, then it appears. To see the redirect button, I have to hard-reload every time I go to an edit window, so there is something broken, but I don't know what. Goodvac (talk) 07:44, 8 March 2012 (UTC)- That's the toolbar I'm familiar with, but I've lost everything after the horizontal line button. Mjroots (talk) 11:01, 8 March 2012 (UTC)
- Maybe it is Bug 31511? Helder 11:11, 8 March 2012 (UTC)
- Seems to be related to #Missing toolbar buttons? further up among the MW 1.19 bug list. Anyway, the straight row of 23 buttons is RefToolbar 1.0, which doesn't have the "Advanced" thing. That is in refToolbar 2.0: you can see which you have, and see how to switch between them, by checking these features. --Redrose64 (talk) 12:45, 8 March 2012 (UTC)
- I've now turned on the 2.0 version, and got the redirect button back. That doesn't mean that the original issue raised has been fixed though, Mjroots (talk) 17:18, 8 March 2012 (UTC)
- Seems to be related to #Missing toolbar buttons? further up among the MW 1.19 bug list. Anyway, the straight row of 23 buttons is RefToolbar 1.0, which doesn't have the "Advanced" thing. That is in refToolbar 2.0: you can see which you have, and see how to switch between them, by checking these features. --Redrose64 (talk) 12:45, 8 March 2012 (UTC)
- Maybe it is Bug 31511? Helder 11:11, 8 March 2012 (UTC)
- That's the toolbar I'm familiar with, but I've lost everything after the horizontal line button. Mjroots (talk) 11:01, 8 March 2012 (UTC)
- Then you must be using the old toolbar, which looks like this.
- When I've got the edit window open, there is no "advanced" feature that I can see. Where should I be looking. My browser is Firefox, BTW. I've not changed any settings, so I don't know which toolbar I'm using. *sigh* If it ain't broken... Mjroots (talk) 06:58, 8 March 2012 (UTC)
Über slow deletion
Currently hitting the delete key on the image does not return anything for over 20-30 seconds, often resulting in "wikimedia foundation error..." The tech details are oft similar to "Request: POST http://en.wikipedia.org/w/index.php?title=File:Logo_FEPLP.jpg&action=delete, from 208.80.154.8 via cp1007.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.140 (10.64.0.140) Error: ERR_READ_TIMEOUT, errno [No Error] at Fri, 02 Mar 2012 06:09:30 GMT". The 208.80 is familiar, but the 10.64 isn't (Durham, NC?). A ping from me to 208.80 is consistently 99ms, so it doesn't seem to be a timeout from this end. Skier Dude (talk) 06:17, 2 March 2012 (UTC)
- Looks like that one has already been reported by a commons admin. Adding your comment there. -- ☠MarkAHershberger☢(talk)☣ 18:27, 2 March 2012 (UTC)
Visited external links are not changing to purple
Would someone find out what's going on at Wikipedia:Help desk#HOW TO CHANGE WIKIPEDIA'S FONT COLOR SETTING? Section 2? Thanks, Goodvac (talk) 07:55, 2 March 2012 (UTC)
- I don't see the problem, what skin are you using ? —TheDJ (talk • contribs) 12:36, 2 March 2012 (UTC)
- Ah wait, you want to change it yourself. The advice on Wikipedia:Link_color#Making_links_appear_a_different_color_just_for_you is no longer up to date. The stylesheet includes a more specific definition now, so you now need to add ".mw-body" for all the statements with a: or a. otherwise they won't take affect. —TheDJ (talk • contribs) 12:40, 2 March 2012 (UTC)
- As I said (just a moment ago, after you said this), I'm trying to change it for myself because it seems that the default for clicked and unclicked has now become the same color. See the "Color doesn't change for links when I visit them; is this an update-related problem?" section above, which I posted recently; I went to the Help Desk because that other thread has been completely ignored here. Skin is Monobook. Nyttend (talk) 13:43, 2 March 2012 (UTC)
- I'm using Monobook, but the default CSS already has
.mw-body a.external:visited{color:#636; }
, which should take care of it. The problem is it isn't working, even if I add the same code to my monobook.css. Goodvac (talk) 18:50, 2 March 2012 (UTC) - Actually, maybe the problem is specific to Monobook. If I go on Meta, where I use Monobook, clicked external links do not change color. On other wikis, such as French, where I have the default Vector, the links do change. Goodvac (talk) 18:54, 2 March 2012 (UTC)
- This is indeed a monobook issue. Investigating and reporting. —TheDJ (talk • contribs) 19:34, 2 March 2012 (UTC)
- Thanks. Goodvac (talk) 19:35, 2 March 2012 (UTC)
- This is indeed a monobook issue. Investigating and reporting. —TheDJ (talk • contribs) 19:34, 2 March 2012 (UTC)
- Ah wait, you want to change it yourself. The advice on Wikipedia:Link_color#Making_links_appear_a_different_color_just_for_you is no longer up to date. The stylesheet includes a more specific definition now, so you now need to add ".mw-body" for all the statements with a: or a. otherwise they won't take affect. —TheDJ (talk • contribs) 12:40, 2 March 2012 (UTC)
"Jump to" accessibility links have vanished from the "Chick" skin?
I am using the ‘Chick’ skin, and with this skin every Wikipedia page used to have two links ‘Jump to: navigation, search’ at the top. I don't see these links anymore, and I cannot make them to appear even by explicitly setting the option ‘Enable "jump to" accessibility links’ in my preferences. (For a description of this option see meta:Help:Preferences#Advanced_options.) I have tried this with Firefox 10.0.2 and Internet Explorer 9. I have cleared the browser cache, with no change. Is this something that was removed with the recent rollout of MediaWiki 1.19? — Tobias Bergemann (talk) 08:54, 2 March 2012 (UTC)
- Doesn't seem that was intended. Filed a bug about it. —TheDJ (talk • contribs) 12:32, 2 March 2012 (UTC)
- As a workaround one can use some custom CSS to make the links show again, e.g. by adding
#jump-to-nav { height: auto; }
to Special:Mypage/common.css or Special:Mypage/chick.css. — Tobias Bergemann (talk) 09:01, 3 March 2012 (UTC)
- As a workaround one can use some custom CSS to make the links show again, e.g. by adding
Counting infobox transclusions
I'm after a list of our infoboxes, sorted by number of transclusions; specifically the low end, so I'd settle for a list of those with, say, fewer than 250 instances. Do I need to ask on BOTREQ, or find someone with toolserver account, or is there a better method? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:31, 2 March 2012 (UTC)
- That sounds like a Toolserver request. If you drop a note on my talk page, I can probably help you out. It's a fairly simple query. --MZMcBride (talk) 18:28, 2 March 2012 (UTC)
- Here are some with under 100 transclusions: User:Bility/Infoboxes. — Bility (talk) 19:38, 2 March 2012 (UTC)
Internal link being rendered as external link
On MediaWiki:Moodbar-feedback-description the Learn more link is written up as an internal link; however, it is displayed at Special:FeedbackDashboard as an external link. Any ideas? It Is Me Here t / c 19:00, 2 March 2012 (UTC)
- It looks fine for me. See screenshot. Goodvac (talk) 19:09, 2 March 2012 (UTC)
- Yeah, sorry, I just realised it was a language localisation issue. It Is Me Here t / c 19:41, 2 March 2012 (UTC)
User talk page apparently borked
I was trying to leaving a welcome message on User talk:Kerev HaEmet via Twinkle. After a fair amount of time, it ended up at the techical error page. Now, every edit I try on the talk page is resulting in an edit conflict (including adding a new section), yet there's nothing in the history for the page. I suspect something's messed up (database?), but it's beyond me. Any ideas on this? Ravensfire (talk) 19:13, 2 March 2012 (UTC)
- I deleted the page, so it should be editable now. It must have been some kind of glitch, since there was no history for the page. Reaper Eternal (talk) 19:20, 2 March 2012 (UTC)
- Great, appreciate the help! Ravensfire (talk) 19:21, 2 March 2012 (UTC)
- There was some downtime a few minutes ago. I have a slight suspicion that the create+edit trough the API as issued by Twinkle was not atomic, causing the api to do the create, but not the edit and then not rolling back. That would be a bug in the API of MediaWiki. —TheDJ (talk • contribs) 19:24, 2 March 2012 (UTC)
- Interesting ... when I'm mentoring new developers at work, transactional boundaries are one of the first things I hammer into them as far too many schools skip on that and it's really easy to miss something. (Especially with an older app that's still using EJB 2.1 ...) Dealing with boundaries with web services / api's can be a nightmare though - I've spent enough of the past 2 months dealing with those (rolled out the first major service at my company) to feel some empathy. Ravensfire (talk) 19:29, 2 March 2012 (UTC)
Heavy load time for deleting files
For the past month or so, Mediawiki has been so slow in deleting files. What happens is the file will be deleted immediately, but the confirmation isn't returned form the server for a very long time. Sometimes it just takes a long time and it works; sometimes it will fail altogether. This is a huge pain for me because I do Twinkle deletes of NowCommons files by the hundred, and it can take a half hour or longer now for a set of images.
Asking around IRC, it appears the issue doesn't exist with regular pages, just files. Anyone with administrator privileges can verify this by deleting an image in CAT:NCT.
Example error code for reference below.
Request: POST http://en.wikipedia.org/w/index.php?title=File:Matchtosample.png&action=delete, from *REDACTED* via cp1005.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.138 (10.64.0.138) Error: ERR_READ_TIMEOUT, errno [No Error] at Fri, 02 Mar 2012 20:27:48 GMT
Magog the Ogre (talk) 20:31, 2 March 2012 (UTC)
- Most likely related to the report a bit higher Wikipedia:Village_pump_(technical)#.C3.9Cber_slow_deletion and the bugzilla ticket mentioned there. —TheDJ (talk • contribs) 20:53, 2 March 2012 (UTC)
Double redirect templates
I just redirected {{Infobox Asiad}} and {{Infobox Universiade}} to {{Infobox games}}. Unfortunately, this has left some double-redirects, which of course fail. Do we have a bot that cleans them up, and if not can I get some help from someone with AWB or suchlike? (I cant run AWB on my netbook). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 00:45, 3 March 2012 (UTC)
- See Special:DoubleRedirects: "It is usually not necessary to fix these by hand. Bots will go through the entire list periodically and fix all of the double redirects, except for protected pages." One bot that fixes double redirects is タチコマ robot (talk · contribs). Goodvac (talk) 00:51, 3 March 2012 (UTC)
- That's a relief, Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 01:01, 3 March 2012 (UTC)
- There aren't that many redirects involved, and when I first went to that list only one was a double redirect, which I have fixed without any fancy tools. --Redrose64 (talk) 23:16, 3 March 2012 (UTC)
- That's a relief, Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 01:01, 3 March 2012 (UTC)
CSS pages not loading
This is a strange problem I've just been having now (on Monobook). Some parts of the page fail to load completely. The top bar is on the side, the big globe doesn't show up, and the page looks strangely stripped. This used to just happen in the article space (Main Page and VPT were OK), but nwo it's happening on the "new section" VPT page. hbdragon88 (talk) 05:29, 3 March 2012 (UTC)
- Hmm, nothings happening with me in monobook. Have you tried removing all the scripts in your script files and adding them back in one-by-one to see if it is one (or the combination) of them causing the problem, as script files have caused several things not to display properly for me in the past.--Gilderien Talk|Contribs 22:02, 3 March 2012 (UTC)
- Got it. It worked fine in Firefox, so I cleared the cookies and cache in Opera, and now it renders correctly. hbdragon88 (talk) 00:06, 4 March 2012 (UTC)
New Page Triage
Hey guys! Just a note to say we've put the first bits of material about New Page Triage, the new patrolling interface, live. This includes a dedicated plan for engaging the community; if you have questions, suggestions or ideas, please get involved :). Okeyes (WMF) (talk) 15:30, 3 March 2012 (UTC)
Accolades ??
Moved to Wikipedia:Village pump (miscellaneous)#Accolades ?? — Preceding unsigned comment added by JohnnyMrNinja (talk • contribs) 17:50, 3 March 2012 (UTC)
Templates for Displaying Military Ribbons/Medals as Worn?
Are there any templates for displaying a user's military ribbons and medals as worn on his uniform? If not, how can I do it? User:Gadget850 said that he uses the template "Quote box" to place ribbons into. Is that good, or is there a better way? Thank you. Allen (talk) 17:27, 3 March 2012 (UTC)
Aggregate pageviews for 10 different articles
I'm trying to compile a small dataset of the total pageviews articles I've created have received. I know I can use stats.grok.se, but it only pulls individual months (or 60/90 day periods) at a time. Is there a way to get more comprehensive data that doesn't involve querying the entire database? I'm not a coder. Thanks! Ocaasi t | c 17:34, 3 March 2012 (UTC)
- Does this help? Try changing the URL. No data is available before December 2007, unfortunately. - Jarry1250 [Deliberation needed] 22:54, 3 March 2012 (UTC)
- Look at the URL for a monthly stats page — you can see both the year and the month number. Simply delete the month number from the URL and it will give you stats for the whole year, as long as the servers were working without hiccups. Nyttend backup (talk) 04:06, 4 March 2012 (UTC)
- You mean on Grok? Shouldn't this work then? I've never managed to get the whole year in one go, hence the creation of the script I linked to above. - Jarry1250 [Deliberation needed] 11:15, 4 March 2012 (UTC)
- Thanks for the tips, folks. The 'removing the month' from the url trick doesn't work; it returns a 404 error. Jarry, I'm checking out your script. I think it could save me a lot of time. Ocaasi t | c 13:48, 4 March 2012 (UTC)
- You mean on Grok? Shouldn't this work then? I've never managed to get the whole year in one go, hence the creation of the script I linked to above. - Jarry1250 [Deliberation needed] 11:15, 4 March 2012 (UTC)
- Look at the URL for a monthly stats page — you can see both the year and the month number. Simply delete the month number from the URL and it will give you stats for the whole year, as long as the servers were working without hiccups. Nyttend backup (talk) 04:06, 4 March 2012 (UTC)
Interlanguage links
fr:Personne physique seems to have correct interlanguage links, but the linked articles (including English and German until I fixed them) link back to fr:Personne morale. These wrong links seemed to have been inserted by a bot. Is there a way to get a bot to fix all of them instead of making them wrong? —teb728 t c 21:37, 3 March 2012 (UTC)
- See a relevant entry in this FAQ. Graham87 09:39, 4 March 2012 (UTC)
- Thanks for that. Based on that the change I made might work by itself. However, the toolserver account for the linked tool has expired. —teb728 t c 10:22, 4 March 2012 (UTC)
Disabling Javascript
Is there code I can enter into User:All Hallow's Wraith/monobook.css in order to disable Javascript on Wikipedia? (without having to to so for my whole computer). I have a sinking feeling Javascript is behind why Wikipedia turned into a soul-suckingly slow monstrosity around roughly February 2011. All Hallow's Wraith (talk) 03:07, 4 March 2012 (UTC)
- CSS won't be able to do that. If you use Firefox, however, you can install YesScript or change your prefs.js (harder). There are probably extensions that can accomplish what you want for other browsers as well. Goodvac (talk) 03:27, 4 March 2012 (UTC)
- Opera has a toggle for turning on and off js in its quick preferences menu, and chrome was, last I checked, less annoying than firefox when it comes to its preferences (probably has addons too, but I dunno about that stuff), if you use either of those or are shopping around for browsers. — Isarra (talk) 08:37, 5 March 2012 (UTC)
Only half image in en:Wikipedia
Hi,
in en:WP/Falklands War appears only the half of the image File:Stanley.falklands.war.svg (search for "The road to Stanley"). Is it only my browser?. Can you see why isn't working?. --Best regards, Keysanger (what?) 11:48, 4 March 2012 (UTC)
- Thanks for the report, should be fixed now if you refresh. - Jarry1250 [Deliberation needed] 12:05, 4 March 2012 (UTC)
- S u p e r !! It's working. --Best regards, Keysanger (what?) 14:30, 4 March 2012 (UTC)
Cannot view some edit filter triggering events
It seems that some of Special:AbuseLog's entries are no longer visible to everyone, because some simply say "<IP or user> triggered an edit filter on <page>", without the "details" or "examine" links. It makes it a hassle for me to review reports at WP:Edit filter/False positives/Reports.Jasper Deng (talk) 19:47, 4 March 2012 (UTC)
- I'm an admin and don't see entries like that in the last 5000 entries at Special:AbuseLog. If I log out then I see it for some entries, for example the most recent at [10] but not the 4 others. The hidden entry is for a filter which enables "Hide details of this filter from public view". This feature is for example enabled in Special:AbuseFilter/384 and disabled in Special:AbuseFilter/432. I don't know whether non-admins used to be able see more in log entries for non-public filters. Wikipedia:Edit filter has said for a long time: "Log entries are viewable by all users, and while filters are by default publicly viewable, others are set to be private. For all filters, including those hidden from public view, a brief, general summary of what the rule targets will be available, and displayed in the log, the list of active filters, and in any error messages generated by the filter." PrimeHunter (talk) 21:58, 4 March 2012 (UTC)
- The problem is that I can't see filter triggering; should I just apply to be an edit filter manager to be able to view those entries?Jasper Deng (talk) 02:03, 5 March 2012 (UTC)
- May be related to this. Sole Soul (talk) 03:56, 5 March 2012 (UTC)
- The problem is that I can't see filter triggering; should I just apply to be an edit filter manager to be able to view those entries?Jasper Deng (talk) 02:03, 5 March 2012 (UTC)
Remember password - 180 days from 30 days?
I'm sure this used to be flagged at 30 days, but now it's 180 days. Why? Lugnuts (talk) 07:48, 5 March 2012 (UTC)
- Yes, it was one of the changes in MediaWiki 1.19, as noted in the release notes under the section Configuration changes in 1.19. Looks like the reason for the change was
Bumped $wgCookieExpiration to 180 days, we were one of the sites with shortest cookie lifetime for too long. This was discussed at lengths about a year ago on wikitech-l, however nobody cared to implement the suggested alternative solutions. Probably because they were overcomplicated and solved only parts of the problem
[11] - Kingpin13 (talk) 08:24, 5 March 2012 (UTC) - Thanks KP. Lugnuts (talk) 08:46, 5 March 2012 (UTC)
Wikitable class
I've created my User:Sameboat/vector.css to change the look of the wikitable class table. But no matter how many times I purge and refresh, the look of the wikitable just won't change. Is there something wrong with my css? I'm using Vector skin really. -- Sameboat - 同舟 (talk) 10:26, 5 March 2012 (UTC)
- Have you tried !important? Ruslik_Zero 12:22, 5 March 2012 (UTC)
- (edit conflict) I see you're trying to change the color of the borders. The rule for changing the border of the
<table>
element is correct, but has no effect since the borders are set to 'collapse' which causes the border colors set on the individual cells override it. The rule changing the color of the border for the cells is not working because the selector for the cells,table.wikitable td, table.wikitable th
, has a lower "specificity" than the rule in the site CSS,table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td
. Your best bet would be to copy that selector. Anomie⚔ 12:25, 5 March 2012 (UTC)- Thx you guys. The !important works which I didn't know it before. -- Sameboat - 同舟 (talk) 12:48, 5 March 2012 (UTC)
- !important is also something to be avoided however; it is a last resort. The proper way is to use the proper selector to target the part of the layout that needs to be targeted. For instance, your definition might also override certain inline CSS styling in articles which you would like to see and normally expect to be applied, even with your changes. It will target more parts of the layout than wikitable would otherwise target. The reason the selector of wikitable is so specific is exactly to avoid such unwanted behavior. just so you know.... —TheDJ (talk • contribs) 00:00, 6 March 2012 (UTC)
- Thx for the knowledge. I tried the selector and works for me too. -- Sameboat - 同舟 (talk) 01:18, 6 March 2012 (UTC)
- !important is also something to be avoided however; it is a last resort. The proper way is to use the proper selector to target the part of the layout that needs to be targeted. For instance, your definition might also override certain inline CSS styling in articles which you would like to see and normally expect to be applied, even with your changes. It will target more parts of the layout than wikitable would otherwise target. The reason the selector of wikitable is so specific is exactly to avoid such unwanted behavior. just so you know.... —TheDJ (talk • contribs) 00:00, 6 March 2012 (UTC)
- Thx you guys. The !important works which I didn't know it before. -- Sameboat - 同舟 (talk) 12:48, 5 March 2012 (UTC)
Strange HotCat bug
I reported this several months ago, but do not recall receiving a response. After making an edit, saving it, and then removing a category using HotCat, the previous edit I made is reversed, as can be seen in this diff. Does anyone have any idea why this happens, and, more importantly, how it can be corrected? Thanks! ---RepublicanJacobiteTheFortyFive 19:21, 5 March 2012 (UTC)
Invitation to help test the new MediaWiki extension for the Education Program
Our developers have been working hard to integrate certain elements of the Wikipedia Education Program into MediaWiki. If anyone is interested in helping test the new extension, click here to get started.
Thanks, Rob SchnautZ (WMF) (talk • contribs) 19:21, 5 March 2012 (UTC)
Can we get talk archives to point to the main?
Check out this archive page. Note that the "Article" link in the upper left does not point to the main article page. Is this fixable? Maury Markowitz (talk) 21:52, 5 March 2012 (UTC)
- Fully agree - when on an archive page and wanting to check back to what the article currently says it leads to an article creation page for Subject:Archive. I cannot envisage any instance where we would want an article page solely relating to the archive - archive pages should link back to the actual article to facilitate checking archives against the current version. - Arjayay (talk) 21:57, 5 March 2012 (UTC)
- Technically, there currently is no such thing as an archive page. Technically, there is only a talk page that functions as an archive of discussion that took place on another talk page, which might or might not be bound to a specific "non-talk" page. Which is why you observe the behavior you describe. Options; Status quo, Javascript hack, Liquid threads or changes into the core software (of which most developers will probably say: "better wait for LQT-nextgen"). —TheDJ (talk • contribs) 23:49, 5 March 2012 (UTC)
How crazy is the JS option? I've never personally considered LT to be a solution for anything. Maury Markowitz (talk) 01:02, 6 March 2012 (UTC)
- How about just using a bot to create a "nonprintworthy" redirect to the actual article, for each missing mainspace page that corresponds to a talkspace subpage? — Richardguk (talk) 02:19, 6 March 2012 (UTC)
- Wouldn't that cause the search box to autosuggest non-articles likeCANDU reactor/Archive 1? That's not desirable at all. Reach Out to the Truth 02:50, 6 March 2012 (UTC)
JS would be something like this:
if(mw.config.get('wgNamespaceNumber') == 1) {
if($('#ca-nstab-main').hasClass('new')) {
$('#ca-nstab-main').children('a').attr('href', '//en.wikipedia.org/wiki/' + mw.config.get('wgPageName').split('/')[0].replace('Talk:', ''));
$('#ca-nstab-main').children('a').css('color','#002bb8');
}
}
but I'm a JS novice and this is rather verbose, so there's probably a better way to do it. Goodvac (talk) 05:52, 6 March 2012 (UTC)
And where does the link go when you're on Talk:Article/sandbox? This isn't something that needs to be fixed, because it's not broken—just follow the breadcrumb links back to the main talk page. — Bility (talk) 16:31, 6 March 2012 (UTC)
- I think it is. A non-expert user clicking the button will be left in a blank editor, with no "breadcrumbs". Only those with some a posteriori knowledge of the layout will be able to know what to do. After all, it confused me, and that's saying something. Maury Markowitz (talk) 17:10, 6 March 2012 (UTC)
- If we really wanted to deploy a JS hack, it would have to be a bit smarter that this. I'd propose loading on all talk pages. I'd add a recognizable classname to all archive page headers and then conditionally upon that change the link. The below code is untested, and not working, but it's an adequate representation of the idea I have. There are probably some JS functions in the new RL core to better deal with these page titles, and the talk -> nontalk page switch. —TheDJ (talk • contribs) 23:27, 6 March 2012 (UTC)
if((mw.config.get('wgNamespaceNumber')%2) == 1) {
if($('#ca-nstab-main').hasClass('new') && $('.mbox .archiveheader').length > 0) {
$('#ca-nstab-main').children('a').attr('href', mw.config.get('wgArticlePath').replace('$1', encodeURI( mw.config.get('wgPageName').split('/')[0].replace('_talk:', '').replace('Talk:', '')) ));
$('#ca-nstab-main').removeClass('new');
}
}
- Or the user will hit the back button in their browser, follow the breadcrumbs and realize how talk pages work. If it's a gadget or userscript that's fine with me, I just wouldn't personally want to add to Wikipedia's already bloated JS. — Bility (talk) 00:04, 7 March 2012 (UTC)
Infobox public organisation
I've made {{Infobox public organisation}} into a wrapper for {{Infobox organization}}, but they handle images differently (see Historic Scotland). Is there a fix, or is the only solution to edit the markup on each article transcluding it? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:04, 6 March 2012 (UTC)
- There's only 49 to fix, shouldn't take you long. Or you could add code similar to that in {{Infobox military person}} into Infobox organization to handle both image formats. -- WOSlinker (talk) 11:05, 6 March 2012 (UTC)
Problems with display of titles
A very strange problems has arose for me on Wikipedia. On every page the title displays as Page Title, where page title is the title of that page. It has been going on for about a week and a half now. I didn't bother coming here until now, because it hadn't annoyed me enough. This problem occurs on every page, including my watchlist, preferences, and contributions pages. I checked on article pages and there is no span tags around any titles at the top of the page or the bottom. Don't know how to fix it or what is going on, and looking for a little help.--NavyBlue84 14:01, 6 March 2012 (UTC)
- See the section #Odd article headers, further up. -- John of Reading (talk) 14:23, 6 March 2012 (UTC)
- This has come up several times before, so I've added an entry to the FAQ. --Redrose64 (talk) 15:24, 6 March 2012 (UTC)
- Sent a tweet about this to StumbleUpon. Might help, you never know these days. —TheDJ (talk • contribs) 23:06, 6 March 2012 (UTC)
- Wow, an actual answer: "@dj_hartman Hello, this is a known issue and we are working on a fix. Thanks for writing to us." —TheDJ (talk • contribs) 18:44, 7 March 2012 (UTC)
- Sent a tweet about this to StumbleUpon. Might help, you never know these days. —TheDJ (talk • contribs) 23:06, 6 March 2012 (UTC)
- This has come up several times before, so I've added an entry to the FAQ. --Redrose64 (talk) 15:24, 6 March 2012 (UTC)
embedded blank
There is a problem with an embedded blank showing up where there should be none. Look to the 2nd paragraph beyond the one you are reading, then back up one paragraph to learn how I arrived there.
I didn't think I should use the "Talk -- Main Page" for this, but there is no place I can comment about a format problem turning up when I go to a "Special Page". When I enter "groer" (no quotation marks) in the search prompt on the main page, I get taken to a special page which says there is no page called "groer" (that's OK), and provides some possible entries, including the one about the now-deceased Cardinal from Austria which is included below (at bottom of message you are reading) with some line breaks lost when I copied and pasted.
THE REASON I AM WRITING is that I have been noticing an embedded blank (in the example included here, it turned up in the word "Austrian") on such Special Pages. Why is that embedded blank showing up? Here is the output I am asking about:
Hans Hermann Groër Hans Hermann Wilhelm Groër, OSB (1919-2003) was an Austria n Cardinal of the Roman Catholic Church . He served as Archbishop of Vienna ... — Preceding unsigned comment added by 128.63.16.82 (talk) 17:15, 6 March 2012 (UTC)
- It's a typo. Feel free to correct it in the article. Welcome to Wikipedia, by the way. I hope you like it and decide to stay! Bob the WikipediaN (talk • contribs) 18:05, 6 March 2012 (UTC)
- It's not a typo. It's related to the way wiki links can be made. If you look at the wikitext of the article in question you'll notice that the relevant bit of text is [[Austria]]n which displays in a page fine like so: Austrian. It would appear that search strips the square brackets and adds a space. As such I suspect this is a minor bug in search. Dpmuk (talk) 18:17, 6 March 2012 (UTC)
- To clarify where the space shows, see here. --Redrose64 (talk) 19:58, 6 March 2012 (UTC)
- Ticket filed in bugzilla. —TheDJ (talk • contribs) 22:58, 6 March 2012 (UTC)
- To clarify where the space shows, see here. --Redrose64 (talk) 19:58, 6 March 2012 (UTC)
- It's not a typo. It's related to the way wiki links can be made. If you look at the wikitext of the article in question you'll notice that the relevant bit of text is [[Austria]]n which displays in a page fine like so: Austrian. It would appear that search strips the square brackets and adds a space. As such I suspect this is a minor bug in search. Dpmuk (talk) 18:17, 6 March 2012 (UTC)
- Suffix gaps in Search are a feature not a bug: Wait a minute, I like seeing Wikisearch results show "Austria n" for "[[Austria]]n", and an editor could write "[[Austria|Austrian]]" to avoid the suffix gap at "n". One's man's bug is another man's special feature. I worry that changes to Wikisearch will also hide "abbr=on" in searches to detect "{{convert|2|km|mi|abbr=on}}" where a new "bugfix" would prevent searching for "abbr=on" in that manner. Be sure to consider a new option such as "Classic Wikisearch" to retain the old "features" because too many things have gone wrong in efforts to drop support for old browsers, or jump-start new gadgets that few editors use. I wish Wikipedia still worked like it did back in January 2011, and BTW, I do not need autocompletion of words entered for Wikisearch. However, if the developers are bored, I would like them to write a WP:Parser function to insert a real &minus sign in "-50.0400" or "-5,000,200,000,000" and retain the trailing zeroes and not reformat as scientific notation, -5.0002E+12 and such. Also, everyone knows we need "{{set:xk|45}}" to set a parameter "xk" to have value "45" during the evaluation of a transcluded template. -Wikid77 (talk) 23:55, 6 March 2012 (UTC)
At this writing, I have gone back to the article itself (about Hans Hermann Gro:er), where I see "Austrian", with the cursor showing that it contains a pointer to "Austria" article. When I go into edit mode in that article (with no plans to change anything), I am seeing "Austrian". — Preceding unsigned comment added by 128.63.16.82 (talk) 16:41, 8 March 2012 (UTC)
- Yes, that is correct, see Help:Link#Wikilinks (third example), also the comment above by Dpmuk 18:17, 6 March 2012. --Redrose64 (talk) 16:57, 8 March 2012 (UTC)
Collapsible Sections
Hi. Is there a way to have collapsible sections without using the navbar? i.e. be able to collapse the text underneath == Heading 1 ==
so only the heading is visible unless you click the [Show] link. Thanks, Jhfireboy Talk 01:29, 7 March 2012 (UTC)
- Hi. Not sure, but isn't it Template:Collapse you're referring to? Rehman 06:30, 7 March 2012 (UTC)
- If you intend to use collapsible sections on an article page, please observe MOS:COLLAPSE. --Redrose64 (talk) 11:15, 7 March 2012 (UTC)
- You can also try the "new" plugin jQuery.makeCollapsible from MediaWiki 1.18. See:
- Helder 01:52, 8 March 2012 (UTC)
Template help
Please assist There are a variety of English variant templates (e.g. {{British English editnotice}}, which links most, if not all of them at the bottom) and they are themselves composed of templates within templates and transcluded documentation pages. The problem is that the doc pages produce text of the sort (e.g.) "Placing this template will also add the page to Category:Articles which use British English", when in reality, the proper categories are of the sort Category:Wikipedia articles that use British English. I can't figure out the byzantine architecture of these templates to fix this. Help? —Justin (koavf)❤T☮C☺M☯ 07:31, 7 March 2012 (UTC)
- Fixed. Also fixed some link errors in your post. Goodvac (talk) 07:41, 7 March 2012 (UTC)
Can somebody fix the infobox?♦ Dr. Blofeld 13:39, 7 March 2012 (UTC)
- Done, see here. --Redrose64 (talk) 13:46, 7 March 2012 (UTC)
Request for implementation of search=yes in Template:Talkheader (consensus support apparently achieved)
Could someone please take a quick look at Template talk:Talk header#RE: New feature for Template:Talkheader? Thanks. -- Trevj (talk) 14:17, 7 March 2012 (UTC)
Hi. I can't seem to get the references working on this template. I have set up an #if decision where is there is no reference written then it won't show the reference at all. That works, but the reference is blank when you view it on an article. Many thanks, Jhfireboy Talk 20:31, 7 March 2012 (UTC)
- Fixed You can't use variables in parser tags. You can use #tag:ref, or more simply {{refn}} which implements it more easily. You really need to use a group name, else you risk mixing the table references with the main references. ---— Gadget850 (Ed) talk 20:45, 7 March 2012 (UTC)
- How many of these weird little "I can't figure out
<ref>
or{{#tag:ref}}
" templates do we have now? {{r}}, {{refn}}, {{sfn}}, {{sfnm}}, {{sfnp}}, {{efn}} etc.? And they all break scripts and bots that deal with refs in wikitext, and are liable to confuse editors who have managed to figure out that references are in<ref>
but aren't familiar with these myriad templates. Anomie⚔ 23:26, 7 March 2012 (UTC)
- How many of these weird little "I can't figure out
- See the categories at Category:Citation templates, especially Category:Footnote templates. ---— Gadget850 (Ed) talk 23:36, 7 March 2012 (UTC)
How is wiki markup stripped from search results?
I've noticed that in Wikipedia search results, most wikitext markup is stripped in the text that provides context for the search hit. For example, if I'm searching for "Dog", on the entry for Dog in the search results I'll see something like "The domestic dog, Canis lupus familiaris is a subspecies of the gray wolf" in the search results, but the wiki text says something like "The '''domestic dog''', '''''Canis lupus familiaris''''',<ref>{{Cite|...}}...</ref> is a subspecies of the [[gray wolf]]". How do all those templates, tags, brackets for links, etc. get removed? When I search on many other MediaWiki wikis, I tend to see a lot of that markup in the search results, but in Wikipedia most of the markup is removed (I occasionally see some template parameters, but that's about it). Is there an extension or hook or something else that cleans up the search results? Or is there a way to configure MWSearch to return cleaner results? --Llarq (talk) 22:06, 7 March 2012 (UTC)
- The lucene backend does that, but I'm not sure how. It's 'somewhere in here' http://svn.wikimedia.org/svnroot/mediawiki/trunk/lucene-search-2/ —TheDJ (talk • contribs) 11:56, 8 March 2012 (UTC)
Problem with Wikipedia:Database reports/Broken redirects
Can anybody work out why the bot keeps listing Hexxen, Hexen, and File:Star.jpg as being broken redirects (redirects to red links), despite all three appearing to be perfectly functional? It's been doing it for a few days, so I suppose it's not impossible that it's related to the 1.19 rollout. Thanks, HJ Mitchell | Penny for your thoughts? 02:11, 8 March 2012 (UTC)
- Your best bet is probably to ask User:MZMcBride, since the entire DBR thing is pretty much his baby--Jac16888 Talk 02:23, 8 March 2012 (UTC)
- Sorry, kept getting distracted on my way over here. I've just posted to toolserver-l about this. --MZMcBride (talk) 06:00, 8 March 2012 (UTC)
- I posted again: <http://lists.wikimedia.org/pipermail/toolserver-l/2012-March/004795.html>. --MZMcBride (talk) 06:16, 8 March 2012 (UTC)
As for Hexen, those things redirect to Hexen: Beyond Heretic, which has pageid 13612. But on Toolserver, I get this:
mysql> select page_title from page where page_id = 13612; +-----------------------+ | page_title | +-----------------------+ | HeXen:_Beyond_Heretic | +-----------------------+ 1 row in set (0.00 sec)
I'll try to fix it by moving the page to the form with X capitalized and back. Ucucha (talk) 12:35, 8 March 2012 (UTC)
- OK, that seems to have fixed it, at least in the Toolserver database. Ucucha (talk) 12:36, 8 March 2012 (UTC)
Page width in browser
Until recently I used to have an old 4:3 aspect ratio laptop. I permanently ran IE in a maximised window; and I think in about ten years I needed to resize it about three times. Now I have one of these 16:9 ratio screens, which are stupidly unergonomic for anything other than watching videos, and I seem to spend half my life fiddling around with window size and zoom adjustments just to get something I can read comfortably. Some websites seem to need a big width to avoid the need to scroll horizontally (which is horrible and to be avoided), and yet when a Wikipedia page is displayed in the same window, the lines are ridiculously long and very hard to read. Which brings me to my point about Wikipedia. Given the ubiquity of these stupid 16:9 screens, should we have a preset maximum width of a Wikipedia page, so that you can maximise the browser window and have an article displayed, perhaps centred, at a reasonable size, with suitably-sized blank margins either side? [12] is an example of what I mean. IMO this is a better idea than letting line lengths extend indefinitely. 86.146.109.211 (talk) 00:01, 9 March 2012 (UTC)
Search for extension?
I want to clean up some timelines, but I need to learn how to use the legend attribute. I thought it would be easiest to look at some existing examples. I tried searching for <timeline>, but search will look for the rendered text, not the code. Is there a way to search for articles using the WP:TIMELINE extension?--SPhilbrick(Talk) 13:02, 9 March 2012 (UTC)
- It also searches the code but timeline and legend are common words. Search legend in combination with a special term used in timelines, for example ScaleMajor: http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=legend+ScaleMajor+&fulltext=Search. PrimeHunter (talk) 13:21, 9 March 2012 (UTC)
- Thanks, that was quick, I see some examples which will help.--SPhilbrick(Talk) 13:28, 9 March 2012 (UTC)
AWB screen-size bug
Do we have any coders who might be able to assist in resolving this frustrating AWB bug, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:49, 9 March 2012 (UTC)
Unicode font access
Does anyone know (or know how to find out) what proportion of users have access to Unicode fonts built into their operating system? Such users would, for example, be able to see this: ფირცხალაიშვილი as Georgian script without doing anything special. Wikimedia has access statistics for 2011, including breakdown by operating system, but I don't know which of those will be able to display the script, so I can't produce an overall figure. Thanks, Rd232 talk 21:25, 9 March 2012 (UTC)
- I am not an expert, but isn't "access to Unicode fonts" too vague to be useful? I have "access to Unicode fonts" in the sense that most scripts (including the Georgian above) display OK, but I still sometimes see square boxes because the fonts do not have that particular character. In fact, I think few fonts would support every single character defined by Unicode. 86.146.109.211 (talk) 23:40, 9 March 2012 (UTC)
- There are varying combinations too. For example, Chinese, Japanese and several other Asian fonts render just fine for me; but a frequent contributor to this page has ⚔ as their talk page link, and for me that's a square containing the numbers 25 and 94. My mother's laptop, on the other hand, cannot produce Chinese or Japanese script, but renders Anomie's talk page link just as it's supposed to look. --Redrose64 (talk) 14:10, 10 March 2012 (UTC)
I see. Well, the background to this is that there is an issue on Commons on whether there are circumstances (if so, what) where text in image form can be kept because it's useful for some people. Generally, it's assumed that people can see (most?) Unicode text, and that therefore text in image form is completely unnecessary, and it's subject to deletion. I'm just trying to get a bit more information about how widely that assumption holds. Rd232 talk 16:27, 10 March 2012 (UTC)
New Page Triage
Hey guys :). As previously mentioned in a few places, the Foundation has started work on our new patrolling software: New Page Triage. I'm posting updated specifications in a few hours, and I'd really advise everyone who is interested in page patrolling to head over to the talkpage, comment on the suggestions on the page already and the additional ideas the community has come up with.
We've also got an office hours session next Tuesday, the 13th, at 19:00 UTC (that's 12:00 PST, for the west-coast Americans around ;p). If you can make it, it's on IRC in #wikimedia-office. If you can't, drop me a line on my talkpage and I'm happy to send you the logs once we're done :). Regards, Okeyes (WMF) (talk) 21:43, 9 March 2012 (UTC)
I ruined a userbox
This user assumes good faith. |
It used to say "This user assumes good faith" but then I decided to add "inside and outside of Wikipedia". I worked, but the wikicode got all messed up. I'm hoping I'll get a message about someone reverting it. Any help?
30xelawalex03 (talk) 13:48, 10 March 2012 (UTC)
- I've reverted it for you. In general, you shouldn't really change existing userboxes that are already used by lots of people, as you might be changing them to something unexpected that the people using them do not want. If you want a variation on a userbox, it's better to create an entirely new one. -- Boing! said Zebedee (talk) 13:51, 10 March 2012 (UTC)
I talked on the talk page a bit, and I noticed I pointed out this to another editor there. The conversation can be seen here. He saw my point, and if there are third-party reliable sources, then that age me the green light to go ahead and divide the episodes into seasons. So I made myself a preview, but it didn't work smoothly. If you clicked the link that said "here" you would even see I noted I couldn't work up the wikicode to do it. Any help?
30xelawalex03 (talk) 13:55, 10 March 2012 (UTC)
NewDiff gadget updated
The NewDiff gadget has been updated and is now based on r133098, designed by Trevor Parscal, which is currently in trunk, with some minor adjustments. Comments welcome. — Edokter (talk) — 14:54, 10 March 2012 (UTC)
- I noticed it this morning. So far, I like it. ---— Gadget850 (Ed) talk 14:56, 10 March 2012 (UTC)
Cleanup category population
Can someone explain why Category:All articles with trivia sections is empty, but there are over 200 articles in the by-month subcats of Category:Articles with trivia sections? Shouldn't the former include all of the articles in the latter? Nikkimaria (talk) 23:12, 1 March 2012 (UTC)
- Yes, it should. In {{trivia}}, the code
{{DMCA|Articles with trivia sections|from|{{{date|}}}}}
should be changed to{{DMCA|Articles with trivia sections|from|{{{date|}}}|All articles with trivia sections}}
. The bolded part is parameter 4 of {{DMCA}}. Goodvac (talk) 23:24, 1 March 2012 (UTC) - It was added back when the category was created, and was removed at the beginning of the year. — Bility (talk) 23:31, 1 March 2012 (UTC)
- I've notified Rich Farmbrough (talk · contribs) of this thread. Goodvac (talk) 23:47, 1 March 2012 (UTC)
- Yes I reverted Drilnoth's bold adding of the category. We have enough of these categories as it is, they clutter the hidden category list, see picture. Rich Farmbrough, 09:38, 2 March 2012 (UTC).
- ...in some extreme cases, but most articles have only two or four of these (and they are hidden for a reason). Removing some of the excessive tagging from such pages is more helpful than removing the cat from all of them. Fram (talk) 12:04, 2 March 2012 (UTC)
- OK, do you patrol problematic categories? Do you even have the display of hidden categories turned on? Working with these categories day in, day out, the multiplication of categories is a problem, and the reasons for having "all" categories are largely or entirely obsolete. Rich Farmbrough, 13:52, 2 March 2012 (UTC).
- Yes I do, and yes I have. That you don't have a use for these "all" categories doesn't mean that they are not needed or useful for other people. Fram (talk) 14:46, 2 March 2012 (UTC)
- Yes I reverted Drilnoth's bold adding of the category. We have enough of these categories as it is, they clutter the hidden category list, see picture. Rich Farmbrough, 09:38, 2 March 2012 (UTC).
- I've notified Rich Farmbrough (talk · contribs) of this thread. Goodvac (talk) 23:47, 1 March 2012 (UTC)
I've undone the removal of the "all" category, until there is actual consensus that it isn't wanted. Fram (talk) 07:58, 2 March 2012 (UTC)
- Likewise I undid the addition of the "all" category until there was consensus that it was wanted. It's supposed to be BRD, not BRRD. Rich Farmbrough, 13:52, 2 March 2012 (UTC).
- BRD hardly applies anymore when you revert a change that's over two years old (from October 2009) ... I presume you somehow missed this one when you removed the same type of "all" cat from many other maintenance categories in October 2010, and got swiftly reverted then? If you want some precedent to show that there is no consensus for your actions, you can check two CfD's you participated in, Wikipedia:Categories for discussion/Log/2010 December 12#Category:All articles with unsourced statements and Wikipedia:Categories for discussion/Log/2010 December 13#Category:All articles to be expanded. You've had the "D" part of BRD already, and it didn't turn out in your favor. Fram (talk) 14:46, 2 March 2012 (UTC)
- You can presume what you like, and doubtless will. The reasons you gave for keeping them then are as wrong now (or more so). Rich Farmbrough, 20:09, 3 March 2012 (UTC).
These still don't add up - 102 pages in the "all" category, but the by-months add up to 173. I've tried purging the cache and the numbers stay the same. Nikkimaria (talk) 22:54, 11 March 2012 (UTC)
- Two reasons - (i) if an article has two
{{Trivia}}
with different dates, it will appear in two by-month categories but will be in Category:All articles with trivia sections just once; (ii){{multiple issues|trivia=date}}
doesn't populate Category:All articles with trivia sections but only the by-month cat. --Redrose64 (talk) 17:16, 12 March 2012 (UTC)
What's up with the "Special:Export" links?
I looked at the Top Ten list at Wikipedia:Reader (source [13]) which is bizarrely topped by two rather obscure people, Robert L. Bradley, Jr. and William Kurtz Wimsatt, in a "Special:Export" mode. The pages themselves are viewed 337 times/30 days and 6 times/30 days. Was this some kind of DDOS attack with a random target, or can the export feature be otherwise abused by specific people? Wnt (talk) 20:35, 8 March 2012 (UTC)
- I don't know what happened there. Not that this addresses what those guys are doing on the list at all, but from the content it looks like a December 2010 list, rather than May 2011 as Wikipedia:Reader says. --SubSeven (talk) 22:19, 10 March 2012 (UTC)
Converting Spreadsheets Into Tables
Is there any way to convert a Microsoft Excel or OpenOffice.org Calc spreadsheets into Wikipedia tables? Allen (talk) 17:49, 10 March 2012 (UTC)
- I use Helferlein's macro regularly. (See first entry in external links). It works fine, but if someone has better options, I'm listening.--SPhilbrick(Talk) 20:09, 10 March 2012 (UTC)
- I have an OpenOffice.org Calc spreadsheet, and I want to convert it into a table that I can put on Wikipedia. However, I want to preserve as much of the formatting (font family, font size, text color, etc.) as possible. If not, I would like to know the wiki code for the formatting. If you know how to do what I would like, I would appreciate it. Allen (talk) 20:52, 10 March 2012 (UTC)
Weird thumbnail errors
at Old Finch Avenue Bailey Bridge, the image thumbnail in the infobox seems to be only half loading for me and several others. The full size image loads fine, as does the File: page... It's just the thumbnail. A similar problem occurs for me at Ontario Highway 420, where the image on the right directly below the infobox appears slanted. I uploaded a rotated correrction to this image several months ago, but the image won't update. Any insights? - ʄɭoʏɗiaɲ τ ¢ 18:06, 10 March 2012 (UTC)
- I purged both images, so the entire image should show. I think this is related to Wikipedia:Village pump (technical)/Archive 97#How to regenerate an image thumbnail?. Goodvac (talk) 18:45, 10 March 2012 (UTC)
- According to Signpost the thumbnail stuff is being futzed with even now. Rich Farmbrough, 23:16, 10 March 2012 (UTC).
- According to Signpost the thumbnail stuff is being futzed with even now. Rich Farmbrough, 23:16, 10 March 2012 (UTC).
Adding a confirmation dialog to the watchlist rollback link
One too many times I've accidently misclicked a rollback link in my watchlist, either on my narrow mobile phone which makes each entry on my watchlist occupy several lines and can lead to misclicks, or because I am meaning to hit one of the links immediately next to it. Stopping your browser after clicking the link makes no difference if you have any decent-speed internet service. When viewing a diff, I believe twinkle or some other add-on introduces three rollback links (AGF and vandalism are two of these rollback links), and these all bring up a dialog box that makes you confirm that you want to rollback and allow you to enter a reason in one instance. Can this be added to the watchlist link to prevent misclicks? - ʄɭoʏɗiaɲ τ ¢ 02:06, 11 March 2012 (UTC)
- Suitable as a js gadget if someone writes it. Prodego talk 02:07, 11 March 2012 (UTC)
- There are several scripts listed at Wikipedia:Cleaning up vandalism/Tools#Rollback tools. -- John of Reading (talk) 14:14, 11 March 2012 (UTC)
Delay in updating Search Index
Yet again, the search index has failed to update for at least three days.
Help:Searching#Delay_in_updating_the_search_index says this should be reported here. These backlogs frustrate us WikiGnomes in our tidying up, and we get a huge backlog of spelling, grammar and other mistakes to correct when it is eventually updated. Any idea when it might be updated?
Arjayay (talk) 18:58, 11 March 2012 (UTC)
- Thanks for reporting the bug! I have submitted it as bug 35160. --rainman (talk) 21:48, 11 March 2012 (UTC)
References Search
Is there any way of search Wikipedias references/citations for particular authors, journals, publications etc. as references seem currently to be excluded from the "everything" search option.--Gilderien Talk|Contribs 21:54, 11 March 2012 (UTC)
- References are written in the main namespace which is searched by default, but if you put quotes around an author name then you may miss citation templates which separate the first and last name in the page source. I don't know a way to search only the references in the mainspace and not the normal article text. "Everything" means all namespaces so it will give you more "false" hits than the default search. PrimeHunter (talk) 00:19, 12 March 2012 (UTC)
Changing font
How do you change font in a table? I am trying to import an OpenOffice.org Calc spreadsheet to use in Wikipedia. I want it to look the most like the spreadsheet as possible. Allen (talk) 23:57, 11 March 2012 (UTC)
- [www.w3schools.com/css/css_font.asp CSS Font], at w3schools. Apply as "style="font: foo"" to the table element of the table. --Izno (talk) 00:05, 12 March 2012 (UTC)
- You have already received advice at Wikipedia:Help desk#Changing font. If you go ahead and add a mainspace table with various fonts for no other reason than to make the text look different from normal articles then other editors may remove the fonts. PrimeHunter (talk) 00:12, 12 March 2012 (UTC)
- First, what does the "www.w3schools.com" thing do?
- Second, yes, I have asked this on the Help desk, but they haven't really given me any decent advice.
- Third, you misunderstood me. The table is not in the mainspace. It is one of my user pages (User:Morriswa/Highways). The reason I use different fonts is to more easily identify each kind of highway in the list. I could upload a copy of it so you could see what I mean. Allen (talk) 00:49, 12 March 2012 (UTC)
- Izno posted an incomplete link to http://www.w3schools.com/css/css_font.asp. My help desk reply included the link <font> which isn't about Wikipedia and is deprecated as mentioned, but it currently works at Wikipedia for readers whose browser support it. PrimeHunter (talk) 01:10, 12 March 2012 (UTC)
- I'm still no closer to getting this done. I'm trying to go through the table manually, but that will take forever. Also, I don't know how to format some things, such as changing fonts. Allen (talk) 01:37, 12 March 2012 (UTC)
- Are you planning to move or copy User:Morriswa/Highways to a mainspace article? If no then why do you care so much about the fonts? If yes then have you read the guidelines I linked which are against changing the font? Here is the deprecated <font>: The quick brown fox jumps over the lazy dog. 0123456789. Here is code going against Wikipedia:Manual of Style/Text formatting#Font family: The quick brown fox jumps over the lazy dog. 0123456789, The quick brown fox jumps over the lazy dog. 0123456789. PrimeHunter (talk) 02:19, 12 March 2012 (UTC)
- I'm still no closer to getting this done. I'm trying to go through the table manually, but that will take forever. Also, I don't know how to format some things, such as changing fonts. Allen (talk) 01:37, 12 March 2012 (UTC)
- Izno posted an incomplete link to http://www.w3schools.com/css/css_font.asp. My help desk reply included the link <font> which isn't about Wikipedia and is deprecated as mentioned, but it currently works at Wikipedia for readers whose browser support it. PrimeHunter (talk) 01:10, 12 March 2012 (UTC)
- You also posted at Help talk:Table#Questions; please see WP:MULTI. --Redrose64 (talk) 17:07, 12 March 2012 (UTC)
- And at the Teahouse.--ukexpat (talk) 18:59, 12 March 2012 (UTC)
Cuisinart statistics?
Is there any way that http://stats.grok.se/en/latest/Cuisinart can be accurate? Cuisinart was only edited four times last year, it has seven sentences, 1.7 KB, 2 refs, 2 ELs, a photo, and a navbox. How can it possibly get a million hits per month?
If it is accurate, where are those views coming from? If it's not, what is causing this? Npmay (talk) 11:00, 12 March 2012 (UTC)
- It's not consistent with the 5 AFT reviews the article's received. I've dropped a line at User talk:Henrik, better to watch there than here. Josh Parris 13:29, 12 March 2012 (UTC)
- I agree. Thank you. Since I discovered this in the squid log files which Henrik's software gets from Domas's software, I also asked at User talk:Midom#Cuisinart statistics seem wrong. Npmay (talk) 20:50, 12 March 2012 (UTC)
- I would not be surprised if it turns out some program somewhere is using that article to test network connectivity or something along those lines. Anomie⚔ 00:38, 13 March 2012 (UTC)
- Amazingly this is all coming from a single IP address, according to Domas:
- It is not "wrong" - someone is actively refreshing that page all the time. All requests are coming from single IP, and have referer header pointing to the product website. I guess they're inflating their stats that way :-) Domas Mituzas (talk) 08:47, 13 March 2012 (UTC)
- Sounds like someone needs a read-block. Npmay (talk) 16:24, 13 March 2012 (UTC)
- Amazingly this is all coming from a single IP address, according to Domas:
WikiProject Teahouse bot, help wanted.
Hi, I'm a host with WikiProject Teahouse, which is a supportive social and help space for new editors. The Teahouse is in pilot phase, and one of the main tasks of this period is reaching new editors to come and use the project. A helpful database report is available which creates a daily list of new but active editors (1 day, >10 edits; 4 days>20 edits). These lists are used for hosts to leave welcome and invitation messages on user talk pages.
The problem is that checking each page to see if there's been an invite previously made significantly slows down efficiency, and with 25 hosts aiming for a minimum of 500 invites per weak, that adds up in time costs. What would be amazing-great-phenomenal, is if someone with bot coding experience could whip up a simple machine to check the talk pages of the users on the database report, search for the word Teahouse, and then update an 'invited' column in the database report at regular intervals. I don't know how much time it would take, but it seems to be on the less complex end of things. Any help would be greatly appreciated by me, as well as the other Teahouse hosts. Or tips on who might be able to make such a thing. Thanks so much for your help and suggestions! Cheers, Ocaasi t | c 02:16, 13 March 2012 (UTC)
- Ask at WP:Bot requests, although I'd expect many who watch that page also watch this one. Anomie⚔ 02:55, 13 March 2012 (UTC)
- Thanks Anomie, will do. Ocaasi t | c 13:24, 13 March 2012 (UTC)
Template help needed
Help is needed, to add tracking categories to {{Geobox}}, please. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:22, 13 March 2012 (UTC)
Custom search for references and wikilinks
I was entertaining an idea that articles could have a custom search which allowed readers to dig through all of the references on the page, or all of the wikilinked articles. It just so happens that Google has an 'on the fly' custom search engine which can do just this (google.com/cse/tools/create_onthefly) but it's blacklisted. What are the issues involved here? Would a custom reference/wikilink search have to be open source? Could the Google custom search be taken off the blacklist? Is there interest in providing this type of focused search for articles? I personally think it would be a good asset for readers and editors as well, to help with research and verification. What do you think? Ocaasi t | c 17:52, 13 March 2012 (UTC)
- It was blacklisted in May 2007 because it was being used for spam in some manner; see meta:Talk:Spam blacklist/Archives/2007-04#Referral Profiteering?. Anomie⚔ 18:17, 13 March 2012 (UTC)
- I'm not planning to go around using it on articles without consensus, but it seems like the block was for an unrelated reason. How can I go about getting an exception to test this out (starting on my talk page). Ocaasi t | c 18:24, 13 March 2012 (UTC)
Blank archive page
I noticed Wikipedia:Village pump (technical)/Archive 84 blank and its HTML has the following:
<strong class="error"><span class="brokenref">Cite error: There are <code><ref></code> tags on this page, but the references will not show without a <code>{{Reflist}}</code> template or a <code><references /></code> tag; see the <span class="plainlinks"><a class="external text" href="//en.wikipedia.org/wiki/Help:Cite_errors/Cite_error_refs_without_references">help page</a></span>.</span></strong>
but it is not visible. Helder 20:10, 13 March 2012 (UTC)
- I've just WP:PURGEd it (link) and it displays OK now. The error message is still there at the bottom, it's because one of the sections has some
<ref>...</ref>
but there is no{{reflist|close=1}}
in the same section. --Redrose64 (talk) 20:59, 13 March 2012 (UTC)
Gadget Clock disappeared
The clock was visible earlier today. I just noticed it's totally disappeared from the top of my page. Is this gadget being worked on? I'm using Modern skin. Maile66 (talk) 21:07, 13 March 2012 (UTC)
- I see it in Vector, but not in Modern.--Gilderien Talk|Contribs 21:42, 13 March 2012 (UTC)
- I switched to Vector, and to MonoBook - not there for me on either one. Maybe something is being worked on. Maile66 (talk) 21:47, 13 March 2012 (UTC)
- (edit conflict) It's currently showing for me just fine in the good old faithful Monobook skin. —{|Retro00064|☎talk|✍contribs|} 21:49, 13 March 2012 (UTC).
- Im using modern and its there for me.Edinburgh Wanderer 21:50, 13 March 2012 (UTC)
- Try to clear your cache since it's working for everyone else. Goodvac (talk) 21:51, 13 March 2012 (UTC)
- It was NoScript, as it turns out. I adjusted the settings, and everything is fine. Maile66 (talk) 21:59, 13 March 2012 (UTC)
- (edit conflict) It's currently showing for me just fine in the good old faithful Monobook skin. —{|Retro00064|☎talk|✍contribs|} 21:49, 13 March 2012 (UTC).
- I switched to Vector, and to MonoBook - not there for me on either one. Maybe something is being worked on. Maile66 (talk) 21:47, 13 March 2012 (UTC)
Just me or is Commons really slow right now?
Is it just me or is the Commons and all media on it really slow right now? And it looks like images not on Commons but on Wikipedia are slow as well? And when I Google "commons" the first result is this? Gary King (talk · scripts) 02:44, 4 March 2012 (UTC)
- The Google results are weird. Can't figure out why that particular file is first... Rehman 06:35, 7 March 2012 (UTC)
- Does it appear as the first result for you as well, or is it just me? In all my years of using Google, I don't think I've ever seen a result so irrelevant... (even though it's obviously related in being on the Commons). Gary King (talk · scripts) 18:38, 12 March 2012 (UTC)
- Okay so the page finally disappeared from the results page. I guess something fixed itself. Gary King (talk · scripts) 19:43, 15 March 2012 (UTC)
single-cell static column
I <3 the numbered static column for use with sortable tables. I want to make a sortable table with a single thumbnail image of a map that takes up an entire static column (e.g., using rowspan) or even just make the image stick beside the table while still being accessible. Here is the example i've worked on: List of Perth suburbs#City_of_Armadale. I want it to include postcodes later on. I think if the numbered static column; which is complex; works then this should be easier. Warmest Regards, :)—thecurran Speak your mind my past 08:49, 13 March 2012 (UTC)
- This won't work. When you set the thumbnail's column to have
class="unsortable"
, and you go to sort one of the other columns, the image ends up being duplicated. It would seem to me to be easier to include the image outside the table. --Izno (talk) 14:13, 15 March 2012 (UTC)
One twin alive, one twin dead
Since an article about twins where one is still alive would be a BLP, how can we keep this from happening repeatedly with AWB? [14] [15] [16] 99.126.204.164 (talk) 07:03, 15 March 2012 (UTC)
- This might help. -- John of Reading (talk) 08:15, 15 March 2012 (UTC)
- Shouldn't the article also be in Category:Living people? I believe this is what AWB looks for. — HELLKNOWZ ▎TALK 08:25, 15 March 2012 (UTC)
Intermittent search problems
Re Wikipedia:Village pump (technical)/Archive 97#Intermittent search problems: it is happening again now: Searches finding no results multiple times and then finding many results. Mark Hurd (talk) 10:11, 15 March 2012 (UTC)
"Timeline" graph
Well, hello! Is there something like this kind of timeline for such graphs? If I'm not asking on the right page, then suggest me the right one, please. --Edgars2007 (Talk/Contributions) 15:02, 15 March 2012 (UTC)
- There's no extension that handles it, no. The best you could do is to use an online graph generator, and then copy the output. - Jarry1250 [Deliberation needed] 16:10, 15 March 2012 (UTC)
- Wikipedia has not installed any of mw:Category:Graph extensions. mw:Extension:EasyTimeline is not designed for graphs. It's possible to concoct a graph like the below with mw:Extension:EasyTimeline/syntax#LineData but I don't recommend it. PrimeHunter (talk) 16:18, 15 March 2012 (UTC)
- I forgot 70000 above. Just an example of how messy this solution is, and I don't know whether it's stable if EasyTimeline is altered. PrimeHunter (talk) 16:32, 15 March 2012 (UTC)
- It would be just as good to do the graph in a .svg file at that point.... --Izno (talk) 16:43, 15 March 2012 (UTC)
- Oh, yes. The wikicode is messy :( Thanks for help! --Edgars2007 (Talk/Contributions) 06:37, 16 March 2012 (UTC)
- It would be just as good to do the graph in a .svg file at that point.... --Izno (talk) 16:43, 15 March 2012 (UTC)
Sections sporadically absent from edit summaries
See my contributions from 01:48 until 01:51 on 16 March 2012. For all of these edits, I clicked the edit tab at the top of the "See also" section, and whenever the /* See also */ code was present, I was careful to preserve it, but it never appeared in the first place for many of these edits. Any idea why not? I'd noticed this happening earlier, and I expected that one of the developers was modifying something or that someone was editing a relevant MediaWiki page, but because I opened the pages in the order that I edited them (bigtime tabbed browsing), I doubt that's the case. My skin is Monobook; I'm running IE8, although I doubt that's relevant. Nyttend (talk) 01:57, 16 March 2012 (UTC)
- For another example: I just edited the see-also sections for the thirty-one pages whose links are italicised in the bottom three rows of the navbox at the top of National Register of Historic Places listings in Indiana (Orange through Whitley), and of these thirty-one, just ten (largely scattered through the group) displayed the /* See also */ code. Nyttend (talk) 02:05, 16 March 2012 (UTC)
- I've just had a look at your contribs list, picked a few at random, gone for the [edit] link at the top of "See also" - and without changing anything, I noticed that the edit summary is already blank. This suggests that the MediaWiki software is somehow unable to detect the heading text for the pre-fill - which is the opposite of a problem which I had some months ago (an edit summary which should have started off blank was being pre-filled with something that had been mis-detected). The problem then was that there was a hidden section heading within the section that I was editing, and the software was assuming that was the real heading; so somehow we're getting the opposite here - what looks like a real
== See also ==
heading is not being detected as a heading. --Redrose64 (talk) 10:06, 16 March 2012 (UTC)- OK. I've just gone into one of these "See also" sections, blanked the line with the heading, re-typed it in afresh and saved. The page diff shows that there has been a change, so my guess is that there was some kind of nondisplaying Unicode character(s) on that line, which caused the MediaWiki software to fail to detect the heading. --Redrose64 (talk) 10:20, 16 March 2012 (UTC)
- Nothing sinister - it was a trailing space. MediaWiki bug. --Redrose64 (talk) 10:30, 16 March 2012 (UTC)
- Was about to file a Bugzilla ticket - and found bugzilla:35051 marked "fixed in rev:113922", dated 15:23 UTC yesterday. --Redrose64 (talk) 10:38, 16 March 2012 (UTC)
- Nothing sinister - it was a trailing space. MediaWiki bug. --Redrose64 (talk) 10:30, 16 March 2012 (UTC)
- OK. I've just gone into one of these "See also" sections, blanked the line with the heading, re-typed it in afresh and saved. The page diff shows that there has been a change, so my guess is that there was some kind of nondisplaying Unicode character(s) on that line, which caused the MediaWiki software to fail to detect the heading. --Redrose64 (talk) 10:20, 16 March 2012 (UTC)
- I've just had a look at your contribs list, picked a few at random, gone for the [edit] link at the top of "See also" - and without changing anything, I noticed that the edit summary is already blank. This suggests that the MediaWiki software is somehow unable to detect the heading text for the pre-fill - which is the opposite of a problem which I had some months ago (an edit summary which should have started off blank was being pre-filled with something that had been mis-detected). The problem then was that there was a hidden section heading within the section that I was editing, and the software was assuming that was the real heading; so somehow we're getting the opposite here - what looks like a real
searching mostly for Featured and Good Articles
If searching could have an option to limit to Good and Featured Articles, that would seem consistent with an early design goal of Wikipedia. As I understand matters, an early plan was to copy the better articles to something called Nupedia.
My personal view is that GA/FA is not a guarantor of better research, because the reviews (what little I've seen of them) seem to focus on writing, format, and the like. It's also important to consider whether such a limit would reveal large gaps in coverage, rather than show better coverage, in most searches. And as the encyclopedia has more articles, now approaching four million, more searches will give results that satisfy visitors, and a limit might need to default to fuzzier searching to produce similar usefulness.
So I tentatively propose one solution: That search results show whether a result is a Good Article or a Featured Article. The label can have an icon but it would show this status in words. That way, the search itself would be done in the familiar easy way and the results would be compiled at your servers in the usual way.
I've just found that there's at least one other class of articles (A or A+ or some such) that might be included in this proposal.
This is not for the advanced-search page. This is for most visitors, and I think they mostly don't do advanced searches. But it might be useful that when advanced-searching in the article namespace an option to search only for better articles would be by a checkbox.
As an extra feature, each results page could have a button that would modify the search to add GA/FA as a criterion. That would be useful when results are very numerous and some way to limit the results would be helpful.
Nick Levinson (talk) 17:19, 16 March 2012 (UTC)
Thumbnail of animated GIF File:Pi-unrolled-720.gif not showing in articles
File:Pi-unrolled-720.gif, which is used in thumbnail form at the top-right of the article Pi as well as at Mathematical constant#Archimedes' constant π, is not showing up in either article. I've tried bypassing my browser's cache and purging both articles, as well as purging the image description page for the image both here on Wikipedia and at Commons, to no avail. The image displays fine at its description page. I am using Internet Explorer 8 and the Monobook skin. Any thoughts? Thanks. —{|Retro00064|☎talk|✍contribs|} 02:53, 16 March 2012 (UTC).
- Thumbnails of animated gifs often won't have the animatd aspect work due to wiki parsing. As the first frame of this is blank (as far as I can remember) when parsing it will freeze as a blank image. PuppyOnTheRadio talk 04:25, 16 March 2012 (UTC)
- But I am seeing a red X inside a box at the upper-left corner of the space for the image, which is the image that the browser displays in place of dead or non-working images. Could what you described cause this? Thanks. —{|Retro00064|☎talk|✍contribs|} 05:49, 16 March 2012 (UTC).
I'm not seeing either the animation, a thumbnail still from that, or a red cross "bad image" icon. What I see is a thick vertical bar in grey - which might possibly be the border around a zero-width image. Before this appears, there is a white rectangle of the expected size, but that collapses after a second or so. Windows XP, Firefox 3.6.28, Monobook. --Redrose64 (talk) 10:11, 16 March 2012 (UTC)
Seems to be working now. Commons lag or something, perhaps? Also, animations not continuing to work in resizes and thumbs appears to just be a Wikia bug; Wikimedia and other more stable projects do animate resizes and thumbs of animated images properly. — Isarra (talk) 23:13, 17 March 2012 (UTC)
- Yes, Works for me too. Anyway, MediaWiki software changes (bugfixes or no) tend to go out to the Wikimedia Foundation sites first, of which English Wikipedia is one. Other users of MediaWiki often need to wait. --Redrose64 (talk) 23:34, 17 March 2012 (UTC)
- Well, any site that wants to live on the bleeding edge can follow SVN HEAD, and any site that wants the same version running Wikipedia can use the revision (from the wmf branch) specified on Special:Version. No one has to stick with the official releases. Anomie⚔ 01:51, 19 March 2012 (UTC)
length of edit-summary box
Hi, any reason the box can't be changed from the current ~80% to 100% of the width of the edit box? Would it be a trivial change of number in the software? Is it worth filing a bugzilla for this? Tony (talk) 03:29, 17 March 2012 (UTC)
- It looks trivial to change
width: 80%;
in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/shared.css?view=markup. See also bugzilla:20276. I like 80% as a reminder that it's a summary. PrimeHunter (talk) 03:53, 17 March 2012 (UTC) - If you want to change it for yourself, you can add the following to your skin.css:
input#wpSummary { width:100%; }
- Goodvac (talk) 19:02, 17 March 2012 (UTC)
- Goodvac, thanks very much: shall do. PH, I think the narrowness, position, and tag already do that. Tony (talk) 00:10, 18 March 2012 (UTC)
- I have tried this: and found that it also affects the width of the "Subject/headline" window that you get when starting a new thread. Without the css above, the window sits to the right of the "Subject/headline" prompt, but with the css, its extra width forces it onto a new line. --Redrose64 (talk) 00:25, 18 March 2012 (UTC)
- Yes, I've just seen this. In fact, the width of both subject/headline and edit-summary boxes exceeds that of the edit box by a few percent, it seems, when 100% is chosen. That's weird, although the more the better for the edit-summary box (we do now have the option in prefs to be allowed long edit-summaries—this suggests the need to up the width of the edit-summary box for users who choose this option, and to separate out the coding for the widths of the subject/headline and edit-summary boxes. How much hassle would that be? Is it worth my chiming in at the bugzilla that has stopped short of wider adoption? Tony (talk) 01:23, 18 March 2012 (UTC)
- The default max length of the edit summary was raised from ~200 bytes to 250 bytes in February 2011 (MediaWiki 1.17), rendering the gadget "Allow up to 50 more characters in each of your edit summaries" (script here) ineffective; but it took over six months before it was finally removed from the gadget list in preferences. --Redrose64 (talk) 15:15, 18 March 2012 (UTC)
- IIRC, they basically adopted the gadget into core, didn't they? The reason for the whole mess is that the limit actually is bytes (due to the underlying MySQL database field limitation), while the standard browser mechanisms limit by characters (which in UTF-8 may be up to 4 bytes long). The old limitation of 200 bytes while the real limit is ~250 bytes tended to work well enough in most European languages that use mostly ASCII characters (1 byte each) with a few accented characters (generally 2 bytes each) thrown in, but routinely caused truncation for Chinese and other languages where most characters are multiple bytes. Anomie⚔ 01:59, 19 March 2012 (UTC)
- The default max length of the edit summary was raised from ~200 bytes to 250 bytes in February 2011 (MediaWiki 1.17), rendering the gadget "Allow up to 50 more characters in each of your edit summaries" (script here) ineffective; but it took over six months before it was finally removed from the gadget list in preferences. --Redrose64 (talk) 15:15, 18 March 2012 (UTC)
- Yes, I've just seen this. In fact, the width of both subject/headline and edit-summary boxes exceeds that of the edit box by a few percent, it seems, when 100% is chosen. That's weird, although the more the better for the edit-summary box (we do now have the option in prefs to be allowed long edit-summaries—this suggests the need to up the width of the edit-summary box for users who choose this option, and to separate out the coding for the widths of the subject/headline and edit-summary boxes. How much hassle would that be? Is it worth my chiming in at the bugzilla that has stopped short of wider adoption? Tony (talk) 01:23, 18 March 2012 (UTC)
- I have tried this: and found that it also affects the width of the "Subject/headline" window that you get when starting a new thread. Without the css above, the window sits to the right of the "Subject/headline" prompt, but with the css, its extra width forces it onto a new line. --Redrose64 (talk) 00:25, 18 March 2012 (UTC)
- Goodvac, thanks very much: shall do. PH, I think the narrowness, position, and tag already do that. Tony (talk) 00:10, 18 March 2012 (UTC)
Being redirected to jews.didw.tc/
I am being redirected to jews.didw.tc/ on clicking on some links. --Redtigerxyz Talk 18:48, 17 March 2012 (UTC)
- Now the links are working. But the problem persisted for 5-10 mins. Seems to be security breach. --Redtigerxyz Talk 18:50, 17 March 2012 (UTC)
- I think this was vandalism to Template:Notes. It's been fixed now. -- John of Reading (talk) 18:57, 17 March 2012 (UTC)
- It happened when I clicked [edit] on Ahalya. Also when I tried clicking on "templates for discussion" and "Template:Infobox Hindu deity" link on the top of the page. --Redtigerxyz Talk 19:22, 17 March 2012 (UTC)
- It's a known issue - certain types of vandalism attack will turn the entire page - even the blank areas - into a malicious link. Since this whole-page link is entirely transparent, and covers up all the text, any valid links are covered by it as well, invisibly. As a result, when you click on what looks like a valid link, you're actually clicking on the whole-page link. --Redrose64 (talk) 19:47, 17 March 2012 (UTC)
- It happened when I clicked [edit] on Ahalya. Also when I tried clicking on "templates for discussion" and "Template:Infobox Hindu deity" link on the top of the page. --Redtigerxyz Talk 19:22, 17 March 2012 (UTC)
- I think this was vandalism to Template:Notes. It's been fixed now. -- John of Reading (talk) 18:57, 17 March 2012 (UTC)
Hang on, that explanation doesn't make sense. The edit to Template:Notelist was reverted on 18 February; this report was submitted on 17 March. Could you tell us which other articles were taking you to the site? It Is Me Here t / c 14:09, 18 March 2012 (UTC)
- If he was logged out, then there is a known issue where pages that redirect to another page will sometimes redirect to an old version of the page. ---— Gadget850 (Ed) talk 14:49, 18 March 2012 (UTC)
- Yesterday's edit was to the redirect Template:Notes not the main template Template:Notelist. -- John of Reading (talk) 14:55, 18 March 2012 (UTC)
- Oh, I see, thanks. It Is Me Here t / c 17:46, 18 March 2012 (UTC)
- Yesterday's edit was to the redirect Template:Notes not the main template Template:Notelist. -- John of Reading (talk) 14:55, 18 March 2012 (UTC)
Sudden drop-off in search engine traffic?
http://www.alexa.com/siteinfo/wikipedia.org shows the percentage of site visits from search engines:
Last 30 days 33.5% Last 7 days 24.5%
with a very sudden drop in the graph. What gives? Josh Parris 01:31, 18 March 2012 (UTC)
- See User_talk:Jimbo_Wales#Is_this_a_normal_drop.3F - it looks like Alexa have changed their algorithm, and isn't any indication of a real drop. AndyTheGrump (talk) 01:38, 18 March 2012 (UTC)
Section and sub-section font-sizes and bolding
I've noticed in various articles there is a difference in the font-size of section and sub-section headings. Section headings are displayed in one size, sub-section headings are then displayed in only a slightly smaller size. For some strange reason, sub-section headings also appear to be bolded, (at least on my screen they are). This bolding gives the (false) impression that sub-section headings are the same size or even larger than section headings.
To take but one example, on the HMS Duke of Edinburgh (ship) page, which is a fairly small article, the 'Description' section and the 'Armament' sub-section makes them very difficult to tell apart when they are both visible at the same time. It's only on reading the various numbers that the situation becomes more clear.
I would have thought that it would be a lot better if section headings were bolded and substantially larger than sub-section headings. You would then have a far more logical, descending order of sizes and everything else.
I use IE 8. RASAM (talk) 15:05, 18 March 2012 (UTC)
See User:Gadget850/FAQ/Headings. ---— Gadget850 (Ed) talk 15:07, 18 March 2012 (UTC)
Expandable section in Userpage
My userpage contains many userboxes. While I use a fairly fast broadband connection which can load the page with ease, I attempt to be considerate of people in rural areas and those who can't afford broadband. I recently went through my userboxes (previously there were ~120 of them) and deleted those that were unnecessary. I still feel that I could be more considerate, however. Is there a way to make my userboxes section empty by default, requiring you to manually expand with a button in order for it to load?--Yutsi Talk/ Contributions 16:20, 18 March 2012 (UTC)
- It is possible to create expandable sections using the {{collapse top}} and {{collapse bottom}} templates. However, I don't think this is what you want, as the collapsed content will still load with the page; it is just hidden from view until clicked. The simplest solution is probably to place all your userboxes on a subpage (e.g. User:Yutsi/userboxes), then link to that subpage from your main user page. – PartTimeGnome (talk | contribs) 16:39, 18 March 2012 (UTC)
- Some users use {{Page tabs}} to connect userspace pages. See for example User:Unionhawk and User:candlewicke who have a "Userboxes" tab, and User:Mardus who has three. By the way, I found those examples at Special:WhatLinksHere/Template:Page tabs by limiting to userspace, viewing 500, and Ctrl+F searching for "userbox". PrimeHunter (talk) 16:52, 18 March 2012 (UTC)
RFC at Template talk:Expand language
Any interested editors are invited to participate at the discussion at Template talk:Expand language#rfc_DED4143. – Allen4names 17:13, 18 March 2012 (UTC)
Image won't display when I'm logged in
This is driving me crazy. The image File:OSU Numbers Garden.JPG is used on two pages, including Peter Orno. If I view those pages when I'm not logged in, the image displays properly. If I'm logged in, I don't see it. This is not a problem with images in general; it's specific to this image. It's happening in two different browsers: Firefox and Google Chrome. I've closed the browsers, reopened them, restarted the computer, changed my preferences, etc., but it still happens. I have not changed my skin, however -- I'm using Monobook. What could possibly explain this peculiar display behavior? --Orlady (talk) 01:18, 19 March 2012 (UTC)
- Have you changed the default thumbnail size of 220px at Special:Preferences#mw-prefsection-rendering? PrimeHunter (talk) 01:32, 19 March 2012 (UTC)
- My thumbnail size setting is 250px, same as it has been for several years. Why should that affect the display of this one particular image? --Orlady (talk) 01:41, 19 March 2012 (UTC) I've experimented on that page. It appears that if I force the width parameter to be any size other than 250px, the image displays, but it does not display at 250px. I tried 150px, 200px, 220px, 249px, 250px, 251px, and 300px; it displayed at every width except 250px. --Orlady (talk) 01:48, 19 March 2012 (UTC)
- The 250px thumbnail of that particular image is corrupted. I've tried purging it (go to the image description page and add
?action=purge
to the URL, or for Commons images use the "purge" tab on Commons's image description page), which seems to have fixed it. Anomie⚔ 02:09, 19 March 2012 (UTC)
- The 250px thumbnail of that particular image is corrupted. I've tried purging it (go to the image description page and add
- My thumbnail size setting is 250px, same as it has been for several years. Why should that affect the display of this one particular image? --Orlady (talk) 01:41, 19 March 2012 (UTC) I've experimented on that page. It appears that if I force the width parameter to be any size other than 250px, the image displays, but it does not display at 250px. I tried 150px, 200px, 220px, 249px, 250px, 251px, and 300px; it displayed at every width except 250px. --Orlady (talk) 01:48, 19 March 2012 (UTC)
- It's a recurring problem that images sometimes fail at certain sizes so I guessed you might have different sizes when logged in and out. I see it at 250px but it may have been after Anomie purged. PrimeHunter (talk) 02:15, 19 March 2012 (UTC)
- Thanks for solving the mystery! I'll try to remember the resolution for future use. --Orlady (talk) 02:18, 19 March 2012 (UTC)
- It's a recurring problem that images sometimes fail at certain sizes so I guessed you might have different sizes when logged in and out. I see it at 250px but it may have been after Anomie purged. PrimeHunter (talk) 02:15, 19 March 2012 (UTC)
Java Scripts do not work any more since MediaWiki upgrade
Since Mediawiki has been upgraded to 1.19, my user defined javascript does not more work. I had added some edit buttons that I found very useful. Since Mediawiki has been upgraded to 1.19 they may appear or not and now mostly not. My java console doesn't retrieve any error.
eo:Uzanto:ArnoLagrange/vector.js
$j('#wpTextbox1' ).wikiEditor( 'addToToolbar' ....
Now as before I work in this environment :
Project : eo.wikipedia Version : 1.19wmf1 (r113176) OS : Windows XP Browser: Firefox 11.0
I submitted this issue in bugzilla (35154), and was answered it is not the right place: "bugzilla isn't really for end user technical support like this.."
Can somebody help me resolve this problem? Thanks Arno Lagrange ✉ 21:29, 18 March 2012 (UTC)
- First thing I notice is the use of
addOnloadHook();
, which has been deprecated. Use$(document).ready(function() {...} );
instead and see if that resolves the problem. — Edokter (talk) — 22:34, 18 March 2012 (UTC)
- I'm not sure "mw.loader.load('<script type...');" is the correct syntax, you really want to be using just "mw.loader.load('//en.wikipedia.org/...');". - Jarry1250 [Deliberation needed] 22:42, 18 March 2012 (UTC)
- Thanks a lot. using mw.loader.load() with the right syntax has fixed the problem. Arno Lagrange ✉ 18:54, 19 March 2012 (UTC)
Categories for WikiProject assessment
I was attempting to create the categories needed for article standard quality and standard importance assessment within WikiProject Cryptography as described at Wikipedia:Version_1.0_Editorial_Team/Using_the_bot. Doing this manually is pretty laborious, so I asked an admin to set up the categories for me, but the script he used failed because one category already exists. Does someone know how to proceed? Thanks! Nageh (talk) 15:58, 19 March 2012 (UTC)
- You shouldn't need either an admin or a bot. Go to the project banner sandbox page, and you will see two boxes below the project banner. The second one has a bunch of redlinks, each one followed by a blue "create" link. Click that "create" link, this will open an edit window which should be pre-filled like this:
{{subst:WPBannerMeta/templatepage/qualheader |project = |topic = }}
- Fill in
|project=
so that it becomes|project=Cryptography
; leave|topic=
alone. You shouldn't need to make any other changes, and the edit summary is pre-filled, so click on "Show preview" to make sure, then save it. Do this for each of the cats. --Redrose64 (talk) 18:22, 19 March 2012 (UTC)- Oh! I was under the impression that for each of the quality assessment categories there were further subcategories for the importance ratings to create, but now I realize that was a misunderstanding. So instead of 55 categories I only need to create 11 by hand. That's doable. Thanks for the help! Nageh (talk) 19:09, 19 March 2012 (UTC)
Missing deleted edits
Laura Ramsey is/was tagged for deletion per G4. I went to check to see if it is similar to what was deleted after an AfD, but as Special:Undelete/Laura_Ramsey shows, there aren't any deleted edits showing up pre 2012, even though the AfD was in September 2011. Am I being stupid and missing something, or is this a bug? SmartSE (talk) 18:47, 19 March 2012 (UTC)
- Nevermind. It was userfied which was confusing me. All sorted now. SmartSE (talk) 19:02, 19 March 2012 (UTC)
Proposal to use "Vol.", "pp.", etc. in citations instead of ambiguous formatting like "9 (4): 7"
You are invited to join the discussion at Help talk:Citation Style 1#RfC: Use "Vol.", "pp.", etc. consistently between citation templates, instead of ambiguous formatting like "9 (4): 7". The talk page at Help talk:Citation style 1 is where the discussion about most of our citation templates is centralized. — SMcCandlish Talk⇒ ɖ∘¿¤þ Contrib. 20:11, 19 March 2012 (UTC) — SMcCandlish Talk⇒ ɖ∘¿¤þ Contrib. 20:11, 19 March 2012 (UTC)
Help?
I'm trying to write a url for a template ({{cite sbdb}}). However, there's something weird going on and it doesn't quite work as I want.
The specific piece of code is
- http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{id}}}{{#if:{{{orbit}}}|;orb{{=}}1}}
which gives
- orb=1
instead of
Any help fixing this would be appreciated. Headbomb {talk / contribs / physics / books} 21:58, 19 March 2012 (UTC)
- It's a known problem when something beginning with a semicolon is used inside a {{#if:...}}. You can fix this by replacing the semicolon with ;. I.e. http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{id}}}{{#if:{{{orbit}}}|;orb{{=}}1}}, which gives: http://ssd.jpl.nasa.gov/sbdb.cgi?sstr={{{id}}};orb=1. – PartTimeGnome (talk | contribs) 22:26, 19 March 2012 (UTC)
- That works! Many thanks. Headbomb {talk / contribs / physics / books} 00:57, 20 March 2012 (UTC)
- Bug 12974 strikes again! Anomie⚔ 02:40, 20 March 2012 (UTC)
Issues arising from rollout of mediawiki 1.19
Could you please record any issues with Wikipedia since the rollout of 1.19 here, so that we can keep them all in one place, please. Thanks in advance, BarkingFish 00:06, 1 March 2012 (UTC)
Any way to get the green back in diffs?
I see the new diff system was implamented, possibly in the last few minutes. It's nice being able to see tiny changes better but I really like the old green color of the right column a lot better as it's much easier to read. Any way to get it back? I assume it'd have to be css but if so, then so be it. ♫ Melodia Chaconne ♫ (talk) 23:12, 29 February 2012 (UTC)
- If you want to change only the background color of the right column, add the following code (adapted from MediaWiki:Gadget-ClassicDiff.css, which should be implemented as a gadget soon) to your monobook.css:
td.diff-addedline { background: #CFC; }
- Goodvac (talk) 23:34, 29 February 2012 (UTC)
- Doesn't seem to do anything. Is it the right color? ♫ Melodia Chaconne ♫ (talk) 01:30, 1 March 2012 (UTC)
- My mistake. I've modified the code. Goodvac (talk) 01:52, 1 March 2012 (UTC)
- Thanks anyway. I'll note it if it changes back. ♫ Melodia Chaconne ♫ (talk) 02:46, 1 March 2012 (UTC)
- My mistake. I've modified the code. Goodvac (talk) 01:52, 1 March 2012 (UTC)
- Doesn't seem to do anything. Is it the right color? ♫ Melodia Chaconne ♫ (talk) 01:30, 1 March 2012 (UTC)
The diff color change has been reverted, and the reversion has been synchronized to the Wikimedia servers. The yellow/green coloring should be back now. PleaseStand (talk) 02:09, 1 March 2012 (UTC)
HistoryNumDiff problem...
I assume the change in colors in diffs has broken this somehow. I have HistoryNumDiff enabled in my preferences and now it's showing the changes double, like so:
- (cur | prev) 22:58, 29 February 2012 The Bushranger (talk | contribs | block) . . (+234) (+234) . . (→Unfounded sanction and possible admin tools abuse: arbchive) (undo)
...I can haz fix plz? Kthx. Just as a note, in the watchlist the HistoryNumDiff displays fine, it's only in page histories where it's redundantly redundant. - The Bushranger One ping only 23:25, 29 February 2012 (UTC)
- The gadget HistoryNumDiff adds the net diff change to the history. MediaWiki 1.19 has just been rolled out to the English Wikipedia and has this feature built in (see mw:Special:Code/MediaWiki/111800). I would recommend disabling HistoryNumDiff in your gadgets. Goodvac (talk) 23:37, 29 February 2012 (UTC)
- Aha, so now we can see total size and change. Nifty. And that did the trick! - The Bushranger One ping only 00:21, 1 March 2012 (UTC)
- I've had an issue with this, I have always had HistoryNumDiff unchecked in my preferences, but suddendly today, coninciding with this apparent software change, now it has started appearing without having checked it. When I check the option, the HistoryNumDiff figures appear in duplicate, while unchecked it appears only once; there appears to be no way to get it to sling its hook and shove off. Any suggestions on how to get it to vanish, not to appear once, twice, or once again, but no appearences at all? Kyteto (talk) 01:40, 1 March 2012 (UTC)
- MediaWiki 1.19 automatically includes the net diff change and the total bytes listed in the history. If you want to get rid of the net diff change, add the following to your skin.css:
- I've had an issue with this, I have always had HistoryNumDiff unchecked in my preferences, but suddendly today, coninciding with this apparent software change, now it has started appearing without having checked it. When I check the option, the HistoryNumDiff figures appear in duplicate, while unchecked it appears only once; there appears to be no way to get it to sling its hook and shove off. Any suggestions on how to get it to vanish, not to appear once, twice, or once again, but no appearences at all? Kyteto (talk) 01:40, 1 March 2012 (UTC)
- Aha, so now we can see total size and change. Nifty. And that did the trick! - The Bushranger One ping only 00:21, 1 March 2012 (UTC)
.action-history .mw-plusminus-pos, .action-history .mw-plusminus-neg, .action-history .mw-plusminus-null { display: none; }
- Goodvac (talk) 01:47, 1 March 2012 (UTC)
- I think the best thing would be to rewrite HistoryNumDiff to provide a "±" switch between size and dif size. — AlexSm 01:53, 1 March 2012 (UTC)
- Well I've pasted that line of code at the location provided, I'll wait and see if it makes a difference, no change so far even with a cleared cache. But doesn't it suggest that there's a deeper flaw, what could be the possible point of 'doubling up' on the figure? And shouldn't the GUI box to switch off feature A...actually switch off feature A, rather than turn on and off a redundant/pointless duplicate? If that how it's supposed to work/is it working like that for other people/am I simply stupid? Kyteto (talk) 03:09, 1 March 2012 (UTC)
- Add the code to your common.css. The link above was supposed to "redirect" to your monobook/vector.css file (not sure why it did not happen), your User:Kyteto/skin.css is not executed by MediaWiki. — AlexSm 03:50, 1 March 2012 (UTC)
- Well I've pasted that line of code at the location provided, I'll wait and see if it makes a difference, no change so far even with a cleared cache. But doesn't it suggest that there's a deeper flaw, what could be the possible point of 'doubling up' on the figure? And shouldn't the GUI box to switch off feature A...actually switch off feature A, rather than turn on and off a redundant/pointless duplicate? If that how it's supposed to work/is it working like that for other people/am I simply stupid? Kyteto (talk) 03:09, 1 March 2012 (UTC)
- I think the best thing would be to rewrite HistoryNumDiff to provide a "±" switch between size and dif size. — AlexSm 01:53, 1 March 2012 (UTC)
- Goodvac (talk) 01:47, 1 March 2012 (UTC)
- Please remove the gadget from MediaWiki:Gadgets-definition and then mark this as resolved. — AlexSm 03:50, 1 March 2012 (UTC)
- Done. Killiondude (talk) 06:15, 1 March 2012 (UTC)
- Before this is archived, I note it is now described at WP:AORC. Mark Hurd (talk) 01:41, 21 March 2012 (UTC)
Function akeytt disappeared
Apparently there was a function named akeytt() in the site javascript, which has disappeared. I had to delete a call to it from one of my user scripts to make things work again. — Carl (CBM · talk) 01:22, 1 March 2012 (UTC)
- User:Animum/easyblock.js is one commonly used script that calls the function, and I suspect that it is the cause of a report that one of my scripts was not working. It took me a while to identify it as a problematic script because it does nothing for non-admins like me. PleaseStand (talk) 02:02, 1 March 2012 (UTC)
- The function akeytt is deprecated since MW 1.17 if I remember correctly.
- See mw:ResourceLoader/JavaScript Deprecations#wikibits.js and watch bugzilla:33836. Helder 02:20, 1 March 2012 (UTC)
- Actually
akeytt
has been deprecated a little longer, since 2009. See also mw:RL/MGU#ta[] Tooltip and Accesskeys. Back then this tooltip/accesskey feature has been integrated into core MediaWiki for all wikis to use and to enjoy localization as well. - Since MediaWiki 1.16 (or earlier) we've replaced the deprecated variables (the global
ta
object andakeytt
function) with dummies to avoid scripts from throwing exceptions for undefined variables. After 3 versions they were eventually removed in MediaWiki 1.19. Note that the errors appearing for scripts still using them are not breakages of functionality. The scripts currently referring tota
andakeytt
haven't done anything since 2009. - The addPortletLink function takes a parameter for 'tooltip' and 'accesskey' for scripts that add new links and want to use tooltips and/or accesskeys. To modify the default tooltips and accesskeys for portlet links outputted by default (e.g. "What links here", "My preferences", "View history" etc.) change the interface messages in the MediaWiki-namespace (tooltips / accesskeys. Krinkle (talk) 03:27, 1 March 2012 (UTC)
- Actually
- Hmm... it does seem a lot of scripts still reference it. Mark Hurd (talk)
Edit section for old revisions
I'm not 100% sure if this is due to MW1.19, but I think it might be. Anyway, when I'm looking at an old revision of a page there are edit section links available, however when I click on one it takes me to editing the same numbered section, but of the current revision, not the old revision that I was looking at (does that make sense?). So, is this a new thing or has it always been like that? Jenks24 (talk) 01:37, 1 March 2012 (UTC)
- It's new. It occurs for all sections on all pages I tested but an example can be good anyway: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&oldid=478913156#Article_counter currently has a section edit link saying http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&action=edit§ion=50. PrimeHunter (talk) 02:23, 1 March 2012 (UTC)
- Hmm, yeah, I think the proper behavior is to not have section edit links there. You should file a bug about this at <https://bugzilla.wikimedia.org>. If you need any help filing a bug, let me know. --MZMcBride (talk) 02:52, 1 March 2012 (UTC)
- Filed a bug. Use "Enable tracking bugs on Bugzilla ..." in Gadgets to get it to get better tracking here. -- ☠MarkAHershberger☢(talk)☣ 04:06, 1 March 2012 (UTC)
- Thanks Mark. Jenks24 (talk) 10:39, 1 March 2012 (UTC)
- See also bug 33671. Helder 12:23, 1 March 2012 (UTC)
HTML validation
We are now up to four endemic HTML validation errors per page. See W3C markup validation for User:Gadget850/blank for the validation of a blank page.
there is no attribute "class"
end tag for "ul" which is not finished
; two instancesvalue of attribute "dir" cannot be "auto"; must be one of "ltr", "rtl"
---— Gadget850 (Ed) talk 02:28, 1 March 2012 (UTC)
- Please file a bug about this: <https://bugzilla.wikimedia.org/>. I'd offer to do it for you, but I don't want to mess up any details. :-) --MZMcBride (talk) 02:50, 1 March 2012 (UTC)
- I think the second bullet (about <ul>) is covered by bugzilla:24500, bugzilla:25366, and bugzilla:23026.
- Roan thinks the other two are probably also issues with not using HTML5 yet, but you can file bugs if you'd like. --MZMcBride (talk) 03:17, 1 March 2012 (UTC)
- This is indeed just a note in the validation report. The HTML5 standard does allow it, and afaik browsers never had a problem with it. These empty portlets are also (albeit being invisible anyway) additionally hidden through CSS so screenreaders shouldn't have an issue with them either (note that this is not new in MediaWiki 1.19). Krinkle (talk) 03:32, 1 March 2012 (UTC)
- You are right: these error are not detected if Doctype is set to HTML5. But three different errors are shown. ---— Gadget850 (Ed) talk 11:52, 1 March 2012 (UTC)
- Setting MediaWiki to HTML5 does a bit more than only changing the doctype, but that still leaves one minor error result of Mediawiki in HTML5. The meta is actually only a marker, I think it will be removed in 1.20. —TheDJ (talk • contribs) 21:49, 1 March 2012 (UTC)
- You are right: these error are not detected if Doctype is set to HTML5. But three different errors are shown. ---— Gadget850 (Ed) talk 11:52, 1 March 2012 (UTC)
- This is indeed just a note in the validation report. The HTML5 standard does allow it, and afaik browsers never had a problem with it. These empty portlets are also (albeit being invisible anyway) additionally hidden through CSS so screenreaders shouldn't have an issue with them either (note that this is not new in MediaWiki 1.19). Krinkle (talk) 03:32, 1 March 2012 (UTC)
- FYI: MediaWiki offers a Special:BlankPage by default =) Helder 12:27, 1 March 2012 (UTC)
- I seem to recall a very similar problem just over a year ago (1.17), but at the time there were three errors: the
<html class=>
and the two</ul>
. I remember commenting that you couldn't use aclass=
attribute until some classes had been defined, and that classes can't be defined earlier that the<head>...</head>
section, which is always enclosed by<html>...</html>
and so any classes are invisible to the<html>
tag.. --Redrose64 (talk) 12:33, 1 March 2012 (UTC)- It's valid in HTML5 though. It also does have a function, it's used by a javascript that (in theory) will actually run before the body might be in the dom model. Anyway that is something that have to be further tested, but the ResourceLoader is complicated enough, i'm not touching it ever :D —TheDJ (talk • contribs) 21:49, 1 March 2012 (UTC)
- I seem to recall a very similar problem just over a year ago (1.17), but at the time there were three errors: the
Watchlist time (in the box area) shows UTC
While the times in the list itself is fine, the part in the box (following "in the last 72 hours, as of") shows UTC time now. I have to hope this is a bug, not a feature. ♫ Melodia Chaconne ♫ (talk) 02:46, 1 March 2012 (UTC)
- Yeah, that looks like a bug. Please file a bug in Bugzilla: <https://bugzilla.wikimedia.org>. If you need any help, let me know. --MZMcBride (talk) 03:04, 1 March 2012 (UTC)
- Filed a bug. Use "Enable tracking bugs on Bugzilla ..." in Gadgets to get it to get better tracking here. -- ☠MarkAHershberger☢(talk)☣ 03:26, 1 March 2012 (UTC)
- Bug fixed. Will deploy later on Hashar (talk) 12:07, 1 March 2012 (UTC)
- I have deployed the bug fix. Please note that on enwiki UTC is intentional, see the MediaWiki:Wlnote. Any sysop can replace it with the default MediaWiki message by just deleting that article. Unlikely I will come back here, so please follow up on T36835 Hashar (talk) 12:51, 1 March 2012 (UTC)
- Didn't it always show UTC time? But I've taken Hashar's suggestion and deleted the message to use the MediaWiki default that uses the users local time. Anomie⚔ 23:31, 1 March 2012 (UTC)
- It most certainly did not use UTC time. I have to wonder why the hell it'd be "intentional" on enwiki. I've been using it ever since I started using my watchlist to see when I last checked it, based on my own time. I see it's be half fixed, as it now appears AFTER the date instead of before. ♫ Melodia Chaconne ♫ (talk) 03:23, 2 March 2012 (UTC)
- Ah, I found it! In 1.18, the watchlist used MediaWiki:rcnote for time periods over 1 day, and that message behaves just as you describe. In r102284 the watchlist was changed to use MediaWiki:wlnote only; you may also notice that the watchlist is now displaying "in the last 72 hours" rather than "in the last 3 days". Anomie⚔ 04:21, 2 March 2012 (UTC)
- Yeah it seems to be normal now, outside the 72 hours instead of 3 days (why the change? Not a huge deal though). On a side note I see the missing edit button when viewing diffs issue has finally been taken care of as well. ♫ Melodia Chaconne ♫ (talk) 05:03, 2 March 2012 (UTC)
- Ah, I found it! In 1.18, the watchlist used MediaWiki:rcnote for time periods over 1 day, and that message behaves just as you describe. In r102284 the watchlist was changed to use MediaWiki:wlnote only; you may also notice that the watchlist is now displaying "in the last 72 hours" rather than "in the last 3 days". Anomie⚔ 04:21, 2 March 2012 (UTC)
- It most certainly did not use UTC time. I have to wonder why the hell it'd be "intentional" on enwiki. I've been using it ever since I started using my watchlist to see when I last checked it, based on my own time. I see it's be half fixed, as it now appears AFTER the date instead of before. ♫ Melodia Chaconne ♫ (talk) 03:23, 2 March 2012 (UTC)
Broken script
User:Anomie/linkclassifier.css, at least, is no longer working since the change. - The Bushranger One ping only 02:54, 1 March 2012 (UTC)
- "No longer working" isn't very descriptive. What exactly isn't working? Where are you importing this? What browser are you using? What behavior do you expect? --MZMcBride (talk) 03:06, 1 March 2012 (UTC)
- I had used
using('mw.util', ...)
instead ofusing('mediawiki.util', ...)
. Script is fixed now. Anomie⚔ 03:43, 1 March 2012 (UTC)- Well, I didn't give more details because "everything" wasn't working and "normal" was the expected behavior. ;) But it's fixed now. :) - The Bushranger One ping only 03:53, 1 March 2012 (UTC)
- I had used
Any way to remove characters added / removed from Contributions pages?
It's super unsightly and makes the article titles, the far more important item, form a ragged edge. Especially for lists of my own contributions, I do not care how much I added or removed; I wanted to be reminded of what pages I've been looking at lately. Is there a way to hide them just from Contributions pages? Or, at the very least, align them in their own columns, and return to aligning all the titles (perhaps with a "minor" marker) together? SnowFire (talk) 03:07, 1 March 2012 (UTC)
- Hmm, might be a reasonable idea for a JavaScript gadget (under "Gadgets" section of Special:Preferences). Requests for new gadgets go... somewhere. --MZMcBride (talk) 03:19, 1 March 2012 (UTC)
- Wikipedia:Gadget/proposals or Wikipedia_talk:Gadget is where requests go according to MediaWiki:Gadgets-definition -- ☠MarkAHershberger☢(talk)☣ 03:29, 1 March 2012 (UTC)
- You can also add the code
.mw-special-Contributions .mw-plusminus-pos, .mw-special-Contributions .mw-plusminus-neg, .mw-special-Contributions .mw-plusminus-null { display: none; }
to your skin.css page to hide them, though the dots around the count and a space appear where it would be. - Purplewowies (talk) 03:35, 1 March 2012 (UTC)
- That works. Thanks a lot. Truthkeeper (talk) 04:11, 1 March 2012 (UTC)
- Sorry, not that familiar with skin.css or the required format. Do I need to create a file called skin.css (in addition to monobook.js), or should it be monobook.css (which is what appeared when I clicked the link above)? Also, does the CSS code need to spread across several lines, or entered on one line?
- Like SnowFire, I don't like the bytes changed disturbing the alignment of the article names. Could they be moved to the end of the line? Astronaut (talk) 11:47, 1 March 2012 (UTC)
- The link Special:MyPage/skin.css is to a special page that should redirect within a second or two, and for you it ends up at User:Astronaut/monobook.css, because you have MonoBook set as current skin in Preferences → Appearance. You can put the code in Special:MyPage/common.css (which for you should redirect to User:Astronaut/common.css), and it should then continue to work should you decide to change skin.
- Yes, it can go all on one line, or you can use a few line breaks instead of some or more of the spaces:
.mw-special-Contributions .mw-plusminus-pos,
.mw-special-Contributions .mw-plusminus-neg,
.mw-special-Contributions .mw-plusminus-null {
display: none;
}
- --Redrose64 (talk) 14:18, 1 March 2012 (UTC)
- That works, thanks. Astronaut (talk) 13:11, 2 March 2012 (UTC)
- --Redrose64 (talk) 14:18, 1 March 2012 (UTC)
- Before this is archived, I note it is now described at WP:AORC. Mark Hurd (talk) 01:42, 21 March 2012 (UTC)
Missing toolbar buttons?
Is anyone having issues with the older toolbar? When I go to the edit window, sometimes some of the buttons are missing. The only button that has appeared every time is the "cite" button (which, when I'm having this problem, is often the only button to come up). This just started happening tonight. I'm using IE8. - Purplewowies (talk) 03:41, 1 March 2012 (UTC)
- IE8 "developer tool" shows some errors in MediaWiki:RefToolbarLegacy.js (on the line
document.getElementById('citeselect').appendChild
) so that might be the reason. — AlexSm 04:02, 1 March 2012 (UTC) - This is a known issue. Use "Enable tracking bugs on Bugzilla ..." in Gadgets to get it to get better tracking here. -- ☠MarkAHershberger☢(talk)☣ 04:31, 1 March 2012 (UTC)
- So... is there a way to fix this other than refreshing a couple times? - Purplewowies (talk) 18:18, 1 March 2012 (UTC)
- There is currently no fix, other than disabling the ref toolbar, or refreshing till it works. —TheDJ (talk • contribs) 21:35, 1 March 2012 (UTC)
- This is not limited to IE. I'm using Firefox (versions 9 and 10, on different machines). I'm consistently seeing only about half of the buttons on the older toolbar. --Orlady (talk) 03:50, 3 March 2012 (UTC)
- There is currently no fix, other than disabling the ref toolbar, or refreshing till it works. —TheDJ (talk • contribs) 21:35, 1 March 2012 (UTC)
- So... is there a way to fix this other than refreshing a couple times? - Purplewowies (talk) 18:18, 1 March 2012 (UTC)
- I've had it on various versions of Safari for more than a year. The best thing to do is to chose "show edit toolbar" in preferences and swap out the old toolbar. Truthkeeper (talk) 04:00, 3 March 2012 (UTC)
Revert button on move page feature doesn't work
Firstly, I don't really like the new namespace selector in the move page function. I don't see the benefit of it and it'll confuse newer users who don't know what a namespace is. However a more serious issue is that the revert button in the move page feature doesn't work at all; it produces a "No such target page" error message. I just tried it at User:Graham87/test, but it also didn't work at User:Malcolm Farmer, where I was trying to use the move page feature to import old edits from the Nostalgia Wikipedia. Graham87 05:59, 1 March 2012 (UTC)
- The change was necessary to fix bug 29454 and the reasons are explained on rev:110209.
- See also bug 34848. Helder 13:07, 1 March 2012 (UTC)
- Since you have admin flag at least you could remove the link from MediaWiki:Movepage-moved until someone suggests a solution. — AlexSm 15:33, 1 March 2012 (UTC)
- Done. Snowolf How can I help? 15:40, 1 March 2012 (UTC)
- I've reported it as bug 34887. Graham87 07:34, 2 March 2012 (UTC)
- I don't think this error is related to the new namespace selector because the (old) url parameter for full title still works fine (example) Krinkle (talk) 00:53, 12 March 2012 (UTC).
- Done. Snowolf How can I help? 15:40, 1 March 2012 (UTC)
- I've added some additional test results and information to bugzilla:34887. New title: "$3 and $4 are not being substituted in {{urlencode:}} in message "movepage-moved"". Krinkle (talk) 01:49, 12 March 2012 (UTC)
Contributions lists for truncated IP addresses don't work anymore
The contributions lists for truncated IP addresses used in old versions of Wikipedia's software (e.g. 62.253.64.xxx, which made this edit that I just imported to Malcolm Farmer's user page), and 11.105, which is used as an example at User:0, do not come up with any contributions. This is also true in the former case at the Nostalgia Wikipedia. Interestingly, the deleted contribs lists for these addresses come up fine. Graham87 05:59, 1 March 2012 (UTC)
- Popups (which I assume work via AJAX API calls) provide the full list, which is suggestive of a problem with Special:Contributions itself rather than the underlying functionality. But that would be weird in a sense, because you'd have thought it was a problem handling "unusual" usernames in general. - Jarry1250 [Deliberation needed] 10:32, 1 March 2012 (UTC)
- Filed in bugzilla —TheDJ (talk • contribs) 21:31, 1 March 2012 (UTC)
Incredible slowness
Is it always going to be 5 times slower than the old software or will the speed eventually increase? DrKiernan (talk) 10:24, 1 March 2012 (UTC)
- Can you be more specific? It's not being any slower for me. But yes, it's only something to worry about if it lasts. - Jarry1250 [Deliberation needed] 10:43, 1 March 2012 (UTC)
- OK, I'll assume it's an coincidental issue for the moment. DrKiernan (talk) 13:24, 1 March 2012 (UTC)
Edit conflicts: Not the new text at all
Hey all. I was wondering if someone could replicate an edit conflict I just had, where I swear the intervening edit didn't display on the page at all, so when I copied my addition from the bottom box to the top, I obliterated it. - Jarry1250 [Deliberation needed] 10:43, 1 March 2012 (UTC)
- Can't replicate, but a very similar thing happened to me a few days ago. Ended up making a right old mess what with edit conflicts. Astronaut (talk) 11:40, 1 March 2012 (UTC)
- When I get an edit conflict, I don't attempt to amend the upper window; instead I mark and copy my new post, back out and edit the section again, paste in my new text and save (as I advised to somebody else on 26 January 2012). --Redrose64 (talk) 14:01, 1 March 2012 (UTC)
- Yes, well either way it's clearly defective to have diffs that claim to display one thing but actually display another (thanks for restoring the other edit I managed to lose, btw). - Jarry1250 [Deliberation needed]
- When I get an edit conflict, I don't attempt to amend the upper window; instead I mark and copy my new post, back out and edit the section again, paste in my new text and save (as I advised to somebody else on 26 January 2012). --Redrose64 (talk) 14:01, 1 March 2012 (UTC)
Editing old revisions: Wrong "changes"
When editing an old revision (such as this) and checking the changes to the current revision via "Show changes", what is shown is the changes to the old revision, not to the current revision as claimed. Huon (talk) 15:25, 1 March 2012 (UTC)
- == Unexpected results using [Show changes] ==
- Profile
- Chrome 16.0.912.63 m
- Monobook
Upon logging in for today's session, I noticed a number of stylistic changes while editing... most are welcome. When editing an article from an older page-version however, the [Show changes] button no longer shows the live-dif. Is this something that can be tweaked? -- WikHead (talk) 13:58, 1 March 2012 (UTC)
- I'm not sure if it was deliberate change or not but for now you can use my script User:Js/ajaxPreview that still shows changes compared to the current version. — AlexSm 16:43, 1 March 2012 (UTC)
Fixed (reverted to old behavior) and deployed live: bugzilla:34849. — AlexSm 20:24, 1 March 2012 (UTC)
Short Pages report's talk page link
The changes to the Short Pages report are quite awesome IMHO. But I do have one, in comparison minor, complaint. The report has lost it's header. The header, among other things, gave a link to the report's talk page. Now, there's no way to get from the report to its talk page. An example of how this header used to look can be seen on some of the other special reports like Special:DoubleRedirects. - TexasAndroid (talk) 15:39, 1 March 2012 (UTC)
- I'm not sure where the "header" was before but right now ?uselang=qqx points the the message MediaWiki:Shortpages-summary. — AlexSm 15:45, 1 March 2012 (UTC)
- So, in theory, if I create a new "header" at the link you gave, it should display at the top of the report? That would work out nice enough, I would think. - TexasAndroid (talk) 15:51, 1 March 2012 (UTC)
- And a quick test shows that it does indeed work. I'll get on constructing at least a basic header for the report. - TexasAndroid (talk) 15:56, 1 March 2012 (UTC)
- And I have added a similar new header for the Long Pages report, which appears to have been updated similarly to the Short Pages report. - TexasAndroid (talk) 16:07, 1 March 2012 (UTC)
- Was the old header the rather generic one from Mediawiki:perfcached? Anomie⚔ 23:37, 1 March 2012 (UTC)
- Close. At a minimum I remember that it also had the timestamp of the last generation of the cached version, which I do not see on that generic one. Unfortunately, beyond that and it linking to the talk page, I do not remember exactly what was on it. - TexasAndroid (talk) 01:58, 2 March 2012 (UTC)
- Was the old header the rather generic one from Mediawiki:perfcached? Anomie⚔ 23:37, 1 March 2012 (UTC)
- And I have added a similar new header for the Long Pages report, which appears to have been updated similarly to the Short Pages report. - TexasAndroid (talk) 16:07, 1 March 2012 (UTC)
- And a quick test shows that it does indeed work. I'll get on constructing at least a basic header for the report. - TexasAndroid (talk) 15:56, 1 March 2012 (UTC)
- So, in theory, if I create a new "header" at the link you gave, it should display at the top of the report? That would work out nice enough, I would think. - TexasAndroid (talk) 15:51, 1 March 2012 (UTC)
Large template not transcluding
Not sure if this is a 1.19 issue or what, but if you go to WP:AFC/S, you'll notice there is a link to Template:AFC statistics. If you look in the wikicode, however, you'll see that it should be transcluded. The template is quite large, not sure if that has something to do with it. —SW— spout 15:46, 2 March 2012 (UTC)
- Likely. On the discussion for one of the PC RFCs that are being set up, there was talk that there is a hard limit to transclusion. I'll see if I can find the conversation. - TexasAndroid (talk) 18:51, 2 March 2012 (UTC)
- And here's the link from the mentioned discussion, to the page that'll be useful, hopefully. Wikipedia:Template limits#Post-expand include size - TexasAndroid (talk) 18:55, 2 March 2012 (UTC)
Moving saves username in edit summary
Looks like message MediaWiki:Logentry-move-move (and its variants) is now used both for logs and for history/contribs so pagemoves summaries are recorded like "U moved page A to B: some reason" (example). I think the username is really unnecessary in the edit summary, this does not go well with WP:Changing username and (probably) leaves less space for user added comment. — AlexSm 17:16, 2 March 2012 (UTC)
- ===Page move text summary===
I noticed that since the 1.19 deployment, the move summary is now longer. Prior to the update, move summaries used "moved <Oldname> to <Newname>: <reason for the move>". Since the update was deployed, the move summaries now use "<Username> moved page <Oldname> to <Newname>: <reason for the move>". With the old method, the username is displayed in the logs and in the diff, just not in the edit summary. With the new method, the username is displayed in the logs, the diff, and in the edit summary. By forcing the extra <Username> moved page, it is further limiting the move rationale. Is it possible to use the old edit summary? Alpha_Quadrant (talk)
- In 1.18, it looks like moving used MediaWiki:1movedto2 / MediaWiki:1movedto2 redir for the edit summary and MediaWiki:logentry-move-move / MediaWiki:logentry-move-move redir for the log message. In r96847, it was changed to use MediaWiki:logentry-move-move / MediaWiki:logentry-move-move redir for both. And it doesn't seem that we can remove the username from that without also removing it from Special:Log. So it looks like the only solution is to file a bug requesting the messages be re-separated. Anomie⚔ 13:15, 3 March 2012 (UTC)
- Alredy done: bugzilla:34961. Jon Harald Søby (talk) 13:37, 7 March 2012 (UTC)
Edit conflicts not being detected
I've experienced two incidents in which an edit conflict occurred, but the second user was not alerted to the conflict and wrote over the first change. This seems to happen when the one user is editing the whole page and the other is editing just one section. The first incident involved a series of edits to Memorandum of Understanding on the Conservation of Migratory Sharks between 15:38 and 17:00 on 1 March -- I was editing a section of the article and the other user was editing the whole article, but for some time we weren't aware that we were edit-conflicting. In the second instance, my edit was to the whole page and the subsequent user's edit was to one section of the page. Ironically, in that second instance, the other user and I also conflicted on a talk page discussion of the item, but on the talk page we were both editing the same section, and I (as the second user) was alerted to the conflict. --Orlady (talk) 03:45, 3 March 2012 (UTC)
- I have updated an ancient Bugzilla report (interestingly, one originally submitted by me) to include this new issue. --Orlady (talk) 04:12, 4 March 2012 (UTC)
Diff size differences in user contributions
I'm confident that this edit did not add 51,802 character and likewise I'm confident that this edit did not add 1,646 characters, both of which are currently being reported by my contributions (bottom of list). Either there's something counter-intuitive about what these numbers mean or there's a bug. Dpmuk (talk) 05:52, 3 March 2012 (UTC)
- Wow, the diff sizes for your contributions towards the bottom are totally borked. For this edit where you removed text, the diff size is +9,183! If you look at the diff from the history view, by itself, the size is still +9,183, but with a few other entries, the size is correct (-242). Someone should file a bug for this. Goodvac (talk) 06:05, 3 March 2012 (UTC)
- Never reported a bug before but now I've confirmed it's not me being an idiot I'm happy to do so. Would I be right in thinking mediawiki as the product and history/diffs as the component is the best place for this? Dpmuk (talk) 06:15, 3 March 2012 (UTC)
- I've never filed a bug either, so I wouldn't know the process. ;) After reading mw:Bugzilla#Reporting a bug, I think you're right about the product and component.
Also noting here that these inaccurate diff changes are occurring on older edits. The same phenomenon is visible at my earliest contributions. For example, this was a +4,250. Goodvac (talk) 06:27, 3 March 2012 (UTC) - Reported. Hope I've done it right. Dpmuk (talk) 06:44, 3 March 2012 (UTC)
- Not sure what dates produce this behavior, but my earliest edits circa August 2010 seem correct. These ones appear ~2007. Chris857 (talk) 04:21, 4 March 2012 (UTC)
- I looked at some from early 2008: +23,509, +2,054, etc. But 12 April 2008 and after look alright. And it looks like somewhere in April 2008 is where the diff sizes become correct. This theory holds up after looking at Dpmuk's contributions: the 27 March 2008 edit has a wrong diff count, but by 20 April 2008, they're correct. Goodvac (talk) 04:36, 4 March 2012 (UTC)
- (edit conflict)Looking at this, it seems that all borked values are positive, and they appear to match closely or identically to page size. Using User:Imzadi1979's history (as mine doesn't go back long enough), bounds of dates seem to be October 5, 2007 - April 7, 2008. It isn't absolute, as this edit on October 18, which is in that range, is negative and correct. Chris857 (talk) 04:43, 4 March 2012 (UTC)
- Well, I think that in the borked range, not all of the diff sizes will be incorrect, just some of them. Goodvac (talk) 05:06, 4 March 2012 (UTC)
- I've never filed a bug either, so I wouldn't know the process. ;) After reading mw:Bugzilla#Reporting a bug, I think you're right about the product and component.
- Never reported a bug before but now I've confirmed it's not me being an idiot I'm happy to do so. Would I be right in thinking mediawiki as the product and history/diffs as the component is the best place for this? Dpmuk (talk) 06:15, 3 March 2012 (UTC)
Diff size differences when filtering by tag
Check the recent history of Milton Keynes. In the usual history listing you can see an edit 30 minutes ago that removed 63,490 bytes and is tagged as "possible vandalism". OK so far. Now copy that tag into the "Tag filter" field and redisplay. The filtered history listing claims that the same edit added 6,881 bytes. -- John of Reading (talk) 22:37, 4 March 2012 (UTC)
- I've added this to the bug about page diffs. Basically it's not looking back to find the previous revision, but simply assuming there wasn't one, and it is a page creation. - Jarry1250 [Deliberation needed] 23:24, 4 March 2012 (UTC)
- And moved into a separate bug. - Jarry1250 [Deliberation needed] 01:00, 5 March 2012 (UTC)
Script issue
I sporadically get a pop-up that says (I'm paraphrasing) that a script may have (or has) stopped running, and it asks me if I want to stop the script. Only happens on Wikipedia, and just since the rollout. I use Windows XP and my browser is Firefox 3.6.27 Maile66 (talk) 22:55, 5 March 2012 (UTC)
- I also use XP and FF 3.6.27. The message is from Firefox, and is not necessarily related to Wikipedia: in Tools → Options → Privacy, I have "Remember my browsing history for at least" set to 91 days. The history does get very long, so periodically I open it (Ctrl+H), select View → by site, and zap those sites which I'm not interested in going back to (right click, select "Delete"). If I had visited a lot of pages in that site, then while zapping, it might throw the error "Warning: Unresponsive script A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." which I believe is the one that you describe. I always go for "Continue", and it seems to complete OK. --Redrose64 (talk) 00:07, 6 March 2012 (UTC)
- That's the exact message, all right. Except I have my browsing history set to only 10 days. I'll try cleaning out my history.Maile66 (talk) 00:32, 6 March 2012 (UTC)
Special:PrefSwitch
I was randomly checking the special pages and noticed Special:PrefSwitch is throwing:
Invalid message parameter Backtrace: #0 /usr/local/apache/common-local/php-1.19/includes/Message.php(505): Message->extractParam(Array) #1 /usr/local/apache/common-local/php-1.19/includes/Message.php(373): Message->replaceParameters('Remember that w...', 'before') #2 /usr/local/apache/common-local/php-1.19/includes/Message.php(431): Message->toString() #3 /usr/local/apache/common-local/php-1.19/includes/OutputPage.php(3435): Message->plain() #4 /usr/local/apache/common-local/php-1.19/includes/OutputPage.php(3423): OutputPage->addWikiMsgArray('prefswitch-jswa...', Array) #5 /usr/local/apache/common-local/php-1.19/extensions/PrefSwitch/SpecialPrefSwitch.php(262): OutputPage->addWikiMsg('prefswitch-jswa...', 'Markhurd', 'monobook', Array) #6 /usr/local/apache/common-local/php-1.19/extensions/PrefSwitch/SpecialPrefSwitch.php(171): SpecialPrefSwitch->render('main') #7 /usr/local/apache/common-local/php-1.19/includes/SpecialPageFactory.php(476): SpecialPrefSwitch->execute(NULL) #8 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #9 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(593): MediaWiki->performRequest() #10 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(503): MediaWiki->main() #11 /usr/local/apache/common-local/php-1.19/index.php(58): MediaWiki->run() #12 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...') #13 {main}
when I'm logged in. I've already guessed it is related to bugzilla:25029 and noted it there, but I thought I should mention it here. (In fact I have no idea if this is actually new in 1.19.) Mark Hurd (talk) 15:42, 14 March 2012 (UTC)
MediaWiki logo missing
It seems like ages since I've last seen it at the bottom of a Wikipedia page. The Wikimedia logo is there, and an invisible rectangle of the same size linking to the MediaWiki website is right next to it, but the logo itself is nowhere to be seen. At first I thought it was a glitch, but it's been months since then—probably more than a year, in fact. It could date back to the switch to Vector, but my memory isn't of much help here. (I use version 10.0.2 of Firefox, though the specific version seems irrelevant given the nature of the problem.)
A little warning: although I appreciate any replies which this may receive, I may be off-line for a few days and therefore fail to acknowledge them in a timely fashion. Waltham, The Duke of 12:29, 10 March 2012 (UTC)
- It's showing for me, both in Monobook and Vector. I wonder if you have some sort of ad blocker on your computer that is blocking the image. Anomie⚔ 13:10, 10 March 2012 (UTC)
- It's also showing for me. Can you see it at http://bits.wikimedia.org/skins-1.19/common/images/poweredby_mediawiki_88x31.png? Try to clear your entire cache. PrimeHunter (talk) 22:50, 10 March 2012 (UTC)
- I've already tried looking at the image file on my own, and could not. (And I've also looked at a page in Monobook, and the logo was still invisible.) I have now cleared my entire cache, and also added an explicit exception rule for Adblock Plus (though I couldn't see why it would block it). Problem's still there... Waltham, The Duke of 23:53, 10 March 2012 (UTC)
- What exactly happens when you click on http://bits.wikimedia.org/skins-1.19/common/images/poweredby_mediawiki_88x31.png compared to http://bits.wikimedia.org/images/wikimedia-button.png? Can you try another browser? Can you see the copy at File:Poweredby mediawiki 88x31.png or displayed to the right in this section? PrimeHunter (talk) 00:36, 11 March 2012 (UTC)
- While the latter image appears properly, the former does not appear at all; when I try to select it, I only see a tiny dot of a shade (which shows the absence of an image rather than, say, a white box). I can't see the copy either, and I didn't realise you had transcluded it here until I read about it. I've tried Internet Explorer 7 and the image remains invisible. This is utterly perplexing, especially considering that I am apparently the only one facing this problem (although I suppose it makes sense, because the issue would have been fixed a while ago if more people experienced it). Waltham, The Duke of 13:27, 11 March 2012 (UTC)
- Perhaps some image software used in your browsers is unable to display this particular png image. Can you download the image file to your computer by right clicking http://bits.wikimedia.org/skins-1.19/common/images/poweredby_mediawiki_88x31.png or http://upload.wikimedia.org/wikipedia/commons/d/d4/Poweredby_mediawiki_88x31.png? They should be identical. It's 3605 bytes. If you get it to your hard disk then try to right click it and open it with different programs (not just browsers) to see if any of them can display it. PrimeHunter (talk) 23:50, 11 March 2012 (UTC)
- They are identical: their size is 43 bytes and their dimensions 1 × 1. Looking at it this way, the problem doesn't seem to be browser-related—although, on the other hand, I downloaded the images through my browser, so... I've just had a look at a Wikipedia page on a friend's laptop, and the logo displays properly. And in my laptop it doesn't, and not just on Wikipedia but on Wiktionary and Commons. I cannot imagine what software might be causing this. Waltham, The Duke of 14:10, 13 March 2012 (UTC)
- This is getting strange. I have uploaded copies to my own website. One with the original name and one with a simplified name: http://users.cybercity.dk/~dsl522332/Poweredby_mediawiki_88x31.png and http://users.cybercity.dk/~dsl522332/mw.png. Can you see or download them? PrimeHunter (talk) 15:19, 13 March 2012 (UTC)
- Ah, now we are getting somewhere: I can only see the second image, which means it's the name that causes the problem. But why? It can't be Adblock; I've just de-activated it for Wikipedia and cleared my cache, and the problem persists (and, in any case, the image is also invisible in IE and there is no Adblock Plus there). Waltham, The Duke of 16:25, 14 March 2012 (UTC)
- There are some passive blocking programs like SpywareBlaster and Spybot's "Immunize" function, that can permanently filter addresses across multiple browsers ("permanently" meaning it's not a running program or add-on than can be disabled). It's all I can come up with to explain the symptoms you're describing. Have you ever run anything like that? Equazcion (talk) 16:37, 14 Mar 2012 (UTC)
- Not that I can recall... If this is what's happened, though, you make it sound as if it cannot be reversed. I can live with not being able to see an image, but who knows what else such a program might do. Waltham, The Duke of 17:35, 14 March 2012 (UTC)
- It can be reversed, it's just not as simple as disabling a program. I'm not well-versed on all the places where passive filters are stored, but for starters you can check the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains, and Firefox -> Tools -> Options -> Load images automatically -> Exceptions. You could also check your Hosts file in \Windows\System32\drivers\etc. If you see extensive lists in any of these locations, it probably means a spyware-blocking program was run that downloaded a blacklist and applied it to your computer. You should be able to clear entries easily enough. Equazcion (talk) 18:02, 14 Mar 2012 (UTC)
- I've looked into the three locations you have suggested, and the second and third were empty. The registry location did have a series of files with the names of various websites, but there was nothing Wikimedia-related there; with the exception of Google and eBay, they were all websites I don't use, and most names looked like the kind to be found in advertising pop-ups. I therefore didn't see fit to tamper with the list. If you have more ideas, they are welcome at my talk page (or the Reference desk thread, as suggested below, if I remember to start it); if not, it doesn't matter. I'd like to thank both you and PrimeHunter for your trouble, and I hope the issue will resolve itself one day. What a silly little mystery, though... Waltham, The Duke of 18:29, 20 March 2012 (UTC)
- This is apparently not a Wikipedia issue. You can try asking at Wikipedia:Reference desk/Computing. PrimeHunter (talk) 23:49, 14 March 2012 (UTC)
How to use MathJax in Wikimedia projects?
MW 1.19 developers broke texvc options and the recent update reduced available <math> output to either PNG or the raw LaTeX code. There is no HTML nor MathML anymore. I did not investigated these details before this event happened because there was a rumour that MathJax is ongoing and will supersede the texvc (which looks pretty reasonable). Of course, the decision to degrade the texvc before the advent of MathJax was foolish. But it will unlikely be reversed and now there is a problem to obtain an intelligent (i.e. touchable and copyable) output of numerous instances of <math> found in English Wikipedia. mw:Extension:MathJax is something of an unknown term of deployment in Wikimedia and, hence, we have to survive with little hope of cooperation with Wikimedia admins. Is there some ideas how to implement MathJax as, say, a personal script or gadget which can process the raw LaTeX (when texvc is disabled)? Or there is already a discussion about this problem? Incnis Mrsi (talk) 17:57, 18 March 2012 (UTC)
- Wow, your post surprises me. My mathJax script has been mentioned on and on at the WikiProject Mathematics, and has first been set up almost two years ago. Anyway, I hope you will like the script and find that it addresses your needs. Bugs can be reported on this page. Nageh (talk) 18:13, 18 March 2012 (UTC)
- They didn't broke it, they just removed an already broken option.
- There are more details on:
- Helder 20:17, 20 March 2012 (UTC)
Stable, stability
I am interested to know more about "stability", in terms of "stable version", i.e., how to quantify "stability" of an article (edits/week, article size variation, etc.) Is there a page, article, essay, tool, dealing with this theme?. --Best regards, Keysanger (what?) 20:41, 18 March 2012 (UTC)
- I moved the question to Wikipedia:Help_desk#Stable, stability --Best regards, Keysanger (what?) 12:12, 20 March 2012 (UTC)
Adding a NOINDEX tag to unpatrolled articles
Hey guys
After suggestions on the New Page Triage discussion page, we've opened a Request for Comment on adding the NOINDEX tag to unpatrolled articles - basically ensuring they can't be syndicated by google. If you've got an opinion or any comments, head on over there and post your two cents :). Okeyes (WMF) (talk) 13:08, 20 March 2012 (UTC)
Nested refs problem (Template:refn)
i read in archive 95 that the #tag:ref/WP:LDR bug had been resolved. i've been working on Horus Heresy (novels). i proceeded to A. employ multiple Template:refn instances (2) and B. place these templates (in the reflist) in the order in which they appear on the text. likely both of these actions (i did some testing) caused a ghost appearance of a CITEREF. the indicator is in the reflist but it does not appear in the text. this happens ONLY in the first three listed references. note that C. these three listed refs had other, legitimate muliple appearances in the text and D. the third reference is the first of the 2 refns.
the refs are listed in Horus_Heresy_(novels)#Notes. the "ghost" citerefs are http://en.wikipedia.org/wiki/Horus_Heresy_(novels)#cite_ref-background_0-2 (ghost 1), http://en.wikipedia.org/wiki/Horus_Heresy_(novels)#cite_ref-nonlinear_1-2 (ghost 2), http://en.wikipedia.org/wiki/Horus_Heresy_(novels)#cite_ref-audience-pov_2-3 (ghost 3).
any comments appreciated. will respond tomorrow. thanx. 65.88.88.127 (talk) 20:47, 18 March 2012 (UTC)
- Right, I see. The first three entries in the references list each have one superscripted letter (the last one of three or four) for which the backlink does not work. These are:
- Notes item 1, link c: a b c ...
- Notes item 2, link c: a b c ...
- Notes item 3, link d: a b c d ...
- but I don't see what might cause these extra links to appear. --Redrose64 (talk) 21:27, 18 March 2012 (UTC)
- thanx for your reply. this is what i did –
- single instance of Template:refn in the reflist, in the order it appears on the text = same problem persisted.
- single instance of refn, moved it to top of reflist = problem disappeared, everything ok.
- first instance of refn moved to top of reflist, added 2nd instance of refn in the order it appears on text = no ghost ref links in the first 3 refs, but 1 extra ref link appeared in the original refn, as in Notes item 54, link c: a b c [this is the current page]
- first instance of refn moved to top of reflist. 2nd instance of refn anywhere in reflist but with its nested ref above it = 1 extra ref link appeared in the original refn, as above.
- first instance of refn moved to top of reflist. 2nd instance of refn anywhere in reflist but with its nested ref below it = 1 extra ref link appeared in the original refn as above, plus cite error re: the nested ref of 2nd refn instance.
- it seems the bug is still there but does not generate the same visible cite errors? thank you. 65.88.88.127 (talk) 15:53, 19 March 2012 (UTC)
- removed all instances of refn in Horus Heresy (novels) except one in order to avoid having to deal with T22707. the result is inelegant, but bug-free. 65.88.88.127 (talk) 17:13, 20 March 2012 (UTC)
- The bug is still extant. I did a lot of testing, and you can get some odd effects, depending on the order in which references are parsed. A newer method gaining in popularity is Shortened footnotes using {{sfn}} and {{efn}} which does not have the same problems; see Help:Shortened footnotes#Shortened footnotes with separate explanatory notes with references. Remember to gain consensus for changes in citation style. ---— Gadget850 (Ed) talk 20:07, 21 March 2012 (UTC)
Can't edit templates while on Chrome
I don't know if it's an error with my settings, but on Chrome I cannot edit templates. Instead they appear in a grey box that I can't edit. I do not have this problem on Firefox. JDDJS (talk) 02:08, 19 March 2012 (UTC)
- I cannot reproduce this in Chrome. Here is an example unprotected template: Template:Seed. Do you see an "Edit" tab? What happens when you click it? It should contain the link http://en.wikipedia.org/w/index.php?title=Template:Seed&action=edit (if you are at http://en.wikipedia.org) and give a normal edit box. Have you tested whether you can currently edit non-template pages in Chrome? Have you tried whether you can edit when you are logged out? PrimeHunter (talk) 02:22, 19 March 2012 (UTC)
- It's the templates that are in articles that I can't edit. It works when I log out. JDDJS (talk) 21:48, 19 March 2012 (UTC)
- If you can edit Template:Seed then please name a specific template you can edit in Firefox but not Chrome, say exactly what you do to edit it in Firefox, and at which point it fails in Chrome. PrimeHunter (talk) 20:00, 20 March 2012 (UTC)
- When I want to edit a reference template in article to be 30em instead of 22em, the template is in a gray box. I found out that if I click on the gray box and then press delete while my cursor is before the box, I can see the normal code and edit as I would normally. When I am logged out or editing from Firefox I do not see the gray box and instead just the normal code. JDDJS (talk) 17:11, 21 March 2012 (UTC)
- It sounds like you have some script to edit references at Special:Preferences#mw-prefsection-gadgets or User:Eddie Da Wonderdog/monobook.js (User:JDDJS/monobook.js redirects there but I don't know whether that works for monobook.js). If the problem hinders your editing then try to identify and disable the script. PrimeHunter (talk) 19:25, 21 March 2012 (UTC)
- When I want to edit a reference template in article to be 30em instead of 22em, the template is in a gray box. I found out that if I click on the gray box and then press delete while my cursor is before the box, I can see the normal code and edit as I would normally. When I am logged out or editing from Firefox I do not see the gray box and instead just the normal code. JDDJS (talk) 17:11, 21 March 2012 (UTC)
- If you can edit Template:Seed then please name a specific template you can edit in Firefox but not Chrome, say exactly what you do to edit it in Firefox, and at which point it fails in Chrome. PrimeHunter (talk) 20:00, 20 March 2012 (UTC)
- It's the templates that are in articles that I can't edit. It works when I log out. JDDJS (talk) 21:48, 19 March 2012 (UTC)
User talk pages not NOINDEXed for mobile site
It seems that as of very recently (the last day or two) user talk pages on the http://en.m.wikipedia.org version of the site are not NOINDEXed (i.e. they show up in Google results), even when NOINDEX is explicitly set on the page. —danhash (talk) 14:18, 13 March 2012 (UTC)
- This is still an issue, and it includes NOINDEXed user pages as well. Has there been a change to NOINDEX or the mobile site recently that could cause this? —danhash (talk) 16:04, 19 March 2012 (UTC)
- See bugzilla:35233: the mobile site became indexed on about March 8. If it really doesn't support NOINDEX keyword then someone needs to file another bug request. — AlexSm 20:51, 22 March 2012 (UTC)
Firefox update causing svg > png problems.
In the update to firefox 11, they changed the way that image files are displayed so that when an image is opened in full size, it is centered in the screen and has a grey background. This is good for jpegs, but many of our .svg files have a see-through background, meaning that images like File:Beta-aminobutyric_acid.svg appear like this when they are rendered by mediawiki as pngs. Is there anything that we can be do to solve this? If not us, then is there someway to change firefox's settings? SmartSE (talk) 20:33, 21 March 2012 (UTC)
- Can you give us a screenshot? I don't feel like installing Firefox. —Designate (talk) 23:10, 21 March 2012 (UTC)
- Apparently this works. SD5 23:38, 21 March 2012 (UTC)
- (edit conflict) It's like any other browser except really dark. Most of them do a light greyish, but Firefox is... dark (this colour). Honestly sounds more like a Firefox is dumb problem than something that we could do much about here, but for now you could do what SD5 suggests. — Isarra (talk) 23:41, 21 March 2012 (UTC)
Two solutions found from googling:
- Technical: Expand omni.ja, found in Firefox's root program folder, using an archive program (7zip etc). Edit TopLevelImageDocument.css, search for "background-color:", and replace "#222" with "#FFFFFF".
- Simple: https://addons.mozilla.org/en-US/firefox/addon/old-default-image-style/ - Addon to basically do the above for you. Equazcion (talk) 00:14, 22 Mar 2012 (UTC)
- Just realized the addon was already mentioned above by SD5, my bad :) Equazcion (talk) 00:17, 22 Mar 2012 (UTC)
- Thanks for the replies - I agree that it is a bit stupid of firefox. I'll try using that add on later. SmartSE (talk) 13:43, 22 March 2012 (UTC)