Page MenuHomePhabricator

matej_suchanek (Matěj Suchánek)
Spy

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 12 2014, 12:35 PM (440 w, 5 d)
Availability
Available
IRC Nick
matej_suchanek
LDAP User
Matěj Suchánek
MediaWiki User
Matěj Suchánek [ Global Accounts ]

Admin at cswiki and Wikidata. Tech-Ambassadors, +2 on MediaWiki. Contribute to Pywikibot.

Recent Activity

Yesterday

matej_suchanek claimed T332751: Uncaught ConditionLimitException if the condition limit is reached when saving a filter.

I think we can just disable the condition limit in this context.

Fri, Mar 24, 3:43 PM · Patch-For-Review, AbuseFilter
matej_suchanek added a comment to T331720: pywikibot does not respond to my calls.

I think -lang:ckb is the false trace here. The upstream call that throws the exception is langlinks = page.langlinks(). There is probably an interwiki link to a site that Pywikibot does not recognize.

Fri, Mar 24, 2:02 PM · Pywikibot
matej_suchanek added a comment to T328769: Enhance Pywikibot.Page with is_person method.

This is too Wikimedia-specific (or even Wikipedia-specific). I'd prefer having this as a utility function or application logic rather than making it part of the model.

Fri, Mar 24, 1:59 PM · Patch-For-Review, Pywikibot
matej_suchanek added a project to T332341: getSitelink() method reports incorrect page when a page is not linked to Data repo.: good first task.

This is the source of the exception:

Fri, Mar 24, 1:51 PM · good first task, Pywikibot
matej_suchanek added a comment to T331796: Do not regress template counter values.

The reason for the regression is T215247. Imagine you have the archive partitioned by the year (month, etc.) and the counter. Then, by the year's end, the counter could have increased up to 5. When the year ticks, the counter stays at 5, but you want to start from 1. We solve this by having the bot check for archive existence and decrement the counter in a loop until it finds an existing archive.

Fri, Mar 24, 1:36 PM · Pywikibot-archivebot.py, Pywikibot
matej_suchanek updated the task description for T332928: Parser::parse() should take a RevisionRecord, not a string.
Fri, Mar 24, 12:44 PM · Parsoid, MediaWiki-Parser

Tue, Mar 14

matej_suchanek added a comment to T221097: The most commonly used date format in the Czech Republic produces wrong date when used as a value in Wikidata.

The script is here: P45844. But it can only test "all numeric" dates, such as "14. 3. 2023". So it makes sense for all languages that need to recognize inputs like these.

Tue, Mar 14, 8:29 AM · Wikidata Dev Team (Sprint-∞), User-Michael, wdwb-tech, Patch-For-Review, I18n, Wikidata
matej_suchanek created P45844 parsevalue script.
Tue, Mar 14, 8:19 AM

Mon, Mar 13

matej_suchanek updated subscribers of T331787: Repeated icons on Special:AbuseFilter/examine/log and Special:AbuseFilter/test.
Mon, Mar 13, 8:13 AM · MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), AbuseFilter
matej_suchanek updated subscribers of T331830: Excessive icons appear when examining an edit using the AbuseFilter.
Mon, Mar 13, 8:13 AM · AbuseFilter

Mon, Mar 6

matej_suchanek added a member for Trusted-Contributors: Want.
Mon, Mar 6, 8:57 AM

Fri, Mar 3

matej_suchanek assigned T325988: MonthNameUnlocalizer may unlocalize dates in an undesired way to Lucas_Werkmeister_WMDE.
Fri, Mar 3, 6:37 PM · Patch-For-Review, Wikidata
matej_suchanek closed T324392: Fix unintentional side-effect of MwDateFormatParserFactory as Resolved.
Fri, Mar 3, 6:35 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), MediaWiki-extensions-WikibaseRepository, Wikidata
matej_suchanek closed T324392: Fix unintentional side-effect of MwDateFormatParserFactory, a subtask of T221097: The most commonly used date format in the Czech Republic produces wrong date when used as a value in Wikidata, as Resolved.
Fri, Mar 3, 6:34 PM · Wikidata Dev Team (Sprint-∞), User-Michael, wdwb-tech, Patch-For-Review, I18n, Wikidata

Thu, Mar 2

