User talk:Pathoschild

From Meta, a Wikimedia project coordination wiki
(Redirected from User talk:Pathoschild/s)
Jump to: navigation, search
User language
en-N This user has a native understanding of English.
fr-N Cet utilisateur a pour langue maternelle le français.
Users by language
Archives:

Contents

[edit] Babel migrate and delete - is.wiki

I have heard that you have a script to migrate babel templates to {{#babel:}}. I have proposed to migrate and delete all babel templates on is.wikipedia (see m:is:Wikipedia:Potturinn#Skipta tungumálasniðum alfarið út fyrir viðbótina Babel (in icelandic)). Can you help with that?--Snaevar 21:19, 19 January 2012 (UTC)

Hello Snaevar. I'm using pathoschild.BabelMigrator in my JavaScript for semi-automated migrations. —Pathoschild 07:01:38, 20 January 2012 (UTC)
Ok. I was thinking that you would operate the code yourself on is.wiki. There is one template left to migrate: m:is:Snið:Málkassi-X.--Snaevar 12:48, 21 January 2012 (UTC)

[edit] AccountEligibility

[edit] Role duration bug

The following discussion is marked as answered (fixed). If you have a new comment, place it just below the box.

Hi, just to let you know, the AccountEligibility doesn't give me the right output [1]. It says "was not flagged as an administrator for a continuous period of at least three months before 29 January 2012 (never flagged).", but I am an administrator for almost 3 years [2]. Best regards, Freaky Fries 08:45, 20 January 2012 (UTC)

I saw the same bug with my account, I haven't been an administrator for 3 years but it has been over 3 months. ~~ GB fan ~~ talk 16:31, 20 January 2012 (UTC)
Fixed; thanks for reporting the bug. —Pathoschild 01:37:12, 21 January 2012 (UTC)
Hi Pathos, there seems to be another bug with the tool, Mufka on the English Wikipedia should be eligible to be a candidate, flagged since 2009, but the tool thinks that he was never flagged. The Helpful One 15:37, 21 January 2012 (UTC)
Thank you for your fixings. Nevertheless, the tool doesn't always rightly the time previous admins have been admins (sometimes it does, sometimes not), for example, it tells that GB fan isn't eligible, other previous longtime admins aren't either, I got some examples for you. Some of those who resigned since Febr. 2011 in German Wikipedia and who were admins for more than 3 months are Matthäus+Wander, admin since before 2006dec. 2011; Don-kun, admin Oct. 2010 – Oct. 2011; Smial, admin Oct 2010 – July 2011; Victor Eremita, admin May 2008 – Febr. 2011. But the tool shows the right eligibility for the previous admins Hozro, Engelbaet, Stullkowski, Magadan, Wiggum and Julius1990 (but not always the right continuous periods of flaggings), so 4 of 10 who resigned last year are wrongly displayed. If you need more examples, you can check also these 156 previous admins (with or without global or meta account) who should have been admins more than 3 months each, f. e. Blunt. (Sept. 2008 – Nov. 2009 and later between 2010 and 2011 again as member of the arbcom). And Freaky Fries is admin since 24 months now but the tool says he is only 19.46 months. Or for Julius1990, the tools says, he had only been admin for 3.44 months, but he has been admin between 9 May 2008 and 8 April 2009 and again between May 2009 and April 2011 which both are many more than 4 months of duration. I hope that's helping. :-) Greetings --Geitost diskusjon 15:47, 21 January 2012 (UTC)
I fixed the main bug, which was an error in yesterday's new algorithm. Thanks for the test cases, which helped check for further issues. I added links to the rights logs to make it easier to double-check the result. There are a few edge cases which I will look into later today, such as administrators flagged before 2006 having no log entries. —Pathoschild 23:26:42, 21 January 2012 (UTC)

[edit] Administrators flagged before 2006

The following discussion is marked as answered (fixed). If you have a new comment, place it just below the box.

Is there a list of users who were flagged before logging existed on dewiki? —Pathoschild 01:58:18, 22 January 2012 (UTC)

Yes and no. There's the list of administrators which lists all now-being and former admins who have ever been admin (it's regularly updated manually). But there isn't said when anybody got the flag. To go through the election archives won't be a good idea because it's not so easy to see there if someone got the flag or not, especially in the first elections 2003 and 2004 (until August). Furthermore, there have also been admins who never were elected at all and who aren't listed in the election archives, but they also held admin rights for more than 3 months (f. e. Magnus Manske who still is admin or Ben-Zin who isn't anymore, both weren't elected and you can find Ben-Zin listed only in the list LDA and here – they both got the rights before 2003, a few people more did also and their names are also listed at LDA and these two lists together which are both based on LDA). So, you see, it's a bit difficult with the archives also.
Instead of this, to find just admins who were elected before 2006, it's perhaps easier to go through the list de:Wikipedia:Administratoren/Übersicht. There you find also the dates these were first elected (just take a look at the years behind „Erstwahl“ or „Erstwahl (Admin)“). The list only lists now-being admins. To find also former admins you have also to go through the shorter list de:Benutzer:Geitost/Adminübersicht II which only lists the former admins until Sept. 2010 (it's not up-to-date), there you have to look up each name cause the year they got the rights isn't listed there. In addition to this, I looked up the admins who retired or lost their rights after Sept. 2010 and who were elected before August 2006 (diff):
  • 1001 (elected in July 2004), Idler (Jan. 2005), Lung (Nov. 2005), Magadan (July 2005), Matthäus Wander (Febr. 2004), Nb (May 2005), Nerd (Mars/April 2003), Raven (Febr. 2004), Voyager (Febr. 2005) – (and Geos who was elected in Mars 2006, but who died a year ago).
