User talk:Pathoschild

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to 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
Lazy sleeping barnstar.svg

Talk to me — if you have questions or comments, feel free to post them below or send me an email. If you saw me edit on your wiki, it was probably related to the synchbot service (which maintains global user pages for others) or interface editor (which lets me maintain my user scripts).

About me — my name is Jesse. Nowadays I quietly write scripts, make the occasional edit, and love Shanel. Many moons ago I was an active editor and administrator on several wikis, a Wikimedia steward (2006–2014), a language committee member (2006–2011), an email response volunteer (2006–2011), and a Board elections committee member (2008 and 2009).

Some questions[edit]

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


I have three questions which have been on my mind for awhile. Perhaps you can clarify them?

  • 1: I've been using TemplateScript Search and Replace, but it still doesn't save my search definitions between sessions. Are the saved searches stored in cookies?
  • 2: I use the over/under mode of proofreading and find the upper window height to be too small where the original scan is displayed. Could it be made larger with CSS to display more text lines of the original scan? The reason is that I can only see about five lines of text on the top, while I can edit 11-12 lines in the lower text area. I tried using the magnifier to reduce the image size, but this would require reducing the text with each new page edit. I also tried to come up with a solution, but I can't find the object name of the upper window when I looked at the code inspector.
  • 3: If you care to remember, I am using a slightly modified copy of your proofreading.js placed here. I only use the 'Clean OCR' option, which on completion of the cleanup, leaves the cursor at the end of the text. Would it be a big problem to send the cursor up to beginning of the text (Control-Home) within the textarea box?

Your advice and help is much appreciated.Ineuw (talk) 19:14, 16 September 2017 (UTC)

Hi Ineuw.
  1. TemplateScript stores data in your browser's local storage, so it should be persisted between sessions. Did you configure your browser to clear data between sessions?
  2. I'm not very familiar with the proofreading tools. Can you link me to an example page I can try?
  3. You can move the cursor to the top of the text with this code:
    document.getElementById("wpTextbox1").setSelectionRange(0, 5);
