User talk:SiBr4

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

WikiLove[edit]

A barnstar for you[edit]

Design Barnstar Hires.png The Graphic Designer's Barnstar
For the creation of File:Parity clocks - P-conservation.svg and File:Parity clocks - P-violation.svg, which will illustrate our articles for years to come. Headbomb {talk / contribs / physics / books} 21:12, 23 November 2013 (UTC)

A barnstar for you![edit]

Original Barnstar Hires.png The Original Barnstar
Keep up the good work! :-) --Nadia (Kutsuit) (talk) 21:39, 18 March 2014 (UTC)

A beer for you![edit]

Export hell seidel steiner.png Yo, thanks for the timely template magic. If you don't like beer, pretend it's some other thing you like. Anon423 (talk) 00:46, 31 December 2014 (UTC)

I don't. Thanks, though. SiBr4 (talk) 11:51, 2 January 2015 (UTC)

A barnstar for you![edit]

Barnstar of Diligence Hires.png The Barnstar of Diligence
Thank You for SVG! :) Shamil008 (talk) 16:28, 10 April 2015 (UTC)

Barnstar![edit]

Vitruvian Barnstar.png The da Vinci Barnstar
This barnstar, named for Leonardo da Vinci, is gratefully awarded to User:SiBr4 for technical advice at the Village Pump, and for this very clear and very helpful lesson. I hope you keep up the great work.Anythingyouwant (talk) 17:10, 1 August 2015 (UTC)

A kitten for you![edit]

Kitten in a helmet.jpg

Thanks for your ISO/FIPS country code compare page, I've been ripping my hair out all day looking for country codes and here you give me two at once, with a list of differences. Thanks!

Vpaladino (talk) 15:47, 4 November 2015 (UTC)

A barnstar for you![edit]

Original Barnstar Hires.png The Original Barnstar
For your impressive and wonderful contributions and works.  MrInfo2012  Talk  10:17, 19 February 2017 (UTC)

CSS styling in templates[edit]

Hello everyone, and sincere apologies if you're getting this message more than once. Just a heads-up that there is currently work on an extension in order to enable CSS styling in templates. Please check the document on mediawiki.org to discuss best storage methods and what we need to avoid with implementation. Thanks, m:User:Melamrawy (WMF), 09:11, 6 February 2017 (UTC)

Module:CountryData[edit]

Hi SiBr4. Are you still maintaining Module:CountryData? I was preparing to use it in a new module, but noticed that it has a globally defined function, getcontents, that trips Module:No globals. Could you take a look at marking it as local? -- ferret (talk) 19:12, 14 March 2017 (UTC)

This should be all that is needed (it works when previewed on my test page). SiBr4 (talk) 20:11, 14 March 2017 (UTC)
Thanks much! :) -- ferret (talk) 01:05, 15 March 2017 (UTC)

As info, Module:CountryData is transcluded in 14,000+ articles now that Module:Video game reviews is using it. I am going to TE protect it. Shouldn't cause you any issues. -- ferret (talk) 16:41, 21 March 2017 (UTC)

Question[edit]

Is Module:ISO 3166 finished? I've imported the data going in the other direction (text to code) for Module:Country extract, and it might be useful for finding errors and inconsistencies and various other things. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
15:36, 31 May 2017 (UTC)

