User talk:DannyS712/Archive 1

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Archive This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Welcome to Meta!

Afrikaans | العربية | অসমীয়া | asturianu | azərbaycanca | Boarisch | беларуская | беларуская (тарашкевіца)‎ | български | বাংলা | བོད་ཡིག | bosanski | català | کوردی | corsu | čeština | Cymraeg | dansk | Deutsch | Deutsch (Sie-Form)‎ | Zazaki | ދިވެހިބަސް | Ελληνικά | emiliàn e rumagnòl | English | Esperanto | español | eesti | euskara | فارسی | suomi | français | Nordfriisk | Frysk | galego | Alemannisch | ગુજરાતી | עברית | हिन्दी | Fiji Hindi | hrvatski | magyar | հայերեն | interlingua | Bahasa Indonesia | Ido | íslenska | italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | kar | kurdî | Limburgs | lietuvių | Minangkabau | македонски | മലയാളം | молдовеняскэ | Bahasa Melayu | မြန်မာဘာသာ | مازِرونی | Napulitano | नेपाली | Nederlands | norsk nynorsk | norsk | occitan | Kapampangan | polski | português | پښتو | Runa Simi | română | русский | sicilianu | سنڌي | සිංහල | slovenčina | slovenščina | Soomaaliga | shqip | српски / srpski | svenska | ślůnski | தமிழ் | тоҷикӣ | ไทย | Türkmençe | Tagalog | Türkçe | татарча/tatarça | ⵜⴰⵎⴰⵣⵉⵖⵜ  | українська | اردو | oʻzbekcha/ўзбекча | Tiếng Việt | 吴语 | 粵語 | 中文(简体)‎ | 中文(繁體)‎ | +/-

Hello, DannyS712. Welcome to the Wikimedia Meta-Wiki! This website is for coordinating and discussing all Wikimedia projects. You may find it useful to read our policy page. If you are interested in doing translations, visit Meta:Babylon. You can also leave a note on Meta:Babel or Wikimedia Forum if you need help with something (please read the instructions at the top of the page before posting there). Happy editing!

Gce (talk) 16:24, 24 November 2018 (UTC)

The Affiliate-selected Board seats process welcomes your support

Globe of letters.png

Hello. You are receiving this message because you are active in the field of translations <3 The movement needs you! The Nominations phase has started for the ongoing selection process of two Board members, and the timeline is quite tight.

A Translation Central is available to help translators figure out what's been covered and what's left to do. Over the course of the next few weeks, your attention on candidates' profiles is particularly welcome.

While there are four languages that are especially relevant for multiple affiliates (namely Arabic, French, Russian and Spanish), you can also add others. If you can't help: please see if you know anyone in your circle who could, and spread the word :) Thank you! Elitre (WMF) and Facilitators of ASBS 2019, 13:20, 18 April 2019 (UTC)

User script to view subcategories

Hi DannyS712,

If you remember, you participated in the 2019 Community Wishlist Survey, including the discussion for a button to easily view subcategories (Community Wishlist Survey 2019/Categories/Button to show subcategories).

I sent you this MassMessage because I wanted to let you know that I have made a user script to do this.

If you are interested in using it, just add mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/Subcategories.js&action=raw&ctype=text/javascript'); to your global javascript page, or to your wiki-specific common.js page. This imports the code at m:User:DannyS712/Subcategories.js.

If you want to learn more, there is documentation for the script available at w:en:User:DannyS712/Subcategories. If you would like to discuss the script, talk to me at m:User talk:DannyS712.

Thanks, --DannyS712 (talk) 00:51, 16 May 2019 (UTC)

  • Hi I have installed your script, but I do not see anything new. Alexei Kopylov (talk) 04:46, 16 May 2019 (UTC)
    • @Alexei Kopylov: if you go to a category page, there should be a button labeled "Subcategories" - what skin do you use? --DannyS712 (talk) 04:58, 16 May 2019 (UTC)
      • Hi @Alexei Kopylov:, with the default skin, the link appears in the menu containing the rename page link in my configuration. In the Timeless skin, the link appears in the first section on right of the page.
        • Ok, I found the link, but it does not do anything. Alexei Kopylov (talk) 17:42, 16 May 2019 (UTC)
      • But for me, these links doesn't do nothing. When I click on it, no action is thrown. I'm using Firefox (an old version - 52 - due to my company restrictions). I will try on my own computer this evening. Jpgibert (talk) 08:01, 16 May 2019 (UTC)
          • For me, the console of firebug is empty. Nothing is thrown when I click on link. Only a message in status bar appears indicating "javascript:void(0)". Just one thing, the menu is not hidden after clicking on link in default skin. I don't know if it can help you. Jpgibert (talk) 09:32, 17 May 2019 (UTC)
        • Hi DannyS712. Would it be possible to have a screenshot of the expected result, because I don't see any change in my interface ? Thank you. BluesyPete (talk) 08:47, 16 May 2019 (UTC)
VM112:814 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce".
Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426
(anonymous) @ VM112:814
VM112:237 This page is using the deprecated ResourceLoader module "jquery.ui.position".
(anonymous) @ VM112:237
VM112:155 This page is using the deprecated ResourceLoader module "jquery.ui.widget".
(anonymous) @ VM112:155
VM112:150 This page is using the deprecated ResourceLoader module "jquery.ui.core".
Please use OOUI instead.
mw.loader.implement.css @ VM112:150
load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.unbind() is deprecated
migrateWarn @ load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141
load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.bind() is deprecated
migrateWarn @ load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141
load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.delegate() is deprecated

Does this help you? -- Lord van Tasm (talk) 06:28, 17 May 2019 (UTC)

Not really, I get the first 2 alerts too, but none of the others, and I get them without the script too:
JQMIGRATE: Migrate is installed with logging active, version 3.0.1
VM216:420 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce".
Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426
So I have no idea what could be causing it. I'll try to look into it, but can you uninstall my script and see if the warnings go away? --DannyS712 (talk) 06:32, 17 May 2019 (UTC)
Then it looks like this:

VM107:814 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce". Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426 (anonymous) @ VM107:814 VM107:237 This page is using the deprecated ResourceLoader module "jquery.ui.position". (anonymous) @ VM107:237 VM107:155 This page is using the deprecated ResourceLoader module "jquery.ui.widget". (anonymous) @ VM107:155 VM107:150 This page is using the deprecated ResourceLoader module "jquery.ui.core". Please use OOUI instead. mw.loader.implement.css @ VM107:150 load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.unbind() is deprecated migrateWarn @ load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.bind() is deprecated migrateWarn @ load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 load.php?debug=false&lang=de&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1ehs4kx:141 JQMIGRATE: jQuery.fn.delegate() is deprecated --Lord van Tasm (talk) 08:39, 17 May 2019 (UTC)

Jpgibert comments

Hi DannyS712,

I tried to execute the test on my personal computer. Fail.

I tried to understand the problem. I launched the debugger on the script with a break point. The script is correctly executed (good thing).

So, I viewed the source code of the page in debugger and I saw that the content of the title attribute of the element having for class CategoryTreeToggle (the element searched by the script I think) is développer (in french, because it is my default language) instead of expand. When the category is expanded, the title element contains replier instead of collapse.

I think that is the origin of the problem on my side. I hope this information can help you to improve your script.

Jpgibert (talk) 18:25, 18 May 2019 (UTC)

@Jpgibert: yes, it does! Thank you so much. Now I just need to figure out how to internationalize it. --DannyS712 (talk) 18:28, 18 May 2019 (UTC)

Update

@Lord van Tasm, BluesyPete, Jpgibert, and Alexei Kopylov: It should work now --DannyS712 (talk) 20:12, 19 May 2019 (UTC)

It works fine for me, thanks a lot for your work. Jpgibert (talk) 07:43, 20 May 2019 (UTC)
Now it works on Wikipedia.en and Wikipedia.fr... but (sob) the button title is not translated on the French interface ("Subcategories" instead of "Sous-catégories") on Wikipedia.fr !!! Thank you. BluesyPete (talk) 08:51, 20 May 2019 (UTC)
@BluesyPete: sorry --DannyS712 (talk) 15:54, 20 May 2019 (UTC)
winkThanks! Alexei Kopylov (talk) 01:16, 24 May 2019 (UTC)
Yeah, great, it works! You're my hero of the day! Thank you so much! -- Lord van Tasm (talk) 09:39, 9 June 2019 (UTC)
ty for your work--Barcelona (talk) 13:39, 10 June 2019 (UTC)

Timeshifter comments

Category:Meta-Wiki organisation - a deeply nested category.

I am using Firefox (latest standard version) on Windows 7.

When I click on "Subcategories" it expands one level down. When I click it again it collapses. Repetition does the same thing.

Is this the expected result? Would it be possible to add choices to expand further and further down? One level at a time.

Maybe via ctrl-click or something similar. Or a right-click menu that allows one to select the number of levels down. -- Timeshifter (talk) 12:32, 14 June 2019 (UTC)

@Timeshifter: I couldn't make it recursive without making it language-specific, so for now this is the expected result --DannyS712 (talk) 12:34, 14 June 2019 (UTC)

Script to access user watchlists

Thanks for your note, DannyS712! The solution you provide doesn't really work for my setting since I need to have something that works on a series of private wikis that don't use centralAuth. I appreciate you taking the time to sent out a mass notice, though, so thanks for that!Tenbergen (talk) 02:31, 11 June 2019 (UTC)

@Tenbergen: well I could try to rig something up for you anyway - can you get me the URLs of the watchlists you want to access? (https://________/wiki/Special:Watchlist) I should be able to make a menu to navigate around those, though you would have to install it individually on each wiki if there isn't access to global.js. --DannyS712 (talk) 02:46, 11 June 2019 (UTC)

Thanks for the user script. It provides me a convenient list of all my Wikimedia watchlists. It would be nice if there were checkboxes next to each one. And that checking several of them would set up a single watchlist containing all the items on those checked watchlists. Preferably stacked one after another on one page, and not mixed together. --Timeshifter (talk) 01:47, 14 June 2019 (UTC)

@Timeshifter: that would be a lot harder - retrieving, formatting, and embedding watchlists from different sites is a lot more work. This was only meant as a stop-gap measure until the actual community wishlist item gets actioned. So sorry, but I don't think I can do that. I'm glad it is useful in its current form though. --DannyS712 (talk) 01:49, 14 June 2019 (UTC)
What about stacking transcluded watchlists inside show/hide boxes? So there would be a list of closed boxes on a page. People pick their choices. I might pick these:
  • Meta
  • Wikibooks
  • Wikisource
  • Mediawiki
I have a page of transcluded newsletters:
en:User:Timeshifter/Newsletters
I could easily put them in show/hide boxes on that page.
So why not a page of transcluded watchlists? Can't be that hard. :)
I don't want the watchlists themselves to be modified in any way. Just transcluded.
I guess the key question is whether it would be possible to make a watchlist open in a template:
{{Special:Watchlist}}
Is your user script about to be a gadget or setting on English Wikipedia preferences? It should be.
I have a list of related links:
User talk:Timeshifter/global.js
--Timeshifter (talk) 10:47, 14 June 2019 (UTC)
@Timeshifter: I'll try to work on something, but no promises --DannyS712 (talk) 10:54, 14 June 2019 (UTC)
Thanks! --Timeshifter (talk) 10:56, 14 June 2019 (UTC)
I linked to this discussion from the "Latest activities" section at the top of this article:
en:Wikipedia:Global, cross-wiki, integrated watchlists. --Timeshifter (talk) 12:15, 14 June 2019 (UTC)

The Research team could use your help

Globe of letters.png

Hello. You are receiving this message because of your recent activity in the Translations namespace.

The Wikimedia Research team is developing a new algorithm that automatically recommends sections for editors to add to articles. Translations have already occurred for some of the few languages that we are testing in, except for Spanish and Russian. If you have some time in the next few days, please consider translating the short message (only 6 items) we aim to send out soon, in one or both of these languages. (And if you feel like you want to support your tester peers even more, you can do so by taking care of the related instructions page.)

Thank you! Jonathan Morgan & Diego Saez-Trumper, Wikimedia Foundation Research - 18:14, 19 June 2019 (UTC)

Meta:Requests for translation adminship/DannyS712

Done. Matiia (talk) 02:33, 17 July 2019 (UTC)

@Matiia: thanks so much --DannyS712 (talk) 02:42, 17 July 2019 (UTC)

Re: remove unneeded newlines to avoid changing translation page template unnecessarily

What do you mean with such edit summary? Nemo 20:16, 17 July 2019 (UTC)

I've been going through the backlog of pages that have been edited since they were last marked for translation, and on some of theme the only (net) edit is the addition of a blank line. Marking the new version for translation with the newline means that every language version is then updated by FuzzyBot to have that extra line, despite having no benefits. If the change is just ignored, the note about the page having been changed since it was last marked for translation will just stay there. Thus, I revert the addition and mark the newer version for translation, eliminating the message about changes without causing a bunch of blank lines to be added. --DannyS712 (talk) 21:24, 17 July 2019 (UTC)

Please translate the Editing newsletter

Would you please translate VisualEditor/Newsletter/2019/July into your favorite language for me? I'd really appreciate it. Whatamidoing (WMF) (talk) 17:30, 19 July 2019 (UTC)

Invitations to translate

Hello, DannyS712,

Community Insights/Translation/2019/1-Invitation and the other pages listed at Community Insights/Translation#Requests for translations are ready to be translated. There is little more information about this group of invitations on the mailing list. Also, please keep an eye on that page: more pages will be ready for you soon!

Thank you so much for your help in translating these messages. Spanish is obviously a key language for the Wikimedia movement. I really do appreciate it. Whatamidoing (WMF) (talk) 19:05, 22 August 2019 (UTC)

Global block

Hey, I wanted to let you know that the user also been vandlising articles from Wikiquote to Wikinews as well. Would you please send it to Steward requests/Global. Thank You. Sheldybett (talk) 05:44, 23 August 2019 (UTC)

@Sheldybett: which user? --DannyS712 (talk) 05:47, 23 August 2019 (UTC)

Copied from Special:Permalink/19319119

@DannyS712:, I have to move the discussion to here because the edit filter would not save a link that I am trying to discuss, anyway are you still happy with the global block. Sheldybett (talk) 05:55, 23 August 2019 (UTC)

@Sheldybett: I already filed a request at SRG --DannyS712 (talk) 05:56, 23 August 2019 (UTC)
@Sheldybett: I moved it back --DannyS712 (talk) 05:57, 23 August 2019 (UTC)

Appreciated 1Lib1Ref/Lesson for translation

You are very generous to push this page for translation. I wish to spread words on 1Lib1Ref campaign which will surely start smoother in 2020 than in 2019 with that page. A small background info: Need to aim a very long way locally, esp due our fiscal year ends in March, and budget was decided in June 2019 for January 2020 in Japan. While we missed budgeting opportunity for that one, we will have 2019 book frozen before May 2019, and be running on surplus/loan until the Diet finalize 2020 budget in June. My humble gratitude to you, as without translation of that page, reserving extra Yen for May 2020 campaign would be an illusion! --Omotecho (talk) 16:11, 29 August 2019 (UTC)

No problem --DannyS712 (talk) 16:24, 29 August 2019 (UTC)