Do these lists help you with this? --Geitost diskusjon 17:16, 22 January 2012 (UTC)
I've got some other special cases for you (out of this list of former admins) – the tool says they wouldn't have been admins (long enough), account names bold: Anathema lost his admin rights in June 2005, has surely held them for more than 3 months and should also be eligible. Achim Raschka has held admin rights for longer periods of times than 3 months each between February 2005 and October 2009, the logs are a bit confusing[3], [4] (was first flagged as Necrophorus). Kellerkind (SUL and meta account) was flagged as Anneke Wolf which is no SUL account. So, is she eligible as candidate or not with the SUL account Kellerkind? She's an active editor. Asb should also be eligible, has held the rights since before 2006 until Dec. 2009. P. Birken should be eligible, has held admin rights as DaTroll (before renaming) until April 2006, Karl-Henner until April 2008, Koethnig until Dec. 2005, Mijobe until Sept. 2005, Ralf Roletschek from Jan. 2006 until Jan. 2008 and from 3 Feb. 2008 until 27 April 2008, Simplicius held the rights until August 2005, Stw until Dec 2009, Carol.Christiansen has held the rights with the old account Unscheinbar from April 2005 to January 2006. Shouldn't he now be eligible with the new account? He's also an active editor. Vic Fontaine held the rights from before 2006 until Dec. 2009, Vulture until July 2008. In addition, there are lots of former admins without meta and/or global accounts who could just make these ones for being eligible. --Geitost diskusjon 16:52, 23 January 2012 (UTC)
PS: You can forget Anneke/Kellerkind, I've now seen she's eligible because of wikisource anyway. And Carol.Christiansen let his old account Unscheinbar block last year with which he had held the admin rights. So he should be eligible with the now-being SUL account. It has just been renaming without official renaming process. I don't know if the election rules say anything about special cases like this. ;-)
Perhaps it would be better for future elections to just let former admins be eligible who have held the rights for 3 months within the last 5 years. Then there wouldn't be any problem with the eligibility of persons who don't have a chance of becoming steward anyway, if it's so long ago they hold admin rights at last, even if they've been active contributors for the whole time. --Geitost diskusjon 18:11, 24 January 2012 (UTC)
Thanks for your research; I'll look more into this on the weekend. I think the best solution might be to run a script that detects pre-log administrators (by checking for administrator actions like deletions before they were flagged in the log) and sets a default flag date like 2006. We can then manually adjust dates as needed.Pathoschild 05:39:43, 25 January 2012 (UTC)
I've modified the script to handle this. If the user does not seem to be eligible but was registered before 2005 (when the rights log was created), it now warns you so you can investigate manually (see example). —Pathoschild 19:38:20, 29 January 2012 (UTC)

[edit] POTY 2011

Hi Pathoschild,

Just letting you know that we are going to prepare the POTY 2011 elections and is it okay for you to add the POTY 2011 event on your Account Eligibility tool. If you're not ready just please tell me. Kindly regards. --Katarighe (Talk · Contributions · E-mail) 21:41, 28 January 2012 (UTC)

POTY 2012 Competition you mean? :) The Helpful One 22:10, 28 January 2012 (UTC)
Yes, we are preparing the contest for now and we need to add the event. --Katarighe (Talk · Contributions · E-mail) 01:01, 29 January 2012 (UTC)
Hello Katarighe. Please define the eligibility rules on this year's election pages (see last year's rules). I'll add the event when this is ready. —Pathoschild 17:12:09, 29 January 2012 (UTC)

[edit] Parser function sorts differently

Please see Template talk:User language#Parser function sorts differently. Thanks. - dcljr 08:37, 31 January 2012 (UTC)