@Jc86035: It works, but I've yet to create the data subpages for many countries' subdivisions (the redlinks here). Go ahead to compare what's there, though. Note that Module:ISO 3166 can go both ways (code to name and name to code). SiBr4 (talk) 20:46, 8 June 2017 (UTC)
I didn't realize that, and spent ages collating about 10,000 aliases which aren't really sorted properly in Module:Country extract's subpages. Should all of the new data be stuck in the older module; and if so, how should that be done? Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
15:33, 9 June 2017 (UTC)
@Jc86035: I have the remaining data semi-ready to add (which I could use AWB for), so it won't be necessary to directly use your module's data to complete mine. I'll definitely compare the data in order to add missing/additional aliases, though. SiBr4 (talk) 10:31, 28 June 2017 (UTC)
Thanks for working on this. It would be nice if you could add a fallback mechanism (if there isn't one already) so that errors aren't generated in normal usage; I'd added one to Module:Country extract. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
11:13, 28 June 2017 (UTC)
There is an "error" parameter to return nothing or the unaltered input in case of a wrong input; the default can be easily changed (and/or a tracking category added) when/if the module is going out of beta. SiBr4 (talk) 11:46, 28 June 2017 (UTC)

On another note, is it necessary to replace {{ISO 3166 numeric}} using the module? It's only used on one page so it could be replaced and deleted instead. Jc86035 (talk) 11:55, 19 October 2017 (UTC)

It would be possible, since Module:ISO 3166/data/National includes the numeric codes:
  • {{ISO 3166 name/sandbox|352}} → Iceland
  • {{ISO 3166 code/sandbox|Iceland|codetype=numeric}} → 352
Not sure about replacing the sole current transclusion of {{ISO 3166 numeric}}, though, since it is in a discussion about the template itself. It'd be better to subst that one if the template is to be deleted. SiBr4 (talk) 21:44, 21 October 2017 (UTC)
I suppose this is a moot point, since the template's been deleted.
I have edited the module to produce nil if |error= is not specified and there is an error, because I've used it in User:Closeapple/new/Globalize/name to allow some more templates to be deleted. If it's possible, could the module return the original text instead of the capitalized stripped text on |error=input? Jc86035 (talk) 04:45, 24 October 2017 (UTC)
Are you sure that userspace template still works correctly? In the part that determines whether to add "the", you've replaced the transclusion of {{ISO 3166 code {{{1}}}}} (name to code) with {{ISO 3166 name}} (code to name), so the #switch (which compares the output to a bunch of codes) no longer matches anything (e.g. {{User:Closeapple/new/Globalize/name|NL}} → "Netherlands", lacking "the").
Since the Template:ISO 3166 name system seems to only have included countries (or have all subdivision templates been deleted already?), it was probably safe to change that template to use the module, although some default country name outputs are different. Of the templates not yet deleted, I can find three using ISO names that differ from the common names (Iran, South Korea and Russia); the module returns the common names unless |isoname= is set. Template:ISO 3166 code, OTOH, will definitely need a comparison of all country name aliases and making sure no aliases not in the module have transclusions, in order to not break those if it is changed.
Regarding the error parameter, for the name-to-code function, no stripping/capitalization is happening; the only change is the omission of the country (first parameter) in case of a second parameter. For code-to-name, the input was capitalized (which I just changed) and the parameters combined with a hyphen. About your change of the default error output, I don't know if it was intentional, but the result is that while not setting |error= returns an empty string, setting it to any unrecognized text still returns the error, so there are now in a way two different defaults. SiBr4 (talk) 12:26, 24 October 2017 (UTC)
My mistake, changed it to use {{ISO 3166 name}} (which hasn't been converted to Lua but should work regardless).
The error thing was deliberate, I think, but I don't really mind if it's changed to something else. Maybe change it to throw an error if the value is anything other than [blank], error and input?
Incidentally, maybe the module could allow "the" to be added where applicable with |the=yes or |article=yes or something (maybe by removing "^the " from entries unless the parameter is specified, since otherwise it would mess with the table layout). Jc86035 (talk) 15:03, 24 October 2017 (UTC)
That's certainly an interesting method of adding "the". Just adding two boolean fields (e.g. the=1 and isothe=1) in the data module would work as well; we only need to care about the ISO name and the common name (or display names where ambiguous), since altnames are never outputted (even for subdivisions with multiple-language ISO names, only the English ones probably ever need articles).
Regarding this edit, the unaccented version doesn't need to be listed separately, since accents are stripped away from both the input and the data entries before comparing. Also, "Best Korea"? SiBr4 (talk) 16:05, 24 October 2017 (UTC)
I'll remove the Easter egg, since it's not useful and there's not much chance of anyone actually finding it (also since the article title was salted in 2010). Jc86035 (talk) 16:25, 24 October 2017 (UTC)

Maps with flags[edit]

Is the African, Asian, North American, Oceanian and South American versions of this done yet? RainbowSilver2ndBackup (talk) 05:51, 3 August 2017 (UTC)

ArbCom 2017 election voter message[edit]

Scale of justice 2.svgHello, SiBr4. Voting in the 2017 Arbitration Committee elections is now open until 23.59 on Sunday, 10 December. All users who registered an account before Saturday, 28 October 2017, made at least 150 mainspace edits before Wednesday, 1 November 2017 and are not currently blocked are eligible to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process, it has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment; the arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2017 election, please review the candidates and submit your choices on the voting page. MediaWiki message delivery (talk) 18:42, 3 December 2017 (UTC)

Upcoming changes to wikitext parsing[edit]

Hello,

There will be some changes to the way wikitext is parsed during the next few weeks, it will affect all namespaces. You can see a list of pages that may display incorrectly at Special:LintErrors. Since most of the easy problems have already been solved at the English Wikipedia, I am specifically contacting tech-savvy editors such as yourself with this one-time message, in the hope that you will be able to investigate the remaining high-priority pages during the next month.

There are approximately 10,000 articles (and many more non-article pages) with high-priority errors; the most important ones are the articles with misnested tags and table problems. Some of these involve templates, such as infoboxes, or the way the template is used in the article. In some cases, the "error" is a minor, unimportant difference in the visual appearance. In other cases, the results are undesirable. You can see a before-and-after comparison of any article by adding ?action=parsermigration-edit to the end of a link, like this: https://en.wikipedia.org/wiki/Arthur_Foss?action=parsermigration-edit (which shows a difference in how {{infobox ship}} is parsed).

If you are interested in helping with this project, please see Wikipedia:Linter. There are also some basic instructions (and links to even more information) at https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2018-April/001836.html You can also leave a note at WT:Linter if you have questions.

Thank you for all the good things you do for the English Wikipedia. Whatamidoing (WMF) (talk) 21:18, 19 April 2018 (UTC)

ArbCom 2018 election voter message[edit]

Scale of justice 2.svgHello, SiBr4. Voting in the 2018 Arbitration Committee elections is now open until 23.59 on Sunday, 3 December. All users who registered an account before Sunday, 28 October 2018, made at least 150 mainspace edits before Thursday, 1 November 2018 and are not currently blocked are eligible to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process, it has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment; the arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2018 election, please review the candidates and submit your choices on the voting page. MediaWiki message delivery (talk) 18:42, 19 November 2018 (UTC)

Are you still around?[edit]

Hi SiBr4, there are a lot of update requests pending related to Country data templates - was wondering if you were around and could look at them? (see User:AnomieBOT/TPERTable). — xaosflux Talk 15:08, 8 January 2019 (UTC)

Proposal to move some modules[edit]

I see your contributions in some of the modules mentioned at Wikipedia talk:Lua/Archive 8#Requested move 28 January 2019 so you might want to have a look. Johnuniq (talk) 02:39, 29 January 2019 (UTC)