User talk:SiBr4

A beer for you!
I don't. Thanks, though. SiBr4 (talk) 11:51, 2 January 2015 (UTC)

A kitten for you!
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) 

CSS styling in templates
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
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
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 &#123;&#123;re&#124;Jc86035&#125;&#125; to reply to me 15:36, 31 May 2017 (UTC) to reply to me 15:33, 9 June 2017 (UTC) to reply to me 11:13, 28 June 2017 (UTC)
 * 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 &#123;&#123;re&#124;Jc86035&#125;&#125;
 * 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 &#123;&#123;re&#124;Jc86035&#125;&#125;
 * 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:
 * Not sure about replacing the sole current transclusion of, 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 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 (name to code) with  (code to name), so the #switch (which compares the output to a bunch of codes) no longer matches anything (e.g.  &rarr; "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 yes or 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.  and  ) 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"? <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">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)
 * 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"? <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">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
Is the African, Asian, North American, Oceanian and South American versions of this done yet? RainbowSilver2ndBackup (talk) 05:51, 3 August 2017 (UTC)

Upcoming changes to wikitext parsing
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 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)

Are you still around?
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
I see your contributions in some of the modules mentioned at Wikipedia talk:Lua/Archive 8 so you might want to have a look. Johnuniq (talk) 02:39, 29 January 2019 (UTC)

Google Code-In 2019 is coming - please mentor some documentation tasks!
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)

Category:Country data templates of other entities has been nominated for deletion
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. –<b style="color:#77b">Laundry</b><b style="color:#fb0">Pizza</b><b style="color:#b00">03</b> ( d c̄ ) 18:29, 3 May 2020 (UTC)

Your access to AWB may be temporarily removed
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! &mdash; MusikBot II  talk  17:21, 30 November 2021 (UTC)

Proposed flag Grand Est


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)
 * 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. <span title="User:SiBr₄">SiBr4 (<span title="User talk:SiBr₄">talk ) 19:32, 3 March 2022 (UTC)

User:SiBr4/TemplateSearch.js
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 (<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK PAGE ) 00:55, 24 February 2023 (UTC)