matej_suchanek created T331060: Add link sometimes inserts <nowiki/> tag.
Thu, Mar 2, 8:27 PM · Growth-Team (Current Sprint), Add-Link

Wed, Mar 1

matej_suchanek added a project to T311383: Datatype “point in time” does not accept initial caps for months (e.g. 13 Gen 1803) for some languages: TestMe.
Wed, Mar 1, 9:25 AM · TestMe, Wikidata-Campsite, DataValues, Wikidata
matej_suchanek added a subtask for T87764: Bugs related to time datatype (tracking): T311383: Datatype “point in time” does not accept initial caps for months (e.g. 13 Gen 1803) for some languages.
Wed, Mar 1, 9:24 AM · Tracking-Neverending, Wikidata
matej_suchanek added a parent task for T311383: Datatype “point in time” does not accept initial caps for months (e.g. 13 Gen 1803) for some languages: T87764: Bugs related to time datatype (tracking).
Wed, Mar 1, 9:24 AM · TestMe, Wikidata-Campsite, DataValues, Wikidata
matej_suchanek added a project to T294683: Portuguese date format is not accepted as a valid one when manually adding to Wikidata: TestMe.
Wed, Mar 1, 9:15 AM · TestMe, Wikidata
matej_suchanek added a subtask for T87764: Bugs related to time datatype (tracking): T294683: Portuguese date format is not accepted as a valid one when manually adding to Wikidata.
Wed, Mar 1, 9:14 AM · Tracking-Neverending, Wikidata
matej_suchanek added a parent task for T294683: Portuguese date format is not accepted as a valid one when manually adding to Wikidata: T87764: Bugs related to time datatype (tracking).
Wed, Mar 1, 9:14 AM · TestMe, Wikidata
matej_suchanek added a project to T330799: Correct documentation of site.watched_pages(): good first task.
Wed, Mar 1, 8:13 AM · good first task, Pywikibot, Pywikibot-Documentation

Feb 21 2023

matej_suchanek added a parent task for T164134: Implement pagination in ChangesList backend: T20228: Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI.
Feb 21 2023, 9:06 AM · MediaWiki-Recent-changes
matej_suchanek added a subtask for T20228: Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI: T164134: Implement pagination in ChangesList backend.
Feb 21 2023, 9:06 AM · Growth-Team, MediaWiki-Recent-changes

Feb 19 2023

matej_suchanek edited projects for T190529: After saving a statement, tag the change for review if it violates some constraints, added: Wikidata data quality and trust; removed Wikibase-Quality.
Feb 19 2023, 2:04 PM · Wikidata data quality and trust, Wikibase-Quality-Constraints, Wikidata

Feb 18 2023

matej_suchanek added a comment to T221097: The most commonly used date format in the Czech Republic produces wrong date when used as a value in Wikidata.

I have made a visualization of how each day is handled.

Feb 18 2023, 12:47 PM · Wikidata Dev Team (Sprint-∞), User-Michael, wdwb-tech, Patch-For-Review, I18n, Wikidata

Feb 17 2023

matej_suchanek added a comment to T124214: Allow filtering based on tag on Special:NewFiles.

I will try to summarize what I have learned.
The query planner may start from the image table (iterating rows by img_timestamp in descending order), find the matching row in recentchanges (likely using rc_namespace_title_timestamp or rc_name_type_patrolled_timestamp index) and look up ct_rc_id = rc_id AND ct_tag_id = # in change_tag (also indexed). If the chosen tag is rare (or hasn't been used recently), the scan of the image table will take a lot of time, and the query will time out.

Feb 17 2023, 11:42 AM · Patch-For-Review, Growth-Team-Filtering, User-Marostegui, Growth-Team, MediaWiki-Change-tagging, MediaWiki-Recent-changes, Multimedia, Commons, User-Josve05a
matej_suchanek reopened T34038: In enhanced RecentChanges, there is a link for diff between current and current revision as "In Progress".
Feb 17 2023, 9:55 AM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Growth-Team, MediaWiki-Recent-changes

Feb 11 2023

matej_suchanek added a comment to T124214: Allow filtering based on tag on Special:NewFiles.

Does STRAIGHT_JOIN have anything to do with that? Would something like the fix for T298225 (SpecialRecentChanges::isDenseTagFilter) help?

Feb 11 2023, 5:44 PM · Patch-For-Review, Growth-Team-Filtering, User-Marostegui, Growth-Team, MediaWiki-Change-tagging, MediaWiki-Recent-changes, Multimedia, Commons, User-Josve05a
matej_suchanek added a comment to T305302: Provide tests for Lexeme classes.

Please upload your changes as a patch for review to Gerrit, where the code can be reviewed.

Feb 11 2023, 3:04 PM · Pywikibot-tests, Pywikibot-Wikidata, Pywikibot
matej_suchanek closed T174350: Newly created pages disappear from Special:NewPages after rename and redirect removal. as Resolved.

I believe this is another problem solved by the fix for T307865.

Feb 11 2023, 2:33 PM · MediaWiki-Special-pages
matej_suchanek added a comment to T329367: Special:Contributions has duplicate help link.

It does not display on https://en.wikipedia.beta.wmflabs.org/wiki/Special:Contributions?safemode=1, so it seems to be some local customization.

Feb 11 2023, 2:32 PM · MW-1.40-notes (1.40.0-wmf.24; 2023-02-20), Growth-Team, MediaWiki-Special-pages, Regression

Feb 5 2023

matej_suchanek added a comment to T305302: Provide tests for Lexeme classes.

Yes, or wikibase_edit_tests.py, if you plan testing write actions.

Feb 5 2023, 5:02 PM · Pywikibot-tests, Pywikibot-Wikidata, Pywikibot

Feb 4 2023

matej_suchanek awarded T327662: Enable people to unsubscribe on Special:TopicSubscriptions without having to reload the page each time a Like token.
Feb 4 2023, 2:39 PM · Verified, MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), Editing-team (Kanban Board), DiscussionTools
matej_suchanek added a project to T71597: Moving a page without redirect leaves the link blue in RecentChanges: TestMe.
Feb 4 2023, 1:14 PM · Growth-Team, TestMe, MediaWiki-Recent-changes
matej_suchanek added a project to T97116: Page deleted, however almost 2 hours later still visible in Recent Changes: TestMe.
Feb 4 2023, 1:04 PM · Growth-Team, MediaWiki-Recent-changes
matej_suchanek added a project to T270843: Mass-created items not in recentchanges table: TestMe.
Feb 4 2023, 1:03 PM · TestMe, Wikidata
matej_suchanek added a project to T265037: User Script error: "ReferenceError: wikibase is not defined": TestMe.
Feb 4 2023, 1:03 PM · TestMe, Wikidata

Feb 3 2023

matej_suchanek added a comment to T328070: Upload with categories does not have the category addition shown in Watchlist.

I can't say it is okay, but it's somewhat understandable, given that the entries keep a reference to the revision, which the filter is supposed to evaluate.
For the time being, it's necessary to find an unconfusing way of presentation, such as:

Feb 3 2023, 9:19 AM · Growth-Team, MediaWiki-Watchlist, CatWatch
matej_suchanek merged task T162606: Watchlist should not hide page categorization after page is edited into T130888: Category addition/removal should be displayed in the watchlist independently of further edits on articles.
Feb 3 2023, 8:57 AM · Growth-Team-Filtering, WMDE-TechWish-Maintenance, Regression, Growth-Team, CatWatch, MediaWiki-Categories, MediaWiki-Watchlist
matej_suchanek merged T162606: Watchlist should not hide page categorization after page is edited into T130888: Category addition/removal should be displayed in the watchlist independently of further edits on articles.
Feb 3 2023, 8:56 AM · CatWatch

Feb 2 2023

matej_suchanek closed T211372: wikibase-api-not-recognized-language should include the invalid language code as Resolved.
Feb 2 2023, 6:35 PM · MW-1.40-notes (1.40.0-wmf.18; 2023-01-09), Wikidata
matej_suchanek added a comment to T328070: Upload with categories does not have the category addition shown in Watchlist.

Cannot reproduce.

obrazek.png (511×1 px, 136 KB)

Feb 2 2023, 5:58 PM · Growth-Team, MediaWiki-Watchlist, CatWatch
matej_suchanek closed T307163: [minor] cswiki: the icon mw-ui-icon-before mw-ui-icon-vector-gadget-pt-courses is not displayed as Resolved.

https://cs.wikipedia.org/wiki/MediaWiki:Gadget-courses.css

