[Wikitech-l] Re: Best practices for extensions

2022-01-31 Thread Sam Wilson
The 'version' key isn't used in the release process, but it is still displayed in Special:Version. Although, I totally agree with removing it, as it often isn't updated, and so just ends up being confusing. The other thing I was wondering about adding was that non-Gerrit extensions should be

[Wikitech-l] Re: How to get alerts on errors for cron jobs on toolforge

2021-06-22 Thread Sam Wilson
I think the only way is to have your cronjob do the emailing of the output, and then delete (or move) the output file so it's not repeated on the next run. Something like: #!/bin/bash ## Call actual job script here. ./do-tool-things.sh ## Email output to maintainers. echo -e 'Subject:

Re: [Wikitech-l] The future of UploadWizard

2021-02-03 Thread Sam Wilson
On 4/2/21 6:33 am, Strainu wrote: One thing that puzzles me in that ticket is this phrase from Mark Traceur: "It might be better to look at something (slightly) more modern, like the upload dialog in core". Does anyone know what that dialog is? AFAIK the uploader in core (Special:Upload)

Re: [Wikitech-l] Tool to "convert" timezones for international online events

2020-06-10 Thread Sam Wilson
That's very cool! I've enabled it. Maybe it could also look for elements as well, which is what the {{event}} template outputs. Talking of events and timezones, I recently made a little TZ comparison tool: https://meetingtimes.toolforge.org/

Re: [Wikitech-l] Composer does not know mediawiki/mediawiki on dry-runs

2019-11-15 Thread Sam Wilson
Where does the mediawiki/mediawiki package come from? It's no longer on Packagist; how does Composer know where to get it? It should certainly not appear as a requirement for any package. As for removing the functionality: do you mean the functionality of the Composer merge plugin? i.e. that

Re: [Wikitech-l] Patchsets by new Gerrit contributors waiting for code review and/or merge

2019-06-20 Thread Sam Wilson
On 6/20/19 4:24 PM, Andre Klapper wrote: Thanks for the feedback! Maybe Cargo (et al) should be added under https://www.mediawiki.org/wiki/Developers/Maintainers#Key_extensions ? I'll leave that for Yaron to do I guess. :-) Is that list meant to contain all extensions that are used on more

Re: [Wikitech-l] Patchsets by new Gerrit contributors waiting for code review and/or merge

2019-06-20 Thread Sam Wilson
Thanks Andre, I like these emails. Where does the 'Maintainers/Stewards' value come from? Because the two Cargo ones should probably be allocated Yaron Koren, who's listed both on the extension page on mediawiki.org and is the only member of the extension-Cargo group in Gerrit. I only ask,

Re: [Wikitech-l] Pending (false positive?) translations on Gerrit to Toolforge tools

2019-04-30 Thread Sam Wilson
Are these actually false positives? Because it looks like the error is mostly (or all?) "HTML detected. Manual review required", and so these shouldn't be automatically merged without human review. On 4/28/19 10:50 PM, Alex Monk wrote: Working link to l10n-bot's dashboard:

Re: [Wikitech-l] How to make oauth authentication with wikipedia?

2018-07-29 Thread Sam Wilson
On 29/07/18 00:35, Gergo Tisza wrote: On Sat, Jul 28, 2018 at 10:37 AM Sam Wilson wrote: I've been wondering about how this sort of thing would work as well, in the context of a Piwigo plugin that I've been working on for easily uploading photos to Commons (or any MediaWiki site). It seems

Re: [Wikitech-l] How to make oauth authentication with wikipedia?

2018-07-28 Thread Sam Wilson
On 27/07/18 17:01, Shrinivasan T wrote: I'd hope that https://www.mediawiki.org/wiki/OAuth/For_Developers covers this. The Commons Android app developers had a similar request in https://phabricator.wikimedia.org/T179519 . The request for oauth fro commons app is rejected due to some legal

