User talk:RexxS/Archive 51

Latest comment: 4 years ago by Boeing720 in topic Admin request

Challenger Bank - Authorisation With Restrictions

Morning, RexxS! Thank you for your feedback on my changes to Challenger bank. And I hope this is the right place to come back to you. The reason for capitalising Authorisation With Restrictions is that I thought this is the way it is referred to by the regulators, the FCA and the PRA. However, on closer scrutiny, I realise this is not the case. You were right. Also, I see my mistake with the Minor Edit and I know how I did it. I recongnised that my work on the page is NOT a Minor Edit. However, I did return a couple of times and found small tweaks and I called them Minor Edits. Which they were. What I hadn't accounted for is that they were still part of the overall Major Edit. I guess this is partly down to not yet knowing how long scrutiny takes. Finally, as a heads up, I'm planning a revision of the table of banks. I think it should match those given on the Bank of England's website here, and I want to add a Status column to the table, giving where each bank is, either in terms of authorisation (small a!) or in terms of market valuation (some of which are collosal!). — Preceding unsigned comment added by Lighteater (talkcontribs) 07:01, 20 July 2019 (UTC)

A different request/question

Ok, it seems simple on the surface, so I'll start with this response, and for more info go to Wikipedia:Arbitration/Requests/Clarification and Amendment#Statement by Thryduulf, 2nd paragraph. It is connected to the above DS Notice at the top of my page but not in a graphics sorta way. How do we trigger the edit filter in that DS Notice graphic at the top of my page - (hopefully it will lead to bigger and better things once I get past the resistance)   Atsme Talk 📧 19:16, 16 May 2019 (UTC)

@Atsme: The edit filter Special:AbuseFilter/602 (Arbitration discretionary sanctions alerts) is triggered when somebody posts a message on a confirmed user's talkpage containing the text -- derived from template:ds/alert -- and {{Z33}}. This pops us the notice at MediaWiki:Abusefilter-warning-DS, applies the tag "discretionary sanctions alert" to the edit, and logs it in the Edit filter log].
You can only trigger the edit filter when you save a page, so it could be arranged to trigger when you add a post containing the text I gave above. You could simply include a hidden comment <!-- -- derived from template:ds/alert -- {{Z33}} --> in your notice at the top of the page. If it works, you'll get the popup.
That would provide an entry in the Edit filter log for your talkpage, so would show up if an editor followed the link in the popup notice for the "system log". If you wanted to "refresh" the log entry, you'd have to remove your top-notice, save the page, and then add it back again. Is that what you wanted to know? --RexxS (talk) 10:44, 17 May 2019 (UTC)
What I'm looking to do is get a pop-up notice advising the editor who attempts to post {{subst:alert|topic code}} (in my case, with topics ap, blp or ps). When the editor tries to save (or preview would be better) their DS alert post, (provided the target user has already been alerted that year), a notice will pop-up to inform the editor that the user has already received a DS alert in the respective topic area that year, and prevents the editor from posting a 2nd alert. Atsme Talk 📧 13:57, 17 May 2019 (UTC)
@Atsme: You can't do that from within your own page. As far as I can see, it would require a similar but much more complex edit filter, and considering the strain that edit filters put on the server (especially ones like this that have to search the text that has been added and removed), I doubt you'd get agreement for another one to handle DS alerts. However, you could try by making a request at Wikipedia:Edit filter/Requested if you wanted. A JavaScript program could mimic the effect, but you'd need to have every editor running the script because it would execute in each client browser. I don't see a good solution for what you're trying to do, sorry. --RexxS (talk) 15:45, 17 May 2019 (UTC)
Ok, thank you RexxS. I'll add it to the wishlist. In the interim, I suppose it wouldn't hurt to add a manual option in my custom DS Notice box, and include wikilinks to the already posted templates/topic areas. Atsme Talk 📧 16:23, 17 May 2019 (UTC)
Update

Hi, RexxS! See this suggestion regarding the above in the event you need it for future reference. I tested it as suggested and it worked but it appears more tweaking may be needed. Apologies for not presenting my question to you much clearer than I did - apparently, it was equally as unclear when I presented it ARCA. Only a few understood my proposal but that happens to me from time to time. It seems perfectly clear in my head, but when I try to explain it on paper it suddenly becomes confusing and a bit more complicated.   Atsme Talk 📧 16:39, 29 May 2019 (UTC)

93.86.115.173

I'm on my smartphone, so cannot easily xonfirm, but it appears that 93.86.115.173 (talk · contribs · deleted contribs · filter log · WHOIS · RDNS · RBLs · http · block user · block log) has no constructive, and few destructive, edits. Perhaps a more elaborate welcome message could be added? I may check later and add the warning myself.... — Arthur Rubin (talk) 16:20, 3 June 2019 (UTC)