Feb 2 2023, 9:43 AM · Reading-Web-Local-Wiki-Issues

Feb 1 2023

matej_suchanek added a comment to T325988: MonthNameUnlocalizer may unlocalize dates in an undesired way.

I believe it doesn't. This problem occurs in PhpDateTimeParser, which is used after the other two fixed parsers. So as long as they "catch" all these dates (and I hope they now do), PhpDateTimeParser simply won't be used and this bug should not happen.

Feb 1 2023, 6:35 PM · Patch-For-Review, Wikidata
matej_suchanek added a comment to T305302: Provide tests for Lexeme classes.

Yes, Pywikibot already uses that library.

Feb 1 2023, 6:14 PM · Pywikibot-tests, Pywikibot-Wikidata, Pywikibot
matej_suchanek closed T327603: Contributions link in entries of Special:AbuseLog are always blue, even for users without contributions as Resolved.
Feb 1 2023, 12:45 PM · MW-1.40-notes (1.40.0-wmf.21; 2023-01-30), Regression, AbuseFilter

Jan 26 2023

matej_suchanek added a project to T132232: Don't perform word-level diff when it makes no sense: TestMe.

I think this was fixed (or at least improved) with T139603: Show text changes when moving text chunks (#2). No screenshot was provided.

obrazek.png (492×2 px, 89 KB)

Jan 26 2023, 9:27 AM · TestMe, wikidiff2
matej_suchanek added a project to T37464: Only highlight the characters that changed, not the whole line: TestMe.

The link is dead, and no screenshot / sample text to reproduce was provided.

Jan 26 2023, 9:26 AM · TestMe, wikidiff2, I18n
matej_suchanek updated the task description for T326038: Article history: diffs regarding additions to existing list items are shown inconsistently. .
Jan 26 2023, 9:20 AM · wikidiff2
matej_suchanek updated the task description for T197850: Unchanged words with diacritics are highlighted in diff when thai characters are added or removed.
Jan 26 2023, 9:12 AM · wikidiff2
matej_suchanek merged T178779: Wikipedia flags the whole paragraph as different when only a small change was made. into T164795: Added or removed lines in between changes messes with diff alignment.
Jan 26 2023, 9:08 AM · wikidiff2
matej_suchanek merged task T178779: Wikipedia flags the whole paragraph as different when only a small change was made. into T164795: Added or removed lines in between changes messes with diff alignment.
Jan 26 2023, 9:07 AM · wikidiff2
matej_suchanek changed the status of T307865: Don't delete recent changes entries associated with the title when deleting a page from Open to In Progress.
Jan 26 2023, 7:30 AM · MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), Growth-Team (Current Sprint), MediaWiki-Recent-changes

Jan 25 2023

matej_suchanek added a comment to T307865: Don't delete recent changes entries associated with the title when deleting a page.

Regarding T140960, how does it relate?

Jan 25 2023, 1:53 PM · MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), Growth-Team (Current Sprint), MediaWiki-Recent-changes
matej_suchanek changed the status of T327562: Special:GlobalBlockList and api's action=query&list=globalblocks showing expired entries from Open to In Progress.
Jan 25 2023, 8:35 AM · MW-1.40-notes (1.40.0-wmf.21; 2023-01-30), GlobalBlocking

Jan 24 2023

matej_suchanek added a comment to T124214: Allow filtering based on tag on Special:NewFiles.

The above patch adds an optional single-tag filter (incl. inversion). It uses the recentchanges table (already joined when "Hide patrolled uploads" was selected), which limits the results to the last 30 days.
The following queries (filter for/out uploads with the "cross-wiki-upload" tag, all or unpatrolled only) can be tested for performance:

Jan 24 2023, 1:58 PM · Patch-For-Review, Growth-Team-Filtering, User-Marostegui, Growth-Team, MediaWiki-Change-tagging, MediaWiki-Recent-changes, Multimedia, Commons, User-Josve05a
matej_suchanek changed the status of T327603: Contributions link in entries of Special:AbuseLog are always blue, even for users without contributions from Open to In Progress.
Jan 24 2023, 1:56 PM · MW-1.40-notes (1.40.0-wmf.21; 2023-01-30), Regression, AbuseFilter

Jan 20 2023

matej_suchanek added a comment to T308265: Use inline re.flags in Pywikibot.