Pathoschild 00:43, 18 September 2017 (UTC)
Thanks for your help and the clarifications. This is my editing environment, and the window which I would love to increase the height of is indicated by the red frame. Ineuw (talk) 06:29, 19 September 2017 (UTC)
You can increase the height of that preview with CSS like this:
.prp-page-image {
   height: 500px !important;
Pathoschild 21:32, 20 September 2017 (UTC)
My gratitude for the CSS code snippet. It is perfect! But this javascript code snippet document.getElementById("wpTextbox1").setSelectionRange(0, 5); moves the cursor to the 1st column, but not the first column and the 1st row of the text box. Ineuw (talk) 07:04, 23 September 2017 (UTC)
What do you mean? Can you post a screenshot? —Pathoschild 15:23, 23 September 2017 (UTC)
@Pathoschild: Hi, I uploaded this image at Wikisource to indicate where the cursor ends up after activating The code is inserted at line 317. It is quite possible that I placed it in the wrong place?Ineuw (talk) 22:39, 25 September 2017 (UTC)Ineuw (talk) 06:14, 27 September 2017 (UTC)
@Ineuw this version should work better:
var input = document.getElementById("wpTextbox1");
input.setSelectionRange(0, 0);
input.scrollTop = 0;
Pathoschild 22:40, 27 September 2017 (UTC)
@Pathoschild: A big thank you, it's perfect.Ineuw (talk) 01:43, 28 September 2017 (UTC)

Catalan translation of TemplateScript[edit]

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

Hi, Pathoschild! I've begun to adapt TemplateScript for ca.source. The Catalan translations are the following ones. Could you please upload them to Github?

var pathoschild = pathoschild || {};
pathoschild.i18n = {
    templatescript: {
        defaultHeaderText: "TemplateScript", // the sidebar header text label for the default group
        regexEditor: "Editor regex" // the default 'regex editor' script
    regexeditor: {
        header: "Editor d´expressions regulars",      // the header text shown in the form
        search: "Cercar",                             // the search input label
        replace: "Reemplaçar",                        // the replace input label
        nameSession: "Introdueixi un nom per aquesta sessió", // the prompt shown when saving the session
        loadSession: 'Carregar sessió "{name}"',      // tooltip shown for a saved session, where {name} is replaced with the session name
        deleteSession: 'Esborrar sessió "{name}"',    // tooltip shown for the delete icon on a saved session, where {name} is replaced with the session name
        closeEditor: "Tancar l´editor regex",         // tooltip shown for the close-editor icon
        addPatterns: "Afegeix patrons",               // button text
        addPatternsTooltip: "Afegeix caixes de cerca i reemplaçament", // button tooltip
        apply: "Aplica",                              // button text
        applyTooltip: "Aplica els patrons indicats",  // button tooltip
        undo: "Desfés darrer canvi",                  // button text
        undoTooltip: "Desfà el darrer canvi",         // button tooltip
        save: "Desa canvis",                          // button text
        instructions: 'Introdueixi les expressions regulars a executar. El patró de cerca pot ser de com "{code|text=patró de cerca}" o "{code|text=/patró/modificadors}" i el patró de reemplaçament pot contenir grups de referència com "{code|text=$1}" (vegeu {helplink|text=tutorial|title=JavaScript regex tutorial|url=}).'

Thank you! -Aleator (talk) 16:05, 21 September 2017 (UTC)

Thanks Aleator! Can you provide this missing translation too?
saveTooltip: "Save this session for later use", // button tooltip
Pathoschild 15:29, 23 September 2017 (UTC)
Sure: "Desa aquesta sessió per usar-la més endavant" (I'm not sure if the hyphen "-" is a valid character in the scripting). Thanks! -Aleator (talk) 15:41, 28 September 2017 (UTC)
Added and deployed. I updated TemplateScript#Translation with instructions for Catalan. Thanks! —Pathoschild 18:13, 30 September 2017 (UTC)

Synchbot requests going back to July[edit]

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

Hi Pathoschild, I wonder if you might have a chance to run Synchbot some time soon? There are a requests going back to July at the moment (including mine) and I think the documentation suggested it would be run roughly once a month. Thank-you for your continued work on Synchbot. Best wishes, Mark Mhl20 (talk) 11:20, 21 November 2017 (UTC)

Hi Mhl20. The main complication is that the permissions Synchbot needs expired, so I'll need to reapply for those. I'm away for vacation, but I'll look into that when I get back. —Pathoschild 18:29, 21 November 2017 (UTC)
@Mhl20: I renewed Synchbot's permissions, cleared the backlog, and changed the process to avoid such delays in the future. :) —Pathoschild 18:37, 24 December 2017 (UTC)
Many thanks, @Pathoschild:, that's brilliant and much appreciated! Mhl20 (talk) 13:28, 26 December 2017 (UTC)

Global user rights[edit]

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

Done. Re-granted for 1 year. Matiia (talk) 01:01, 17 December 2017 (UTC)

Thanks! —Pathoschild 01:18, 17 December 2017 (UTC)

Just a suggestion[edit]

Hi there! I was looking at one of your tools , and it occurred to me that on that specific page, I could have used a column that numbered the results, so that, more or less at a glance, I could see how many cells are in the red group, how many in the yellow etc. I know the total can easily be found elsewhere, but it appears to me a "small" improvement that could go a long way :) Best, --Elitre (WMF) (talk) 19:48, 10 January 2018 (UTC)

AccountEligibility tool[edit]

Hi, steward election nomination period starts tomorrow. Can you please update the eligibility tool ( Eligibility criterias are the same as last year. Stryn (talk) 17:27, 14 January 2018 (UTC)

<> —MarcoAurelio (talk) 17:30, 14 January 2018 (UTC)
I'm travelling without access to a computer today, but I'll set it up as soon as I can (should be before 5am UTC). —Pathoschild 17:39, 14 January 2018 (UTC)
I've delayed the display of CentralNotices until 08:00 (UTC) so we can give Pathoschild time to modify the tool and avoid potential ineligible candidates. —MarcoAurelio (talk) 18:10, 14 January 2018 (UTC)
The code changes are ready, but I won't be able to deploy until I reach home. The ETA is 6am UTC, but there are a lot of airplane delays due to local weather. Here are the specific rules to confirm:
  • Voters:
    • not a bot on any wiki;
    • 600 edits across all wikis before 01 November 2017;
    • 50 edits across all wikis between 01 August 2017 and 31 January 2018 inclusively.
  • Candidates:
    • same rules as voters;
    • held the sysop flag on any one wiki for at least 90 days before 02 February 2018 at 14:00 UTC.
Let me know if you want to make any changes. —Pathoschild 01:35, 15 January 2018 (UTC)
Deployed! —Pathoschild 07:58, 15 January 2018 (UTC)

Stalktoy error[edit]

Hello, Pathoschild! I hope you are doing ok! There is something wrong with Stalktoy. I am receiving the error message: Fatal error: Invalid serialization data for DateTime object in /mnt/nfs/labstore-secondary-tools-project/meta/git/wikimedia-contrib/tool-labs/backend/modules/Cacher.php on line 153

It started yesterday and I have tried many IP's. Cheers.—Teles «Talk to me ˱C L @ S˲» 13:58, 29 January 2018 (UTC)

Fixed! Some invalid data got cached. Let me know if that happens again. —Pathoschild 16:34, 29 January 2018 (UTC)
It’s working just fine now! Thanks!—Teles «Talk to me ˱C L @ S˲» 20:09, 29 January 2018 (UTC)

Japanese translation of TemplateScript[edit]


Thank you for providing such a great tool! We appreciate it if you could add the following translation to TemplateScript as ja.js:

var pathoschild = pathoschild || {};
pathoschild.i18n = {
    templatescript: {
        defaultHeaderText: "テンプレートスクリプト", // the sidebar header text label for the default group
        regexEditor: "正規表現エディタ" // the default 'regex editor' script
    regexeditor: {
        header: "正規表現エディタ",                         // the header text shown in the form
        search: "検索",                                     // the search input label
        replace: "置換",                                    // the replace input label
        nameSession: "セッション名を入力する",              // the prompt shown when saving the session
        loadSession: 'セッション"{name}"を開く',            // tooltip shown for a saved session, where {name} is replaced with the session name
        deleteSession: 'セッション"{name}"を削除する',      // tooltip shown for the delete icon on a saved session, where {name} is replaced with the session name
        closeEditor: "正規表現エディタを終了する",          // tooltip shown for the close-editor icon
        addPatterns: "パターンを追加する",                  // button text
        addPatternsTooltip: "検索・置換ボックスを追加する", // button tooltip
        apply: "適用する",                                  // button text
        applyTooltip: "上記のパターンを適用する",           // button tooltip
        undo: "最後の適用を取り消す",                       // button text
        undoTooltip: "最後の適用を取り消す",                // button tooltip
        save: "保存する",                                   // button text
        saveTooltip: "後で使うためにセッションを保存する",  // button tooltip
        instructions: '任意の数の正規表現を入力できます。検索パターンは"{code|text=検索パターン}"または"{code|text=/パターン/修飾子}"のように指定します。置換パターンには"{code|text=$1}"のように参照グループを含めることができます({helplink|text=チュートリアル|title=JavaScript regex tutorial|url=}を参照してください)。'

Thank you for your cooperation! --CES1596 (talk) 13:07, 9 March 2018 (UTC)

Added; see TemplateScript#Translation for how to use them. Thanks! —Pathoschild 16:10, 11 March 2018 (UTC)

Draft name space/ function for the SWWP[edit]

Hello Pathoschild! It's been a long time since I stopped by here. Well, I'm doing great and so is the SWWP. We recently have had some chats about establish the draft name-space just like we did on PORTAL nine years ago? Okay, now we need own draft pages for crosschecking before submitting them into article main space. So were wondering if you could be a bit of help and look into that how to go about it. See: for some example.--Wikipedian (Activist) 10:42, 11 March 2018 (UTC)

Hi Muddyb Blast Producer. I think you need to get consensus in discussion on the wiki and then submit a ticket in Phabricator to add the namespace. I've been inactive for a while though, so you could maybe ask in the Wikimedia Forum to be sure. —Pathoschild 16:00, 11 March 2018 (UTC)

Share your experience and feedback as a Wikimedian in this global survey[edit]

WMF Surveys, 18:35, 29 March 2018 (UTC)

Normalization failure?[edit]

Re-occurance of User talk:Pathoschild/Archives/2018#Ajax Sysop error on Ajax Rollback: screenshot. Did the rollback manually (Special:Diff/17921482), but maybe script don't like these rare-cases? :P — regards, Revi 07:01, 7 April 2018 (UTC)

Hi -revi. I deployed a potential fix for that (you'll need to bypass your cache to see it). I can't test since I'm not an active administrator anymore; let me know if you spot any issues. :) —Pathoschild 03:30, 17 April 2018 (UTC)

Reminder: Share your feedback in this Wikimedia survey[edit]

WMF Surveys, 01:34, 13 April 2018 (UTC)

Thank you for your contribution to the Tajik Wikipedia.[edit]

Hi. Thank you for your contribution to the Tajik Wikipedia. The State Committee on Language and Terminology at its meeting revealed a large number of violations of the Tajik grammar rules in articles of the Tajik Wikipedia. Have this remark in view of. With respect, the administrator of the Tajik Wikipedia.--Шухрат Саъдиев (talk) 03:11, 17 April 2018 (UTC)

Hi Шухрат Саъдиев. I don't contribute to the Tajik Wikipedia; my only changes there are automated as part of Synchbot. :) —Pathoschild 03:32, 17 April 2018 (UTC)
All changes Fixed under your User, ??--Шухрат Саъдиев (talk) 04:00, 17 April 2018 (UTC)
Yep. Synchbot doesn't use a separate bot account because many users didn't like the idea of a bot with steward access. Later we gained the ability to create custom groups, but by that point everything was already well-established using my own account (including community discussions, negotiated exceptions to filter rules, etc). So now I run Synchbot through this account for historical reasons. —Pathoschild 04:07, 17 April 2018 (UTC)
Сlear --Шухрат Саъдиев (talk) 13:53, 17 April 2018 (UTC)

Your feedback matters: Final reminder to take the global Wikimedia survey[edit]

WMF Surveys, 00:43, 20 April 2018 (UTC)

crossactivity throwing errors[edit]

Not sure whether this is temporary or otherwise, so at this point a note that "crossactivity" is throwing errors (see below) along with its results, see [1] and. Level of my testing is minimal, tried a few usernames for similar error. Will attempt to check later to see if it is reproducible and ongoing.

 — billinghurst sDrewth 03:03, 26 April 2018 (UTC)

Hi billinghurst. The tools can't connect to gorwiki, hiwikimedia, inhwiki, lfnwiki, or romdwikimedia. I can't connect to those from a separate Tool Labs user either, so this looks like an issue with Tool Labs. I set the tools to temporarily ignore those wikis for now, so it should work fine now. —Pathoschild 05:15, 26 April 2018 (UTC)
This has been reported already on Phabricator and to Cloud Services fwiw. Best regards, —MarcoAurelio (talk) 11:34, 26 April 2018 (UTC)
@MarcoAurelio Could you link to the ticket? —Pathoschild 14:53, 26 April 2018 (UTC)
Hi. They're several (one per wiki) but <> should be enough. According to cloud-services, this should be now fixed. Thanks. —MarcoAurelio (talk) 21:25, 26 April 2018 (UTC)
Thanks! I removed those wikis from the ignore list, so they can appear in results now. —Pathoschild 22:18, 26 April 2018 (UTC)

Truth about so called (by Serbians) Serbo-Croatian language[edit]

Moved to Talk:Language committee#Truth about so called (by Serbians) Serbo-Croatian language.

TemplateScript and Parser migration action[edit]

Hi. This new parser migration stuff and TemplateScript are not playing toghter, though it seems that numbers of components get shutdown by the parser. I lose my side scripts (and my customised toolbar).


So in this example where I would normally have components to allow for a (quicker) conversion to <Pages> ... GONE!

Guessing that it is due to the change from action=edit, though flagging it in case there is an easy fix. Presuming that they are neutralising anything that might compete with their presentation form, as it also kills proofreadpage. :-/  — billinghurst sDrewth 23:14, 7 May 2018 (UTC)

Fixed and push live (you may need to bypass your cache). Let me know if you notice any other issues using TemplateScript with the new action. —Pathoschild 15:03, 09 May 2018 (UTC)

Tool errors[edit]

Hello Pathoschild, stalktoy give ( ! ) Fatal error: Invalid serialization data for DateTime object in /mnt/nfs/labstore-secondary-tools-project/meta/git/wikimedia-contrib/tool-labs/backend/modules/Cacher.php on line 153 --Alaa :)..! 11:30, 8 May 2018 (UTC)

I think I was just about to point out the same, as catanalysis malfunctions as well :) --OosWesThoesBes (talk) 09:32, 9 May 2018 (UTC)
Heya, Pathoschild, just wanted to let you know guser search has been down for a few days. :( Chrissymad (talk) 13:53, 9 May 2018 (UTC)
Fixed! The errors were caused by a cache file containing invalid data somehow; I cleared the cache and everything should be fine now. Sorry about that, and thanks for reporting it! —Pathoschild 14:53, 09 May 2018 (UTC)
Yes, it works perfectly again now. Thank you! :) --OosWesThoesBes (talk) 14:57, 9 May 2018 (UTC)
Thanks Pathoschild --Alaa :)..! 18:12, 10 May 2018 (UTC)

Synchbot failing with errors[edit]

With my migration request Synchbot is reporting a couple of errors. Script error: No such module "iQuoteB2B" and Lua error in Module:Synchbot at line 180: attempt to index a nil value.. -- 08:06, 5 June 2018 (UTC)

I fixed the request. :) —Pathoschild 16:27, 05 June 2018 (UTC)
Awesome, thanks! Just saw the error actually pertained to User:iQuoteB2B. I initially thought this was part of the application logic. Feel free to remove this section. --YaguraStation (talk) 11:08, 6 June 2018 (UTC)

re:Global CSS/JS migration[edit]

Hello Igna. You have global scripts in global.js, which you import using your local CSS/JS pages. Since August 2014, your global.js and global.css pages are loaded automatically on all wikis. Since you already import them yourself, you may experience script errors or tools being added twice. I can remove the global imports from your local pages using Synchbot (without touching other scripts). Do you want me to do that? —Pathoschild 23:28, 21 June 2015 (UTC)

Hi again! I haven't heard back from you, so I'll assume you don't want to do this. Feel free to leave me a message or add a Synchbot request if you change your mind. :) —Pathoschild 16:50, 09 January 2016 (UTC)
Hi Pathoschild, sorry for not answering, I was inactive for a long time but I'm back. Yes, would be very useful to delete commons.js because is no longer be necessary. And could you add my userpage to all the wikis that I missing?. My userpage format is here. Regards --Ignacio Flag of Uruguay.svg (talk) 15:56, 28 June 2018 (UTC)
Hi Igna.
  • Do you want to delete vector.js pages too? (Here's a list of your user pages.)
  • You can create a global user page now. Do you want me to set that up for you and delete your local user pages instead, so your global page appears everywhere automatically? (I can skip certain wikis where you don't want the global user page to appear, and you can have content that only appears on Meta or only appears on local pages.)
Pathoschild 16:52, 28 June 2018 (UTC)
  • Yes, delete all commons.js and vector.js, except es-wiki, meta and commons.
  • I don't understand much now how global user page function works, so for now not remove my userpages until I can make it work.
Thanks for the help --Ignacio Flag of Uruguay.svg (talk) 20:38, 29 June 2018 (UTC)
Hi Pathoschild, if you have time could you make the request above?. And delete also my user page except es-wiki, meta and commons. Because I get duplicate buttons in almost every wiki. Thanks --Ignacio Flag of Uruguay.svg (talk) 00:31, 19 July 2018 (UTC)
Will do! —Pathoschild 14:27, 19 July 2018 (UTC)
@Igna Done in the August batch. Let me know if I missed anything! —Pathoschild 22:38, 05 August 2018 (UTC)
Everything works properly and global settings work. Thank you very much for the help!!!. Regards --Igna Flag of Uruguay.svg (talk) 23:39, 5 August 2018 (UTC)

Change to TemplateScript?[edit]

Hi. templatescript has stopped showing/working for me in enWS, has there been a change in the past few days that has occurred that may have caused this? Asking prior to spending times post morteming what may have been done outside of TemplateScript. Thanks.  — billinghurst sDrewth 06:46, 21 July 2018 (UTC)

Oh, as bit of analysis, the script functionality disappears for how I activate in my local common.js file. The template works here on meta which is implemented through local global.js though a little differently as I activate more scripts at enWS, and here I just use the regex capability.  — billinghurst sDrewth 07:16, 21 July 2018 (UTC)
It is not templatescript, it is something either enWS, or me and some interaction somewhere. I have tried no gadgets, no common.js, no global.js and just having templatescript and that fails. I can poke the exact scripts into global.js, and they work fine, so it seems that it is something about not seeing my common.js file, which is just weird.  — billinghurst sDrewth 14:28, 21 July 2018 (UTC)
You have a few JavaScript issues in your common.js. Do you want me to fix those and see if that fixes it? —Pathoschild 15:28, 21 July 2018 (UTC)
(TemplateScript works fine for me on ensource, so it doesn't seem to be something on the wiki itself.) —Pathoschild 17:30, 21 July 2018 (UTC)
Fix away, it had all been working fine and I am getting no reports of errors; plus reverted anything recent to check that too.  — billinghurst sDrewth 01:00, 22 July 2018 (UTC)
So it's probably not that (though I fixed a few little things while I was there). I'm not sure what the issue is then. Nothing has changed in TemplateScript itself. —Pathoschild 02:03, 22 July 2018 (UTC)
You fixed it with the } -> ) which I missed, and usually shows up when typing is fouled up. Not sure why my "undo" didn't work unless there is some extraordinary caching going on with my common.js file, usually that is pretty instantaneous, and if that is the case, no wonder the console results were confusing. Thanks for your help.  — billinghurst sDrewth 06:11, 22 July 2018 (UTC)
Welcome! —Pathoschild 16:56, 22 July 2018 (UTC)

#RIP tools[edit]

Heya, Pathoschild wanted to let you know that several tools are having fatal errors today, particularly guser. Chrissymad (talk) 17:27, 16 August 2018 (UTC)

Thanks for letting me know! Looks like invalid data got cached somehow. That should be fixed now; let me know if you're still getting errors. —Pathoschild 17:36, 16 August 2018 (UTC)

Help request for idwikiquotes[edit]

Hi, i want to ask for your help to delete the following pages:

Thank you. Veracious (talk) 15:58, 11 September 2018 (UTC)

Hi Veracious. You can ask for help with that on Steward requests/Miscellaneous. (I can only delete user pages as part of the Synchbot service.) —Pathoschild 17:11, 11 September 2018 (UTC)

Fatal error in tools[edit]

Hey there, visiting your tools is showing this error: Fatal error: Invalid serialization data for DateTime object in /mnt/nfs/labstore-secondary-tools-project/meta/git/wikimedia-contrib/tool-labs/backend/modules/Cacher.php on line 153 . ‐‐1997kB (talk) 11:38, 16 September 2018 (UTC)

I cleared the cache, so the tools are back up now. I'm looking into a more permanent fix to prevent this from happening in the future. —Pathoschild 15:00, 16 September 2018 (UTC)

Extension CharInsert sur fr.wikisource[edit]


Comme vous êtes à l'origine de ce script : s:fr:MediaWiki:Common.js (lignes 657-697), et que la méthode diffère de ce qu'on trouve dans la documentation, aussi bien sur fr.wikisource que sur fr.wikipedia (w:fr:MediaWiki:Gadget-CommonEdit.js), je viens vous demander conseil. Tous les liens situés dans le menu sélectionner de s:fr:MediaWiki:Edittools ne fonctionnent plus depuis un moment. Tous ceux situés hors de ce menu fonctionnent correctement, et si je remplace l'id du conteneur principal du menu specialchars par n'importe quoi, certes le menu n'est plus construit, mais les liens fonctionnent de nouveau. Une idée de comment résoudre ce problème ? Merci d'avance pour votre aide. Reptilien.19831209BE1 (talk) 10:25, 2 December 2018 (UTC)

Bonjour Reptilien.19831209BE1. Ce script est ancien et n'est plus nécessaire. Ma recommandation est de le supprimer et d'utiliser les scripts dans la documentation qui inclus les menus déroulants. —Pathoschild 16:54, 02 December 2018 (UTC)
Un grand merci pour votre conseil, tout semble fonctionner à nouveau. Reptilien.19831209BE1 (talk) 21:53, 3 December 2018 (UTC)

Needing some guidance[edit]

Hiya. Hope all is well. I am having issues getting the old 2006 toolbar operational as a script through my common.js at enWS (visible in page history over December). There are instructions on how to install it as as a gadget at mw:Contributors/Projects/Removal of the 2006 wikitext editor however, I cannot work out the means elseways through ResourceLoader for personal import. Questions on the related talk page, and to Krinkle's talk page have met to no advice. If you are able to help or guide me I would be very appreciative. Thanks.  — billinghurst sDrewth 10:56, 19 December 2018 (UTC)

Hi Billinghurst. Your link doesn't work, but I think mediawiki.toolbar is correct based on the ResourceLoader migration guide. However, the documentation link in that section is broken, I can't find it in the source code, and it was apparently never added to the main documentation. So far as I can tell, the module no longer exists; do you know of any gadgets where it's working correctly? —Pathoschild 23:41, 19 December 2018 (UTC)
Thanks, the fixed link is much clearer. So mediawiki.toolbar no longer exists, and that page assumes you create a sitewide gadget. Here's the example fixed for use in a personal script instead:
$.ajax("", { dataType:'script', cache:true }).then(function() {
      imageFile: '//',
      speedTip: 'Souhaiter la bienvenue aux nouveaux',
      tagOpen: '{{Bienvenue nouveau|Trizek|sign\=~'+'~'+'~'+'~|message\=}}',
      tagClose: '',
      sampleText: '',
      imageId: 'mw-editbutton-bienvenutageproto'
Pathoschild 01:18, 20 December 2018 (UTC)
Thanks. Amazing how a correct link works better. <deskthunk> I have scraped the old code for buttons and text, and will try it when I am at home.  — billinghurst sDrewth 01:24, 20 December 2018 (UTC)

Quick review if possible?[edit]


I am drafting my french statement for the confirmations but my command of the language is not what it used to be. Could you please take a look at this brief text and fix any mistakes you can find:

It's okay if you can't, of course. In any case, thank you for your time and happy new year. Best regards, —MarcoAurelio (talk) 11:27, 15 January 2019 (UTC)

Hi MarcoAurelio. Sorry for the slow response (I'm away visiting family). My French is a bit rusty since I don't actively use it anymore, but I copyedited the text and tweaked a few awkward parts in case you still need it:
Pathoschild 19:37, 23 January 2019 (UTC)
Thanks a lot :-) I'll update the statement. Best regards, —MarcoAurelio (talk) 11:08, 24 January 2019 (UTC)

Needs help[edit]

Tajik Wikipedia needs help to confirm the candidacy of a new Wikipedia administrators. There is currently no bureaucrat in the Tajik Wikipedia. Voting on the candidacy is over. Look [2]--Шухрат Саъдиев (talk) 14:00, 2 March 2019 (UTC)

Hi Шухрат Саъдиев. You can post a request on Steward requests/Permissions, and the stewards will help you out. —Pathoschild 15:22, 02 March 2019 (UTC)
Okay, thanks!--Шухрат Саъдиев (talk) 15:58, 2 March 2019 (UTC)

gUser search and case[edit]

Hi. At gUser search I was searching for "world famous" without utilising case matching search, and it would seem to be undertaking case sensitive searching.

Thanks.  — billinghurst sDrewth 02:05, 3 March 2019 (UTC)

Hi billinghurst. It's the other way around — case-sensitive is the default, and you can optionally enable "match any capitalization". Due to the way case-insensitive search works, it's much slower since it can't depend on the column indexes. —Pathoschild 03:09, 03 March 2019 (UTC)
Okay, though match capitalisation to me indicates turning it ON to match case, not turning it OFF.  — billinghurst sDrewth 04:24, 3 March 2019 (UTC)
I agree "match capitalisation" means case-sensitive, but "match any capitalisation" means the opposite. Less confusing wording might be good here. ;) —Pathoschild 05:08, 03 March 2019 (UTC)

Your temporary access has expired (2019)[edit]

Hello, the temporary global access for Global Interface Editor and Global Deleter have expired. Just to let you know that If you want it back, feel free to open a new request on stewards' global permission request page on Meta-Wiki later. Please ask me or any other steward if you have any questions. Thank you! — regards, Revi 15:28, 5 March 2019 (UTC)
Thanks! I submitted a renewal request. —Pathoschild 16:23, 05 March 2019 (UTC)

Synchbot access renewed[edit]

Hello. I am pleased to communicate you that per overwhelming consensus after a short period of consideration, your permissions to run Synchbot have been restored. Thanks for your continued service :-) Best regards, —MarcoAurelio (talk) 09:11, 7 March 2019 (UTC)

Thanks! —Pathoschild 15:33, 07 March 2019 (UTC)

Requests (migrate to global user page)[edit]

Hi, the second of the three requests has been done, what about the others? No hurry, just wondering.--Pod-o-mart (talk) 11:20, 26 March 2019 (UTC)

Sorry! The schedule got thrown with the permission expiry, and apparently I forgot to run it afterwards. (The second request wasn't actually done, it just didn't have anything to do.) I'll run the current requests today. —Pathoschild 15:48, 26 March 2019 (UTC)
Thank you! --Pod-o-mart (talk) 01:31, 27 March 2019 (UTC)

A small correction request[edit]

I have recently gone through the page User:Pathoschild/Status/ws-cdo which is present in Incubator. In that page, under the subsection Final Criteria, there is a kink given with the title 'about localization'. I think that link needs to be corrected. I think its a low priority issue since the page only has 3 viewers in the last 30 days. Adithyak1997 (talk) 18:16, 10 June 2019 (UTC)

Those pages are obsolete; it'd be better to just delete them to avoid confusion. —Pathoschild 06:19, 11 June 2019 (UTC)

Prochain run de Synchbot[edit]


Pour quand est prévu le prochain run de Synchbot ? La partie 'next scheduled run' en haut de la page indique "1-2 juin" ^^

Merci, à bientôt ! WikiLucas00 00:19, 24 June 2019

Bonjour! J'ai dû oublier de le mettre à jour, mais c'est le premier week-end de chaque mois; donc le prochain sera le 6-7 juillet. —Pathoschild 00:43, 24 June 2019 (UTC)

LPP/ko needs update[edit]

As changes applied for 12 days. -- 02:44, 25 June 2019 (UTC)

I'm no longer a member of the language committee; I suggest posting at Talk:Language committee instead. —Pathoschild 02:59, 25 June 2019 (UTC)
Hello, you edited that page once, that has nothing to do with a committee. I suppose that user only notified users who have already edited the pages, also if they only reverted once or are inactive since years. Even a blocked user has been notified, not very intelligent. --2A02:908:D83:E460:216:CBFF:FEAD:FF9 10:06, 25 June 2019 (UTC)

File uploading[edit]

Could you please help? Currently file uploading is disabled on yiwiki due to the lack of adoption of an appropriate policy. This makes it difficult to provide necessary images in many articles. In how much detail does a policy have to be approved and, supposing that it achieves consensus, who is empowered to enable file uploading? Thanks --פוילישער (talk) 17:40, 11 July 2019 (UTC)

You can use images from the Wikimedia Commons on yiwiki, and upload new images there if they have a free license. If you need to upload copyrighted images under fair use or similar exceptions, I suggest asking for more info on Wikimedia Forum since I'm not familiar with the requirements. —Pathoschild 17:57, 11 July 2019 (UTC)

Community Insights Survey[edit]

RMaung (WMF) 14:34, 9 September 2019 (UTC)

Reminder: Community Insights Survey[edit]

RMaung (WMF) 19:14, 20 September 2019 (UTC)

Reminder: Community Insights Survey[edit]

RMaung (WMF) 17:04, 4 October 2019 (UTC)

crossactivity empty response[edit]

Hi! I am having trouble accessing crossactivity. It hangs for a long time and then sends an empty response. I have seen this problem going back for at least a few months. Is this just me, or does everyone have this problem? Please let me know if I can provide further information. Cheers, Bovlb (talk) 22:02, 11 November 2019 (UTC)

It takes a while even under the best conditions, and it may time out when serving multiple requests. Crossactivity is by far the slowest of my tools, so much so that I moved it into its own Toolforge account. I'm not actively maintaining it (besides keeping the code up-to-date), so rewriting it for better performance is sadly unlikely. (Pull requests are welcome if someone wanted to look into it though.) —Pathoschild 02:35, 12 November 2019 (UTC)

Éligible ?![edit]

Bonjour et bonne année 2020 (oui, il est encore temps en janvier), je suis allé faire un tour sur mon éligibilité à être Steward (oui, j'avais un peu de temps à perdre). Normalement, je ne devrais pas pouvoir être stew, mais à ma grande surprise, ukvoy me permets de poser une candidature. J'ai été sysop sur demande pour 2 semaines seulement, donc il n'y a rien de permanent (période continue), mais surtout il n'y a pas de période de 104 jours comme indiqué sur accounteligibility. Est-ce un bug ou y-a-t'il qque chose qui m'échappe ? Rassurez-vous je ne veux pas être stew, mais pour les futures demandes, il ne faudrait pas que n'importe qui puisse candidater. Cordialement. —Eihel (talk) 15:16, 13 January 2020 (UTC)

Merci de l'avoir signalé! Le script ne gérait pas l'expiration automatique, ce qui a été ajoutée après la création du script. Je viens de corriger ça.
@MarcoAurelio FYI I just deployed a change to accounteligibility so it handles permission auto-expiry. —Pathoschild 03:27, 14 January 2020 (UTC)
@Eihel: It works now! Thanks Pathoschild and @MarcoAurelio:Eihel (talk) 14:21, 21 January 2020 (UTC)

Un grazie e un libro sulla conoscenza libera per te[edit]

Wikimedia Italia

Gentile Pathoschild,

oggi ti scrivo a nome dell'associazione Wikimedia Italia per ringraziarti del tempo che hai dedicato ai progetti Wikimedia.

Come piccolo omaggio avremmo piacere di spedirti una copia (tutta in carta riciclata) del libro di Carlo Piana, Open source, software libero e altre libertà. Fornisci un recapito per ricevere una copia del libro.

Pochi giorni fa il mondo ha festeggiato la giornata dell'amore per il software libero, ma ogni giorno è buono per ricordare le garanzie delle licenze libere e le centinaia di migliaia di persone che si sono unite per costruire questo bene comune della conoscenza. Speriamo che questo libro ti sia utile per apprezzare quanto hai fatto e per trasmettere la passione della conoscenza libera a una persona a te vicina.

Se desideri una copia ma non puoi fornirci un indirizzo a cui spedirla, contatta la segreteria Wikimedia Italia e troviamo una soluzione insieme.

Grazie ancora e a presto,

Lorenzo Losa (msg) 14:50, 20 February 2020 (UTC)

Your temporary access is going to expire soon[edit]

Hello Pathoschild, you were granted temporary global permissions which is going to expire in a few days (7 March 2020). Just to let you know that if you want to continue with the access, you need to request an extension on stewards' global permission request page on Meta-Wiki. Please ask me or any other steward if you have any questions. Thank you! --—MarcoAurelio (talk) 11:50, 1 March 2020 (UTC)
Done. Thanks for the reminder! —Pathoschild 14:59, 01 March 2020 (UTC)

Sidebar "Script header"[edit]

I have several test scripts loaded onto my vector.js, many of which import your TemplateScript. When I'm in edit mode, there are, in addition to the various script buttons, there are four headers marked "Script" in the sidebar. When I comment out the line importScript("User:Ohconfucius/test/Sources.js");, one of the headers disappears; ditto for when I comment out importScript("User:Ohconfucius/test/Common Terms.js");, but not for when I comment out importScript("User:Ohconfucius/test/MOSNUM dates code.js");. However, when I comment out all three, three headers disppear and only one is left. The multiple script headers is a bit annoying but doesn't otherwise have any negative consequences. However, other users of my scripts – production scripts this time – appear to be annoyed about these sidebar headers. Could you possibly give me a diagnosis and suggest a cure? Thanks in advance. --Ohconfucius (talk) 21:40, 25 March 2020 (UTC)

Hi Ohconfucius. MOSNUM dates code.js was migrated to TemplateScript a while back, but Sources.js is still using regex menu framework. Regex menu framework has been obsolete and unsupported since 2015, so it uses a lot of deprecated MediaWiki stuff that can break at any time. I suggest migrating the remaining scripts to TemplateScript too. —Pathoschild 01:05, 26 March 2020 (UTC)

Incubator ancient history[edit]


Asking you because you created the earliest version of Language proposal policy :)

The Incubator was created in June 2006. Do you happen to know how were the test pages of upcoming wikis created before the incubator? Judging by the announcement about the Incubator creation, they were on Meta, but can you tell anything more about that? Was there any kind of policy about this, or was it just an undocumented practice?

Thanks! --Amir E. Aharoni (talk) 11:35, 22 May 2020 (UTC)

Hi! That was before my time with the committee, but I think test wikis were hosted at oldwikisource: (Wikisource), test-wp (Wikipedia), and sometimes third-party sites (e.g. see this request from late 2005). The process was pretty informal and subjective back then; I think you started a test wiki just by creating the pages under test-wp and proposals were just discussed until a consensus was reached (which often didn't work out very well). You could try asking Brion or some of the other early contributors, they might be able to tell you more. —Pathoschild 05:42, 23 May 2020 (UTC)


Hello, can you please import

these four files to Malayalam Wikipedia?. Akhiljaxxn (talk) 18:49, 8 June 2020 (UTC)

Hi! I'm not a steward anymore, but you can ask at Steward requests/Miscellaneous instead. —Pathoschild 19:30, 08 June 2020 (UTC)
But you have 'global import rights' right? Adithyak1997 (talk) 04:53, 9 June 2020 (UTC)
Nope. —Pathoschild 15:34, 09 June 2020 (UTC)

Stalktoy, Crossactivity & friends[edit]

Hello Pathoschild,

I don't know if your user talkpage is the appropriate venue to report problems with your tools, if not please let me know. I wanted to lookup something ealier today with both stalktoy and crossactivity and noticed both didn't work. Both gave 503 Service unavailable errors. On my request I asked a Toolforge admin to try restart both tools. They both worked very briefly (only loading the landing page) before going down again. Meta (which hosts stalktoy) gives a 502 Bad Gateway error with nothing useful in error log and Meta2 (crossactivity) doesn't respond to web requests at all and has the following in the error log:

2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  PDOStatement::execute(): MySQL server has gone away in /data/project/meta2/git/wikimedia-contrib/tool-labs/backend/modules/Database.php on line 321
2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  PDOStatement::execute(): Error reading result set's header in /data/project/meta2/git/wikimedia-contrib/tool-labs/backend/modules/Database.php on line 321
2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error:  Uncaught Error: Call to a member function fetchValue() on bool in /data/project/meta2/git/wikimedia-contrib/tool-labs/crossactivity/index.php:93
2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr: Stack trace:
2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr: #0 {main}
2020-07-21 12:18:24: (mod_fastcgi.c.421) FastCGI-stderr:   thrown in /data/project/meta2/git/wikimedia-contrib/tool-labs/crossactivity/index.php on line 93

Hopefully you can fix this as it's quite a valuable tool for many people. Kind regards, Wiki13 (talk) 12:35, 21 July 2020 (UTC)

Hi! I cleared their cached database info and restarted the services, and they're back online so far. Let me know if it happens again! —Pathoschild 15:03, 21 July 2020 (UTC)
Hello Pathoschild, thanks for the reply in a timely fashion. I just checked and they seem to have gone down again with the same HTTP errors and for meta2 the same error in the error log. From what I could find on the error above is that it somehow has to with a SQL squery taking too long to finish (or possibly with low default max_allowed_packet settting in connection file). Why this locks up the entire tool is something I can't really answer myself. Maybe this helps you solve the problem. Kind regards, Wiki13 (talk) 20:19, 21 July 2020 (UTC)
It seems the service is getting overloaded. That slows down requests, which causes users to refresh the page repeatedly, which submits more requests, which further overloads the service. It's not clear why that started happening now though; Uncitoyen below mentioned many tools seem unusually slow, which might be what's starting that vicious circle. I'm only maintaining the tools now rather than actively developing them, so that's hard to address without major redevelopment. I could further split tools into their own services, but that may not help with Stalktoy which is the majority of the requests. —Pathoschild 23:39, 21 July 2020 (UTC)
It tentatively looks like an issue with the Toolforge infrastructure; for example, I see a userpages lookup still processing after 23 minutes, but that's a fairly straightforward query that shouldn't take more than a minute or two. —Pathoschild 00:15, 22 July 2020 (UTC)

Hello Wikimedians, My problem for 1 month here

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /data/project/erwin85/public_html/inc/database.class.php:467 Stack trace: #0 /data/project/erwin85/public_html/inc/database.class.php(39): TSDatabase->_connectHost('enwiki.labsdb') #1 /data/project/erwin85/public_html/inc/database.class.php(47): TSDatabase->__construct() #2 /data/project/erwin85/public_html/inc/ TSDatabase::singleton() #3 /data/project/erwin85/public_html/xcontribs.php(7): require_once('/data/project/e...') #4 {main} thrown in /data/project/erwin85/public_html/inc/database.class.php on line 467 

I also encounter the problems that Wiki13 says. Also, the processes that I want to do in many Wikimedia statistics applications take a long time. Although I try from different devices and IP address. Can you help me? Thanks. --Uncitoyentalk 20:37, 21 July 2020 (UTC)

The error with xcontribs seems to be a different issue; I suggest contacting one of the maintainers listed here. If you're noticing many other tools are unusually slow, that might indicate an issue with the Toolforge infrastructure though. —Pathoschild 23:39, 21 July 2020 (UTC)

Janwo's user pages[edit]

Hello Pathoschild, I hope you are fine. As far as I can see, @Janwo: this user wants to delete user pages in all wikis except Meta-Wiki see. Can you help as a global deleter? As you know, don't seem to have active sysop on some wikis. There are also many Wikipedias where the user doesn't want to delete the userpages. It probably forgot to requests for other wikis. Also, if Janwo explains the situation for other wikis, it would be good to clarify the process already. Thanks. --Uncitoyentalk 19:24, 27 August 2020 (UTC)

Hi! The simplest option is for Janwo to add a request to Synchbot, and I'll delete all the pages as part of the next batch on September 5–6. —Pathoschild 21:01, 27 August 2020 (UTC)
Thanks for the information.I do not want to delete all of them, i'm keeping some in the german versions and different wikiquotes. --Janwo (talk) 00:55, 28 August 2020 (UTC)
Thanks for your explanations. Janwo also made a request on that page. --Uncitoyentalk 10:09, 28 August 2020 (UTC)

We sent you an e-mail[edit]

Hello Pathoschild,

Really sorry for the inconvenience. This is a gentle note to request that you check your email. We sent you a message titled "The Community Insights survey is coming!". If you have questions, email

You can see my explanation here.

MediaWiki message delivery (talk) 18:45, 25 September 2020 (UTC)