User talk:Jon (WMF)

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


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 | português do Brasil | پښتو | 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/ўзбекча | vèneto | Tiếng Việt | 吴语 | 粵語 | 中文(简体)‎ | 中文(繁體)‎ | +/-

Welcome to Meta![edit]

Hello, Jon (WMF). 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 (please read the instructions at the top of the page before posting there). Happy editing!

-- 13:44, 14 February 2012 (UTC)

Temporary rights removed[edit]

Hello, please note that I've just removed the rights which have been temporarily assigned to your account here on meta. Regards, -Barras talk 14:18, 1 April 2014 (UTC)

Interface editor and @media[edit]

Hi Jon. Further to your commentary in Wikitech re problem styles, and Dan's reply. We should be looking to get you to apply for the global interface editor right via SRGP, and it is one that I will shepherd through promptly. That will give you the right to edit templates whether protected or not, and look to any really problematic common.js/css files across the system. I think that problematic styles occur through ignorance, not design. You talk about scalability, so my suggestion is to work with Guillaume to educate to remove some of the cluelessness of the really important aspects through the newsletter and the ambassadors mailing list. For example you mentioned @media, and I just went "huh" as it is stuff from which I have shied away as the help pages didn't help (me), and time is precious, and learning that from first principles isn't high on my agenda. Even look to prepare a couple of really good examples of styles, and some examples of crap, so that the wikis can learn, and implement. It also becomes somewhere that others can point people to, or use as their model, especially others with the interface right. Anyway, my thoughts for you to do with as you please.  — billinghurst sDrewth 11:16, 8 October 2014 (UTC)

Thanks for this billinghurst! I'm just happy to see some movement. We've got a long road ahead. I think a good first step is trying to document what is out there and how often templates get used. Does this exist? Jdlrobson (talk) 17:18, 14 October 2014 (UTC)
Meh! There is nothing universal. Thoughts are on what we need initially are some tools on Labs, and maybe @MZMcBride: can contribute 20c worth of thoughts
  • Template usage counters by community (weekly dump?)

    There being no current means, of which I am aware, for wikis to get a ready idea of which templates are in use, and the count of use

  • Ready list of the problematic styles, or usage of styles, and preferred alternatives
    • then to find such problematic usage in Mediawiki: ns files xwiki and list them
    • suggested means of approach needs to be positive and solution focused … "here is how to do what you want and better" rather than "this is very bad that you are using this style in this way"
Once we have of the generic guidance of here are some tools, and here are some problems then using Guillame/ambassadors, and general massmessage, we can look to scope communications to lead them away from the dark side. I still would like to see something better for @media as it still defeats me, and my css-mediocrity.
I am aware that the conversation onlist afterwards talked further about use of inline styles, and to me it then became WP-centric, and not mindful to something like WSes which requires inline styles if it is to replicate book presentations. Be that title pages, specific fonts, or Tables of Contents, etc. So there needs to be clarity on what is the specific problem, what to avoid, and clearly what is preferred and why. Though of course WSes for mobile are less for editing, and maybe more targeted as Epub derived output. [Hope this makes sense, it is all pre-coffee]  — billinghurst sDrewth 22:09, 14 October 2014 (UTC)

Special:UserProfile, where was it discussed with the communities?[edit]

This strange "feature" Special:UserProfile, that is anything but a profile but some half-baked conglomerate of more-or-less useful details about the last actions by and towards the user, has to have been extensively discussed in the communities before implementation, as a profile is a community feature, not something implemented top-down by some disconnected folks @WMF. As you said in this gerrit ticket:

I think this is a bit of yet another overreaction (i mean this feature has been live for 2 years why the hoo ha now? Also we can't just remove stuff on whims we should be more days driven otherwise our projects are going to end up as the site that never changes and nobody edits.

It may have been live for 2 years, but obviously was not properly community vetted, as is a must for stuff like this, and nobody could up to now point me to the discussions that took place when this was implemented, there must be at least some in the main WP, like enWP, deWP, commons and of course here at meta. Can you please point me to this discussions? The current "feature" is something completely futile: It's everything but a profile, it sometimes shows very inappropriate pictures, it's just some facebook-wannabe nonsense without any merit. If the proper profiles, i.e. the user pages, are not suitable for mobile, imlpement something lean and user defined for mobile, and discuss it with the relevant people, that's the communities of the wikiverse and nobody else. A quick'n'dirty solution will be the implementation of the gerrit ticket, all negative outcome from this is no argument, it's just something the implementers should have thought about before they implemented such a "feature" without consent. ♫ Sänger - Talk - superputsch must go 10:41, 7 March 2015 (UTC)

P.S.: As a service the current discussions: @Lila's and @German Kurier.

Thank you![edit]

Hi Jon,
Thank you for your edit on Community Capacity Development landing page. I didn't know class="mobile-width-reset" before. I came in to steal my own markup and found it. Awesome! María (WMF) (talk) 23:47, 19 October 2015 (UTC)

Thanks for Phabricator tagging[edit]

Thanks for phabricator:T76945#3235561, I like the move towards subprojects which makes the Reading Web/MobileFrontend components less confusing. :) --Nemo 08:30, 3 June 2017 (UTC)

Counts for number of articles on certain date[edit]

Hi! Do you know how to create a module/template on automatically updates of number of articles created for certain date. For an example, number of created articles for 19 October 2020 only.
And, could you also create a script/template for number of articles from the date the wiki project created until any certain date. As an example, Malay Wikipedia had been created since 2002. Is it possible to have an automatic and on the spot data from 2002 until a certain date? Thank you. CyberTroopers (talk) 16:41, 21 October 2020 (UTC)

I'm not sure about this I'm afraid. I don't know much about module templates. Possibly something you could use lua for? Sorry I can't be of more help here. Jon (WMF) (talk) 16:54, 26 October 2020 (UTC)

User:Hoo man/smart rollback.js[edit]

Hi. It seems like this change prevented the script to load for me and some other users. Could you have a look at it to see what the problem might be? -- Tegel (Talk) 21:34, 10 February 2021 (UTC)

Perhaps it must be if(typeof hoo === 'undefined' and not if(typeof hoo !== 'undefined'... --Udo T. (talk) 21:40, 10 February 2021 (UTC)
Apologies. Udo T. is correct here. There shouldn't be an '!' there! Jon (WMF) (talk) 22:07, 10 February 2021 (UTC)

Gadget-pseudonamespace-UI@zhwiki[edit]

Hello, I'm the int-admin@zhwiki. in w:zh:Special:Diff/64311972, this function (wgULS) has been defined in w:zh:MediaWiki:Gadget-site-lib.js, and has been loaded by w:zh:MediaWiki:Gadgets-definition#browser and w:zh:MediaWiki:Gadget-pseudonamespace-UI.js#L-7. On which page did the error you mentioned appear? Thanks. --AnYiLinTalk 05:13, 16 February 2021 (UTC)

Hello User:AnYiLin, we have client side error logging so we are able to detect whenever a user experiences an error. It seems my fix did not have the desired effect.

This particular error is triggering more errors that any other error in our system across all the Wikipedias and is impacting a significant amount of users including those that browser anonymously. To give as sense of the urgency here, it this was caused by Wikimedia software it would block us deploying code further. It appears to have begun around 15th February 4am UTC. See screenshot below:

Error spike on zh.wikipedia.png

The wgULS2 function does seem to be at fault but as you point out it seems MediaWiki:Gadget-pseudonamespace-UI.js wasn't the reason.

The error stack trace is as follows:

at wgULS2  URL1:4:609
at URL1:4:733
at fire  URL2:47:209
at Object.self.add [as done]  URL2:47:710
at HTMLDocument.<anonymous>  URL1:4:512
at mightThrow  URL2:50:149
at process  URL2:50:808

URL1: https://zh.m.wikipedia.org/w/load.php?lang=zh-cn&modules=ext.gadget.notifyConversion%2Cpseudonamespace-UI&skin=minerva&version=1ah2j
URL2: https://zh.m.wikipedia.org/w/load.php?lang=zh-cn&modules=ext.centralNotice.choiceData%7Cjquery&skin=minerva&version=zt5uy

For now I've disabled this gadget as "default" until we get to the bottom of this. I can confirm that after that happened, the errors do stop, so this gadget is definitely the culprit.

Side note: I do notice that you are using the `startsWith` function. Please note that this is not available in older versions of JavaScript that we support such as IE11. feature detection should be used here to disable this script for those users if this script continues to be run for anonymous users.

Jon (WMF) (talk) 05:54, 16 February 2021 (UTC)

Looking a little closely, I think the `startsWith` could be at fault here. Most of the issues are occurring on mobile and this seems to be happening for a lot of older user agents such as Mozilla/5.0 (Linux; Android 5.0; ASUS_Z00AD Build/LRX21V) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/39.0.0.0 Mobile Safari/537.36 and Mozilla/5.0 (Linux; Android 5.0.2; HTC_D816x Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Mobile Safari/537.36. Please use indexOf instead of startsWith. I suspect then the error may disappear. Jon (WMF) (talk) 06:06, 16 February 2021 (UTC)
You have disabled it. per w:zh:Special:Diff/64319675, it supports IE now.
@A2569875: I think the developer of this script will understand this problem better than I do. --AnYiLinTalk 06:17, 16 February 2021 (UTC)
per w:zh:Special:Diff/64311972/64319987, I used indexOf instead of startsWith. And I will enable it again, please track if there are any errors. Thanks. --AnYiLinTalk 06:33, 16 February 2021 (UTC)
Looks good to me! The errors stopped except a few from caching. Thanks for taking care of this so promptly! Could you communicate the ES6 requirement to other gadget developers on the wiki? Hopefully you'll be able to use ES6 soon, as part of phab:T178356. Jon (WMF) (talk) 16:30, 16 February 2021 (UTC)