[Wikidata-bugs] [Maniphest] T353199: prop=description does not respect language variants properly

2024-03-28 Thread BPirkle
BPirkle triaged this task as "Low" priority. BPirkle moved this task from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board. TASK DETAIL https://phabricator.wikimedia.org/T353199 WORKBOARD https://phabricator.wikimedia.org/project/board/69

[Wikidata-bugs] [Maniphest] T332953: Migrate PipelineLib repos to GitLab

2023-04-26 Thread BPirkle
BPirkle added subscribers: Tgr, BPirkle. BPirkle added a comment. The old image suggestions api (mediawiki/services/image-suggestion-api <https://gerrit.wikimedia.org/g/mediawiki/services/image-suggestion-api>) is unlikely to receive further development. The Jan 2023 update

[Wikidata-bugs] [Maniphest] T290299: Replace token store in MW OAuth WCQS proxy with JWT

2021-09-09 Thread BPirkle
BPirkle added a comment. I was not previously familiar with mw-oauth-proxy. Here are some related links for any other subscribers that may have a similar knowledge gap: - https://gerrit.wikimedia.org/r/c/wikidata/query/rdf/+/605922 - https://codesearch.wmcloud.org/search/?q=mw-oauth

[Wikidata-bugs] [Maniphest] T284981: SELECT query arriving to wikidatawiki db codfw hosts causing pile ups during schema change

2021-06-22 Thread BPirkle
BPirkle removed a project: Platform Engineering. TASK DETAIL https://phabricator.wikimedia.org/T284981 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: BPirkle Cc: Ladsgroup, Addshore, Aklapper, Marostegui, joanna_borun, the0001, Invadibot

[Wikidata-bugs] [Maniphest] T214267: Name of slots should be localized in diff

2021-05-26 Thread BPirkle
BPirkle removed BPirkle as the assignee of this task. BPirkle added a comment. Removing myself as assignee because I am not currently working on this, and am not scheduled to in the near future. I would not object to working on it on the future if plans and priorities allow, but I do

[Wikidata-bugs] [Maniphest] T45283: InfoAction doesn't take namespace protection into account

2021-03-23 Thread BPirkle
BPirkle added subscribers: AMooney, BPirkle. BPirkle removed a project: Platform Engineering. BPirkle added a comment. @AMooney to assign a reviewer TASK DETAIL https://phabricator.wikimedia.org/T45283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] T270710: Allow values other than ParserOutput to be stored in a ParserCache instance

2021-03-23 Thread BPirkle
BPirkle triaged this task as "Medium" priority. BPirkle edited projects, added Platform Engineering Roadmap Decision Making; removed Platform Engineering. TASK DETAIL https://phabricator.wikimedia.org/T270710 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Wikidata-bugs] [Maniphest] T275251: Rest Search API is not wikidata aware (only accepts queries beginning with Q

2021-03-09 Thread BPirkle
BPirkle edited projects, added Platform Engineering; removed Platform Team Workboards. TASK DETAIL https://phabricator.wikimedia.org/T275251 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: BPirkle Cc: ovasileva, Addshore, Lydia_Pintscher, Aklapper

[Wikidata-bugs] [Maniphest] T276551: Allow extensions to use NameTableStore for their own tables

2021-03-09 Thread BPirkle
BPirkle moved this task from Inbox to Tracking/Watching on the Platform Engineering board. BPirkle added a comment. No objections from Platform Team. TASK DETAIL https://phabricator.wikimedia.org/T276551 WORKBOARD https://phabricator.wikimedia.org/project/board/3654/ EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] T245989: RecentChanges query API fails with timeout when asking for 5 RC redirects in on Wikidata

2021-02-18 Thread BPirkle
BPirkle moved this task from Discussing to Later on the Platform Team Workboards (Clinic Duty Team) board. BPirkle triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T245989 WORKBOARD https://phabricator.wikimedia.org/project/board/4149/ EMAIL P

[Wikidata-bugs] [Maniphest] T245989: RecentChanges query API fails with timeout when asking for 5 RC redirects in on Wikidata

2021-01-14 Thread BPirkle
BPirkle renamed this task from "RecetChanges query API fails with timeout when asking for 5 RC redirects in on Wikidata" to "RecentChanges query API fails with timeout when asking for 5 RC redirects in on Wikidata". TASK DETAIL https://phabricator.wikimedia.org/T24598

[Wikidata-bugs] [Maniphest] T264929: $pageId must be an integer > 0

2020-10-07 Thread BPirkle
BPirkle created this task. BPirkle added projects: Wikimedia-production-error, Wikidata-Campsite, MediaWiki-extensions-WikibaseClient. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Error - `MediaWiki version

[Wikidata-bugs] [Maniphest] T264928: MediaWiki::restInPeace: transaction round 'Cognate\CacheUpdateJob::run' still running

2020-10-07 Thread BPirkle
BPirkle created this task. BPirkle added projects: Wikimedia-production-error, Cognate, Wikidata-Campsite. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Error - `MediaWiki version:` **`1.36.0-wmf.10

[Wikidata-bugs] [Maniphest] T260847: Wikibase\DataModel\Services\Lookup\EntityLookupException: the execution time limit of 60 seconds was exceeded

2020-08-19 Thread BPirkle
BPirkle created this task. BPirkle added projects: Wikimedia-production-error, Wikidata-Campsite. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION name=Error message [19f50cc3-e17e-41cb-9040-57dbd593711b] /wiki

[Wikidata-bugs] [Maniphest] T260179: The ApiQueryDescription should handle Chinese language variant correctly

2020-08-11 Thread BPirkle
BPirkle triaged this task as "Medium" priority. BPirkle edited projects, added Platform Team Workboards (Clinic Duty Team); removed Platform Engineering. TASK DETAIL https://phabricator.wikimedia.org/T260179 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailp

[Wikidata-bugs] [Maniphest] T93273: UnresolvedRedirectException "Unresolved redirect to Q…" from WikiPageEntityRevisionLookup.php

2020-07-29 Thread BPirkle
BPirkle added a comment. 6 occurrences seen in logstash on 2020-07-29. TASK DETAIL https://phabricator.wikimedia.org/T93273 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: BPirkle Cc: BPirkle, gerritbot, PokestarFan, Krinkle, mmodell, Addshore

[Wikidata-bugs] [Maniphest] [Updated] T255804: overzealous throttling on Wikidata

2020-06-24 Thread BPirkle
BPirkle removed a project: Core Platform Team. BPirkle added a comment. Untagging CPT as this may not actually be an issue. Retag us if needed. TASK DETAIL https://phabricator.wikimedia.org/T255804 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Updated] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-07-11 Thread BPirkle
BPirkle added a comment. I've uploaded patches for all issues identified in this task. In an effort to keep this task focused on ar_text_id and rev_text_id, I created several related tasks for things that deserve attention and which are related to MCR, but not directly to rev_text_id

[Wikidata-bugs] [Maniphest] [Updated] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-04-24 Thread BPirkle
BPirkle added a comment. Unless I'm missing something, @Anomie already did the bulk of the work for the first two (ApiQueryAllDeletedRevisions and ApiQueryDeletedRevisions) in commit 07842be3 <https://phabricator.wikimedia.org/rMW07842be379ca3d4d0bc0608c217dd0e8cd7cbe4b> as part of T

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-04-23 Thread BPirkle
BPirkle added a comment. I'm also seeing three few ungated ar_text_id references in core: - ApiQueryAllDeletedRevisions::run() - ApiQueryDeletedRevisions::run() - ApiQueryDeletedrevs::execute() These all use ar_text_id to load content by joining the text table. I'll refactor

[Wikidata-bugs] [Maniphest] [Updated] T198342: Remove all usages of the 'text' flag in calls to Revision::getQueryInfo() and RevisionStore::getQueryInfo().

2019-04-17 Thread BPirkle
BPirkle added a comment. In T198342#5118274 <https://phabricator.wikimedia.org/T198342#5118274>, @daniel wrote: > Ooops, too fast, there is an open patch needing review: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/500755 That patch is for T1983

[Wikidata-bugs] [Maniphest] [Updated] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-04-08 Thread BPirkle
BPirkle added a comment. Per discussion in this task, I created new task T220450 <https://phabricator.wikimedia.org/T220450> for the additional Postgres changes (searchindex table). TASK DETAIL https://phabricator.wikimedia.org/T198341 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T198342: Remove all usages of the 'text' flag in calls to Revision::getQueryInfo() and RevisionStore::getQueryInfo().

2019-04-03 Thread BPirkle
BPirkle added a comment. Usages found: - includes/api/ApiQueryAllRevisions.php, line 85, in function run() - includes/api/ApiQueryRevisions.php, line 162, in function run() (if $this->fetchContent is true) - maintenance/testCompression.php line 51 - tests/phpunit/inclu

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-21 Thread BPirkle
BPirkle added a comment. In T198341#5024626 <https://phabricator.wikimedia.org/T198341#5024626>, @Anomie wrote: > In T198341#5022412 <https://phabricator.wikimedia.org/T198341#5022412>, @daniel wrote: > > > In T198341#5021347 <https://phabricator.wi

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-14 Thread BPirkle
BPirkle added a comment. In T198341#5025536 <https://phabricator.wikimedia.org/T198341#5025536>, @daniel wrote: > In T198341#5024626 <https://phabricator.wikimedia.org/T198341#5024626>, @Anomie wrote: > > > Here's one place where Daniel and I differ: I'd

[Wikidata-bugs] [Maniphest] [Updated] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-13 Thread BPirkle
BPirkle added a comment. In T198341#5022332 <https://phabricator.wikimedia.org/T198341#5022332>, @daniel wrote: > > includes/Revision/RevisionStore.php (I'll touch only getQueryInfo(). All other references are either gated directly, or are in private functions with all

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-13 Thread BPirkle
BPirkle added a comment. Thanks. MessageCache.php was not listed in my previous comment, because I've already incorporated Daniel's patch from June into my local codebase, but that'll be part of the final change as well. TASK DETAIL https://phabricator.wikimedia.org/T198341 EMAIL

[Wikidata-bugs] [Maniphest] [Updated] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-13 Thread BPirkle
BPirkle added a subscriber: tstarling. BPirkle added a comment. Thank you. With that in mind, here's my current understanding. The list below applies only to rev_text_id, not ar_text_id or text.old_id. When touching code for rev_text_id, I'll also remove any references to the other two

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-13 Thread BPirkle
BPirkle added a comment. Thank you. Will ping Tim on that one when it is daylight for him. One more question: rev_text_id is referenced in tests/phpunit/includes/ActorMigrationTest.php function provideInsertRoundTrip, which is a data provider for function testInsertRoundTrip

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-03-12 Thread BPirkle
BPirkle added a comment. Question on one occurrence of these fields: is the maintenance script fixT22757.php still relevant? TASK DETAIL https://phabricator.wikimedia.org/T198341 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: BPirkle Cc

[Wikidata-bugs] [Maniphest] [Commented On] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-02-18 Thread BPirkle
BPirkle added a comment. Task description refers to "RevisionStore::newRevisionRecordFromRow()". Should that be "RevisionStore::newRevisionFromRow()"?TASK DETAILhttps://phabricator.wikimedia.org/T198341EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] [Claimed] T198341: Remove all references to the rev_text_id and ar_text_id fields

2019-02-18 Thread BPirkle
BPirkle claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T198341EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BPirkleCc: gerritbot, Tgr, Jdforrester-WMF, Anomie, Addshore, aude, Aklapper, daniel, EvanProdromou, CucyNoiD, Nandana, NebulousIris

[Wikidata-bugs] [Maniphest] [Updated] T198557: Remove support for legacy pre-MCR schema

2019-02-18 Thread BPirkle
BPirkle added a comment. I was, however, able to claim T198341. I'll start there.TASK DETAILhttps://phabricator.wikimedia.org/T198557EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BPirkleCc: BPirkle, Fjalapeno, CCicalese_WMF, Aklapper, daniel, holger.knust

[Wikidata-bugs] [Maniphest] [Commented On] T198557: Remove support for legacy pre-MCR schema

2019-02-18 Thread BPirkle
BPirkle added a comment. I'm happy to, but it appears that I cannot edit or claim the task.TASK DETAILhttps://phabricator.wikimedia.org/T198557EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BPirkleCc: BPirkle, Fjalapeno, CCicalese_WMF, Aklapper, daniel

[Wikidata-bugs] [Maniphest] [Commented On] T211806: Passing in the "body" request option as an array to send a POST request has been deprecated

2018-12-12 Thread BPirkle
BPirkle added a comment. This looks more promising: if ( is_array( $postData ) ) { $this->guzzleOptions['form_params'] = $postData; } else { $this->guzzleOptions['body'] = $postData; } Per http://docs.guzzlephp.org/en/stable/quickstart.html, Guzzle will automatical

[Wikidata-bugs] [Maniphest] [Commented On] T211806: Passing in the "body" request option as an array to send a POST request has been deprecated

2018-12-12 Thread BPirkle
BPirkle added a comment. Reproduced the exception locally using trivial test data: $params = [ 'foo' => 'bar' ]; $response = Http::post( 'http://www.example.net', [ 'postData' => $params ] ); Then confirmed the exception disappeared per the suggestion from stack overflow, by

[Wikidata-bugs] [Maniphest] [Commented On] T211806: Passing in the "body" request option as an array to send a POST request has been deprecated

2018-12-12 Thread BPirkle
BPirkle added a comment. GuzzleHttpRequest.php line 94, we are indeed setting the 'body' field and trusting that $postData was happily passed to the constructor by calling code. Fiddling...TASK DETAILhttps://phabricator.wikimedia.org/T211806EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Updated] T110022: Create a library with HTTP related functions/code

2018-12-10 Thread BPirkle
BPirkle added a comment. Guzzle has been added to the codebase and made available through the new GuzzleHttpRequest class, per T202110.TASK DETAILhttps://phabricator.wikimedia.org/T110022EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BPirkleCc: MGChecker

[Wikidata-bugs] [Maniphest] [Unblock] T198706: Make BackupDumper, WikiExporter and XmlDumpWriter compliant with the MCR revision retrival mechanism (main slot only)

2018-10-03 Thread BPirkle
BPirkle closed subtask T203424: Replace the WikiExporter backup dump streaming mode with batched queries as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T198706EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: daniel, BPirkleCc:

[Wikidata-bugs] [Maniphest] [Commented On] T110022: Create a library with HTTP related functions/code

2018-08-09 Thread BPirkle
BPirkle added a comment. I’m also a soft lean to Guzzle. It seems more active recently than most of the alternatives, suitable to our needs, and generally popular. I hate to overweigh “popularity” as a metric, but in the case of open source, momentum doesn’t hurt. It is also much easier

[Wikidata-bugs] [Maniphest] [Commented On] T110022: Create a library with HTTP related functions/code

2018-08-07 Thread BPirkle
BPirkle added a comment. Localization questions aside, it seemed that in 2016 (on T139169), @Krinkle preferred Requests, while @Tgr preferred Guzzle. Do each of you still feel the same, and are there any additional possibilities that you've become aware of since then?TASK DETAILhttps

[Wikidata-bugs] [Maniphest] [Commented On] T110022: Create a library with HTTP related functions/code

2018-08-06 Thread BPirkle
BPirkle added a comment. I wish we could map by exception class, but it seems challenging to do that in a useful way. Looking at the two libraries that have been mentioned: Guzzle tends to throw generic exception classes. The most popular appear to be: InvalidArgumentException (49 occurrences

[Wikidata-bugs] [Maniphest] [Commented On] T110022: Create a library with HTTP related functions/code

2018-08-03 Thread BPirkle
BPirkle added a comment. If we do care about localization, there's also the possibility of wrapping an external library in custom code that does support localization. Current http-* entries in en.json are fairly generic and could continue to be so. The external library would handle the details

[Wikidata-bugs] [Maniphest] [Updated] T110022: Create a library with HTTP related functions/code

2018-08-02 Thread BPirkle
BPirkle added a comment. This task has been around for awhile, and related discussion and action has since occurred elsewhere. To summarize from this task and from T139169, T137926, and T139170: we would like to make curl optional (with a suitable warning) we made MultiHttpClient work

[Wikidata-bugs] [Maniphest] [Unblock] T110022: Create a library with HTTP related functions/code

2018-07-23 Thread BPirkle
BPirkle closed subtask T139169: Add non-parallel MultiHttpClient fallback for environments that don't have curl available as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T110022EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BPirkleCc: