Jump to content

User talk:SiBr4

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

WikiLove

[edit]

A barnstar for you

[edit]
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)[reply]

A barnstar for you!

[edit]
The Original Barnstar
Keep up the good work! :-) --Nadia (Kutsuit) (talk) 21:39, 18 March 2014 (UTC)[reply]

A beer for you!

[edit]
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)[reply]

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

A barnstar for you!

[edit]
The Barnstar of Diligence
Thank You for SVG! :) Shamil008 (talk) 16:28, 10 April 2015 (UTC)[reply]

Barnstar!

[edit]
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)[reply]

A kitten for you!

[edit]

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)[reply]

A barnstar for you!

[edit]
The Original Barnstar
For your impressive and wonderful contributions and works.  MrInfo2012  Talk  10:17, 19 February 2017 (UTC)[reply]

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)[reply]

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)[reply]

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

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)[reply]

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)[reply]

@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)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

Google Code-In 2019 is coming - please mentor some documentation tasks!

[edit]

Hello,

Google Code-In, Google-organized contest in which the Wikimedia Foundation participates, starts in a few weeks. This contest is about taking high school students into the world of opensource. I'm sending you this message because you recently edited a documentation page at the English Wikipedia.

I would like to ask you to take part in Google Code-In as a mentor. That would mean to prepare at least one task (it can be documentation related, or something else - the other categories are Code, Design, Quality Assurance and Outreach) for the participants, and help the student to complete it. Please sign up at the contest page and send us your Google account address to google-code-in-admins@lists.wikimedia.org, so we can invite you in!

From my own experience, Google Code-In can be fun, you can make several new friends, attract new people to your wiki and make them part of your community.

If you have any questions, please let us know at google-code-in-admins@lists.wikimedia.org.

Thank you!

--User:Martin Urbanec (talk) 21:58, 23 November 2019 (UTC)[reply]

Category:Country data templates of other entities has been nominated for deletion. A discussion is taking place to decide whether this proposal complies with the categorization guidelines. If you would like to participate in the discussion, you are invited to add your comments at the category's entry on the categories for discussion page. Thank you. –LaundryPizza03 (d) 18:29, 3 May 2020 (UTC)[reply]

Your access to AWB may be temporarily removed

[edit]

Hello SiBr4! This message is to inform you that due to editing inactivity, your access to AutoWikiBrowser may be temporarily removed. If you do not resume editing within the next week, your username will be removed from the CheckPage. This is purely for routine maintenance and is not indicative of wrongdoing on your part. You may regain access at any time by simply requesting it at WP:PERM/AWB. Thank you! MusikBot II talk 17:21, 30 November 2021 (UTC)[reply]

Proposed flag Grand Est

[edit]

Hi,

I'm trying to get to know more about the flag of Grand Est. I see you created the File:Proposed design for a flag of Grand Est.svg based on work of others. I like the proposal but an wondering if this proposal was an official proposal by some one or some entity. If it was selected in a competition or otherwise accepted as a proposal by any official or governmental body. Perhaps I want to dedicate an article to the flag.

Thanks, Renetus Renatus! (talk) 09:17, 24 February 2022 (UTC)[reply]

@Renatus!: I made the file after a request on my Commons talk page to make flag versions of a set of icons representing the then new regions. The requester claimed to have seen the flags flying in France, but the creator of the original icons joined in to confirm that they are their own invention and are not used as flags. So no, they don't have any official acknowledgment or notability. SiBr4 (talk) 19:32, 3 March 2022 (UTC)[reply]

User:SiBr4/TemplateSearch.js

[edit]

Doesn't look like you're active much these days, but User:SiBr4/TemplateSearch.js seems to have stopped working with the switchover to Vector 2022. It appears that when Vector 2022 pages load they have the same search box as old Vector, but when you click on the search box it transforms to some OOUI monstrosity without an element ID so any keyup events you set are cleared out. I cobbled together a version at User:Ahecht/Scripts/TemplateSearch.js that works for both Vector and Vector 2022, but it's way more complex than it should be. --Ahecht (TALK
PAGE
) 00:55, 24 February 2023 (UTC)[reply]

Please add Belarus (2024) and Iran (2023) to SCO, and Uzbekistan (2019) to OTS. Thank you! — UnladenSwallow (talk) 00:00, 26 September 2024 (UTC)[reply]