The {{#babel:}} parser function provided by the Babel extension (in use on this wiki, and presumably intended to eventually replace the template-based Babel scheme) places users into the same categories as this template, but sorts them according to fluency level (so, e.g., "1" = level 1, not native level ["N" is used for native]). This template and {{User language category}} should really be changed to match the way the parser function categorizes users. As things currently stand, the description in the various user-language categories of how users are sorted is (mostly?) just plain wrong. - dcljr 08:37, 31 January 2012 (UTC)
I've updated the English text and examples, but the translations will need to be updated manually for each category. —Pathoschild 02:49:12, 01 February 2012 (UTC)
Unfortunately, it looks like your changes have turned the example Babel boxes at the top of each user language category into nonsense. (Note how the "en-0" box says, "This user has knowledge of English (or understands it with considerable difficulty)" [my emphasis], and the other 5 levels all say exactly the same thing: "This user has knowledge of English.") Do you know how to fix this problem? If not, just revert your changes and I'll look into the matter further later. - dcljr 03:39, 11 February 2012 (UTC)

[edit] iewiki

Hi, I noticed that you are an active admin at the iewiki. Could you please move ie:Américas to ie:América over a redirect? Thank you! Capmo 01:56, 1 February 2012 (UTC)

Done. —Pathoschild 02:12:12, 01 February 2012 (UTC)

[edit] Update for Regex menu framework

Hi!

Could you replace the following lines of User:Pathoschild/Scripts/Regex menu framework.js

try {
        sidebar = document.getElementById('p-navigation').parentNode;
}
catch(err) {
        console.log( 'Regex menu framework rfmenu() aborted due to unknown error. This (rare) issue will be fixed in the eventual rewrite.' );
        return;
}

by

sidebar = document.getElementById('mw-panel') /* vector */
        || document.getElementById('column-one') /* monobook, myskin, chick & simple */
        || document.getElementById('mw_portlets'); /* modern */
if(!sidebar) {
        return;
}

This will make it to work also on wikis such as MediaWiki.org, where there is no element whose id is "p-navigation". Helder 14:13, 2 February 2012 (UTC)

Done. —Pathoschild 14:36:05, 02 February 2012 (UTC)
Thanks! It is working now. =) Helder 00:25, 3 February 2012 (UTC)

[edit] protocol relative urls

Just building a list of your apps on toolserver that are not protocol relative

For update some day so those of us who get confused easily when we drop out of a protocol and wonder what has happened. billinghurst sDrewth 12:02, 4 February 2012 (UTC)

Thanks; all my scripts are now protocol-relative. Let me know if you spot a rogue HTTP link. —Pathoschild 05:40:05, 05 February 2012 (UTC)
Thanks mate. No barn stars here, you will need to get your wikilove closer to home. billinghurst sDrewth 08:16, 5 February 2012 (UTC)

[edit] Redirspecial [bug]

Hello Pathoschild. When processing this request I got from the Redirspecial tool the following error message:

Could not determine database prefix for gl.wikipedia.org.

And the following debug output:

Debug output 
Array
(
    [_POST] => Array
        (
        )

    [_GET] => Array
        (
            [page] => special:userrights
            [domain] => gl.wikipedia
            [user] => Sobreira
            [redir] => on
            [debug] => on
        )

    [_COOKIE] => Array
        (
            [_pk_ref_1_8248] => ["","",1328539567,"https://meta.wikimedia.org/wiki/Steward_requests/Permissions"]
            [_pk_id_1_8248] => f130b5569004e0b6.1328539567.1.1328539585.1328539567.
            [_pk_ses_1_8248] => *
        )

    [_FILES] => Array
        (
        )

    [globals] => Array
        (
            [urls] => Array
                (
                    [toolserver] => //toolserver.org/~pathoschild/redirspecial
                    [server] => http://pathos.ca/
                    [tools] => http://pathos.ca/tools/
                    [globals] => //toolserver.org/~pathoschild/backend/legacy/
                    [theme] => //toolserver.org/~pathoschild/backend/legacy/theme/
                )

            [license] => This tool is written and copyright by Jesse Plamondon-Willard (<a href="//meta.wikimedia.org/wiki/User:Pathoschild" title="Pathoschild's wiki userpage">Pathoschild</a>). You may freely use, distribute, and modify this script in any way and for any purpose, so long as you cite the above name as original author.
        )

    [locals] => Array
        (
            [title] => RedirSpecial
            [description] => Redirects to a Wikimedia special page with parsed arguments, primarily intended for {{<a href="//meta.wikimedia.org/wiki/Template:sr-request" title="template:sr-request on Meta">sr-request</a>}}.
            [files] => Array
                (
                    [0] => index.php
                )

            [path] => //toolserver.org/~pathoschild/redirspecial
            [action] => debug
        )

    [ipage] => special:userrights
    [idomain] => gl.wikipedia
    [iuser] => Sobreira
    [iredir] => on
    [page] => special:userrights
    [domain] => gl.wikipedia.org
    [user] => Sobreira
    [redir] => on
    [error] => <div class="fail">Could not determine database prefix for gl.wikipedia.org.</div>
    [redir_to] => 
    [prefix] => 
    [_REQUEST] => Array
        (
            [page] => special:userrights
            [domain] => gl.wikipedia
            [user] => Sobreira
            [redir] => on
            [debug] => on
            [_pk_ref_1_8248] => ["","",1328539567,"https://meta.wikimedia.org/wiki/Steward_requests/Permissions"]
            [_pk_id_1_8248] => f130b5569004e0b6.1328539567.1.1328539585.1328539567.
            [_pk_ses_1_8248] => *
        )

    [link_title] => wikilink action table
)

Maybe a temporary toolserver problem?

Thanks. —Marco Aurelio (Nihil Prius Fide) 14:51, 6 February 2012 (UTC)

Hello Marco. It's working correctly now, so it probably was a temporary issue with the toolserver database. I'll add caching this weekend so the script does not depend so much on the database stability. —Pathoschild 16:10:56, 06 February 2012 (UTC)
Yes, it's now working; probably a Toolserver issue as we both thought. Thanks for the improvement you want to do and sorry for the inconvenience. Best regards. —Marco Aurelio (Nihil Prius Fide) 19:15, 6 February 2012 (UTC)
Thanks for the suggestion. The rewritten script now caches the wiki data once per day. —Pathoschild 03:31:11, 08 February 2012 (UTC)
Thanks for the fix. But does not work properly for users using https:// server. Example: [5]. Thanks again for your help. Best regards. —Marco Aurelio (Nihil Prius Fide) 13:29, 8 February 2012 (UTC)
I fixed template's URL (example). This seems to be a toolserver bug: URLs without a slash before the query string are redirected and drop the protocol: https://…accounteligibility?url=… to http://…accounteligibility/?url=…. I'll look into it tonight and file a bug ticket if necessary.) —Pathoschild 13:56:28, 08 February 2012 (UTC)