Re: [Wikitech-l] Can/should my extensions be deleted from the Wikimedia Git repository?

2018-06-07 Thread Sam Wilson
I think the point about 'ownership' of extension repos is an interesting one: certainly Wikimedia-hosted projects do differ from other popular FOSS projects in that there's far more collaboration on e.g. extensions than is perhaps common elsewhere. For example, if you have a WordPress or

Re: [Wikitech-l] Planet Wikimedia using new software "rawdog"

2018-06-02 Thread Sam Wilson
wrote: Nice. Let's add these MediaWiki feeds to the en.planet feeds, assuming they are all English and since Mediawiki is like a subgroup of Wikimedia. On Sat, Jun 2, 2018 at 3:53 AM, Sam Wilson wrote: At the hackathon last week I had a play with setting up a similar thing just for MediaWiki feeds

Re: [Wikitech-l] Planet Wikimedia using new software "rawdog"

2018-06-02 Thread Sam Wilson
At the hackathon last week I had a play with setting up a similar thing just for MediaWiki feeds: https://tools-static.wmflabs.org/mediawiki-feeds/ On 31/05/18 09:33, Daniel Zahn wrote: Hi, this is an announcement to let you know that the service ($lang). planet.wikimedia.org, an RSS feed

Re: [Wikitech-l] How to customize Preferences

2017-12-18 Thread Sam Wilson
On Wed, 11 Oct 2017, at 9:43 AM, Sam Wilson wrote: > One idea is to add a new MediaWiki service called 'PreferencesFactory', This proposal now looks like this: https://gerrit.wikimedia.org/r/#/c/389665/ If anyone else has time for a bit of a look before xmas, that'd be wiz

Re: [Wikitech-l] Proposal for a developer support channel

2017-11-18 Thread Sam Wilson
Hear hear to being able to properly search past conversations. I know it's not the fashionably geek thing to say, but I must admit that I always find mailing lists to be incredibly annoying, compared to forums. Not only is searching completely separate from reading, even browsing old topics is

[Wikitech-l] How to customize Preferences

2017-10-10 Thread Sam Wilson
Hi all, (Reposting https://www.mediawiki.org/wiki/Topic:Tyvfh19mba4pway9 here to garner more input.) I'm working on Extension:GlobalPreferences and trying to figure out how best to do things with all preferences, after they've been defined (in order to show various extra Preferences-form bits

Re: [Wikitech-l] Communication about proposed and planned UI changes

2016-12-16 Thread Sam Wilson
On Fri, 16 Dec 2016, at 04:18 PM, Gergo Tisza wrote: > * write a detailed list of everything you intend to do in March > * in that month, avoid doing anything that you did not think to put on > that list > I think you will gain some insights about the cost of trying to organize > things far ahead

Re: [Wikitech-l] phan (new static analysis tool) is now voting on MediaWiki core

2016-12-12 Thread Sam Wilson
This is brilliant! :-) Is it possible now to add Phan to extensions' CI as well? On 13 December 2016 at 10:41, Legoktm wrote: > Hi! > > Thanks to some awesome work by Erik Bernhardson, phan[1], a new static > analysis tool, is now voting[2] on MediaWiki core

Re: [Wikitech-l] Need example code in Javascript to login API

2016-11-03 Thread Sam Wilson
ill change > the meaning of the text by introducing a worst typo when the other word is > the correct one. > > Thomas > > > Le 3 nov. 2016 à 01:34, Sam Wilson <swil...@wikimedia.org> a écrit : > > > > This sounds like a great idea (something akin to PGDP's WordCheck t

Re: [Wikitech-l] Need example code in Javascript to login API

2016-11-02 Thread Sam Wilson
This sounds like a great idea (something akin to PGDP's WordCheck tool ?) But I wonder if implementing it as a Gadget would be easier? That way, the user is already logged in, and can access all the normal APIs etc. The word lists (both good and bad?) could be