No, keep it for now.

Jan 20 2023, 8:32 AM · good first task, Pywikibot
matej_suchanek reopened T308261: Access match object groups by item name instead of group() method as "Open".
Jan 20 2023, 8:30 AM · good first task, Pywikibot
matej_suchanek reopened T308261: Access match object groups by item name instead of group() method, a subtask of T308258: Pywikibot 8 tasks (Tracking), as Open.
Jan 20 2023, 8:30 AM · Pywikibot

Jan 18 2023

matej_suchanek added a subtask for T186200: Rewrite Wikibase data model implementation: T327205: Pywikibot Claim inconsistency with sources vs references.
Jan 18 2023, 8:21 AM · Epic, Pywikibot-RfCs, Pywikibot-Wikidata, Pywikibot
matej_suchanek added a parent task for T327205: Pywikibot Claim inconsistency with sources vs references: T186200: Rewrite Wikibase data model implementation.
Jan 18 2023, 8:21 AM · Pywikibot-Wikidata, Pywikibot

Jan 15 2023

matej_suchanek merged T33431: Link from recent revisions goes to "no such special page" into T74672: Wrong error message after deleting an article.
Jan 15 2023, 10:41 AM · MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), Growth-Team (Current Sprint), MediaWiki-Watchlist, MediaWiki-Revision-deletion
matej_suchanek merged task T33431: Link from recent revisions goes to "no such special page" into T74672: Wrong error message after deleting an article.
Jan 15 2023, 10:40 AM · MediaWiki-Special-pages

Jan 14 2023

matej_suchanek merged T327005: Bundle Extension:TemplateStyles with MediaWiki core into T327006: Bundle Extension:TemplateStyles with MediaWiki core.
Jan 14 2023, 11:04 AM · MW-1.40-release, MediaWiki-Releasing, TemplateStyles
matej_suchanek merged task T327005: Bundle Extension:TemplateStyles with MediaWiki core into T327006: Bundle Extension:TemplateStyles with MediaWiki core.
Jan 14 2023, 11:04 AM
matej_suchanek added a comment to T156920: Added_lines and removed_lines are computed wrongly for MassMessage pages.

MassMessage implements it's own diff engine that can be used. It's called MassMessageListDiffEngine.

Jan 14 2023, 10:44 AM · MassMessage, AbuseFilter
matej_suchanek changed the status of T65632: AbuseFilter *_links variables incorrect on item edits. from Open to In Progress.
Jan 14 2023, 9:33 AM · Patch-For-Review, Wikidata data quality and trust, AbuseFilter, Wikidata, patch-welcome, MediaWiki-extensions-WikibaseRepository

Jan 12 2023

matej_suchanek merged T44045: Option to show/hide user creation entries in the RecentChanges page into T321155: RC should not be flooded with newuser log entries on SUL wikis.
Jan 12 2023, 6:37 PM · User-notice-archive, MW-1.40-notes (1.40.0-wmf.7; 2022-10-24), MediaWiki-Recent-changes, Growth-Team
matej_suchanek merged task T44045: Option to show/hide user creation entries in the RecentChanges page into T321155: RC should not be flooded with newuser log entries on SUL wikis.
Jan 12 2023, 6:37 PM · Growth-Team-Filtering, Growth-Team, MediaWiki-Recent-changes
matej_suchanek added a comment to T307865: Don't delete recent changes entries associated with the title when deleting a page.

From the patrollers' point of view, the current behavior is a bit destructive because it irreversibly deletes the rows and leaves no way to patrol them later, even though they have not expired yet. It's also inconsistent with the situation when the page is moved without leaving the redirect. Then, the rows are kept. Therefore, I second this request.

Jan 12 2023, 12:29 PM · MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), Growth-Team (Current Sprint), MediaWiki-Recent-changes

Jan 11 2023

matej_suchanek created T326762: Support Wikimedia Commons Query Service.
Jan 11 2023, 9:57 PM · Pywikibot, Pywikibot-Wikidata, Pywikibot-Commons
matej_suchanek added a comment to T246814: Wikidata Tours pollutes Recent Changes.

Note that T174349: Allow tag filter on Special:RecentChanges and Watchlist to be inverted (enable the not operator) has finally been implemented. Instead of using CSS, just exclude (highlight) the tag from your default recent changes view. I guess this task can be closed.

