[Wikitech-l] Re: End-points for Showing CAPTCHA

2024-04-14 Thread Gergo Tisza
On Sun, Apr 14, 2024 at 4:01 PM Shashank Kumar via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > I am contributing to wikimedia-commons android app and we encountered a > case where we need to show CAPTCHA within the app, is there any end-points > available for this ? To Complete the

[Wikitech-l] Re: API issue

2024-01-09 Thread Gergo Tisza
On Tue, Jan 9, 2024 at 8:53 PM ovskmendov--- via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > I am not sending very many requests. I haven’t sent any requests in > several days and yet I get the error message. > Maybe someone else is doing it from the same IP, or maybe it's a bug. You

[Wikitech-l] Re: API issue

2024-01-09 Thread Gergo Tisza
You should probably send requests less frequently, you are hitting some sort of throttling. (And we should probably show a more comprehensible error page. Filed as T354718 .) ___ Wikitech-l mailing list --

[Wikitech-l] Re: The login intersite mechanism is broken for the last 48 hours.

2023-12-01 Thread Gergo Tisza
On Fri, Dec 1, 2023 at 3:09 AM Igal Khitron wrote: > Well, usually when I tried this, the bugs were instantly closed because > "they are not reproducible". > If the bug is not reproducible or monitorable in some way (which is not the same thing as you not being able to immediately come up with

[Wikitech-l] Re: The login intersite mechanism is broken for the last 48 hours.

2023-11-30 Thread Gergo Tisza
On Thu, Nov 30, 2023 at 2:50 PM Igal Khitron wrote: > Hello. Something weird started yesterday. I heavily use the global > watchlist, and open links in many wikis a couple of times every day. > Something that never happened before, and happens dozens of times now, in > about 90% of the cases. If

[Wikitech-l] Re: Collect telemetry (using WikimediaEvents) for a gadget

2023-11-29 Thread Gergo Tisza
On Mon, Nov 27, 2023 at 7:36 AM psnbaotg via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > I *know *this can be very disruptive on UX, so I tend to be careful about > its negative impact on page views. If the gadget can collect telemetry > data about the prompt's display frequency and

[Wikitech-l] Re: partial translation after update

2023-11-04 Thread Gergo Tisza
On Thu, Nov 2, 2023 at 8:27 AM Peter Radisson wrote: > I am willing the help to debug that if somebody is telling me where to > look. > Try running rebuildLocalisationCache.php or rebuildmessages.php. In general for broken local installs, asking on IRC (e.g. #mediawiki) is best because people

[Wikitech-l] Re: incorrect category entries / German Wikipedia

2023-06-09 Thread Gergo Tisza
On Fri, Jun 9, 2023 at 9:13 AM Thiemo Kreuz wrote: > Both pages start with , which is a deprecated alias for > . Replacing it with e.g. will remove the > pages from the category. > Or just get rid of it. Adding a formatting tag was useful back in 2011 when that page was created, because

[Wikitech-l] Re: Proposal: namespace Archived for mediawiki.org

2023-06-01 Thread Gergo Tisza
On Wed, May 31, 2023 at 3:37 PM Thiemo Kreuz wrote: > Personally I'm really not sure if a namespace is the best possible > solution. mediawiki.org is more a continuum of content we collected > over the years. Pages are rarely up to date. It would probably be less > cumbersome to consider the

[Wikitech-l] Re: New Codesearch interface in beta testing

2022-10-20 Thread Gergo Tisza
Great work, thank you, both! The speed upgrade, the new sidebar, the more manageable repo list, and Phabricator export all fix big pain points. ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to

[Wikitech-l] Re: Problems with Special:MyLanguage and German

2022-07-25 Thread Gergo Tisza
Seems to work fine for me: https://de.wikipedia.org/wiki/Spezial:Letzte_%C3%84nderungen?uselang=de-formal On Fri, Jul 22, 2022 at 7:05 AM RhinosF1 - wrote: > It is probably worth opening a bug on Phabricator. As far as I can tell > Special:MyLanguage ( >

Re: [Wikitech-l] TechCom topics 2020-11-04 (fixed)

2020-11-10 Thread Gergo Tisza
On Tue, Nov 3, 2020 at 1:59 AM Daniel Kinzler wrote: > TemplateData already uses JSON serialization, but then compresses the JSON > output, to make the data fit into the page_props table. This results in > binary data in ParserOutput, which we can't directly put into JSON. I'm not sure I

Re: [Wikitech-l] Workflow for updating javascript tools on wiki?

2020-11-01 Thread Gergo Tisza
On Mon, Oct 26, 2020 at 9:27 AM Roy Smith wrote: > I maintain spi-tools.js > . The source > is in github. At the moment, my "release process" (if you could call it > that) is to edit > User:RoySmith/spi-tools.js and copy-paste the new

Re: [Wikitech-l] MediaWiki logo

2020-10-27 Thread Gergo Tisza
On Mon, Oct 26, 2020 at 5:29 PM Denny Vrandečić wrote: > SInce thanking yourself would be weird, allow me to express my thanks for > all your work and shepherding during the logo process (and well beyond > that, but let's keep focus here). > Indeed, the width and breadth of your contributions

Re: [Wikitech-l] Ethical question regarding some code

2020-08-09 Thread Gergo Tisza
On Sun, Aug 9, 2020 at 2:18 AM Nathan wrote: > I don't see how any part of it constitutes creating biometric identifiers, > nor is it obvious to me how it must remove anonymity of users. > The GDPR for example defines biometric data as "personal data resulting from specific technical processing

Re: [Wikitech-l] Request for checking two patches on Gerrit

2020-08-04 Thread Gergo Tisza
On Mon, Aug 3, 2020 at 7:40 PM Daniel Zahn wrote: > With all due respect but i believe it does not scale to use this > mailing list to ping for individual code reviews. Yes, we really need > to fix the issue that getting reviews is too hard and too many users > seem to filter Gerrit mail but

Re: [Wikitech-l] Extension migration: LinksDeletionUpdate is now a subclass of LinksUpdate

2020-07-15 Thread Gergo Tisza
On Tue, Jul 14, 2020 at 5:49 PM Mark Clements (HappyDog) < gm...@kennel17.co.uk> wrote: > I have an extension that uses the LinksUpdate hook to re-parse the article > in order to extract meta-data that it then stores in the DB for use > elsewhere in the extension. > (...) > In the light of the

Re: [Wikitech-l] Service wiring conventions in extensions

2020-07-15 Thread Gergo Tisza
I'd go for something like /* TranslateServices.php */ public static function wrap( MediaWikiServices $services ) { return new self( $services ); } /* ServiceWiring.php */ 'Translate:TranslatablePageParser' => function ( MediaWikiServices $services ) { return new TranslatablePageParser(

Re: [Wikitech-l] Hard deprecation of the Revision class

2020-07-07 Thread Gergo Tisza
The Revision -> RevisionRecord switch was a key part of both making MediaWiki dependency-injection-friendly and making it aware of multiple content slots per revision. It's great to see us following through on a large-scale refactoring like that. Huge thanks to DannyS712 (who as done awesome work

Re: [Wikitech-l] Newby dev question: extension configuration variable

2020-06-16 Thread Gergo Tisza
It should be $services = $config->get( 'ShariffServices' ); The actual error is an unrelated configuration problem with your wiki (or possibly a MediaWiki core bug where it tries to use a certain type of error handling too early in the request lifecycle), that's triggered during rendering the

Re: [Wikitech-l] Abstract Schema and Schema changes, request for help

2020-05-18 Thread Gergo Tisza
Thank you so much for working on this, it was one of the most painful aspects of core development! It might be worth using a consistent gerrit topic or hashtag to make finding the relevant patches easy. On Sat, May 9, 2020 at 3:21 AM Amir Sarabadani wrote: > Hello, > In case you haven't done

Re: [Wikitech-l] Change page’s content model

2020-03-10 Thread Gergo Tisza
Hi Diego! On Tue, Mar 10, 2020 at 9:28 AM Diego Quintana wrote: > So my question is, could you change my CSS page’s content model to > sanitized-css, or is there a way to create a new .css page and have it be > sanitized-css from its creation. > The content model is usually determined by the

Re: [Wikitech-l] MediaWiki API pageview issue

2020-02-23 Thread Gergo Tisza
On Sun, Feb 23, 2020 at 4:17 PM James Gardner via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > We attempted to use the wmflabs.org tool, but it only shows data from a > certain date. (Example link: > >

[Wikitech-l] Gerrit +2 for polishdeveloper / pmiazga

2020-02-07 Thread Gergo Tisza
Please see https://phabricator.wikimedia.org/T243925 (and https://www.mediawiki.org/wiki/Gerrit/Privilege_policy if you are unfamiliar with the +2 process but curious about it) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] WebTestCase

2019-10-03 Thread Gergo Tisza
On Thu, Oct 3, 2019 at 5:33 AM Jeroen De Dauw wrote: > The web request case is apparently not as simple as stuffing > Title::newFromText()->getCannonicalUrl() into Http::get() > That's pretty much how I would try it (if I couldn't avoid testing the full web stack instead of just calling the

Re: [Wikitech-l] WebTestCase

2019-10-02 Thread Gergo Tisza
There's ApiTestCase for the action API, and an open patch [1] for providing similar functionality for the REST API. I don't think there is anything for web views, and the dispatching mechanism is fairly messy. (The entry point is MediaWiki::run() but that has teardown logic that would probably

Re: [Wikitech-l] Introducing WikiContrib 1.0!

2019-09-07 Thread Gergo Tisza
On Thu, Sep 5, 2019 at 5:25 AM Rammanoj Potla wrote: > I am happy to introduce you to the first version of WikiContrib > . WikiContrib is a developer > metrics tool which can be used to view a developer’s contributions on > Phabricator and Gerrit. This

[Wikitech-l] Change to ResultWrapper indexing

2019-07-12 Thread Gergo Tisza
Hi all, In the past, iterating ResultWrapper (the object returned by Database::select() and similar MediaWiki commands) resulted in 1-based indexes (that is, foreach ( $rw as $i => $_ ) { echo "$i "; } would print 1 2 3 4...). From 1.34 (or since a few weeks ago, if you use the master version),

Re: [Wikitech-l] 今週あなたを幸せにするものは何ですか? / What's making you happy this week? (Week of 16 June 2019)

2019-06-27 Thread Gergo Tisza
Regular practice of gratitude is well-understood to be a key element of personal well-being (and while community health is a less researched area, it seems likely that the benefits extend there too). As such these threads are IMO very useful. On Mon, Jun 24, 2019 at 6:40 PM Isarra Yos wrote: >

Re: [Wikitech-l] Content modification no longer possible in PageContentSave hook?

2019-05-02 Thread Gergo Tisza
I'm guessing you meant to write $content = $content->getContentHandler()->unserializeContent( $newText ); since there's no way this could have ever worked otherwise. Filed as https://phabricator.wikimedia.org/T222413 ___ Wikitech-l mailing list

Re: [Wikitech-l] Help please! Database::close: mass commit/rollback... on Special Page

2019-04-27 Thread Gergo Tisza
On Fri, Apr 26, 2019 at 10:19 AM Jim Hu wrote: > The code is throwing the mass commit error only if something interrupts > processing before execution is complete - that includes my testing with > die() statements or other errors that I’ve been tracking down. So it seems > like doing execution

Re: [Wikitech-l] Help please! Database::close: mass commit/rollback... on Special Page

2019-04-23 Thread Gergo Tisza
> $dbw = wfGetDB( DB_SLAVE ); > $dbw->insert( 'omp_master.strain', array( 'id' => null, 'name' => $formData['strain_name_field'] ) ); You should use wfGetDB( DB_MASTER ) to get a DB handle for writing. On Tue, Apr 23, 2019 at 9:16 AM Jim Hu wrote: > It’s a custom extension used by my lab

Re: [Wikitech-l] Help please! Database::close: mass commit/rollback... on Special Page

2019-04-22 Thread Gergo Tisza
That means an implicit transaction [1] was started but not committed/cancelled. For special pages transaction handling is done by the framework and this should not happen unless you are doing something strange, like obtaining a connection in a non-standard way. Application errors (ie. something

Re: [Wikitech-l] Where should extension default preferences be specified?

2019-03-23 Thread Gergo Tisza
On Fri, Mar 22, 2019 at 10:41 AM Thomas Eugene Bishop < thomasbis...@wenlin.com> wrote: > (3) If DefaultUserOptions and onGetPreferences both specify default > values, and they differ, onGetPreferences wins. I believe this scenario > should be avoided. Having an option whose default is “X” before

Re: [Wikitech-l] Question to WMF: Backlog on bugs

2019-03-21 Thread Gergo Tisza
On Wed, Mar 20, 2019 at 2:08 PM Pine W wrote: > :) Structured data exists regarding many other subjects such as books and > magazines. I would think that a similar approach could be taken to > technical debt. I realize that development tasks have properties and > interactions that change over

Re: [Wikitech-l] Read access to patrolled flag in wikimedia API

2019-03-17 Thread Gergo Tisza
On Wed, Mar 13, 2019 at 10:50 PM Max Semenik wrote: > I don't think it's possible to filter by flagged status Not as such. You can use the list=reviewedpages API module which will list changes needing review (it should probably get some award for most confusing module name), starting from most

Re: [Wikitech-l] Where should extension default preferences be specified?

2019-03-17 Thread Gergo Tisza
GetPreferences does not set defaults; it provides form elements for the preferences form. The 'default' field there will be the default value in the form; it won't actually get added to user preferences until the user goes there and saves the form. Until then (and for anonymous users) the value

Re: [Wikitech-l] Question to WMF: Backlog on bugs

2019-03-17 Thread Gergo Tisza
On Fri, Mar 15, 2019 at 9:25 AM Strainu wrote: > That's an overstatement: 18% (not counting bugs closed as declined) is > almost double to 11%. If you're going this route, we're doing much > worse than Chromium. > I have a hard time imagining that anyone would be upset that 18% of our tasks are

Re: [Wikitech-l] New Gerrit privilege policy

2019-03-13 Thread Gergo Tisza
On Wed, Mar 13, 2019 at 5:33 PM Tim Starling wrote: > File a task in Phabricator under the Gerrit-Privilege-Requests > project, recommending that the person be given access, giving your > reasons and mentioning that you are the maintainer of the project in > question. Wait for at least a week

Re: [Wikitech-l] A potential new way to deal with spambots

2019-02-09 Thread Gergo Tisza
On Fri, Feb 8, 2019 at 6:20 PM Pine W wrote: > I don't know how practical it would be to implement an approach like this > in the Wikiverse, and whether licensing proprietary technology would be > required. > They are talking about Polyform [1], a reverse proxy that filters traffic with a

Re: [Wikitech-l] What would you like to see in gerrit?

2019-02-08 Thread Gergo Tisza
Here's a quickie: Alt-Shift+F (or Alt-F or whatever your browser uses for accesskeys) works in MediaWiki and Phabricator but not in Gerrit. On Fri, Feb 8, 2019 at 11:35 AM Daniel Kinzler wrote: > * clicking on the name of a repo in a change should take me to a place > where i > can browse that

Re: [Wikitech-l] What would you like to see in gerrit?

2019-02-04 Thread Gergo Tisza
On Mon, Jan 28, 2019 at 4:26 PM Paladox via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote: > Hi, what would you like to see in gerrit or improved? Thanks for all your work on Gerrit! Some things that IMO would be useful: * filtering out CI messages from Gerrit comments. This is something

Re: [Wikitech-l] [Commons-l] Sunsetting VP8 version of WebM for video playback

2019-02-04 Thread Gergo Tisza
On Mon, Jan 28, 2019 at 12:22 PM Brion Vibber via Commons-l < common...@lists.wikimedia.org> wrote: > IE 11 users will receive low-resolution, slow JavaScript-based video > playback instead. If you find this is troublesome, the recommended solution > is to switch to any other browser. > Will

Re: [Wikitech-l] [Engineering] Gerrit now automatically adds reviewers

2019-01-22 Thread Gergo Tisza
This discussion could do with less theatrics IMO. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Engineering] Gerrit now automatically adds reviewers

2019-01-18 Thread Gergo Tisza
On Fri, Jan 18, 2019 at 6:46 PM Chad wrote: > There _must_ be a way to disable this for certain files. Great examples: > > site.pp in puppet > en.json language file in MW core > CommonSettings or InitialiseSettings in wmf-config > There *is* a way to disable it. See plugins docs:

Re: [Wikitech-l] [Engineering] Gerrit now automatically adds reviewers

2019-01-18 Thread Gergo Tisza
On Thu, Jan 17, 2019 at 10:58 PM Giuseppe Lavagetto < glavage...@wikimedia.org> wrote: > While this gets improved, is there a way to opt-out from the feature > individually or as a project? > Individually, no. On the project level, just set the max number of reviewers added by the plugin to

Re: [Wikitech-l] [Engineering] Your Participation Requested - Interview about your local development environment

2019-01-09 Thread Gergo Tisza
On Tue, Jan 8, 2019 at 4:03 PM Jeena Huneidi wrote: > I did consider sending out another survey, but ended up choosing the > interview method for this step because I’d like to get a deeper look into > how people work and the problems they face, which is difficult to glean > from surveys. > To

Re: [Wikitech-l] Need Help To Spell4Wiki - Wiktionary Audio App

2019-01-09 Thread Gergo Tisza
On Wed, Jan 9, 2019 at 10:41 AM Manimaran_K wrote: >- When Uploading audio I got an error message* -> > *{“error”:{“code”:”permissiondenied”,”info”:”The >action you have requested is limited to users in one of the groups: >[[Wikipedia:Autoconfirmed users|Autoconfirmed users]], >

Re: [Wikitech-l] [Engineering] Your Participation Requested - Interview about your local development environment

2019-01-08 Thread Gergo Tisza
Great to see this happen! Given the large variance in people's local development environments, which is surely impossible to fully capture via interviews, I'm wondering if there will be some less time-intensive and more inclusive alternative way for providing input?

Re: [Wikitech-l] [Engineering] Code Health Newsletter - Issue 2 Volume 1

2018-12-17 Thread Gergo Tisza
Will this also be published on-wiki? Reading it in plain text is kind of painful. On Mon, Dec 17, 2018 at 8:26 AM Jean-Rene Branaa wrote: > Code Health Newsletter - Issue 2 Volume 1 > > > The Code Health[0a] newsletter is a publication provided by the Code > Health Group[0b]. The Code Health

Re: [Wikitech-l] non-obvious uses of in your language

2018-10-04 Thread Gergo Tisza
On Thu, Oct 4, 2018 at 2:25 PM Daniel Kinzler wrote: > Or how about {{}} for "this is a syntactic element, but it does nothing"? Just make a template with a nice name ( {{~}} or something) and put the nowiki in that. ___ Wikitech-l mailing list

Re: [Wikitech-l] Collecting UI feedback for PolyGerrit - Gerrit

2018-10-04 Thread Gergo Tisza
On Thu, Oct 4, 2018 at 11:35 AM Paladox wrote: > What do you mean by "URLs are hard to get right due to arcane escaping > rules. I have been completely unable to make search shortcuts that work in > both the old and new UI."? Upstream have fixed some urls that were breaking > when switching to

Re: [Wikitech-l] Collecting UI feedback for PolyGerrit - Gerrit

2018-10-04 Thread Gergo Tisza
Thanks for your work on Gerrit, Paladox! The Polygerrit upgrade looks great; the thread view is especially amazing. (If you are not familiar with it, check this patch [1] and click "Comment Threads" near the bottom of the screen.) I mostly have behavior issues (on gerrit.wikimedia.org; I haven't

Re: [Wikitech-l] problematic use of "Declined" in Phabricator

2018-10-02 Thread Gergo Tisza
On Tue, Oct 2, 2018 at 9:57 AM Brion Vibber wrote: > *nods* I think the root problem is that the phabricator task system does > double duty as both an *issue reporting system* for users and a *task > tracker* for devs. > IMO that kind of double duty is normal for all software development

[Wikitech-l] Signature change without deprecation: ContentHandler::getUndoContent

2018-08-24 Thread Gergo Tisza
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/447099 changes the signature of ContentHandler::getUndoContent from to (with Revision soft-deprecated). This is a breaking change as ContentHandler is meant to be subclassed, and any subclass that typehints Revision will raise a warning at

Re: [Wikitech-l] Making two factor auth less annoying

2018-08-12 Thread Gergo Tisza
On Sun, Aug 12, 2018 at 6:47 PM Petr Bena wrote: > With two factor authentication it doesn't seem to be possible to make > session persistent Two-factor authentication does not affect how the session works. If you check "Remember me", the login will last for 180 days, whether you use

Re: [Wikitech-l] My Phabricator account has been disabled

2018-08-09 Thread Gergo Tisza
On Thu, Aug 9, 2018 at 7:41 AM Stas Malyshev wrote: > 1. The account was disabled without any indication (except the email to > the person owning it, which is also rather easy to miss - not the > admin's fault, but read on) of what and why happened, as far as I could > see. Note that Phabricator

Re: [Wikitech-l] My Phabricator account has been disabled

2018-08-09 Thread Gergo Tisza
Some thoughts: - First of all, I'd like to thank the Code of Conduct committee for doing their job. It's a hard job where they need to make difficult judgement calls, and are criticized harshly when they make a bad judgement and ignored at best when they make a good one (although more likely they

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

2018-08-06 Thread Gergo Tisza
On Mon, Aug 6, 2018 at 12:40 AM rupert THURNER wrote: > interesting, never thought about it. i found an entry on stackexchange > confirming what you said. additionally it states that oauth is not for > authenticaiton. oauth's purpose is to access users resources from some > resource provider,

Re: [Wikitech-l] Documentation for API query/revisions needs an update

2018-08-02 Thread Gergo Tisza
On Thu, Aug 2, 2018 at 11:22 PM Nicolas Vervelle wrote: > This rvslots is not documented on API:Revisions and I don't find an email > mentionning a compatibility problem on this subject. > > I tried the API Sandbox, but the documentation for rvslots is cryptic for > me : " Which revision slots

Re: [Wikitech-l] Phabricator monthly statistics - 2018-07

2018-08-01 Thread Gergo Tisza
On Wed, Aug 1, 2018 at 10:42 PM Stas Malyshev wrote: > Yes, it looks more the case of "we thought it's a high priority task but > turned out it's not" rather than "we take a long time to do high > priority tasks". I.e. maybe we need to have some rules around removing > tasks from "High" if it's

Re: [Wikitech-l] Phabricator monthly statistics - 2018-07

2018-08-01 Thread Gergo Tisza
On Wed, Aug 1, 2018 at 8:14 PM Pine W wrote: > Thanks for the updated statistics. I wonder, was there ever an agreement on > how to standardize the definitions for priorities, such as "unbreak now" > and "high"? The reason that I ask is that a median age of 738 days for > "high" priority tasks

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

2018-07-28 Thread Gergo Tisza
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 the > easiest way to do it is to get

Re: [Wikitech-l] Help remove unused wmf-config code

2018-07-08 Thread Gergo Tisza
On Sun, Jul 8, 2018 at 5:41 AM Stas Malyshev wrote: > > Open for review: > > > https://gerrit.wikimedia.org/r/#/q/project:operations/mediawiki-config+topic:cleanup+is:open > > This one produces 404. > Unfortunately search URLs are not compatible between the old and new Gerrit interface. The

Re: [Wikitech-l] Please comment on the draft consultation for splitting the admin role

2018-06-11 Thread Gergo Tisza
On Mon, Jun 11, 2018 at 6:02 PM Steven Walling wrote: > I'm definitely supportive of greater security for sitewide JS/CSS, but > Bart's proposal is an interesting one. (Sorry for top posting, on mobile) > > What if we required review of edits to JS/CSS in the MediaWiki namespace > (not in other

Re: [Wikitech-l] Please comment on the draft consultation for splitting the admin role

2018-06-11 Thread Gergo Tisza
On Mon, Jun 11, 2018 at 3:28 PM Petr Bena wrote: > Is there any historical evidence that sysops being able to edit JS / > CSS caused some serious issues? Your point that "most of > administrators don't understand JS / CSS" is kind of moot. They are > usually trustworth and intelligent people.

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

2018-06-11 Thread Gergo Tisza
On Fri, Jun 8, 2018 at 3:44 PM Yaron Koren wrote: > I suppose that one solution which hasn't been discussed yet is to change > the wording of that file so that it says something more defensible, like > "This extension is hosted on facilities governed by the Code of Conduct", > or that kind of

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

2018-06-08 Thread Gergo Tisza
On Fri, Jun 8, 2018 at 8:18 AM Daniel Zahn wrote: > But we should not make it mandatory to keep a copy of this file in each and > every repo. > I'd argue we should, but let me say first that if we do make it mandatory, that should happen via some mechanism that's appropriate for making policy

[Wikitech-l] Changes to Special:OAuth URL in some languages

2018-06-03 Thread Gergo Tisza
A few languages (ar, arz, ko, lrc, ur) have localized the special page name "OAuth", which means that in these languages requests to Special:OAuth result in redirects. This breaks OAuth-signed requests to Special:OAuth/identify, unless they use the localized name, and in general developers

Re: [Wikitech-l] [Wmfall] Announcing the Wikimedia Foundation's Technical Engagement team

2018-05-26 Thread Gergo Tisza
That is great news, congrats and thanks to all involved! Support of Wikimedia/MediaWiki developers and software reusers has gone through a quantum leap in the last year or so, and this is another solid step towards creating a more healthy FLOSS ecosystem. I'd also like to echo what Trey said:

Re: [Wikitech-l] Gerrit newcomer bot

2018-05-08 Thread Gergo Tisza
Awesome, thanks all for working on this! Would it be possible to also support something like ownerin:volunteers? On Fri, May 4, 2018 at 8:45 PM Srishti Sethi wrote: > *Hello all,A quick update related to Gerrit -- you will notice a small > change on patches uploaded by

Re: [Wikitech-l] 2018-05-02 Scrum of Scrums meeting notes

2018-05-08 Thread Gergo Tisza
On Wed, May 2, 2018 at 8:24 PM, Kunal Mehta wrote: > On 05/02/2018 11:02 AM, Grace Gellerman wrote: > > * Services: If someone maintains/knows JobQueue Job code that posts > > jobs cross-wiki, please tell us. > > MassMessage and GlobalUserPage both post jobs across wikis

Re: [Wikitech-l] MediaWiki and OpenID Connect

2018-05-08 Thread Gergo Tisza
On Fri, May 4, 2018 at 10:21 PM Adam Sobieski wrote: > In the scenario, after choosing to verify their name on their Wikipedia > account, a user logs onto Wikipedia and uses OpenID Connect to link their > Wikipedia account to multiple verified accounts, for example

Re: [Wikitech-l] [Ops] Changes to SWAT deployment policies, effective Monday April 30th

2018-04-28 Thread Gergo Tisza
On Sat, Apr 28, 2018 at 2:19 AM, Tyler Cipriani wrote: > Looking at this info maybe 6 is the magic number? > Other options would be to have more windows (an EU morning SWAT maybe?), and/or make it less of an expectation to have your patches deployed in the window you

Re: [Wikitech-l] [Ops] Changes to SWAT deployment policies, effective Monday April 30th

2018-04-27 Thread Gergo Tisza
On Fri, Apr 27, 2018 at 7:05 PM, Niharika Kohli wrote: > Also, I think dropping the limit to 4 patches per window is extreme, > especially if we are asking people to start splitting their patches now. > Very often we can +2 multiple patches in one go if they don't affect

Re: [Wikitech-l] File upload file in HTMLForm with ooui

2018-04-16 Thread Gergo Tisza
On Mon, Apr 16, 2018 at 12:40 AM, Brian Wolff wrote: > So basically no, its not possible currently without implementing your own > HTMLFormField subclass. The task for that is https://phabricator.wikimedia.org/T170263 Should be pretty easy, the OOUI widget exists already.

Re: [Wikitech-l] Dead Links

2018-04-02 Thread Gergo Tisza
On Mon, Apr 2, 2018 at 4:52 PM, Chad wrote: > I removed most of the information about Gmane. We should provide something else that remotely resembles the twenty-first century, though. GT (ex gossamer-threads) probably? https://lists.gt.net/wiki/wikitech

Re: [Wikitech-l] What ways are there to include user-edited JavaScript in a wiki page? (threat model: crypto miners)

2018-03-15 Thread Gergo Tisza
On Wed, Mar 14, 2018 at 9:14 AM, Jon Robson wrote: > It has always made me a little uneasy that there are wiki pages where > JavaScript could potentially be injected into my page without my approval. > To be honest if I had the option I would disable all site and user

Re: [Wikitech-l] Fwd: ¿Qué te hace feliz esta semana? / What's making you happy this week? (Week of 11 March 2018)

2018-03-11 Thread Gergo Tisza
On Sat, Mar 10, 2018 at 9:21 PM, Pine W wrote: > 2. The opt-in "pingback" telemetry from MediaWiki installations, which is > available since March 2017, suggests that there are more than 40,000 unique > installations. > Note that pingback only collects data from wikis which

Re: [Wikitech-l] Any way to find the used template from the template itself?

2018-03-08 Thread Gergo Tisza
On Thu, Mar 1, 2018 at 2:52 PM, Strainu wrote: > Say we have an article which includes {{Infobox A}}, which redirects > to {{Infobox B}}, which in turn transcludes {{Infobox}}, which is > implemented using [[Module:Infobox]]. Is there a way to know from the > module (or the

Re: [Wikitech-l] What's making you happy this week? (Week of 11 February 2018)

2018-02-13 Thread Gergo Tisza
The new gerrit skin, which is kind of meh on desktop but responsive and thus actually useful on mobile. (And it's enabled with a cookie so I can use it on mobile devices and keep the old look on desktop.) Also the new non-Phabricator-based repo browser linked from it, which has a much more

Re: [Wikitech-l] Security question re password resets and Spectre

2018-01-04 Thread Gergo Tisza
On Thu, Jan 4, 2018 at 9:29 AM, Denny Vrandečić wrote: > I often get emails that someone is trying to get into my accounts. I guess > there are just some trolls, trying to login into my Wikipedia account. So > far, these have been unsuccessful. > > Now I got an email that

Re: [Wikitech-l] Setting logged in user context on unit tests

2017-12-25 Thread Gergo Tisza
On Mon, Dec 25, 2017 at 12:00 PM, Tony Thomas <01tonytho...@gmail.com> wrote: > Came across a situation similar to [1] where I had to call submit() > function of a FormSpecialPage during a unit test. We have something going > on in the background, and $this->getUser() needs to return a valid

Re: [Wikitech-l] Sunsetting Trending Edits Service before the holiday

2017-12-12 Thread Gergo Tisza
On Tue, Dec 12, 2017 at 12:12 PM, Jon Robson wrote: > This is a little inferior to the production version as it is unable to use > production kafka and if it has any outages it will lose data. > Hopefully that gets fixed soon, Cloud VPS / Toolforge is the foundation for out

Re: [Wikitech-l] [Mediawiki-i18n] Language engineering monthly reports for September-November 2017

2017-12-09 Thread Gergo Tisza
On Tue, Dec 5, 2017 at 1:03 AM, Niklas Laxström wrote: > * There is now a way to link directly to a particular message in > Special:Translate. > That was a small but regular annoyance. Thanks for fixing it! > * Translatable pages are now editable with the 2017

Re: [Wikitech-l] 2017-12-06 Scrum of Scrums meeting notes

2017-12-06 Thread Gergo Tisza
On Wed, Dec 6, 2017 at 11:15 AM, Grace Gellerman wrote: > Reading Infrastructure > ** ReadingLists performance improvements > ** Wrapping up media + summary endpoints > ** References needs a bit more design work > Also, I'm planning to deploy the ReadingLists

Re: [Wikitech-l] [AI] New ORES FAQ

2017-11-21 Thread Gergo Tisza
On Tue, Nov 21, 2017 at 4:20 PM, Aaron Halfaker wrote: > I thought Wikitech makes sense for a wikimedia-specific initiative. > A documentation SIG is not really Wikimedia-specific though (or did you mean "ORES documentation SIG" specifically?). Also, most

Re: [Wikitech-l] [AI] New ORES FAQ

2017-11-21 Thread Gergo Tisza
Hi Sarah, thanks for working on this! On Tue, Nov 21, 2017 at 2:31 PM, Sarah R wrote: > Documentation like this is critical for our open software environment to > work. I'm organizing a special interest group[4] to address > documentation needs. If you have any

Re: [Wikitech-l] Thoughts for handy features

2017-11-18 Thread Gergo Tisza
As it happens, the yearly feature wishlist collection process is taking proposals right now; you might want to check it out. [0] On Thu, Nov 16, 2017 at 10:15 PM, John Elliot V wrote: > 1. For links to articles in sections on the same page it would be really > handy if we had

Re: [Wikitech-l] Simple overview image about how MW loads resources in clients

2017-11-06 Thread Gergo Tisza
Nice! Can you put it on Commons under a free license? debug=1 in the URL query disables the bottom third of the image; scripts are loaded via direct source URLs. Not sure if that's worth mentioning. Also IIRC there are some other magic modules beyond startup where the URL does not contain the

Re: [Wikitech-l] [Wmfall] New Developers Quarterly Report's first edition

2017-10-21 Thread Gergo Tisza
Thanks Srishti & DevRel team, that was interesting, and it's great to see that developer retention gets the organizational focus it deserves. Some comments on the document: We currently struggle to keep track of information about new developers > such as project they worked on, their contact

Re: [Wikitech-l] need a URL encoding expert

2017-10-20 Thread Gergo Tisza
It would be easier to comment if either the pull request or this thread explained what the patch is trying to do (XY problem etc) but in general: - the URI spec defines ? as the separator character between the path and the query part, but it doesn't say much about what the path and query part

Re: [Wikitech-l] Can we drop revision hashes (rev_sha1)?

2017-09-21 Thread Gergo Tisza
On Thu, Sep 21, 2017 at 6:10 AM, Daniel Kinzler wrote: > Yes, we could put it into a separate table. But that table would be > exactly as > tall as the content table, and would be keyed to it. I see no advantage. The advantage is that MediaWiki almost would never

Re: [Wikitech-l] HHVM vs. Zend divergence

2017-09-19 Thread Gergo Tisza
On Tue, Sep 19, 2017 at 9:40 AM, C. Scott Ananian wrote: > Fair enough. My point is just that we should stop and reflect that this is > a major inflection point. Language choices are sticky, so this decision > will have significant long-term implications. We should at

Re: [Wikitech-l] Can we drop revision hashes (rev_sha1)?

2017-09-19 Thread Gergo Tisza
On Tue, Sep 19, 2017 at 6:42 AM, Daniel Kinzler wrote: > That table will be tall, and the sha1 is the (on average) largest field. > If we > are going to use a different mechanism for tracking reverts soon, my hope > was > that we can do without it. > Can't you just

Re: [Wikitech-l] How to add custom styles to a page?

2017-09-16 Thread Gergo Tisza
On Sat, Sep 16, 2017 at 7:46 AM, Brian Wolff wrote: > What you are looking for is TemplateStyles. This is not enabled on english > wikipedia yet, but should be coming there soon (I think). It would allow > you to use @media styles for your pages. See >

Re: [Wikitech-l] Can we drop revision hashes (rev_sha1)?

2017-09-15 Thread Gergo Tisza
At a quick glance, EventBus and FlaggedRevs are the two extensions using the hashes. EventBust just puts them into the emitted data; FlaggedRevs detects reverts to the latest stable revision that way (so there is no rev_sha1 based lookup in either case, although in the case of FlaggedRevs I could

Re: [Wikitech-l] Web application to upload csv file to wiktionary

2017-09-14 Thread Gergo Tisza
On Thu, Sep 14, 2017 at 12:16 PM, Shrinivasan T wrote: > My CSV file has 1000 lines as word, meaning. > > Like to create 1000 pages in Wiktionary. > The mentioned python script in my previous query will do this. > > But, need a web application for this do that any newbie

Re: [Wikitech-l] Recommending Firefox to users using legacy browsers?

2017-09-04 Thread Gergo Tisza
On Mon, Sep 4, 2017 at 6:13 PM, Bryan Davis wrote: > In my personal past experience, > Firefox crashes were almost always correlated with buggy user > installed, community developed extensions. > Which are going to be axed in the next release and replaced with a Chrome-like

Re: [Wikitech-l] Recommending Firefox to users using legacy browsers?

2017-08-31 Thread Gergo Tisza
On Thu, Aug 31, 2017 at 1:37 PM, bawolff wrote: > I'm concerned this would be seen as an inapropriate bias. > We could send them to something like https://whatbrowser.org/ or https://browsehappy.com/ Motivating users to update their outdated browsers would definitely be a

  1   2   3   >