@Arthur Rubin: Thanks for the heads-up, Arthur. My initial welcome was quite early on in their career (i.e. five days ago!) and I saw then that they were merely regularising the spacing around sub-headings, which isn't a problem per se, but obviously clogs up watchlists. I left the welcome as much to put their talk page on my watch list as anything else, but I'll revisit it now. Cheers --RexxS (talk) 17:43, 3 June 2019 (UTC)

WD pulling in infobox

I would be super gratefull for help here https://en.wikipedia.org/wiki/Template_talk:Medical_resources#RfC_Pull_classification_codes_from_WD EncycloABC (talk) 19:53, 4 June 2019 (UTC) (the sandbox of that page and this code

| {{#if: {{wdib|ps=1|qid={{{QID|}}}|P5806|{{{SNOMED CT|<noinclude>x</noinclude>}}}}} | '''[[SNOMED CT|SNOMED CT]]''': [http://snomed.info/id/{{wdib|ps=1|qid={{{QID|}}}|P5806|{{{SNOMED CT|<noinclude>x</noinclude>}}}}} {{wdib|ps=1|qid={{{QID|}}}|P5806|{{{SNOMEDCT|<noinclude>x</noinclude>}}}}}]}}

@EncycloABC: I've commented at Template talk:Medical resources #RfC Pull classification codes from WD. Cheers --RexxS (talk) 20:49, 4 June 2019 (UTC)

You call that an insult?

It is not unheard of to be insulted around here, but while Falstaff might be 'malt-worn', I was expecting the quality insult 'malt-worm'. Would it be okay to fix that at User:RexxS/Shakespearean insults? Or any others, like 'frouard' s.b. 'froward' ? Hmm, 'varlet' s.b. 'varlot'? Looks like only those three. Shenme (talk) 06:10, 8 June 2019 (UTC)

@Shenme: My "Who's Who and What's What" concurs with "malt-worms" (I. Henry IV), so please go ahead. Frouard appears to be a commune in France, so that's probably just a typo. Varlet seems to be the commoner spelling, but varlot certainly exists with the same meaning. Although given the fluidity of spelling in Elizabethan English, it's difficult to be authoritative on these questions. Anyway, I have no objections to any of those amendments, thou wayward dismal-dreaming wagtail. --RexxS (talk) 09:45, 8 June 2019 (UTC)

Javascript error

Every now and again, depending on the page and this time it was Wikipedia:Featured articles, I get the following error message and wondered if it's something that should be reported (and to whom?) or if it's a browser issue:
Javascript Error
https://en.wikipedia.org/w/index.php?title=User:Anomie/linkclassifier.js&action=raw&ctype=text/javascript at line 103: Error: AJAX error: error
Thanks in advance...Atsme Talk 📧 10:45, 13 June 2019 (UTC)

@Atsme: as you probably already know, it's caused by the linkclassifier script running from your vector.js page. I've looked at the script at User:Anomie/linkclassifier.js and there are four places where the error can be thrown, so I'm not any closer to being able to suggest a solution. As it's intermittent, it may be nothing more than your internet connection timing out on an Ajax request. However, the person most likely to be able to answer your question is Anomie as they may have come across the issue before. Sorry I'm not much help. --RexxS (talk) 21:00, 13 June 2019 (UTC)
Thank you, RexxS - One thing I forgot to mention - it only happens on my iPad Pro, not my laptop or cell phone. Atsme Talk 📧 21:07, 13 June 2019 (UTC) Adding - I think it's fixed. I uninstalled it from vector.js and common.js (it appears I had it in both) and put it in monobook.js - all's well that ends well.   Atsme Talk 📧 21:26, 13 June 2019 (UTC)

Category related to list / list related to category

Hi RexxS. Would it be possible to support category related to list (P1754) and list related to category (P1753) in Module:WikidataIB, please? They're analogous to topic's main category (P910) and category's main topic (P301) respectively, so it would be an extra check wherever those two are currently checked. It's most urgent for the "getCommonsLink" function, so I've tried adding that to WikidataIB/sandbox, and it seems to work. Thanks. Mike Peel (talk) 06:53, 16 June 2019 (UTC)

... with the caveat that P910/P301 should be used in preference to P1754/P1753 where both are present (e.g., Category:Antonov An-2 (Q64667029)). Thanks. Mike Peel (talk) 08:27, 16 June 2019 (UTC)
@Mike Peel: On my way to Oxford meetup, so I don't have time to look hard, but I've tweaked your code a little to only bother looking at P1754 when we don't get a sitelink from P910. Hopefully that does what you want. Let me know and I can look at the broader issue later. Cheers --RexxS (talk) 09:20, 16 June 2019 (UTC)
That's good, thanks - I've made that version live now. The rest is less urgent. Have a good meetup, and say hi to folks for me! Thanks. Mike Peel (talk) 09:33, 16 June 2019 (UTC)

Homework/reading material

Hi RexxS, just wanted to drop you a note to thank you for the links you provided in the "New 'User reporting'" thread at WP:FRAM. I glanced at some of them yesterday afternoon and intend to read through fully. Very informative and from the little I've looked at raise lots of questions. Victoria (tk) 18:31, 16 June 2019 (UTC)

Hi Victoria, thank you for the kind words, and I hope that the links prove useful for everyone concerned by the current issues. To move forward, we're all going to have to get to grips with how the WMF view our procedures.
Regards --RexxS (talk) 22:40, 16 June 2019 (UTC)
I completely agree and am very thankful to you for finding and posting the relevant links. There's an enormous amount of material to plow through, but imo that's a skill not beyond Wikipedians. Victoria (tk) 23:36, 16 June 2019 (UTC)

Module:Infobox power station

Hi RexxS. How are you doing? I just want to follow-up regarding this task which you have been helping me with. Please do let me know if there is anything I could do to reduce any confusion or help ease the task. I will recreate the sandbox environment when you're ready (to avoid others removing it again). Thank you again for the continuous support! Kindest regards, Rehman 03:28, 21 June 2019 (UTC)

@Rehman: I'm sorry I've been so busy off-wiki lately that I haven't found the uninterrupted period that I need to write code properly. I'll drop another note at Module talk:WikidataIB #Information of individual generation units of power stations about sandboxes. Cheers --RexxS (talk) 12:09, 22 June 2019 (UTC)

Did this ping work

By post-save signing, I'm wondering if you got the ping m:CentralNotice/Request/Wiki_Loves_Pride_2019#Central_Notice_admin_comments here? I may need to leave notes instead. Let me know. Thanks! -- (talk) 08:49, 28 June 2019 (UTC)

{re|Fæ}} sorry, I didn't get the ping. If you forget to sign, you are usually best to make a second post where you just repeat the list and sign it immediately below. Cheers --RexxS (talk) 16:33, 28 June 2019 (UTC)

New Page Review newsletter July-August 2019

 

Hello RexxS,

WMF at work on NPP Improvements

More new features are being added to the feed, including the important red alert for previously deleted pages. This will only work if it is selected in your filters. Best is to 'select all'. Do take a moment to check out all the new features if you have not already done so. If anything is not working as it should, please let us know at NPR. There is now also a live queue of AfC submissions in the New Pages Feed. Feel free to review AfCs, but bear in mind that NPP is an official process and policy and is more important.

QUALITY of REVIEWING

Articles are still not always being checked thoroughly enough. If you are not sure what to do, leave the article for a more experienced reviewer. Please be on the alert for any incongruities in patrolling and help your colleagues where possible; report patrollers and autopatrolled article creators who are ostensibly undeclared paid editors. The displayed ORES alerts offer a greater 'at-a-glance' overview, but the new challenges in detecting unwanted new content and sub-standard reviewing do not necessarily make patrolling any easier, nevertheless the work may have a renewed interest factor of a different kind. A vibrant community of reviewers is always ready to help at NPR.

Backlog

The backlog is still far too high at between 7,000 and 8,000. Of around 700 user rights holders, 80% of the reviewing is being done by just TWO users. In the light of more and more subtle advertising and undeclared paid editing, New Page Reviewing is becoming more critical than ever.

Move to draft

NPR is triage, it is not a clean up clinic. This move feature is not limited to bios so you may have to slightly re-edit the text in the template before you save the move. Anything that is not fit for mainspace but which might have some promise can be draftified - particularly very poor English and machine and other low quality translations.

Notifying users

Remember to use the message feature if you are just tagging an article for maintenance rather than deletion. Otherwise articles are likely to remain perma-tagged. Many creators are SPA and have no intention of returning to Wikipedia. Use the feature too for leaving a friendly note note for the author of a first article you found well made or interesting. Many have told us they find such comments particularly welcoming and encouraging.

PERM

Admins are now taking advantage of the new time-limited user rights feature. If you have recently been accorded NPR, do check your user rights to see if this affects you. Depending on your user account preferences, you may receive automated notifications of your rights changes. Requests for permissions are not mini-RfAs. Helpful comments are welcome if absolutely necessary, but the bot does a lot of the work and the final decision is reserved for admins who do thorough research anyway.

Other news

School and academic holidays will begin soon in various places around the Western world. Be on the lookout for the usual increase in hoax, attack, and other junk pages.

Our next newsletter might be announcing details of a possible election for co-ordinators of NPR. If you think you have what it takes to micro manage NPR, take a look at New Page Review Coordinators - it's a job that requires a lot of time and dedication.


Stay up to date with even more news – subscribe to The Signpost.
Go here to remove your name if you wish to opt-out of future mailings.

MediaWiki message delivery (talk) 04:38, 30 June 2019 (UTC)

Wikimania Bangkok 2020

Hi. I won't be going to Stockholm most unfortunately, because I really can't afford $3,000 just for 5 days in the far north of Europe. I'll leave that trip to the Europeans and the 70-strong WMF junket. But next year Wikimania is right on my doorstep. I hope you will be able to come. I will be making absolutely sure that my friends who are able to come will have a great time. Regards, Chris. Kudpung กุดผึ้ง (talk) 04:16, 2 July 2019 (UTC)

Reading Kafka

 

Thank you for watching over Franz Kafka and improving. --Gerda Arendt (talk) 13:55, 6 July 2019 (UTC)

Organisations vs. Organizations in the article on Scuba diving

As far as I can see, the article on Scuba diving makes no references to Great Britain or British people. I quote from one of your sentences: "The article clearly has the template {Use British English} and editors are expected to respect it." I did not see this template anywhere in the article, and I had no idea that the article "Scuba diving" pertained to Great Britain. A person who reads this article is not led to believe that he is in England.

In the article on John Lennon or Lady Diana Spencer, I would certainly understand the use of British spelling, but I still don't see the logic of this in the article on Scuba diving. I would like for you to direct me to this template that tells editors to use British English. The template is certainly not very conspicuous.Anthony22 (talk) 01:08, 10 July 2019 (UTC)

I just saw the reference to British English on the talk page. I don't generally check the talk page before editing, and I had no way of knowing that the subject matter was related to British spelling. I guess that it's important and logical to check the template on the talk page before editing. I still don't understand why the article on scuba diving is linked to Great Britain instead of countries in general. I'm rather certain that there are more recreational divers in the United States (population 327 million) than Great Britain (population 60 million). Scuba diving is a universal recreational activity that is practiced and enjoyed all over the world. Notice my spelling of the word "practiced." Great Britain is noted for the Beatles, the Royal Family, Tony Blair, and Winston Churchill, not scuba diving.Anthony22 (talk) 11:08, 10 July 2019 (UTC)

@Anthony22: First of all I am in England, and you should not be assuming that everybody lives in the same country that you do.
Secondly, the article doesn't pertain to Great Britain nor to the USA, nor to any other country. If you would take the time to read WP:ENGVAR, which governs the choice of spelling variant, you would see under the section Retaining the existing variety the guidance "When an English variety's consistent usage has been established in an article, maintain it in the absence of consensus to the contrary. With few exceptions (e.g., when a topic has strong national ties or a term/spelling carries less ambiguity), there is no valid reason for such a change." You've been around long enough; you should know these policies without having to be reminded. You must not alter the variant of English used unless there are valid reasons such as strong national ties. I hope that is clear enough for you.
Thirdly the template {{Use British English}}, which is a reminder for editors of the variant in use, was placed near the top of the article's wikitext, and its talk page counterpart {{British English}} is near the top of the talk page. It is used in over 200,000 articles and I find it astonishing that an editor with your tenure was not aware of it.
Fourthly you state that "I don't generally check the talk page before editing". Well, the next time you're thinking of unilaterally altering the English variant of an article, you'd better check for that template, because you've now been alerted, the excuse of not knowing about it won't be available.
Finally, if you haven't worked it out yet, Scuba diving uses en-gb spelling because the principal authors wrote in that variant of English. It's as simple as that, and it will hold true for most articles that don't have strong national ties to a country. That decision is not based on the size of the population, otherwise you'd have all of your articles on baseball, football, etc. written in Indian English (population 1353 million). Scuba diving is indeed a universal recreational activity that is practised and enjoyed all over the world, so it's not your place to insist that the article has to change to the spelling that you prefer. The USA is noted for a lot of things peculiar to America, but scuba diving is not one of them. --RexxS (talk) 13:28, 10 July 2019 (UTC)

Sahaja Yoga

I clicked "thanks" on your protection note really only because I am so pleased, still, that you're an admin. Take it easy, Drmies (talk) 14:27, 18 July 2019 (UTC)

A beer for you!

  Cheers, and cheers to Floq and his RfA. Thanks for your note in the "General comments" section. For the record, I have the utmost respect for Ajraddatz; this may be the first time I ever disagreed with them, and you phrased it very well. Thanks. Drmies (talk) 00:28, 23 July 2019 (UTC)

Edit

I made an edit on one of your pages: https://en.wikipedia.org/w/index.php?title=User%3ARexxS%2Flicence&type=revision&diff=907481863&oldid=802561663 Rong Qiqi (talk) PRO-WIKIPEDIA = ANTI-WMF 06:23, 23 July 2019 (UTC)

Thank you, Rong Qiqi, I often seem to misspell "eligible". Brain is getting too slow for the speed of my fingers when typing. --RexxS (talk) 12:27, 23 July 2019 (UTC)

Are you a Lua expert interested in teaching it?

Hi, just for your information, your username has been mentioned in this Wikimedia Space topic where a Lua expert is sought. If it doesn't fit you, maybe someone you know? 😊 Qgil-WMF (talk) 12:21, 24 July 2019 (UTC)

@Qgil-WMF: Thanks for the note. I've left a comment on Wikimedia Space. Cheers --RexxS (talk) 18:46, 24 July 2019 (UTC)
(talk page stalker) @Qgil-WMF: I don't know what interest he has in teaching, but User:Johnuniq is very much a Lua expert. Bishonen | talk 18:56, 24 July 2019 (UTC).
You're very kind Bishonen but I can't help with that. Johnuniq (talk) 00:59, 25 July 2019 (UTC)

Question about text size

Hi, Rex - I'm having an issue when using edit view in Firefox. The text in the edit section is tiny - I can barely see it...maybe 6pt...and it only recently started doing that. Why? It doesn't do that in Safari or Chrome. It's only in edit view in Firefox. Any suggestions?? Atsme Talk 📧 16:25, 25 July 2019 (UTC)

@Atsme: You can use Inspect Element from the right-click menu to examine the text box. In my Firefox, the font-size is set to 13px, which is set by the mw-editfont-monospace class. You don't have any custom css, so you haven't altered that. It looks like you've accidentally changed a setting in Firefox for Monospace fonts. Have a look at the Firefox menu → Options → Language and Appearance → Fonts and Colors → Advanced... then see if you have something other than Monospace Size set to 13, and make sure you have ticked "Allow pages to choose their own fonts, instead of your selections above". If that doesn't sort out the problem, let me know, and I'll have another think. --RexxS (talk) 16:54, 25 July 2019 (UTC)
Back to Monospace 13.   You-->  Atsme Talk 📧 17:15, 25 July 2019 (UTC)

Could you review a table for ACCESS please?

Hi RexxS, long time no talk. I hope you're well. If you have any time, would you be prepared to take a look at the relatively intricately coded table at MLS Cup 2001 and assess it for accessibility? No mad rush, but I've just undertaken to GAN review it, and while ACCESS isn't a requirement, rather like an MOT, I'd like to add advisories where possible should anyone wish to (a) improve it for its own benefit or (b) take it further, to FAC for instance. All the best. The Rambling Man (REJOICE!) 20:29, 28 July 2019 (UTC)

Hi TRM, it's good to hear from you again. I'm certainly well, having survived an RfA that I foolishly allowed myself to be talked into. I looked at one of those tables fairly recently, so it's quite easy to say that the layout can be traversed by a screen reader, although it would be more certain to be compatible if the row and column headers were scoped. The markup is also antiquated, as we should be using css like style="valign:top;", not attributes like valign=top. I could improve all of that for you if you wanted, as an example for the nominator. As far as other aspects of accessibility are concerned, the colour contrasts are fine, as is the text size, and no information is being conveyed by colour or other visual markup that isn't available by other means for a blind visitor.
Please feel free to quote or use any of that for the GAN, and do let me know if you want me to work on the markup. Hope all's well with you and yours. All the best --RexxS (talk) 21:08, 28 July 2019 (UTC)
Hi RexxS, that's great, thanks. I'll let the nominator know, I think we can address the row/col scopes during GAN but I'll probably leave the rest for another time. Much appreciated, The Rambling Man (REJOICE!) 05:23, 29 July 2019 (UTC)

Hey admin

Among your last fifty logged actions I see only one block, for 31 hours. Did you not receive a sheet with the rates for the various blocks? Are you not some underpaid part-timer like the rest of us? Are you really suggesting you applied for this job to do some good, to be positive? Hmm? Don't you know we're supposed to be powerhungry a-holes? Drmies (talk) 20:26, 29 July 2019 (UTC)

@Drmies: Yes, sorry. It will take me some time to get the hang of this, as I'm still putting time into maintaining modules and doing accessibility reviews. I tried a brief spell at AIV, but got told off for giving warnings instead of immediate blocks. I'll have to try harder in future. --RexxS (talk) 20:43, 29 July 2019 (UTC)
Haha, I appreciate that, RexxS. I am very happy you got the tool. Thank you for all that you do. Drmies (talk) 23:15, 29 July 2019 (UTC)

WikidataIB and commons links

Hi RexxS. I think your latest edit to WikidataIB reverted this one adding P1754 to the commons link - can you have a look please? Thanks. Mike Peel (talk) 19:06, 7 August 2019 (UTC)

Thanks for spotting that, Mike. I usually make a point of updating my local copy that I develop on whenever somebody changes the Module, but I did it for the new pen icon and missed updating your change, sorry. I've now reinstated it. This latest version has a few improvements over the previous one ready for Wikimania, plus new improved documentation! You might want to copy over to Commons.
We should talk about Wikimania (maybe Skype). I think there will be sufficient separation between my Hackathon workshop (where I'm going to talk in detail about the minutiae of what the WikidataIB calls can do), and our Languages Space presentation (where I think we're concentrating on the practicalities of implementing Wikidata-aware infoboxes in different languages). But we can sharpen that up anytime to suit you. Cheers --RexxS (talk) 19:57, 7 August 2019 (UTC)
Thanks! There was also this change on Commons, I'm not sure if you noticed that? It's good to see the improvements. :-)
With Wikimania - it might actually be better if we focus more on some of the social aspects of Wikidata infoboxes during Wikimania itself, as they are actually the biggest barrier to deployment nowadays rather than the technical aspects, but still covering the high-level technical aspects. A lot of the deployment can now be done by copy-pasting existing code, though, either individual lines or the whole infoboxes. I'm actually back in the UK at the moment (flying here first was cheaper than flying directly to Wikimania), so a face-to-face chat might be possible, but Skype is probably easiest. It would be good to include @Deryck Chan: in that too! Thanks. Mike Peel (talk) 06:35, 8 August 2019 (UTC)
Mike Peel and RexxS: Thanks for pinging me. It's unlikely that I will be able to help prepare material ahead of the session, sorry   But it might not be a problem that the session's introduction is substantially similar to the one in the Hackathon, because not many people who go to the main conference Infobox session will go to the Hackathon session... Deryck C. 15:22, 8 August 2019 (UTC)
@Mike: I hadn't spotted that yet, Mike. Thanks, I've incorporated into my working copy and updated the enwiki version. It certainly is more efficient to maintain just one codebase with multiple projects able to contribute upgrades.
I'm flying to Stockholm on Monday to see friends, so maybe we'll get a chance to chat before then. Cheers --RexxS (talk) 14:23, 8 August 2019 (UTC)