Jan 11 2023, 9:06 PM · Wikidata

Jan 9 2023

matej_suchanek added a project to T308265: Use inline re.flags in Pywikibot: good first task.
Jan 9 2023, 9:52 AM · good first task, Pywikibot
matej_suchanek added a project to T308261: Access match object groups by item name instead of group() method: good first task.
Jan 9 2023, 9:52 AM · good first task, Pywikibot
matej_suchanek added a comment to T325988: MonthNameUnlocalizer may unlocalize dates in an undesired way.

"all-numeric" should already be handled in both TimeParserFactory and MonthNameUnlocalizer, if I got it right.

Jan 9 2023, 9:27 AM · Patch-For-Review, Wikidata
matej_suchanek closed T326510: How can I obtain the resolution or the image size from an SDC image via Pywikibot? as Invalid.

SDC does not seem to provide this information. It's accessible for files on all wikis using:

Jan 9 2023, 8:36 AM · SDC-Statements, Structured-Data-Backlog, Pywikibot

Jan 6 2023

matej_suchanek changed the status of T211372: wikibase-api-not-recognized-language should include the invalid language code from Open to In Progress.
Jan 6 2023, 6:11 PM · MW-1.40-notes (1.40.0-wmf.18; 2023-01-09), Wikidata
matej_suchanek added a comment to T325988: MonthNameUnlocalizer may unlocalize dates in an undesired way.

But in the case of 5. vs. 4., the length is the same; since PHP 8.0, uksort retains the original order in that case, but in production (PHP 7.4, until T319432) the sort is not stable and may apparently swap the dates around arbitrarily.

Jan 6 2023, 6:09 PM · Patch-For-Review, Wikidata

Jan 4 2023

matej_suchanek closed T230295: old_content_model and new_content_model aren't set when examinating RC entries as Resolved.
Jan 4 2023, 6:09 PM · MW-1.34-notes (1.34.0-wmf.20; 2019-08-27), AbuseFilter
matej_suchanek closed T173195: Implement federated Wikibase in Pywikibot, a subtask of T223820: Properly implement structured data access on Commons in Pywikibot, as Resolved.
Jan 4 2023, 6:09 PM · User-Sandra_Fauconnier_WMSE, WMSE-Content-partnerships-support-2021-Software-development, Wikimedia-Hackathon-2020, Commons, StructuredDataOnCommons, Pywikibot, Pywikibot-Wikidata, Pywikibot-Commons
matej_suchanek closed T173195: Implement federated Wikibase in Pywikibot as Resolved.
Jan 4 2023, 6:09 PM · Wikidata, SDC General, Pywikibot, Pywikibot-Commons, Pywikibot-Wikidata
matej_suchanek awarded T326162: Provide an interactive undo tool a Like token.
Jan 4 2023, 6:01 PM · MediaWiki-Page-editing

Jan 2 2023

matej_suchanek added a comment to T324392: Fix unintentional side-effect of MwDateFormatParserFactory.

It's still quite a mystery to me why that happens and why it happens for Czech, but not e.g., English. (I suspect the results come from PhpDateTimeParser.)

Jan 2 2023, 11:57 AM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), MediaWiki-extensions-WikibaseRepository, Wikidata

Jan 1 2023

matej_suchanek added a comment to T189321: Support for Lexicographical data/WikibaseLexeme in Pywikibot.

There are still some gaps, and the support is somewhat lame (e.g., not possible to create a lexeme). I had already updated a similar warning on https://www.wikidata.org/wiki/Wikidata:Creating_a_bot.

Jan 1 2023, 6:28 PM · Wikidata, Wikidata Lexicographical data, Pywikibot, Pywikibot-Wikidata

Dec 30 2022

matej_suchanek added a project to T326020: Wikibase: Clarify error message on type mismatch: Wikidata.
Dec 30 2022, 1:58 PM · wdwb-tech, Wikidata

Dec 28 2022

matej_suchanek created T325988: MonthNameUnlocalizer may unlocalize dates in an undesired way.
Dec 28 2022, 6:46 PM · Patch-For-Review, Wikidata

Dec 25 2022

matej_suchanek added a comment to T325915: pywikibot throws mwoauth-invalid-authorization-invalid-user when calling editEntity() with no arguments.

