Policy | Technical | Proposals | Idea lab | WMF | Miscellaneous |
- Table of contents
- First discussion
- End of page
- New post
Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk.
created timestamp
-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 18:16, 16 January 2019 (UTC)
I created Template:Did you know nominations/151 North Franklin with its first published edit at 03:30, 25 December 2018. However, the scripts that I am running show "Created by TonyTheTiger (talk | contribs) on Mon, Dec 24 2018, 21:30:50 (Central Standard Time)" at the top of the page. I never noticed that this was shown in local time instead of UTC. How can I get this script to make my page show UTC times?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 03:40, 25 December 2018 (UTC)
- @TonyTheTiger: first check your timezone in Special:Preferences#mw-prefsection-rendering - if you want UTC times but have set this to something else change that. If that isn't it, can you provide more information about "the scripts" you are using? — xaosflux Talk 04:09, 25 December 2018 (UTC)
- User:TonyTheTiger/vector.js imports User:Eizzen/PageCreator.js. User:Eizzen/PageCreator says how to choose between local time and UTC, but UTC is supposed to be default and it doesn't work to set it with the specified method. I think User:Eizzen/PageCreator.js should change
that.useUTC === true
tothat.options.useUTC === true
. . User:Eizzen has not edited since 2017. PrimeHunter (talk) 11:45, 25 December 2018 (UTC)- PrimeHunter, Thx. How can we get this change enacted? Does Eizzen have exclusive powers?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 13:21, 25 December 2018 (UTC)
- Wikipedia:Interface administrators can edit it. Some of them monitor this page. Eizzen might respond to an email, or you could copy the code to your own userspace. The latter wouldn't help other users of the script but there are only around a dozen. PrimeHunter (talk) 15:05, 25 December 2018 (UTC)
- TonyTheTiger, I have now modified that page as described. —TheDJ (talk • contribs) 08:53, 28 December 2018 (UTC)
- TheDJ, I am now seeing GMT instead of Central Standard Time at the top of my pages. Still not UTC.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 02:50, 3 January 2019 (UTC)
- Xaosflux, would you care to comment here where I think other experts are watching.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 01:36, 9 January 2019 (UTC)
- GMT and UTC are the same for all practical purposes (unless you are navigating a ship or aligning an astronomical telescope) - there's only a fraction of a second in it. --Redrose64 🌹 (talk) 11:26, 9 January 2019 (UTC)
- Redrose64 year round?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 06:22, 15 January 2019 (UTC)
- GMT and UTC are the same for all practical purposes (unless you are navigating a ship or aligning an astronomical telescope) - there's only a fraction of a second in it. --Redrose64 🌹 (talk) 11:26, 9 January 2019 (UTC)
- Xaosflux, would you care to comment here where I think other experts are watching.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 01:36, 9 January 2019 (UTC)
- TheDJ, I am now seeing GMT instead of Central Standard Time at the top of my pages. Still not UTC.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 02:50, 3 January 2019 (UTC)
- PrimeHunter, Thx. How can we get this change enacted? Does Eizzen have exclusive powers?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 13:21, 25 December 2018 (UTC)
Question: extracting lists from Unused templates lists
I have just discovered this: Wikipedia:Database reports/Unused templates. Wow! I was wondering if there is any way to perform queries of the list to extract entries matching certain parameters? (eg. created before a certain year, have certain phrase or characters in the name, or have had no revisions since creation). I think that would be a useful way to filter the list to have a look more in depth at certain templates.
It goes without saying that one will need to have a closer look at the lists are generated before proposing them all for discussion / deletion (to ensure they truly aren't used in other environments such as modules, or aren't transclusionless etc.), but I think it is a useful place to start. Any ideas how I can achieve this? --Tom (LT) (talk) 01:16, 29 December 2018 (UTC)
- @Tom (LT): You should look at WP:Petscan. --Izno (talk) 14:11, 29 December 2018 (UTC)
- @Izno thanks --Tom (LT) (talk) 11:41, 6 January 2019 (UTC)
- Question: @Izno. PetScan is for categories. Most of the unused templates only show up on the database report so I can't actually view the categories. IF it can solve my problem (ie let me search through the database report) could you kindly show me how...? With thanks, --Tom (LT) (talk) 01:21, 13 January 2019 (UTC)
- Wow, over 75,000 unused templates. It's easy to copy all the text from the first page (5000 entries) and paste that into a spreadsheet, then sort by Latest edit or First edit. I used "paste special" as text and then had to format the date columns as number with 0 decimal digits. That is enough to work on! Template:Veg-stub is on page 16 of the report. It was last edited in July 2005 but it turns out to be a redirect to Template:Vegetable-stub which is used. Getting redirects deleted can be difficult because people will argue that redirects are cheap blah blah. It would be nice to know how many of the first 5000 entries are redirects. Johnuniq (talk) 02:12, 13 January 2019 (UTC)
- @Tom (LT): Petscan works on categories, templates, or other selection criteria. When you start it up, it's in the "Categories" form - but there are five other tabs along the top. These are: "Page properties"; "Templates&links"; "Other sources"; "Wikidata" and "Output". All of these (except "Output") can be used instead of "Categories" - or in combination with it. --Redrose64 🌹 (talk) 18:40, 13 January 2019 (UTC)
- Wow, over 75,000 unused templates. It's easy to copy all the text from the first page (5000 entries) and paste that into a spreadsheet, then sort by Latest edit or First edit. I used "paste special" as text and then had to format the date columns as number with 0 decimal digits. That is enough to work on! Template:Veg-stub is on page 16 of the report. It was last edited in July 2005 but it turns out to be a redirect to Template:Vegetable-stub which is used. Getting redirects deleted can be difficult because people will argue that redirects are cheap blah blah. It would be nice to know how many of the first 5000 entries are redirects. Johnuniq (talk) 02:12, 13 January 2019 (UTC)
- Question: @Izno. PetScan is for categories. Most of the unused templates only show up on the database report so I can't actually view the categories. IF it can solve my problem (ie let me search through the database report) could you kindly show me how...? With thanks, --Tom (LT) (talk) 01:21, 13 January 2019 (UTC)
- @Izno thanks --Tom (LT) (talk) 11:41, 6 January 2019 (UTC)
Combating the issue of bare URLs
Hello all,
Apologies for putting this here, I don't know really where else to put it besides Wikipedia talk:Bare URLs where it certainly wouldn't get the input it deserves.
Fetterly et al (2003, DOI: 10.1002/spe.577) noted that 40% of webpages change within a week and that one in two-hundred links disappear from the Internet in the same time period. McCown et al (2005, arXiv:cs/0511077) noted that 28% of URLs failed to respsond in a study on D-Lib Magazine. Needless to say, bare URLs are bad news for Wikipedia, because they are prone to link rot which will compromise verifiability. Despite only five articles appearing in the link rot maintenance category, the problem is much more severe. A RegEx search I have run on the latest enwiki database dump reveals that 489,767 articles, approximately 8.5% of all enwiki articles, use bare URLs. That means that every week, on average, just shy of 2,500 articles will have at least one reference turned into a dead link and we will have no contextual information to rescue the sources.
I have laid out a plan here, however I don't believe reFill has the functionality of batch processing, which rather snookers the plan. I've got the list of the 489,767 articles but I sure as hell can't use reFill on every single one of them. Does anyone have any ideas on how to go about this?
Many thanks,
SITH (talk) 23:52, 3 January 2019 (UTC)
- Per WP:Link rot:
- All new links added to Wikipedia are automatically saved to Wayback Machine within about 24hrs. This is done with a program called "NoMore404" which Internet Archive runs and maintains. It scans the IRC feed channels, extracts new external URLs and adds a snapshot to the Wayback. This system became active sometime after 2015, though previous efforts were also made. etc..
- Any links added after 2015 there is a very-high chance of a Wayback link being available. For earlier links there is also a very-good chance due to previous archiving efforts by Wayback, Archive.is and other providers. Still, some links which went dead a long time ago have no archives, and some links the providers can't or won't archive for some reason, link rot remains to some degree. -- GreenC 00:18, 4 January 2019 (UTC)
- @GreenC: yep, but going through the AWB list, most of these articles are pre-2015 unfortunately. Perhaps it's a legacy issue with NoMore404, maybe we could link up a bot to reFill to clear out the backlog? SITH (talk) 00:49, 4 January 2019 (UTC)
- reFill is one tool that works on bare links. There is also User:Citation bot. And IABot converts them (if the link is dead). I don't know what that error rate is for these tools, if they can safely be automated without user oversight. IABOt is fully auto, but when a link is dead the conversion isn't much to do. -- GreenC 01:03, 4 January 2019 (UTC)
- One idea is extract a few thousand bare URLs at random into a test page (each surrounded by <ref></ref>). Make three copies of that test page. Run reFill on one, Citation bot on another, and IABot on the third. See what the results are - look for problems and differences. The quality of the edits will give a sense how viable it would be to run in fully automated mode. -- GreenC 01:32, 4 January 2019 (UTC)
- There is also WP:Reflinks, which seems to correct a wider range than refill.Onel5969 TT me 01:38, 4 January 2019 (UTC)
- One could presumably also build a bot to interface with mw:Citoid. --Izno (talk) 03:06, 4 January 2019 (UTC)
- @Izno: reFill appears to be forkable on GitHub and doesn't depend on labs hosting so I could fork it and integrate it into AWB. I'd probably have to go to WP:BRFA first but that looks like the most feasible idea. — Preceding unsigned comment added by StraussInTheHouse (talk • contribs) 13:33, 4 January 2019 (UTC)
- Whomever the nameless ping was from, you'll also need to check that reFill produces citations conforming to our current citation module. One or another of the gadgets does not presently. The reason I mentioned Citoid (which is similarly open source) was because it also has integrated a much-better specific site integration, I would guess. --Izno (talk) 14:44, 4 January 2019 (UTC)
- reFill uses Citoid to generate citations. --AntiCompositeNumber (talk) 15:51, 4 January 2019 (UTC)
- Bears repeating - these tools are not run and forget. They make mistakes, quite frequently. They are designed as a starting point with further manual edits to fill in and fix. You are responsible for every edit. Focus on getting it right, the mistakes these tools makes are far more work and time to find and fix after the fact. That's why I recommended, run tests to see which tool does the best job, and see how many mistakes they are actually making. It may be we don't have any tools reliable enough for an unattended bot run. -- GreenC 15:42, 4 January 2019 (UTC)
- @StraussInTheHouse: The current tool isn't very flexible in this regard, but a rewritten version under development (I'm planning to take it back from the ashes after my hiatus) provides a set of APIs that will allow for easy integration with bots. It's nowhere near completion, but the new version has much less cruft compared to the existing PHP version, and is where more development effort should go. Zhaofeng Li talk (Please {{Ping}} when replying) 15:21, 8 January 2019 (UTC)
- Zhaofeng Li, that looks good, let me know when you’re fully back and I’ll help all I can! SITH (talk) 18:11, 8 January 2019 (UTC)
- @StraussInTheHouse: I've got the new version back in shape in the past week, and it should be ready for public testing at this point. Zhaofeng Li talk (Please {{Ping}} when replying) 05:00, 16 January 2019 (UTC)
- Zhaofeng Li, that looks good, let me know when you’re fully back and I’ll help all I can! SITH (talk) 18:11, 8 January 2019 (UTC)
- Whomever the nameless ping was from, you'll also need to check that reFill produces citations conforming to our current citation module. One or another of the gadgets does not presently. The reason I mentioned Citoid (which is similarly open source) was because it also has integrated a much-better specific site integration, I would guess. --Izno (talk) 14:44, 4 January 2019 (UTC)
- @GreenC: test cases on draftified versions would be the best bet. SITH (talk) 16:20, 4 January 2019 (UTC)
Broken links to peer review pages.
Apparently, on occasion, an article and its subpages are moved to a new title. However, peer review pages existing in project space are not captured when subpages are moved. I became aware of this while participating in the mass-move of political campaign articles to put the dates before the name of the respective campaign or election, but it is likely that it has occurred in other contexts. There are two ways to address this, those being to move all the affected peer review pages to the new titles, or to create redirects to them. Either one would require that someone compile a list of the links that are now broken. If someone makes such a list, I'll be glad to check and move the pages. Cheers! bd2412 T 17:43, 10 January 2019 (UTC)
- @BD2412: most articles moves leave a redirect behind, and articles shouldn't have subpages. Can you show some examples of this problem? — xaosflux Talk 18:20, 10 January 2019 (UTC)
- To be more precise, talk pages usually move with the article, and talk pages often have subpages (typically archives). The case that was brought to my attention was from my move of William McKinley presidential campaign, 1896 to William McKinley 1896 presidential campaign, pursuant to consensus for the above-referenced mass-move of political campaign articles. It was later brought to my attention that this resulted in a broken link on the talk page of that article to Wikipedia:Peer review/William McKinley presidential campaign, 1896/archive1, which I thereafter moved to Wikipedia:Peer review/William McKinley 1896 presidential campaign/archive1. It is likely that there are other subpages of Wikipedia:Peer review that have become untethered due to page moves, since these are not in a space that is carried along with the page move. bd2412 T 18:32, 10 January 2019 (UTC)
- Simplez, use an ifexist in {{Old peer review}} to categorize talk pages with nonexistant links. Galobtter (pingó mió) 18:40, 10 January 2019 (UTC)
- If someone who knows how to do that would create the category, I can do the rest. Cheers! bd2412 T 19:24, 10 January 2019 (UTC)
- I have added ifexist code [1] and created Category:Pages using Template:Old peer review with broken archive link. It will take time for the job queue to automatically populate the category. PrimeHunter (talk) 22:06, 10 January 2019 (UTC)
- Thanks, this works. I will keep an eye on it. bd2412 T 22:27, 10 January 2019 (UTC)
- @BD2412, PrimeHunter, and Galobtter: How about pages that use {{article history}} to display peer reviews but not the {{Old peer review}} template, like Talk:Charles Boycott? (Not that the link there is broken ... just using it as an example. Graham87 10:30, 11 January 2019 (UTC)
- Graham87, {{article history}} does not automatically generate the link as {{old peer review}} does (you have to specify the link as e.g
|action1link=Wikipedia:Peer review/Charles Boycott/archive1}}
), so links don't break. Galobtter (pingó mió) 10:34, 11 January 2019 (UTC)
- Graham87, {{article history}} does not automatically generate the link as {{old peer review}} does (you have to specify the link as e.g
- @BD2412, PrimeHunter, and Galobtter: How about pages that use {{article history}} to display peer reviews but not the {{Old peer review}} template, like Talk:Charles Boycott? (Not that the link there is broken ... just using it as an example. Graham87 10:30, 11 January 2019 (UTC)
- Note that this has generated a list of 642 errors, which is a bit bigger of a task than anticipated. In other words, a technical solution may be required to fix these. bd2412 T 13:40, 11 January 2019 (UTC)
- You could ask for bot help at Wikipedia:Bot requests, or manual help at Wikipedia talk:Peer review. I'm not a bot coder. The best I could do is modify {{Old peer review}} to check a list of exceptions if the normal link would be red. A list entry in a big switch could look like this:
|William McKinley 1896 presidential campaign = Wikipedia:Peer review/William McKinley presidential campaign, 1896/archive1
. Peer reviews can be in other places like Wikipedia:WikiProject Military history/Peer review/Murray Bourchier so we shouldn't assume a subpage of Wikipedia:Peer review. The list would still have to be compiled somehow but it might be easier than editing each talk page, or make moves or redirects. If somebody makes a script to compile a list then it wouldn't require bot approval like solutions which make 642 edits. PrimeHunter (talk) 19:04, 11 January 2019 (UTC)
- You could ask for bot help at Wikipedia:Bot requests, or manual help at Wikipedia talk:Peer review. I'm not a bot coder. The best I could do is modify {{Old peer review}} to check a list of exceptions if the normal link would be red. A list entry in a big switch could look like this:
- Thanks, this works. I will keep an eye on it. bd2412 T 22:27, 10 January 2019 (UTC)
- I have added ifexist code [1] and created Category:Pages using Template:Old peer review with broken archive link. It will take time for the job queue to automatically populate the category. PrimeHunter (talk) 22:06, 10 January 2019 (UTC)
- If someone who knows how to do that would create the category, I can do the rest. Cheers! bd2412 T 19:24, 10 January 2019 (UTC)
Hitting "enter" in the edit summary box no longer saves the page
When I am in the edit summary box and hit "enter" rather than saving the page this action now brings up a menu of common edit summaries, even if I have already typed my edit summary. I have no use for this feature. Can I at least get the previous effect of saving the page as an option? bd2412 T 21:15, 10 January 2019 (UTC)
- Testing... It saved it for me. What skin are you using? Did you change anything in your preferences or gadgets? ~ ONUnicorn(Talk|Contribs)problem solving 21:28, 10 January 2019 (UTC)
- I am facing the same problem as User:BD2412 and it started a few hours back, so something recent has changed it. Now the only way to save a comment is to use the mouse and hit the publish button. I have not made any changes and would like the old functionality back. thanks.--DBigXrayᗙ 21:31, 10 January 2019 (UTC)
- Wikipedia:ITSTHURSDAY? Works fine for me, is there a chance your browser updated recently? ~ Amory (u • t • c) 21:40, 10 January 2019 (UTC)
- This is happening to me, sometime today (no browser restart or the like). "Enter" on the Edit Summary triggers the drop down of "common edit summaries" --Masem (t) 21:54, 10 January 2019 (UTC)
- @BD2412, DBigXray, and Masem: At Preferences → Gadgets, what is your setting for "Add two new dropdown boxes below the edit summary box with some useful default summaries"? --Redrose64 🌹 (talk) 22:01, 10 January 2019 (UTC)
- It was enabled. Disabling it removes this above stated behavior. --Masem (t) 22:07, 10 January 2019 (UTC)
- Same. The issues is solved, but I note that I did not make any recent changes to preferences to cause the change. My computer did install updates within the past few days, but the behavior noted above did not manifest until earlier this afternoon. bd2412 T 22:17, 10 January 2019 (UTC)
- @Redrose64: it was selected from a long time, and still is selected (same as Masem and BD24). Unselecting the option, removed the 2 boxes of default summary. While deselecting the option solves the problem but I would still prefer to be able to use the option of hitting the enter key at the edit summary box, "while having" these 2 default edit summary boxes at the same time. Like it was before. This problem started in the last 2-3 hours so I suspect some change from the wikimedia server side triggered it. if someone could restore this back, or if there is another way to fix this, it will be appreciated. --DBigXrayᗙ 22:26, 10 January 2019 (UTC)
- There are no recent changes in MediaWiki:Gadget-defaultsummaries.js --Redrose64 🌹 (talk) 23:24, 10 January 2019 (UTC)
- Something has definitely changed, though, as I had the extra boxes enabled for ages and the "unable to press Enter to submit" issue only started today. Black Kite (talk) 00:48, 11 January 2019 (UTC)
- There are no recent changes in MediaWiki:Gadget-defaultsummaries.js --Redrose64 🌹 (talk) 23:24, 10 January 2019 (UTC)
- "Fails" for me as well in Chrome and FF (if the gadget is enabled). — xaosflux Talk 22:39, 10 January 2019 (UTC)
- Additional problem - the same issue arises in the [Reason] field when trying to move a page. The fix that solved this problem for the regular edit box does not appear to be available for this one. bd2412 T 23:35, 10 January 2019 (UTC)
I've just started to notice that clicking edit doesn't save edits anymore... It used to be that if I was in the Edit Summary panel and I hit enter, the page would save. Now, doing that causes the "Common edit summaries" dropdown to open. Has anyone else seen this? --Zackmann (Talk to me/What I been doing) 23:02, 10 January 2019 (UTC)
- Zackmann08, I have, and it's annoying me to no end. These sort of "updates" are completely unnecessary. -- /Alex/21 00:37, 11 January 2019 (UTC)
- FWIW, I am not having this issue on testwiki or test2wiki. — xaosflux Talk 01:02, 11 January 2019 (UTC)
- And it just stopped happening here.... — xaosflux Talk 01:03, 11 January 2019 (UTC)
- @MC10: are you around and take a look at MediaWiki:Gadget-defaultsummaries.js - comments say it came from your old update. — xaosflux Talk 01:07, 11 January 2019 (UTC)
- @Alex 21 and DBigXray: FWIW once I disabled the 2 fields, problem solved. :-) --Zackmann (Talk to me/What I been doing) 04:19, 11 January 2019 (UTC)
- @Zackmann08:, have you tried doing a page move? For me, disabling the fields does not seem to fix the issue for the edit summary for that action. bd2412 T 13:41, 11 January 2019 (UTC)
- @Alex 21 and DBigXray: FWIW once I disabled the 2 fields, problem solved. :-) --Zackmann (Talk to me/What I been doing) 04:19, 11 January 2019 (UTC)
- If any intadmin (xaosflux?) wants to put a quick patch in to restore this functionality while we try to figure out what went wrong, they can copy over the content of User:Enterprisey/Gadget-defaultsummaries.js and then G6 it. Not a very good fix (it's just another keydown handler to check for enter presses, and then trigger the save button), of course, but this issue seems to be disrupting some workflows. Enterprisey (talk!) 06:43, 11 January 2019 (UTC)
- Gonna go ahead and make a wild guess that the OOUI update to v0.30.0 that was rolled out 20:00–22:00 UTC as part of the normal update to 1.33.0-wmf.12 (all from wikitech:Deployments#Thursday,_January_10 and mw:MediaWiki_1.33/wmf.12. The underlying issue might not exactly be trivial to find. Edit request filed. Enterprisey (talk!) —Preceding undated comment added 07:28, 11 January 2019 (UTC)
- @Enterprisey: I promoted your code to the gadget, this does seem to be bigger problem as there are some other workflows mentioned above. Probably needs a dev ticket opened. — xaosflux Talk 12:05, 11 January 2019 (UTC)
- phab:T213544 opened. — xaosflux Talk 14:48, 11 January 2019 (UTC)
This issue is resolved now. Matma Rex talk 00:44, 15 January 2019 (UTC)
- Thank you, I've reverted the workaround on MediaWiki:Gadget-defaultsummaries.js. — xaosflux Talk 02:54, 15 January 2019 (UTC)
- Possibly related issue Inserting wiki markup via the bottom tabs after editing an edit summary will lead to the markup being in the summary, even when you have since edited the main article body. [Username Needed] 15:31, 11 January 2019 (UTC)
Is there a way to turn off the saving when hitting the ↵ Enter in the edit summary? I occasionally accidentally hit ↵ Enter instead of ', saving an incomplete summary or incomplete edit. I normally use the Alt+⇧ Shift+S (or click Publish) to save my edits, and would rather have it ignore ↵ Enter. I tried it with the "Add two new dropdown..." option both set and not set; it made no difference. —[AlanM1(talk)]— 11:06, 16 January 2019 (UTC)
- User:Anomie/nosubmitsummary.js seems to still work for me. Anomie⚔ 12:53, 16 January 2019 (UTC)
Special:Block
I note that the blocking form has changed in this week's update, though I'm not entirely sure why or how it's an improvement. What would be useful though, is the form actually being at the top of the page, so you can fill it in without having to scroll down? A trivial thing, I know, but it all looks a bit amateur, and has done for a while. Black Kite (talk) 15:36, 11 January 2019 (UTC)
- @Black Kite: you should be getting a bunch of text in that large empty space at the top (this isn't new) - are you blocking scripts or perhaps set your interface language to some English variant? — xaosflux Talk 15:39, 11 January 2019 (UTC)
- The text you should see is MediaWiki:Blockiptext. — xaosflux Talk 15:40, 11 January 2019 (UTC)
- Also note, it is so low on the page, because we have filled it up with all those directions (you could hide them with css as well). Look for example at the page in another language: de language block screen. — xaosflux Talk 15:43, 11 January 2019 (UTC)
- The text isn't showing because of the
#blockiptext { display: none;
} line in User:Black Kite/monobook.css. {{Sensitive IP addresses}} isn't hidden though, so it pushes the rest of the form down. It probably started happening around the end of March 2018 when Special:Block switched to OOUI. --AntiCompositeNumber (talk) 16:01, 11 January 2019 (UTC)- Only the first three lines (and the comment lines also) of User:Black Kite/monobook.css are valid CSS - all the rest (i.e. this lot) is JavaScript and should probably be at User:Black Kite/monobook.js - I would fix it myself, but I can no longer do so (it's unlikely that I ever will be able to fix it, since I cannot be an interface admin without WP:2FA, and my hardware won't handle it). --Redrose64 🌹 (talk) 16:58, 11 January 2019 (UTC)
- I suspect a lot of my CSS/JS is there to fix issues that have since been fixed by gadgets or scripts etc. - is any of it necessary any more? If not I'll just delete it. Black Kite (talk) 17:49, 11 January 2019 (UTC)
- You can't put JavaScript into a CSS page. At best, it will be ignored; at worst, some strange things may happen. Either way, it won't be executed as JavaScript, so will not perform its intended purpose. If you merely revert this edit either you'll see no difference, or you'll see an improvement. --Redrose64 🌹 (talk) 18:05, 11 January 2019 (UTC)
- Thanks. Black Kite (talk) 15:41, 12 January 2019 (UTC)
- You can't put JavaScript into a CSS page. At best, it will be ignored; at worst, some strange things may happen. Either way, it won't be executed as JavaScript, so will not perform its intended purpose. If you merely revert this edit either you'll see no difference, or you'll see an improvement. --Redrose64 🌹 (talk) 18:05, 11 January 2019 (UTC)
- I suspect a lot of my CSS/JS is there to fix issues that have since been fixed by gadgets or scripts etc. - is any of it necessary any more? If not I'll just delete it. Black Kite (talk) 17:49, 11 January 2019 (UTC)
- Only the first three lines (and the comment lines also) of User:Black Kite/monobook.css are valid CSS - all the rest (i.e. this lot) is JavaScript and should probably be at User:Black Kite/monobook.js - I would fix it myself, but I can no longer do so (it's unlikely that I ever will be able to fix it, since I cannot be an interface admin without WP:2FA, and my hardware won't handle it). --Redrose64 🌹 (talk) 16:58, 11 January 2019 (UTC)
- The text isn't showing because of the
- Also note, it is so low on the page, because we have filled it up with all those directions (you could hide them with css as well). Look for example at the page in another language: de language block screen. — xaosflux Talk 15:43, 11 January 2019 (UTC)
- The text you should see is MediaWiki:Blockiptext. — xaosflux Talk 15:40, 11 January 2019 (UTC)
- Related to the new block screen: I've taken the liberty of modifying the text label for the "disable talk page access" option. Before I changed it, it was labeled
Editing their own talk page
, which is not terribly helpful or descriptive. I used Twinkle'sPrevent this user from editing their own talk page while blocked
instead. The change is at Mediawiki:ipb-disableusertalk; I couldn't find any previous interface messages related to this option (other than MediaWiki:Ipballowusertalk, which obviously isn't relevant). Writ Keeper ⚇♔ 18:15, 15 January 2019 (UTC)
Cannot log on through TOR
I have Wikipedia:IP block exemption. Today I attempted to log on through the Tor browser and got this error:
- There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form.
Resubmitting gives the same error. Clearing browsing/download/form/search history, site preferences, offline website data, active logins, cookies and cache and then restarting the computer didn't help. Trying to log on to several other WMF projects didn't help.
Previously I could log on through TOR, and I can still log on normally with Firefox through my normal ISP.
Has something changed?
I searched for "precaution against session hijacking"[2], read every thread, and tried everything anyone suggested. Nothing worked.
Note: I have IP block exemption because I often am at a remote site in China where industrial espionage is a real problem (I do consulting work in the toy industry) and my US employer requires that when in China I access the Internet through Tails and Tor. There is a lot of waiting around at the remote site so I have plenty of time to edit Wikipedia -- if I can log on. --Guy Macon (talk) 18:25, 12 January 2019 (UTC)
- @Guy Macon: this seems to be related to phab:T151770 - can you try connecting with Tor, but using a different browser? — xaosflux Talk 20:48, 12 January 2019 (UTC)
- As far as I know you need to use the Tor browser (Firefox based) to access Tor, so simply using a different browser won't work. I will give the suggested change to Firefox configuration in the phab a try and get back to you.. --Guy Macon (talk) 06:06, 13 January 2019 (UTC)
- Nope. Made the change, cleared everything and restarted, still getting the error message. :( --Guy Macon (talk) 06:55, 13 January 2019 (UTC)
- Since we are at the desperate stage, are you logged on somewhere? For example, if you had logged on as normal without Tor because you were in a safe location, did you log off there before trying the Tor logon? Perhaps you did not have to in the past, but if convenient it would be worth testing. Johnuniq (talk) 08:32, 13 January 2019 (UTC)
- Good suggestion. I am indeed logged on normally. I occasionally fire up my Tor browser and do some small bit of noncontroversial typo fixing just so I know it will work the next time I get a call to go to China and fix a production problem. It doesn't seem like that should matter, but it is easy enough to test. I will get back to you after trying that. --Guy Macon (talk) 16:09, 13 January 2019 (UTC)
- Since we are at the desperate stage, are you logged on somewhere? For example, if you had logged on as normal without Tor because you were in a safe location, did you log off there before trying the Tor logon? Perhaps you did not have to in the past, but if convenient it would be worth testing. Johnuniq (talk) 08:32, 13 January 2019 (UTC)
- Nope. Made the change, cleared everything and restarted, still getting the error message. :( --Guy Macon (talk) 06:55, 13 January 2019 (UTC)
- As far as I know you need to use the Tor browser (Firefox based) to access Tor, so simply using a different browser won't work. I will give the suggested change to Firefox configuration in the phab a try and get back to you.. --Guy Macon (talk) 06:06, 13 January 2019 (UTC)
- This could be due to attempted https inspection (interception) where the session has some sort of invalid certificate inserted that is rejected by the browser. Graeme Bartlett (talk) 05:44, 13 January 2019 (UTC)
- I am pretty sure that it is a Wikipedia error message, not a browser error message. It is in the HTML that Wikipedia sends:
<div class="error"><p>There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form.</p></div>
- I also changed my Tor Exit not to one on another continent. Didn't help. Tor is completely encrypted from the Tor Browser on my PC to the exit node, so if something is inserted it would have to be between the exit node and Wikipedia. The fact that is still happens when I change exit nodes would imply that someone is intercepting everything that goes to and from Wikipedia. The simpler explanation is that Wikipedia is cancelling my login and sending me the above error message. --Guy Macon (talk) 06:06, 13 January 2019 (UTC)
- The above message is from MediaWiki:Sessionfailure. –Ammarpad (talk) 06:42, 13 January 2019 (UTC)
- Thanks! I thought that it was one of our error messages. That Wikilink was to a page that was deleted ten years ago. Did you mean [ https://www.mediawiki.org/wiki/Manual:$wgReadOnly ]? --Guy Macon (talk) 16:16, 13 January 2019 (UTC)
- Guy Macon, the page Ammarpad linked is still a MediaWiki message despite being deleted - mediawiki messages have defaults and a page is only necessary when changing that default. Galobtter (pingó mió) 16:40, 13 January 2019 (UTC)
- (edit conflict) MediaWiki:Sessionfailure sounds right. It displays the exact message you quoted. Messages in the MediaWiki namespace have a default value which is used if a wiki has not created or has deleted the corresponding page. The link is blue, indicating the message name is known to MediaWiki even though there is no wiki page. PrimeHunter (talk) 16:42, 13 January 2019 (UTC)
- Thanks! I thought that it was one of our error messages. That Wikilink was to a page that was deleted ten years ago. Did you mean [ https://www.mediawiki.org/wiki/Manual:$wgReadOnly ]? --Guy Macon (talk) 16:16, 13 January 2019 (UTC)
- The above message is from MediaWiki:Sessionfailure. –Ammarpad (talk) 06:42, 13 January 2019 (UTC)
- I also changed my Tor Exit not to one on another continent. Didn't help. Tor is completely encrypted from the Tor Browser on my PC to the exit node, so if something is inserted it would have to be between the exit node and Wikipedia. The fact that is still happens when I change exit nodes would imply that someone is intercepting everything that goes to and from Wikipedia. The simpler explanation is that Wikipedia is cancelling my login and sending me the above error message. --Guy Macon (talk) 06:06, 13 January 2019 (UTC)
- @Guy Macon: I get exactly the same uninformative message when I try to log on with cookies disabled. Could your browser or Tor client could be blocking cookies from wikipedia.org for some reason? Suffusion of Yellow (talk) 22:23, 13 January 2019 (UTC)
- ...aaand it logged in just fine after I told it to accept cookies from wikipedia.org and wikimedia.org. Thanks! I can't help but wonder, though, what changed. I test this once a month or so so and last month I was able to log in even though I wasn't accepting cookies.
- OK, my problem is solved, but what can we do to help others? How about a help page that tells the user about the cookies, suggests clearing the cache, etc. rather than an uninformative "Please resubmit the form" error message? Who do we talk to to get a better error message? --Guy Macon (talk) 22:46, 13 January 2019 (UTC)
- A local version of MediaWiki:Sessionfailure can be created and edited by administrators. It could link Help:Logging in. PrimeHunter (talk) 22:59, 13 January 2019 (UTC)
- I asked for help at AN.[3] --Guy Macon (talk) 23:11, 13 January 2019 (UTC)
- @Guy Macon: I'm assuming your logon failure isn't limited to the English Wikipedia? If so I suggest you open a phab ticket. — xaosflux Talk 12:26, 14 January 2019 (UTC)
- When I found that I suddenly could not log on to the English Wikipedia, I tried the french, Wiktionary, Meta, and half a dozen others -- no luck. When I enabled cookies on Wikipedia, I was able to log on, and the unified login logged me on to all of the other projects, even ones that still have cookies blocked. So yes, it appears to be project wide. This implies that as a bare minimum we should fix the help page for all languages and all WMF wikis. There is also a strong argument for fixing the underlying problem instead of simply making the error message suggest turning on cookies; first, anyone using Tor is especially likely to turn off cookies, block trackers, etc. Second, it isn't only the WMF that uses our software. A bunch of independent wikis use it as well. Sites like Brickepedia use our software but do not have our error pages unless they come "baked in" with the software. Third, it isn't our business to force the users to accept cookies, and indeed other than logging on, Wikipedia works just fine with cookies disabled. --Guy Macon (talk) 16:56, 14 January 2019 (UTC)
- @Guy Macon: I'm assuming your logon failure isn't limited to the English Wikipedia? If so I suggest you open a phab ticket. — xaosflux Talk 12:26, 14 January 2019 (UTC)
- I asked for help at AN.[3] --Guy Macon (talk) 23:11, 13 January 2019 (UTC)
- A local version of MediaWiki:Sessionfailure can be created and edited by administrators. It could link Help:Logging in. PrimeHunter (talk) 22:59, 13 January 2019 (UTC)
- @Guy Macon: thanks for the update, just making sure we captured everything:
- You are able to logon and edit via TOR now
- The primary technical issue was that you were blocking cookies, and allowing the authentication cookies resolved this for you
- Updating our interface message (and further the mediawiki default) for MediaWiki:Sessionfailure to include information about cookies may be useful.
- Thanks for your patience as well! — xaosflux Talk 17:04, 14 January 2019 (UTC)
- That appears to cover it. --Guy Macon (talk) 17:25, 14 January 2019 (UTC)
- @Guy Macon: thanks for the update, I've updated our local message to reference cookie handling, and have requested a core update in phab:T213763 - coincidentally 10 years to the date after phab:T19029 was opened for
Session failure warning message ('sessionfailure') gives bad advice
. — xaosflux Talk 22:00, 14 January 2019 (UTC)
- @Guy Macon: thanks for the update, I've updated our local message to reference cookie handling, and have requested a core update in phab:T213763 - coincidentally 10 years to the date after phab:T19029 was opened for
- That appears to cover it. --Guy Macon (talk) 17:25, 14 January 2019 (UTC)
Category tree trace tool
Is there any tool which can help me understand why a specific article is in a specific category tree? For example, what is the root from Category:Mammals to Phronima? עוד מישהו Od Mishehu 12:20, 13 January 2019 (UTC)
- I think that Pintoch (talk · contribs) was working on something like this. --Redrose64 🌹 (talk) 18:42, 13 January 2019 (UTC)
- @Od Mishehu and Redrose64: There is vCat (but it's not my tool). − Pintoch (talk) 08:25, 14 January 2019 (UTC)
Hi. I have BrandonXLF's invert script here but for some reason it went away from my menu bar. --Thegooduser Life Begins With a Smile :) 🍁 21:40, 13 January 2019 (UTC)
- Have you tried asking at User talk:BrandonXLF? — xaosflux Talk 21:46, 13 January 2019 (UTC)
- Outside that, start looking for conflicts - remove all your imported scripts except for that one and see if it is still working. — xaosflux Talk 21:47, 13 January 2019 (UTC)
- Xaosflux If I remove all my scripts how can I see which ones I have Installed? Can I rollback my edits after? --Thegooduser Life Begins With a Smile :) 🍁 21:48, 13 January 2019 (UTC)
- Asked it on BrandonXLF's talk page. Thegooduser Life Begins With a Smile :) 🍁 21:56, 13 January 2019 (UTC)
- @Thegooduser: certainly, your script page (User:Thegooduser/vector.js) has a history that you can revert to just like any other page. — xaosflux Talk 22:14, 13 January 2019 (UTC)
- Xaosflux If I remove all my scripts how can I see which ones I have Installed? Can I rollback my edits after? --Thegooduser Life Begins With a Smile :) 🍁 21:48, 13 January 2019 (UTC)
- Outside that, start looking for conflicts - remove all your imported scripts except for that one and see if it is still working. — xaosflux Talk 21:47, 13 January 2019 (UTC)
- @Thegooduser: The latest version moved the link from your "p-personal" toolbar to the "p-tb" toolbar - check the tools side menu (the one with "page information," "permanent link," etc.) --DannyS712 (talk) 22:04, 13 January 2019 (UTC)
Help with modules
I noticed that a lot of templates on Wikipedia use modules/Lua/Scribunto. I know modules can do almost the same things as templates. However, I was wondering if I can set two arguments to do the same thing. For example, with {{Infobox film}}, I can use both "film-name" and "film name" arguments. They do the same exact thing (in the template's code is "| data1 = {{{film_name|{{{film name|}}}}}}"). Now, say the template was converted to Lua — how would it be written? —CaiusSPQR (talk) 23:22, 13 January 2019 (UTC)
- That assignment might be written:
local data1 = frame.args['film_name'] or frame.args['film name']
- Perhaps read WP:LUA.
- —Trappist the monk (talk) 00:17, 14 January 2019 (UTC)
- Thank you. I'm a bit confused though. Should I use "data1" or both "frame.args" in the rest of the code? —CaiusSPQR (talk) 00:23, 14 January 2019 (UTC)
- Were it me, I would use
data
if I needed to use that value more than once so that every time I needed the value assigned to|film_name=
or|film name=
I didn't have to do the 'or'ing every time. - —Trappist the monk (talk) 00:32, 14 January 2019 (UTC)
- Were it me, I would use
- Thank you. I'm a bit confused though. Should I use "data1" or both "frame.args" in the rest of the code? —CaiusSPQR (talk) 00:23, 14 January 2019 (UTC)
- Some lua tips:
- Depending on what you want to do, you can also use a template wrapper for parameter conversion:
{{#invoke|...|data1={{{film_name|{{{film name|}}}}}}|...}}
. frame.args['film_name']
can be shortened toframe.args.film_name
(table).- Lua treats empty parameters ("" or spaces) differently than template: Module:Arguments#Trimming and removing blanks. MarMi wiki (talk) 02:09, 14 January 2019 (UTC)
FileExporter beta feature
Johanna Strodt (WMDE) 09:41, 14 January 2019 (UTC)
Tech News: 2019-03
- @Trizek (WMF): I think this edition got truncated. Graham87 04:13, 15 January 2019 (UTC)
- @Graham87: yes it was (meta:). You can read the entire issue here: meta:Tech/News/2019/03. — xaosflux Talk 04:55, 15 January 2019 (UTC)
- @Graham87:, yeah, I'm very sorry about that. I've fixed it above. Trizek (WMF) (talk) 13:45, 15 January 2019 (UTC)
- @Graham87: yes it was (meta:). You can read the entire issue here: meta:Tech/News/2019/03. — xaosflux Talk 04:55, 15 January 2019 (UTC)
Black box appearing
Hello,
Today I have logged onto Wikipedia and there seems to be a solid black box on the articles box and what activity I am doing. For example: This page right now will have a black box around "Article" and a black box around "Edit source". Another example would be if I was on a random page and there would be a black box around "Article" and a black box around "Read".
Thank you AmericanAir88(talk) 22:59, 14 January 2019 (UTC)
- What is your browser? What is your skin at Special:Preferences#mw-prefsection-rendering. Does it happen if you log out? PrimeHunter (talk) 23:10, 14 January 2019 (UTC)
- @PrimeHunter: It happens when I log out. I use safari. I use the default skin. AmericanAir88(talk) 23:45, 14 January 2019 (UTC)
- Is it on a computer or iOS device? Safari dropped the Windows version in 2012 so I cannot test it on a computer. I don't see it on an iPad. It sometimes helps with interface rendering to clear the entire cache. PrimeHunter (talk) 00:01, 15 January 2019 (UTC)
- @PrimeHunter: Clearing the cache did not work. This is on a MacBook Air. AmericanAir88(talk) 00:39, 15 January 2019 (UTC)
- MacBook Air uses macOS and not iOS so I cannot help properly. PrimeHunter (talk) 00:47, 15 January 2019 (UTC)
- @PrimeHunter: Is there someone I can speak to who has expertise in MacOs? AmericanAir88(talk) 02:50, 15 January 2019 (UTC)
- Using Safari on MacBook Air and everything appears normal to me, logged-in and out. –Ammarpad (talk) 07:52, 15 January 2019 (UTC)
- I don't see any changes, either, AmericanAir88. Have you tried restarting? After that, as today's not Thursday, I'd look at updates (Safari, OS X, or a Safari extension) and new extensions, and double-check that I hadn't changed any preferences. BlackcurrantTea (talk) 16:58, 15 January 2019 (UTC)
- Using Safari on MacBook Air and everything appears normal to me, logged-in and out. –Ammarpad (talk) 07:52, 15 January 2019 (UTC)
- @PrimeHunter: Is there someone I can speak to who has expertise in MacOs? AmericanAir88(talk) 02:50, 15 January 2019 (UTC)
- MacBook Air uses macOS and not iOS so I cannot help properly. PrimeHunter (talk) 00:47, 15 January 2019 (UTC)
- @PrimeHunter: Clearing the cache did not work. This is on a MacBook Air. AmericanAir88(talk) 00:39, 15 January 2019 (UTC)
- Is it on a computer or iOS device? Safari dropped the Windows version in 2012 so I cannot test it on a computer. I don't see it on an iPad. It sometimes helps with interface rendering to clear the entire cache. PrimeHunter (talk) 00:01, 15 January 2019 (UTC)
- @PrimeHunter: It happens when I log out. I use safari. I use the default skin. AmericanAir88(talk) 23:45, 14 January 2019 (UTC)
List of Wikipedians by article count
I know I've raised this before, but does anyone have the time and skills to be able to fix this list so it updates automatically each day, as per the number of edits list? Many thanks. Lugnuts Fire Walk with Me 09:07, 15 January 2019 (UTC)
- @Lugnuts: that really needs to be done by a bot, it looks like it used to be done by MZMcBride's bot - so you could start by asking MZMcBride. Alternatively, someone else could take it up, and you could ask at WP:BOTREQ. — xaosflux Talk 13:50, 15 January 2019 (UTC)
- Thank you. IIRC, I've asked MZMcBride before about this, and I think there was something technical stopping it from being updated. I'll do a bit of digging, and see what I find. Lugnuts Fire Walk with Me 13:58, 15 January 2019 (UTC)
Code correction
Hi - I don't do code so would like this line looked at
- div style="padding: 14px; background: #FFFAF0;<!--#ddcef2;--> border-style: groove; border-width: 5px; border-color: green; font-size: 95%; text-align:left; font-family: Euphema, arial;"
Its the top line on my talk page and its in pink; is the code deprecated perhaps? Thanks your time MarkDask 15:22, 15 January 2019 (UTC)
- Added nowiki tags to your div above. I suspect that your browser doesn't ignore the commented color value (violet) (tested on Firefox based/IE11/Chrome based and the background color is FFFAF0), or you just need to refresh (F5/Ctrl+F5) the page. MarMi wiki (talk) 16:49, 15 January 2019 (UTC)
- And comments in css (in style too?) are done by
/*
and*/
- CSS Comments. MarMi wiki (talk) 16:57, 15 January 2019 (UTC)- Yes, according to CSS Style Attributes (linked from Semantics, structure, and APIs of HTML documents)
the value of the style attribute must match the syntax of the contents of a CSS declaration block (excluding the delimiting braces)
. So comments inside astyle=
attribute can only be of the/* ... */
form. --Redrose64 🌹 (talk) 21:35, 15 January 2019 (UTC)
- Yes, according to CSS Style Attributes (linked from Semantics, structure, and APIs of HTML documents)
- (edit conflict) @Markdask: I suspect this is because you have a
<div>
element that is missing a</div>
closing tag. This happens on talk pages when people want unusual affects sometimes. Are you trying to keep that box border around future sections that other people add, or just around your welcome box? — xaosflux Talk 16:50, 15 January 2019 (UTC)
AFD transclusion
Bit of an odd situation I wanted to see if somebody on the technical side could look into. Earlier today, User:Cyberbot I detected Wikipedia:Articles for deletion/John Dingfelder as "not correctly transcluded to the log", and added it to today's AFD list accordingly — but the page is, and always has been, correctly transcluded to the daylog for the day it was created, January 9 (and there's no indication in the edit history of that page that it got temporarily vandalized, the only explanation I can think of for why a discussion on it might appear untranscluded six days later.) And it's not a case of the discussion having been relisted for further consideration without getting readded to the new daylog, either, as January 9 isn't seven days ago yet and the discussion's already on a consensus track and won't even need to be relisted at all.
So could somebody take a few minutes to look into why a bot might make this mistake? Thanks. Bearcat (talk) 16:25, 15 January 2019 (UTC)
Find unusually short articles
How can I query (or search, if no such list exists) the English wikipedia for articles obviously having a problem because they are meaninglessly short, i.e. zero prose, or less than 10 words, or even less than 100 words. Searching wikipedia is likely to be an enormous task, and such a script might need admin or even higher access to the wiki, Nonetheless, can it be done?
If there is a list, or when there is one, what can/should be done with it? These articles should be moved to some kind of editors-only (requires login to access) sandbox until they are suitable for publication, but I know of no such global structure. Articles can be so severely impaired for reasons other than length that they shouldn't be in the encyclopedia. Maybe deleting them isn't the best policy, because we'd rather eat dirt than delete a page because, well, it just doesn't measure up, and not for any admin or technical reason. Sbalfour (talk) 22:14, 15 January 2019 (UTC)
- See Special:ShortPages. It excludes disambiguation pages but includes set index articles like surnames with two entries. PrimeHunter (talk) 22:31, 15 January 2019 (UTC)
File names which have been changed
I'm going to ask this here since I figure it's a technical question and because there are probably more people watching this page than there are watching WT:File names. What happens to a file name once it has been changed? Is a redirect to the new name created? I came across File:Kedi (2006 film).jpg while checking on some non-free images; this file used to be named File:Kedi.jpg, which if you click on the link you'll see is now a completely different file uploaded to Commons. It's probably not a big deal except that there is a link to the original file name in Wikipedia:Non-free content review/Archive 55#File:Kedi.jpg which now lead to a completely different file and the log shows that "File:Kedi.jpg" was deleted per WP:F2. I know that {{Shadows Commons}} is used in cases where two files (one on Commons and one on Wikipedia) have the same name; but, I'm not sure if that applies in a case like this. -- Marchjuly (talk) 05:51, 16 January 2019 (UTC)
Date format in signatures as viewed by unregistered users
Is there a reason why the date format in signatures is dd mmm yyyy when viewed by unregistered users? I presume it's just the way the css is configured but is there any background for that configuration rather than mmm dd, yyyy? Nthep (talk) 13:28, 16 January 2019 (UTC)
- @Nthep: signature dates are not stored as any sort of typed data value, they are simply text and readers see them just as they are in the wikitext. In fact everyone sees them this way unless they specifically implement a hack to see them some other way. — xaosflux Talk 14:06, 16 January 2019 (UTC)
- I get that but was there any reason why it's the way round it is, other than that's the way the developer set it? Nthep (talk) 14:29, 16 January 2019 (UTC)
- I think that day-month-year is more common around the world than month-day-year, which IIRC is pretty much just a North American thing (or maybe more generally an English thing?). It also orders the time units by length. Writ Keeper ⚇♔ 14:34, 16 January 2019 (UTC)
- It's just a North American thing, I live in the UK and we use DDMMYY. [Username Needed] 15:10, 16 January 2019 (UTC)
- See also Date format by country#Usage map. Some wikis use another date format. PrimeHunter (talk) 18:42, 16 January 2019 (UTC)
- It's just a North American thing, I live in the UK and we use DDMMYY. [Username Needed] 15:10, 16 January 2019 (UTC)
- I think that day-month-year is more common around the world than month-day-year, which IIRC is pretty much just a North American thing (or maybe more generally an English thing?). It also orders the time units by length. Writ Keeper ⚇♔ 14:34, 16 January 2019 (UTC)
- Is there an example somewhere of such a "hack" I can use to make the standard sig times display the same way as my (localized ISO-3166) history/contrib times (e.g. to convert "01:23, 16 January 2019 (UTC)" to "2019-01-15T17:23")? —[AlanM1(talk)]— 15:12, 16 January 2019 (UTC)
- @AlanM1: there is a Gadget for that, see Wikipedia:Comments in Local Time for documentation and limitations. — xaosflux Talk 15:20, 16 January 2019 (UTC)
- I think you'll also want to check out Special:Preferences#mw-prefsection-rendering, specifically the "Date format" and "Time format" sections. ~ Amory (u • t • c) 15:23, 16 January 2019 (UTC)
- @Amorymeltzer: Thanks. I already had that set, affecting the history and contribs pages.
- @Xaosflux and Gary: Just what I wanted . I copied User:Gary/comments in local time.js to User:AlanM1/comments in local time.js and tweaked it a bit to render e.g. "2018-12-24T19:40, Monday (23 days ago)". I added two new boolean config items to
LocalComments
:dropOffset
drops the "(UTC±n)" suffix;diffLast
causes it to render the date and time together as shown (like the gadget setting mentioned above) and put the dayOfTheWeek and descriptiveDifference last. —[AlanM1(talk)]— 21:01, 16 January 2019 (UTC)
- I think you'll also want to check out Special:Preferences#mw-prefsection-rendering, specifically the "Date format" and "Time format" sections. ~ Amory (u • t • c) 15:23, 16 January 2019 (UTC)
- @AlanM1: there is a Gadget for that, see Wikipedia:Comments in Local Time for documentation and limitations. — xaosflux Talk 15:20, 16 January 2019 (UTC)
- I get that but was there any reason why it's the way round it is, other than that's the way the developer set it? Nthep (talk) 14:29, 16 January 2019 (UTC)
Emergency server switch is NOT HERE
Quick note, while everyone else is trying to sort out MassMessage problems: There's going to be a partial m:server switch tomorrow, because of hardware problems; it's just like all the previous ones, except affecting only some (most) wikis and with much less planning. It will NOT affect the English, German, French, or Russian Wikipedias (or several smaller places). Check the Phab link for the list of affected wikis.
On a side note, please ping me if you need my attention this week (or any time you think something's important, ever). Thanks, Whatamidoing (WMF) (talk) 19:59, 16 January 2019 (UTC)
- From the title, I thought we were blocking someone that had named themself Emergency server switch as WP:NOTHERE. Natureium (talk) 20:00, 16 January 2019 (UTC)
- <grin>
- The task's been closed, so this is done. It sounds like editing was blocked on those wikis for less than four minutes. Whatamidoing (WMF) (talk) 17:52, 17 January 2019 (UTC)
- This isn't WP:ANI :) Galobtter (pingó mió) 17:53, 17 January 2019 (UTC)
- Galobtter, so tempted to create the account named Emergency server switch just to say that it is here... Home Lander (talk) 20:35, 17 January 2019 (UTC)
- Sorry, was someone looking for me? Emergency Server Switch (talk) 21:23, 17 January 2019 (UTC)
Template Data Table
Question... When adding TemplateData is there any way to edit it basically in a spreadsheet? It is so time consuming to use the data editor, constantly going back and forth between different params... --Zackmann (Talk to me/What I been doing) 19:26, 17 January 2019 (UTC)
- @Zackmann08: There's some other tools you can try listed at Wikipedia:TemplateData/Tutorial#Tools, or you can edit the wikitext directly (but you need to be careful to keep the JSON syntax valid, or the page will refuse to save) - Evad37 [talk] 00:53, 18 January 2019 (UTC)
- @Evad37: thanks!!! --Zackmann (Talk to me/What I been doing) 03:29, 18 January 2019 (UTC)
Floating 6
Can anyone fix the floating bold "6" here? https://en.wikipedia.org/w/index.php?title=The_Beatles_(album)&oldid=878971860#Charts I can't seem to find where this is in the code. ―Justin (koavf)❤T☮C☺M☯ 03:55, 18 January 2019 (UTC)
- @Koavf: Done --DannyS712 (talk) 04:12, 18 January 2019 (UTC)
- Thanks! ―Justin (koavf)❤T☮C☺M☯ 04:36, 18 January 2019 (UTC)
Staunton Mall
Can someone figure out why the map isn't working properly in the infobox for Staunton Mall? Ten Pound Hammer • (What did I screw up now?) 04:11, 18 January 2019 (UTC)
- @TenPoundHammer: How should it appear/work? --DannyS712 (talk) 04:14, 18 January 2019 (UTC)
- @DannyS712: It should show a map. I'm just seeing a blank space where it should be. Actually all such maps appear to be malfunctioning right now. Ten Pound Hammer • (What did I screw up now?) 04:17, 18 January 2019 (UTC)
- @TenPoundHammer: I'm seeing a fully working map, and not just on that page. Maybe its a problem on your end? --DannyS712 (talk) 04:19, 18 January 2019 (UTC)
- @DannyS712: It should show a map. I'm just seeing a blank space where it should be. Actually all such maps appear to be malfunctioning right now. Ten Pound Hammer • (What did I screw up now?) 04:17, 18 January 2019 (UTC)
- Seems to work for me as well. --Palosirkka (talk) 08:52, 19 January 2019 (UTC)
Idiosyncratic watchlist
I use my watchlist to keep an eye on articles I have written, particularly for detecting vandalism or unsuitable changes to articles. But the watchlist is inconsistent, and does not show me all the entries I would like it to. Today for instance I noticed (by resting the pointer on "diff") that Desert hare had been vandalised, but decided to look at another article on the watchlist before clicking through to Desert hare. By the time I got back to the watchlist, Desert hare was no longer listed there. By this time someone else had dealt with the vandalism, but the article should still have appeared on my watchlist, with a different time tag. Then there are pages like this one which I particularly want to watch, and where I can't rely on the watchlist alerting me to changes, which means that I often miss comments. Is there anything I can do to make the watchlist more suited to my requirements? Cwmhiraeth (talk) 10:10, 18 January 2019 (UTC)
- @Cwmhiraeth: in your watchlist do you have any filters enabled, for example - hide probably good edits? Depending on your configuration you may only see WL entries for the "latest" entry - and if you filter it out, it won't show. — xaosflux Talk 13:44, 18 January 2019 (UTC)
- At Preferences → Watchlist, make sure that "Expand watchlist to show all changes, not just the most recent" is turned on. --Redrose64 🌹 (talk) 17:49, 18 January 2019 (UTC)
- Thank you. We'll see how it goes now. Cwmhiraeth (talk) 18:35, 18 January 2019 (UTC)
Usage metrics of a script
Is there any particular way to answer questions like "How many people use my script right now ?" or "How many times is a script used per day ?".(especially if the script in question is a unconventional one like User:FR30799386/undo.js ?) << FR 12:20, 18 January 2019 (UTC)
- You could query for the ads it leaves in the edit summaries. It's miserably slow, though. Here's the 100 most recent. —Cryptic 14:30, 18 January 2019 (UTC)
- Regarding the first, some writers of scripts advise the use of backlinks. For example, see User:Anomie/previewtemplatelastmod.js or User:Evad37/XFDcloser. The backlink is the wikilink that follows the
; //
characters, and it allows usage to be checked using e.g. Special:WhatLinksHere/User:Anomie/previewtemplatelastmod.js or Special:WhatLinksHere/User:Evad37/XFDcloser after which you need to look for only page names that end in ".js" and ignore the others. --Redrose64 🌹 (talk) 17:56, 18 January 2019 (UTC)
Edit conflicts on talk pages
Could edit conflicts on talk pages ever be reworked? My thought process for this is that after an editor (#1) has posted a comment, and while s/he is going back to edit it, fix typos, etc., another editor (#2) is already writing up their response. Editor #1 saves their fixes, Editor #2 goes to save their brand new reply, and is presented with an edit conflict. Going back to the question, could edit conflicts on talk pages be reworked so that the server could detect that Editor #2 didn't actually have any sort of conflict and just wanted to submit a new reply, and add the reply to where it was meant to go while ignoring Editor #2's changes? -- /Alex/21 13:18, 18 January 2019 (UTC)
- Obligatory "structured discussions would solve this problem but en.WP refuses to use them". (Not without some decent reasons, mind you.) --Izno (talk) 13:55, 18 January 2019 (UTC)
- This is probably a good idea in principle. I'm just worried about the case where Editor #2 posts information that would make Editor #1 change their reply, which would result in Editor #1 having to go back and make edits. For my part, in an upcoming reply-link change I'm going to display a little popup saying something like "An editor has made another comment here since you started writing [click here to reload]" if something like that is detected. Enterprisey (talk!) 21:54, 18 January 2019 (UTC)
Weird "Revert"
Could someone explain what happened Here? [Username Needed] 15:45, 18 January 2019 (UTC)
- An IP user used the "undo" button, presumably from the page history, to undo Nochorus's edit. The undo functionality, unlike rollback or Twinkle, can work on edits that aren't the most recent. Writ Keeper ⚇♔ 15:51, 18 January 2019 (UTC)
HELP - Code for time variation
HELP - Need-To-Know, if possible, any Code to present the variation in the time duration of a day on the planet Saturn - variation to present => "+1m52s/-1m19s" - OR - "+112s/-79s" - in order that the final presentation looks like => https://cdn.iopscience.com/images/0004-637X/871/1/1/apjaaf798ieqn1.gif - from the following reference => < ref name="APJ-20190117">Mankovich, Christopher; et al. (17 January 2019). "Cassini Ring Seismology as a Probe of Saturn's Interior. I. Rigid Rotation". The Astrophysical Journal. 871 (1). Retrieved 18 January 2019. {{cite journal}}
: Explicit use of et al. in: |author=
(help)</ref> - Related material, so far, is the following => 10h 33m 38s ( - from {{RA|10|33|38}}
)
10 hours,33 minutes,38 seconds (+1m52s;-1m19s)[1][2] - iac - TIA - and - Enjoy! :) Drbogdan (talk) 21:35, 18 January 2019 (UTC)
References
- ^ Mankovich, Christopher; et al. (17 January 2019). "Cassini Ring Seismology as a Probe of Saturn's Interior. I. Rigid Rotation". The Astrophysical Journal. 871 (1). Retrieved 18 January 2019.
{{cite journal}}
: Explicit use of et al. in:|author=
(help) - ^ McCartney, Gretchen; Wendel, JoAnna (18 January 2019). "Scientists Finally Know What Time It Is on Saturn". NASA. Retrieved 18 January 2019.
- {{val}} can use uncertainties like that but it cannot handle h/m/s units:
{{val|1234|+56|-78|sortable=off}}
→ 1234+56
−78
- Special:ExpandTemplates shows the following output:
<span class="nowrap">1234<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+56<br />−78</span></span></span>
- If desperate, you might try replacing the numbers in the output wikitext with what is needed for the h/m/s superscripts. Johnuniq (talk) 22:13, 18 January 2019 (UTC)
Tabular data not available
I'm investigating an error at California's 5th congressional district#2012. This is the wikitext and the error:
{{election box US auto|California|2012|United States Representative District 5|Mike Thompson link=Mike Thompson (California politician)}} Lua error in Module:Election_box_US_auto at line 159: Unable to find tabular data: California Elections/2012/General/Candidates.tab.
The above calls Module:Election box US auto which executes the equivalent of:
tab_name = 'California Elections/2012/General/Candidates.tab' tabular = mw.ext.data.get(tab_name)
The result in tabular
is false
instead of a table, and that gives the error above. The result should be the Lua equivalent of c:Data:California Elections/2012/General/Candidates.tab.
In a sandbox at Commons, previewing the following shows a table of valid data, as it should:
{{Data:California Elections/2012/General/Candidates.tab}}
I've done some sandbox testing that shows mw.ext.data.get('California Elections/2012/General/Candidates.tab')
works at Commons but fails an enwiki. Any ideas? Johnuniq (talk) 02:09, 19 January 2019 (UTC)
- Using what links here lead me to User:Legoktm/test (ping Legoktm). That is currently working but editing the page and previewing shows errors. There is a presumably temporary breakage that I suppose should be reported at phab somewhere. Johnuniq (talk) 02:26, 19 January 2019 (UTC)
- This is phab:T214179. — JJMC89 (T·C) 03:10, 19 January 2019 (UTC)
Transclusion links
What is the "hide transclusions" button supposed to do on the Special:WhatLinksHere page? I assumed it would hide links transcluded on to the target page through templates, but that's not working for me. SpinningSpark 12:08, 19 January 2019 (UTC)
- It only hides pages where the whole page itself is transcluded. It's only useful on templates and other pages used for transclusion. User:PrimeHunter/Source links.js may help with what you want. It's a frequently requested feature. Wikipedia:Village pump (technical)/Archive 155#What Links Here vs.Templates has links to other requests here and at Phabricator. PrimeHunter (talk) 12:36, 19 January 2019 (UTC)
- @PrimeHunter: that's great. The only thing that that isn't doing for me is finding links that come in via a redirect. It's not even finding the redirect page. But it's a great help, so often what links here is swamped by navbox entries making it useless. SpinningSpark 15:10, 19 January 2019 (UTC)
Proposed gadget: Shortdesc helper
I recently revised my user script User:Galobtter/Shortdesc helper to fix some minor issues and use OOUI, and I'm proposing that it become a gadget. It apparently is/will be possible to conveniently edit short descriptions on the mobile app and it would seem good to have a gadget for doing so on desktop; shortdesc helper has been installed and used by a reasonable number of people and I haven't received much reports of bugs or issues with it. Galobtter (pingó mió) 13:39, 19 January 2019 (UTC)
Why does advanced search make searching namespaces harder rather than easier?
On the search tab of preferences:
"Don’t show the Advanced Search interface.
Advanced Search adds a form to the Special:Search page. This allows you to perform specialized searches, even if you don't know any search syntax. It also changes the way namespaces can be selected.
Yeah, Advanced Search makes it more difficult to search templates for example. -- Timeshifter (talk) 14:22, 19 January 2019 (UTC)
- Give an example why it's harder.
- Earlier to search by namespace you needed to press enter in search box, click advanced search and then finally select namespace. Now it's shortened by 1 step. I don't like that it places cursor always in search, making browsing longer results by keyboard annoying (when you visit one result and then go back again to results page). --MarMi wiki (talk) 23:45, 19 January 2019 (UTC)
- See Special:Preferences#mw-prefsection-gadgets. Check the box for "Open search results in a new tab or window when holding down the Ctrl key". It is not perfect, but it nearly always works. -- Timeshifter (talk) 10:34, 20 January 2019 (UTC)
- Sorry, but that doesn't solve my problem.
- What I meant by "cursor always in search" (I'm assuming the option was for that): search for something that gives couple of pages of result (increase number of results [or change screen resolution to smaller vertical size] per page if you can see all page), go one/two pages down by pressing Page Down, select one of the links, when page loads go back to search results (Alt+cursor left) (you should return to the same screen position on the results list), press up/down/Page Down key - cursor (focus) is in the search box, so you end up at the top of the page. --MarMi wiki (talk) 21:29, 20 January 2019 (UTC)
- See Special:Preferences#mw-prefsection-gadgets. Check the box for "Open search results in a new tab or window when holding down the Ctrl key". It is not perfect, but it nearly always works. -- Timeshifter (talk) 10:34, 20 January 2019 (UTC)
- Example: Click on the search form icon to get to the search page. Click on "add namespaces". Uncheck "article". Scroll down to template. Check "template". Enter search terms. Click "search." That is more steps than before.
- And worse, it is not as intuitive. The old search had all the namespace checkboxes in a very compact square. No need to scroll.
- And now if you hit the wrong scroll button you lose the namespaces list. -- Timeshifter (talk) 10:34, 20 January 2019 (UTC)
- Personally, I agree with you that the old list of checkboxes was more usable than the current dropdown list widget. You'd have to ask the people responsible for the redesign to know why they think this is better; you might file a task in the Phabricator project for the advanced search to ask them more directly, or figure out who the right people are and ping them. Anomie⚔ 15:28, 20 January 2019 (UTC)
- Thanks for the link. That link should be on the advanced search form, so people can see what has already been requested. I see you are a developer. Could you write up a task? I don't have much luck in writing tasks that get a favorable response. :) -- Timeshifter (talk) 16:21, 20 January 2019 (UTC)
- @Timeshifter: Do you know that you can type in the name of the namespace (after clicking Add namespaces that space turns into search box with autocompletion)? --MarMi wiki (talk) 21:33, 20 January 2019 (UTC)
- Personally, I agree with you that the old list of checkboxes was more usable than the current dropdown list widget. You'd have to ask the people responsible for the redesign to know why they think this is better; you might file a task in the Phabricator project for the advanced search to ask them more directly, or figure out who the right people are and ping them. Anomie⚔ 15:28, 20 January 2019 (UTC)
TemplateData not working for Template:Infobox video game
I tried to add {{Infobox video game}} using the VisualEditor but it displays neither the description nor the fields (tried two different browsers and accounts). As far as I can tell, Template:Infobox video game/doc which contains the TemplateData for this template has not been changed recently and when I try to edit the TemplateData there, all fields appear. I tried to append the whole TD block to the sandbox version and use that version but while I can edit the TD, it also won't appear when trying to add the template with the VE. Can someone help? Regards SoWhy 14:46, 19 January 2019 (UTC)
- It doesn't work for me either. Assuming it's working correctly, it doesn't refreshed template yet (Help:TemplateData#Limitations_and_questions), and you can't null-edit the template because it's protected. --MarMi wiki (talk) 23:55, 19 January 2019 (UTC)
- Possibly related to phab:T213953, since null-editing the template didn't fix it. - Evad37 [talk] 07:54, 20 January 2019 (UTC)
Logged in here, when I go to other sites I'm logged out
It happened at Wikisource a few days ago, just now at Wikimedia. Doug Weller talk 19:56, 19 January 2019 (UTC)
- I think that can happen if you have some software that causes your browser to accept cookies from some sites but not others. Johnuniq (talk) 21:17, 19 January 2019 (UTC)
- @Doug Weller: By Wikimedia, do you mean commons:, meta:, foundation: or another site? Wikimedia is the name of the organisation that hosts all of these Wikis - several hundred altogether. Most of these are part of the single unified login (SUL) system, but some (such as foundation) are not.
- When you visit one of the non-SUL Wikis, you won't be logged in unless you log in there as a separate operation. There's nothing we can do to change that except file a phab: ticket.
- When you visit one of the SUL Wikis and you are not shown as logged in, try a WP:BYPASS and see if that fixes it. If not, there is a possibility that you have a corrupt cookie. To fix this, go to a site where you are definitely logged in; then deliberately log out; then log in again. Logging out will invalidate all cookies that bear your login name; logging in will create a fresh cookie. When visiting other sites for the first time after logging in again, this fresh cookie may still need the bypass technique. --Redrose64 🌹 (talk) 21:41, 19 January 2019 (UTC)
- @Redrose64: sorry, meta, to be exact meta:Stewards/Elections_2019. Wikisource a few days ago, meta today. It doesn't help that I use my iPad and my PC at times during the day so I can't recall which I was using at Wikisource, definitely my iPad earlier today. Thanks Doug Weller talk 22:02, 19 January 2019 (UTC)
Improving the ease of listening to audio (especially MIDI files)
(Sorry if this is misplaced. I figure this is mostly technical.) The most common method of including audio (at least in articles on music theory) seems to be Template:Audio. See Interval (music) (and many of the pages linked from it) for examples in the wild. Here's an example of the template's output: Alabama ( ). When I click "play" (in Chrome), it navigates to a new page that plays the sound file. I think it would be nicer if clicking it played the file without navigating to a new page, but it's not a terrible experience.
However, if I use the Audio template with a MIDI file, it is pretty terrible. Example:
. In Chrome and Firefox, this opens a prompt to download the .mid file to my machine. From there, I can use some program to play it (if I'm lucky enough to have the appropriate software and plugins).There does exist another template, Template:Listen which creates a widget that lets me play the audio without leaving the page. It doesn't work with MIDI files, but Template:Synthlisten is a variant that does.
I'd like to discuss a few potential improvements to the current state.
1. Modify {{Audio}} to act as an inline player
i.e. make it a miniature version of {{Listen}}. Ideally one that transparently works with MIDI in addition to ogg/flac/wav. I could imagine the appearance remaining basically the same, but with the 'Play' link acting as a button (which would perhaps change into a "Pause" button while the audio is playing).
This seems like the nicest solution to me. But I also realize it's a big feature request with significant implications. This has been discussed a few times. These proposals never seemed to catch much momentum, but nor were they dismissed as impossible:
- Template_talk:Audio/Archive_4#"inline"_playback?
- Wikipedia:Village_pump_(technical)/Archive_126#Inline_audio
- Wikipedia:Village_pump_(technical)/Archive_D#Interface_for_audio_files_sucks
2. Replace instances of {{Audio}} with {{Listen}}/{{Synthlisten}}, where appropriate.
There are some details that make this tricky.
If you look, for example, at Interval (music), you'll see that most instances of {{Audio}} occur in image captions. There is no obvious way to insert a {{Listen}} widget inside an image caption, or generally to combine {{Listen}} and an image into one figure. You can see a variety of methods I've experimented with at User:Dindon~enwiki/Listen_Plus_Image_Experiments. None of the approaches give flawless results. Tables seem to give the best layout, but it feels like a hack? Would be interested to get feedback on these approaches, or any others I may have missed.
(Specifically for cases where the image is of some unannotated sheet music, Score may also be a good replacement, although the translation would require some effort and expertise.)
Another issue is the existence of places where size considerations preclude the possibility of replacing {{Audio}} with {{Synthlisten}}, for example the table in Interval_(music)#Main_intervals. Unlike {{Listen}}, {{Synthlisten}} has a progress slider which makes it unavoidably very wide (see the first example at User:Dindon~enwiki/Listen_Plus_Image_Experiments where the widget overflows the box meant to contain the image caption). It would be helpful to at least have an optional parameter to supress the slider, matching {{Listen}}.
3. Document conventions regarding when to use {{Audio}} vs. {{Listen}}
Perhaps at Help:Creation_and_usage_of_media_files#Audio and on the respective template doc pages.
My impression is that {{Audio}} is appropriate when inlining some audio in the main text, or in very space-constrained contexts (e.g. the caption labelled "Augmented and diminished intervals on C" here, which contains links to 14 audio files). I can't think of any other scenarios where I wouldn't prefer {{Listen}}, but I may be missing something.
I found the following quote at Template_talk:Audio/Archive_1#The_other_audio_template which supports this interpretation:
I think it goes without saying that the listen template is better for everything except inlined text (for which it was never desinged) - it's cleaner, better looking, and more intuitive.
Dindon~enwiki (talk) 02:15, 20 January 2019 (UTC)
- Regards MIDI files, I think it would be a good idea for MediaWiki to automatically make an Ogg preview. (It takes about 6.15 seconds to do this to using ffmpeg on my machine.) We already do something similar for SVG files, and those are even rendered correctly in most browsers. Eman235/talk 03:25, 20 January 2019 (UTC)
ProveIt issue
I have not been able to use ProveIt at all for the last 12 hours or so. This is because while it usually allows me to, for instance, add new references by entering text into the appropriate fields in the ProveIt sidebar, recently this has become impossible, because clicking on the "Add" tab on the top (which normally creates a new blank citation to fill in) now does nothing at all. Another odd problem is that when I click on the "list" tab on a page that does have fully formatted references, it lists the references, but when I then click on one of the references themselves, it always has "no template" selected in the "main template" menu, and there are never any other options to select, regardless of which citation template is actually being used. I have never seen this happen in >5 years of using ProveIt and I hope it can be fixed soon. IntoThinAir (talk) 15:19, 20 January 2019 (UTC)
- This has been reported at phab:T214273 - Evad37 [talk] 03:50, 21 January 2019 (UTC)
RSU Afc Button
Hi. Has the Random submission button for AFC go away? If it did where can I find another one? It's the one by Flooded with them Hundreds. --Thegooduser Life Begins With a Smile :) 🍁 21:53, 20 January 2019 (UTC)
- Thegooduser, FWTH retired and requested that all their userspace pages be deleted. Special:RandomInCategory/Pending AfC submissions should do what you want though. --AntiCompositeNumber (talk) 22:09, 20 January 2019 (UTC)
- @AntiCompositeNumber: Given that you're not the only one who uses that script, I'm going to see if I can refund it into my userspace. --DannyS712 (talk) 22:10, 20 January 2019 (UTC)
- Sorry, meant to ping @Thegooduser: --DannyS712 (talk) 22:10, 20 January 2019 (UTC)
- I'll
restore the pageask that it be restored. Primefac (talk) 22:21, 20 January 2019 (UTC)- @Primefac: I already did - I'm asking for all of his scripts. Also, you restored the documentation page, but not the actual script itself... --DannyS712 (talk) 22:26, 20 January 2019 (UTC)
- (edit conflict)There was only one revision and it was simple, so I've just copied it here:
$.when( mw.loader.using('mediawiki.util'), $.ready ).then( function() { mw.util.addPortletLink( 'p-views', '/wiki/Special:RandomInCategory/Pending_AfC_submissions', 'RSu', '', 'Go to random draft submission', 'l'); })
- ~ Amory (u • t • c) 22:30, 20 January 2019 (UTC)
- @Amorymeltzer: Thanks. I've also requested that the scripts they wrote be resuscitated. Would you be willing to help? See Wikipedia:Interface administrators' noticeboard#Undeletion of FWTH's user scripts. Thanks, --DannyS712 (talk) 22:32, 20 January 2019 (UTC)
- Done. ~ Amory (u • t • c) 22:48, 20 January 2019 (UTC)
- Thanks! Thegooduser Life Begins With a Smile :) 🍁 02:29, 21 January 2019 (UTC)
- Done. ~ Amory (u • t • c) 22:48, 20 January 2019 (UTC)
- @Amorymeltzer: Thanks. I've also requested that the scripts they wrote be resuscitated. Would you be willing to help? See Wikipedia:Interface administrators' noticeboard#Undeletion of FWTH's user scripts. Thanks, --DannyS712 (talk) 22:32, 20 January 2019 (UTC)
- I'll
Syntax highlighting and spell checker in Firefox
I noticed that enabling syntax highlighting in (text) edit disables the spell checker in Firefox. Can it be fixed? --MarMi wiki (talk) 00:58, 21 January 2019 (UTC)