[edit] bots on Catanalysis

Hi, could you please grey out accounts being member of the bot user group? Otherwise my incubator interwiki bot is listed as active contributor at nearly all open wikipedia test wikis (e.g. lezwiki). Merlissimo 01:30, 8 February 2012 (UTC)

[edit] YGM

The following discussion is marked as answered (done). If you have a new comment, place it just below the box.

The Helpful One 15:39, 8 February 2012 (UTC)

Done. —Pathoschild 02:32:56, 09 February 2012 (UTC)

[edit] Eligibility script

Hi,

I'm speak english a little bit, but i use Google Translate...

I would like to use your script to set up a system of eligibility for election to patrol the French-speaking Wikipedia. Can I copy and paste the code changed for the event? Marc-André Beauchamp 01:15, 9 February 2012 (UTC) Please respond me on My PdD on wiki fr

Bonjour Marc-André. Vous pouvez soit modifier et redistribuer l'outil sous les termes du license CC-BY-3.0, soit m'indiquer les règles pour que j'ajoute le ou les élections à l'outil directement. —Pathoschild 02:35:29, 09 February 2012 (UTC)

[edit] Creating user pages accross the wikis

Bonjour Pathoschild. Comme je sais que tu es pas mal occupé en ce moment, je voulais te proposer de t'aider à gérer la file d'attente de Synchbot. J'ai un script qui permet de faire à peu près la même chose que je viens de mettre au point, notamment pour me mettre tous les projets en langue anglaise. J'en ai profité pour créer globalement les modèles Template:Delete et Template:Softredirect lorsqu'ils n'existent pas. D'ailleurs, si je peux me permettre, ton bot crée les pages de certains utilisateurs sur des wikis verrouillés. Bonne journée ! -- Quentinv57 (talk) 13:13, 15 February 2012 (UTC)

[edit] Autoconfirmed privileges revoked

Hello. Persian Wikipedia user fa:User:Amirali-E lost his autoconfirmed privileges because one of his edits was matched by an abuse filter (false positive) which revokes autoconfirmed privileges. I, as a bureaucrat in Fa WP, don't have the access to give it back to him. Can you take care of this, as a steward? Or is there a way for me to do it that I'm unaware of? Thank, Huji 14:55, 15 February 2012 (UTC)

w:fa:Special:AbuseFilter/tools or it expires automatically, see mw:Extension:AbuseFilter/Actions#Revoking_auto-promoted_groups. Nemo 16:50, 15 February 2012 (UTC)
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Beyond the Web
Print/export
Toolbox