Maybe there is a way to optimize SiteLinkCollection.toJSON further so that we don't do unnecessary API calls (though they get cached).
But this would not fix the problem because sometimes you really have to read a different site information (this is the operation that failed) and it should not matter whether you've already got an account there or not. Maybe something changed upstream?

Dec 25 2022, 12:08 PM · Pywikibot-Wikidata, Pywikibot

Dec 16 2022

matej_suchanek added a comment to T322178: Certain Wikipedia Article Infoboxes: "Failed to render property programming language: programming language property not found.".

Hi, this seems to be an on-wiki content problem. These are not tracked in Phabricator.

It is not. Please reread the above messages from other users a little more carefully.

Dec 16 2022, 7:13 AM

Dec 15 2022

matej_suchanek added a comment to T325062: Database error when trying to view user logs of ST47ProxyBot on enwiki.

So it does FORCE INDEX (log_actor_type_time), which is defined as

Dec 15 2022, 6:00 PM · Patch-For-Review, Wikimedia-Slow-DB-Query, Wikimedia-production-error, Performance Issue, MediaWiki-Logevents

Dec 14 2022

matej_suchanek added a comment to T324392: Fix unintentional side-effect of MwDateFormatParserFactory.

I was primarily focused on fixing the parent task T221097. When you use Czech (cs) as the interface language and type some dates in the format "DD.MM.YYYY" or "DD. MM. YYYY", they are either parsed with the day and month swapped or the produced date is completely nonsensical. (This does not happen when you use English.)
For example:

  • "11. 12. 2022" is interpreted as "November 12th, 2022", although "December 11th, 2022" is expected.
  • "07.05.1997" is interpreted as "June 30th, 1997" (huh?), although "May 7th, 1997" is expected.
Dec 14 2022, 8:48 AM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), MediaWiki-extensions-WikibaseRepository, Wikidata

Dec 13 2022

matej_suchanek moved T119072: Allow tag filter on Special:Contributions to be inverted (enable the not operator) from To Triage to In current Tech/News draft on the User-notice board.
Dec 13 2022, 7:30 AM · User-notice-archive, Community-Wishlist-Survey-2022, MediaWiki-Change-tagging, MediaWiki-Special-pages
matej_suchanek awarded T119072: Allow tag filter on Special:Contributions to be inverted (enable the not operator) a Like token.
Dec 13 2022, 7:29 AM · User-notice-archive, Community-Wishlist-Survey-2022, MediaWiki-Change-tagging, MediaWiki-Special-pages

Dec 10 2022

matej_suchanek created T324887: Inconsistent and wasteful insertion of Wayback links on cswiki.
Dec 10 2022, 5:25 PM · InternetArchiveBot, Internet-Archive

Dec 6 2022

matej_suchanek added a comment to T324401: Allow Pywikibot to stack edits to items.

Plus it requires knowledge of how the editEntity dictionary needs to be structured, which isn't readily available for non-trivial examples.

Dec 6 2022, 7:13 AM · Pywikibot, Pywikibot-Wikidata

Dec 4 2022

Restricted Application added a project to T221097: The most commonly used date format in the Czech Republic produces wrong date when used as a value in Wikidata: wdwb-tech.

I have made a visualization of how each day is handled. It is interesting to see the patterns and also how they change depending on the input format and year:

Dec 4 2022, 11:30 AM · Wikidata Dev Team (Sprint-∞), User-Michael, wdwb-tech, Patch-For-Review, I18n, Wikidata
matej_suchanek added a comment to T324401: Allow Pywikibot to stack edits to items.

Just make all changes to the item's attributes and then call item.editEntity:

Dec 4 2022, 8:52 AM · Pywikibot, Pywikibot-Wikidata

Dec 3 2022

matej_suchanek created T324392: Fix unintentional side-effect of MwDateFormatParserFactory.
Dec 3 2022, 2:58 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), MediaWiki-extensions-WikibaseRepository, Wikidata
matej_suchanek added a comment to T36320: Remove obsolete recentchanges.rc_new database field.

There are several places in Wikimedia deployed code where rc_new is still used in queries:

Dec 3 2022, 11:38 AM · Growth-Team-Filtering, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Patch-For-Review, User-DannyS712, Growth-Team, MediaWiki-Recent-changes, Schema-change