You've got mail

 
Hello, RexxS. Please check your email; you've got mail!
It may take a few minutes from the time the email is sent for it to show up in your inbox. You can remove this notice at any time by removing the {{You've got mail}} or {{ygm}} template.Kevin (aka L235 · t · c) 21:37, 8 August 2019 (UTC)

A question about "Wikidata infoboxes workshop"

I just got to know about the session on Wikidata infoboxes workshop at Wikimania 2019. I am interested in it but unfortunately I am based in another continent and won't make it to Wikimania. I was wondering if remote participation is possible? If not, if we can access the video later on. Thanks a lot --Nandana (talk) 15:38, 26 July 2019 (UTC)

@NandanaM: I'd love to make that possible, but the technical arrangements are out of my control. I'll see when I get to Wikimania if it's possible and let you know if it is. I can see you have email enabled, so that should be easy. Cheers --RexxS (talk) 15:54, 26 July 2019 (UTC)
@RexxS: Thanks a lot, appriciate it! --Nandana (talk) 17:47, 26 July 2019 (UTC)
@NandanaM: I've just been told that today's Lua Workshop is being streamed live on YouTube on the Wikimedia Sweden channel if that is of interest to you. I hope that tomorrow's Wikidata infoboxes workshop will also be streamed in the same way. I'll try to let you know as soon as I find out. Cheers --RexxS (talk) 13:35, 14 August 2019 (UTC)
@RexxS: that's great! Thanks a lot and I really appriciate your effort! Nandana (talk) 14:08, 14 August 2019 (UTC)

A barnstar for you!

  The Technical Barnstar
Thanks for crafting this super good intro to Lua. I found it very helpful! custom-signa|ture (talk) 20:09, 14 August 2019 (UTC)

IronAngelAlice AE close

Please could you attribute your close as the use of the first person with no obvious link to who is speaking is confusing. I'd rather not drop an {{unsigned}} in a closure header as I wouldn't put it past someone to wikilawyer that that affected the validity of the close(!). Thryduulf (talk) 00:14, 25 August 2019 (UTC)

Thanks for spotting that, Chris. I've fixed it using the time from the diff, so there should be little wriggle-room for the wikilawyers. Cheers --RexxS (talk) 11:15, 25 August 2019 (UTC)

Strange behaviour from a new editor

I noticed that Bisogn (I'm not linking the editor because I don't want to alert the editor, which is also why I'm not posting to ANI) has made a series "white space edits" essentially removing whitespace. I assume it's to get to autoconfirmed status. I've reverted them all in an effort to slow the editor, but I wanted to mention it to an admin who might be interested in seeing if this is socking or some other sort of behaviour. Walter Görlitz (talk) 04:41, 27 August 2019 (UTC)

Thanks Walter. You can use the {{noping}} template to avoid a notification while still making the link. I've looked at Bisogn's contributions and they are way past the 10 needed for autoconfirmed and still going. So I've left a note on their talk page asking them to stop removing whitespace. They are on my radar now, and hopefully it will curtail their cosmetic edits. Cheers --RexxS (talk) 11:05, 27 August 2019 (UTC)
WhiteAngel is using the same, strange edit summaries and similar editing pattern. Walter Görlitz (talk) 19:49, 27 August 2019 (UTC)
I've looked through their contributions, and although I don't think they are a new editor (judging by some of their first few edits), I don't see the same pattern of single-minded removal of whitespace. I would say these are unrelated, but it would be worth keeping an eye on. Cheers --RexxS (talk) 21:04, 27 August 2019 (UTC)

2019 MEDRS presentation

Hi, are there a video or slide-deck for Wikimania 2019 talk? I was sad to have not been able to make it to Stockholm, but I'd love to see what was discussed. T.Shafee(Evo&Evo)talk 10:48, 28 August 2019 (UTC)

@Thomas: It's a shame you couldn't make it. Mikael gave a good presentation on WikiJournals. I've emailed you the handful of slides from my session, but they were more of an aide-memoir for me than teaching materials. --RexxS (talk) 13:26, 28 August 2019 (UTC)
Splendid, thank you! T.Shafee(Evo&Evo)talk 00:55, 29 August 2019 (UTC)

Carousel inside an infobox

WikiProject Dogs
 
Female Dobermann with docked tail
Shortcut

Hi, RexxS - is it possible to add a carousel inside an infobox so the picture changes every so often? I think it would be cool to have one in the infobox for WP:WikiProject Dogs. I suppose we could add one top/center of the page, but the infobox is my choice. If possible, I just need you to give me a kickstart like you did for my user page. Atsme Talk 📧 01:43, 31 August 2019 (UTC)

Hi Atsme, yes it's possible to use the same sort of carousel as we did for your page, but it's a little bit trickier. I've made a sub-module at Module:Carousel/WPDogs. That only has three images/captions in it, but you can revise that to taste.
The infobox needs a separate filename and caption, so we have to split what the module returns at the | separator and use the first part for the filename and the second part for the caption. The demo infobox on the right (code is above) contains the lines for |image= and |caption= that you need to use. Copy and paste those two into the infobox in Wikipedia:WikiProject Dogs, replacing the current two lines that give a fixed image.
You can change the |switchsecs= from 5 seconds to whatever number you want to be the time between image changes. Using 86400 would give one day between changes. Don't forget to change the number in both lines to be the same, otherwise the captions will be out of sync with the images. Let me know how it goes. --RexxS (talk) 14:23, 31 August 2019 (UTC)
Awesome!! Thank you so much!! Atsme Talk 📧 14:39, 31 August 2019 (UTC)

Nomination for deletion of Template:OnlyOffline

 Template:OnlyOffline has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. -- Colin°Talk 13:38, 2 September 2019 (UTC)

Server timeout with Lua gsub

Hi! Lately I have been doing some further Lua experiments on test wiki and encountered a server timeout (>10s) for the first time since I have started working with Lua. Apparently the line responsible for the timeout is a relatively complex string.gsub, which on single use already takes >3s, so with multiple use on a page it obviously leads to a timeout. Honestly I was very surprised, since I have been using gsubs on a regular basis and none of the others (in the same module and template) has ever gotten close to a timeout (without that one line I stay at around 1s). I couldn’t find any documentation on how to work around such problems, so I thought I’ll ask you for advice. The line in question is string.gsub (content, "(\n|.-)colspan(%=.-|.-%<span class%='charts%-mobileonly.-\n|.-class%='charts%-)mobileonlycell('.-)%↑(%])", "%1class%='charts%-mobileonly' colspan%2mobileonly%3%←%4"). I’m sure I could shorten it a little bit since the wikitable structure (contained in “content”) is predictable, but I don’t get what about this match makes it take so long compared to other substitutions; does it contain a mistake or something? Any hints are appreciated. Best regards, XanonymusX (talk) 16:14, 2 September 2019 (UTC)

@XanonymusX: I had a look at https://test.wikipedia.org/w/index.php?title=Module:Musikcharts and at https://test.wikipedia.org/wiki/User:XanonymusX/sandbox but without being exactly certain what was being passed as |INHALT=, it is difficult to debug. Anyway, your replacement string in line 338 looks faulty to me, and it gave me an error when testing on my local Lua test implementation. In replacement strings, the only characters that you can escape are the numbers 1 to 9 which are then substituted by the captures from the pattern matching. So I think your replacement string should be something like:
  • "%1class='charts-mobileonly' colspan%2mobileonly%3←%4"
It's probably best for readability if you also don't escape literal characters in the pattern to match when they don't need to be escaped, such as = <, etc. The only characters you must escape are the "magic characters": ^ $ ( ) % . [ ] * + - ? and you often don't need to escape those (such as ] when there is no unescaped [ in the string). Consider this for the pattern to match:
  • "(\n|.-)colspan(=.-|.-<span class='charts-mobileonly.-\n|.-class='charts-)mobileonlycell('.-)↑(])"
It doesn't matter if you over-use the escape characters, of course (unless you accidentally create a character class, but that can only happen with letters). The only thing that suffers is the readability when you escape every punctuation character!
Now, I can't guarantee that it will solve your timing issues with gsub, but it ought to help if you're not getting errors. Let me know how that goes. Cheers --RexxS (talk) 18:20, 2 September 2019 (UTC)
Thanks for the hints, I have cleaned up the line a little (I am usually too lazy to recall the exact magic characters, so I like to play it safe). It has however not influenced the timeout, in testwiki:User:XanonymusX/sandbox you can see that the 6th call of the function is already breaking the page. An extreme example for the potential content is testwiki:James Brown, where the Lua time usage seems to reach 4.628/10.000 seconds already. Since there might be a larger number of chart tables on one page (extreme case so far with 12 tables), I’m afraid I have overestimated the possibilities of substitutions in this case. Maybe I should look for an entirely different approach here?! Regards, XanonymusX (talk) 21:53, 2 September 2019 (UTC)
@XanonymusX: The problem is that the pattern contains six occurrences of .- and that causes too many checks for matching at each character position in the content string. I might get a chance to think about exactly what the gsub is trying to do later but I'm letting you know this much now. Johnuniq (talk) 23:36, 2 September 2019 (UTC)
I fixed the module but I would need some testcases to check whether the gsub complex pattern actually works. Johnuniq (talk) 04:26, 3 September 2019 (UTC)
Thanks for the effort! I hope I can test it tonight, so I will be able to tell you more (about the unused globals: this is just a small part of de:Modul:Musikcharts, there everything will make sense in the end). Regards, XanonymusX (talk) 07:47, 3 September 2019 (UTC)
Thanks so much for your fixes, John. It's really nice to wake up and find last night's problems all solved for you. I rarely use the - qualifier and it's possibly because I had seen performance issues with it in the past. I've given you some extra rights on Test Wiki in case you ever have to work on protected modules, etc. Cheers --RexxS (talk) 13:20, 3 September 2019 (UTC)
Alright, I did some testing and changed some of my other gsubs now. With the James Brown example (probably largest content) I reach 2.101 seconds now, with the Michael Jackson one (most number of tables) I’m at 2.998 seconds (without the crucial gsub actually applied though, since I have now introduced the “↑]” match first). The match works fine, as can be best seen in these tables (visible on mobile-size screens)! That’s a huge progress. Is there any chance to reduce the time even further or is this the best it gets with this kind of substitution? Thanks and best regards, XanonymusX (talk) 21:57, 3 September 2019 (UTC) (will be without a computer for a while now, but I will definitely think about these problems further)

Admin request

Hello RexxS ! You have help me and some other users to see sense before. It was about Swedish Wikipedia about two years ago, I estimate. Hence I hope you might be able to have a look at a different subject and involved contributor. As we don't come anywhere and the subject is of greater importance, I think.
If possible, could you have a look at this article Scandinavian Monetary Union. This article ends with a quote, from two authors in economic history. I feel this far away from the encyclopedic style we are obligated to follow. Quotes as such can certainly be used, but not as a source in itself. It's a matter of style, I would say. In written encyclopedias , I've never seen anything similar to this! Neither in any other article at Wikipedia. Not like this. I don't really know which guideline, just that this is wrong. What these two authors have expressed in writing at one page of 100+ pages, becomes far too heavy if compared to a normal text with a normal reference to the work in question as source. The user who insists on using this poor style quote is User:Snooganssnoogans And I hope this alerts him/her too. Boeing720 (talk) 03:35, 8 September 2019 (UTC)