Page MenuHomePhabricator

Jarekt (Jarek Tuszynski)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Nov 5 2014, 5:13 PM (271 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Jarekt [ Global Accounts ]

Admin on Commons and Wikidata

Recent Activity

Yesterday

Jarekt added a comment to T227116: Enhanced support for geo-coordinate Wikibase datatype.

I just tried to use the current GUI to add "coordinates of the point of view" property to one of my photographs (File:Seneca_Rocks_climbing_-_13.jpg), and it does not work very well, we really need Wikidata like interface with a single input window.

Mon, Jan 20, 3:02 AM · MW-1.35-notes (1.35.0-wmf.15; 2020-01-14), Patch-For-Review, Structured-Data-Backlog (Current Work), Structured Data Engineering

Fri, Jan 17

Jarekt created T243086: Error "serialization is required for constructing a EntityId and must be a string" when adding a statement to SDC.
Fri, Jan 17, 4:58 PM · Structured-Data-Backlog (Current Work), Wikidata, Structured Data Engineering, SDC General

Fri, Jan 10

Jarekt added a comment to T227116: Enhanced support for geo-coordinate Wikibase datatype.

I just noticed that there is nothing in the original description that constraints this task to Structured Data on Commons (SDC), and the enhancements could also apply to Wikidata. My comments above were meant mostly for SDC, although some could be applied to Wikidata as well, like providing precision in meters (which is than converted to arc degrees), or more intuitive way to pick a globe for locations on other planets. Could someone clarify if the scope is SDC or SDC+Wikidata?

Fri, Jan 10, 3:33 PM · MW-1.35-notes (1.35.0-wmf.15; 2020-01-14), Patch-For-Review, Structured-Data-Backlog (Current Work), Structured Data Engineering
Jarekt added a comment to T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items.

Great I will start replacing hacks like "M" .. mw.title.getCurrentTitle().id with "clean" code

Fri, Jan 10, 2:10 AM · Structured-Data-Backlog (Current Work), Wikidata, Structured Data Engineering, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient
Jarekt added a comment to T227116: Enhanced support for geo-coordinate Wikibase datatype.

Two more points:

Fri, Jan 10, 1:46 AM · MW-1.35-notes (1.35.0-wmf.15; 2020-01-14), Patch-For-Review, Structured-Data-Backlog (Current Work), Structured Data Engineering
Jarekt added a comment to T227116: Enhanced support for geo-coordinate Wikibase datatype.

A few comments:

Fri, Jan 10, 1:22 AM · MW-1.35-notes (1.35.0-wmf.15; 2020-01-14), Patch-For-Review, Structured-Data-Backlog (Current Work), Structured Data Engineering

Mon, Dec 30

Jarekt awarded T230314: Show constraint violations on SDC statements a Barnstar token.
Mon, Dec 30, 2:29 PM · Structured-Data-Backlog, Structured Data Engineering, Wikibase-Quality-Constraints, StructuredDataOnCommons, Wikidata

Sun, Dec 29

Jarekt added a comment to T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0".

According to https://commons.wikimedia.org/wiki/Commons:Village_pump/Technical#Photograph_template_problem the issue still exist,

Sun, Dec 29, 3:08 AM · Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-Scribunto, Commons, SDC General

Sun, Dec 22

Jarekt updated subscribers of T241338: Allow linking to specific statements in Structured data on Commons.

In T222321 @dcausse also thought we should have

Sun, Dec 22, 11:44 PM · Structured-Data-Backlog, SDC General, Wikidata, Commons
Jarekt created T241338: Allow linking to specific statements in Structured data on Commons.
Sun, Dec 22, 11:37 PM · Structured-Data-Backlog, SDC General, Wikidata, Commons

Dec 20 2019

Jarekt added a comment to T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch).

Yes @Gehel thanks for reply. One use case, I could think of now would be for finding wikidata items IDs which are used in depict and other statements which point to redirects. On wikidata there are some bots that replace redirected IDs with the new IDs, but on SDC there is no way at to moment to run a query to find such IDs.

Dec 20 2019, 3:37 AM · Discovery-Search (Current work), Epic, Wikidata-Query-Service, SDC General, Commons, Wikidata

Dec 17 2019

Jarekt added a comment to T240563: broken Lua's mw.wikibase.entity:getSitelink function.

I purged all the files in Category:Pages_with_script_errors and there are no more errors in file namespace.

Dec 17 2019, 2:46 AM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata

Dec 16 2019

Jarekt added a comment to T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch).

Hey, as a proof of concept, i've adapted my VizQuery tool to use the beta endpoint.

Dec 16 2019, 2:54 AM · Discovery-Search (Current work), Epic, Wikidata-Query-Service, SDC General, Commons, Wikidata
Jarekt added a comment to T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch).

Hey, as a proof of concept, i've adapted my VizQuery tool to use the beta endpoint.

Dec 16 2019, 2:47 AM · Discovery-Search (Current work), Epic, Wikidata-Query-Service, SDC General, Commons, Wikidata
Jarekt added a comment to T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons.

It seems like it is an user operated bot that updates redirects on Wikidata. I proposed to create similar got on Commons, see Commons:Bots/Work_requests#update_redirected_wikidata_items_used_by_SDC but there does not seem to be much response. Part of the issue is that at the moment there does not seem to be a way to even query for such redirects. I tried to write one, like this one using sdcquery.wmflabs.org, but could not get it to work. I tried to get some advice on creating such a query at Wikidata:Request_a_query#finding_redirected_wikidata_items_used_by_SDC but got no replies. So I guess we are blocked by lack of reliable querying system that can access both SDC and Wikidata.

Dec 16 2019, 2:19 AM · Wikidata, SDC General

Dec 13 2019

Jarekt updated subscribers of T240563: broken Lua's mw.wikibase.entity:getSitelink function.
Dec 13 2019, 2:33 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata
Jarekt added a comment to T240563: broken Lua's mw.wikibase.entity:getSitelink function.

After my yesterday change to Module:Wikidata label, the 30k files affected got fixed. Now the only files in Category:Pages_with_script_errors are couple hundred Gauguin paintings. Lets not "fix" those files so we can keep on diagnosing the issue. I did try to isolate the issue and found the following:

Dec 13 2019, 2:30 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata
Jarekt added a comment to T240563: broken Lua's mw.wikibase.entity:getSitelink function.

I believe that whatever I ended up doing to remove the getSitelink method from MediaInfo entities, accidentally took it away from the parent class as well. Am looking into it!

Dec 13 2019, 1:53 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata
Jarekt added a comment to T236692: Implement MediaInfo-specific Lua library.

I do not like idea of different libraries. Some of the information to be stored, like dates or copyright info, might be exactly the same format I would like to have one code for parsing it and not have to create separate lua modules because we need different libraries for accessing the came data from 2 different repositories. We already had painful code break when documented function was removed from MediaInfo-specific library and somehow broke parsing of wikidata entities. Lets keep those interfaces as similar as possible instead of forking them.

Dec 13 2019, 3:20 AM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work)

Dec 12 2019

Jarekt added a comment to T240563: broken Lua's mw.wikibase.entity:getSitelink function.

I "fixed" the immediate line causing errors, and that seems to fix the pages. However the explanation still does not make much sense as the entities the module was operating on were Wikidata entities and not SDC's MediaInfo entities, and we should be able to look up sitelinks for them.

Dec 12 2019, 7:51 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata
Jarekt added a comment to T240563: broken Lua's mw.wikibase.entity:getSitelink function.

matthiasmullie and Lucas_Werkmeister_WMDE thanks for reply. I think I understand it now, so in the past we had the code with the same interface, documented in mw:Extension:Wikibase Client/Lua, that supported both processing of wikidata and SDC entities, and now we are moving in a now direction of having two different codes with different functions. That will make writing libraries that work with both Wikidata and SDC much harder.

Dec 12 2019, 6:40 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured-Data-Backlog (Current Work), Regression, StructuredDataOnCommons, Wikidata

Dec 8 2019

Jarekt created T240093: On Commons create optional "skin" for displaying structured data which mimics Wikidata look.
Dec 8 2019, 5:19 AM · Wikidata, SDC General
Jarekt added a comment to T237262: Tool for undoing Wikidata merges.

Here is an example:

Dec 8 2019, 1:45 AM · Wikidata, Wikidata-Gadgets

Dec 7 2019

Jarekt added a comment to T231952: [REQUEST] SDC metrics.

Amanda has also requested that in addition to the number of files they want to compare the metadata in them. Here's the mapping of template vs. sd metadata...


We are not entirely sure if it is possible to get data regarding template parameters from the data sources (data lake, mariadb replicas etc. ) we currently use. Will discuss with everyone next week to decide on this.

Dec 7 2019, 11:45 PM · Product-Analytics (Kanban)

Nov 22 2019

Jarekt added a comment to T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons.

I did not realized that we have volunteer run bot to fix redirects. I thought that was a task of internal wikidata software, the way page renames are automatically updated by wikimedia software (I assume?). Perhaps wikidata software should take over those tasks which will help with proper implementation of un-merge capabilities as discussed at T237262.

Nov 22 2019, 9:01 PM · Wikidata, SDC General

Nov 17 2019

Jarekt added a comment to T238390: Image attribution information in extmetadata API is wrapped in paragraphs.

Should be resolved now, with a new version of Module:Information. Please verify.

Nov 17 2019, 4:55 AM · CommonsMetadata, Regression, MediaWiki-API
Jarekt created T238484: Structured Data on Commons entities returned by mw.wikibase.getEntity lua function differ based on language of the viewer.
Nov 17 2019, 4:50 AM · Structured-Data-Backlog (Current Work), Wikibase-Lua, MediaWiki-extensions-WikibaseClient, SDC General, Wikidata

Nov 15 2019

Jarekt added a comment to T238390: Image attribution information in extmetadata API is wrapped in paragraphs.

As far as I can see, the CommonsMetadata extension hasn’t had any significant changes in a while, so this might be due to some change in its input (I’m not sure if it ingests wikitext or parser output HTML, actually). @Jarekt’s Lua version of Template:Information sounds like a potential candidate, though that’s just a guess at this point.

Nov 15 2019, 4:16 AM · CommonsMetadata, Regression, MediaWiki-API
Jarekt closed T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0" as Resolved.

c:Category:Pages_with_page_ID_set_to_zero is still empty. I will close this as resolved, and revive if I observe this issue again. If I run into it again I will try to get more info about images.

Nov 15 2019, 3:52 AM · Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-Scribunto, Commons, SDC General

Nov 13 2019

Jarekt added a comment to T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0".

Is it happening only when the page is first created? It's possible that we forgot to have Scribunto set the vary-page-id flag when the page ID is accessed in this way so MediaWiki knows to reparse the page after the page ID gets assigned.

Nov 13 2019, 2:46 PM · Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-Scribunto, Commons, SDC General
Jarekt added a comment to T14974: The newline added to a template, magic word, variable, or parser function that returns line-start wikicode formatting (*#:; {|) causes unexpected parsing.

I think this is an issue currently discussed on c:Template_talk:Information. I recently rewrote c:Template:Information in Lua. The Lua code was trying to mimic perfectly the behavior of the old template, producing the same html for most files. We run into troubles when one of the fields to the template was another template using wiki tables ("{| ... |}"). Those rendered correctly when used in the old wikicode based template, but not in the new Lua one. The patch we used was to slap "\n" before and after every field in the template. It makes all infoboxes look strange (extra space around each field of the template), but at least all the transclusions of the template render correctly (AFAIK). Placing "<nowiki/> in front of each field did not fix the issue. One solution I am exploring is for lua to test if the content of each field contain "{|" (and possibly other strings) and only add "\n" when detected. Other proposed solution involve changes to CSS files. Help with potential solutions would be appreciated as we can not experiment very much, since the template is used on 51M file pages and we are trying to keep edits to the minimum.

Nov 13 2019, 2:39 PM · Patch-For-Review, Epic, MediaWiki-Parser

Nov 11 2019

Jarekt created T237991: Changes to Structured Data on Commons should trigger page refresh.
Nov 11 2019, 3:20 PM · Commons, SDC General, Wikidata
Jarekt added a comment to T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0".

A sample for testing would be good.

Nov 11 2019, 2:58 PM · Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-Scribunto, Commons, SDC General
Jarekt created T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons.
Nov 11 2019, 3:18 AM · Wikidata, SDC General

Nov 10 2019

Jarekt added a comment to T237177: Create namespace alias MOD: for Module: on Commons.

I also do not think namespaces are necessary, I find them confusing especially when used in some permanent links.

Nov 10 2019, 3:29 AM · I18n, Wikimedia-Site-requests, Commons

Nov 9 2019

Jarekt added a comment to T237262: Tool for undoing Wikidata merges.

Another thing to take into consideration is that if merge operation triggers changes in Structured data on Commons, than unmerge should also undo those.

Nov 9 2019, 6:57 PM · Wikidata, Wikidata-Gadgets

Nov 8 2019

Jarekt created T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0".
Nov 8 2019, 4:51 PM · Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-Scribunto, Commons, SDC General

Nov 4 2019

Jarekt added a comment to T140124: Enable Merge gadget as default.

I am dealing with undoing a lot of bad merges where people merge two items that have little to do with each other, like item for painting of a person with the item for a person, etc. Before we make it even easier for new users to merge, we should get a system in place for easy unmerging. See T237262 .

Nov 4 2019, 3:31 PM · Wikidata, Wikidata-Gadgets
Jarekt created T237262: Tool for undoing Wikidata merges.
Nov 4 2019, 2:56 PM · Wikidata, Wikidata-Gadgets

Nov 1 2019

Jarekt added a comment to T236691: Implement alternative `SiteLinkLookup` for MediaInfo entities.

I think mw.wikibase.getSiteLinkPageName is called mw.wikibase.getSitelink according to the documentation. If getSiteLinkPageName is an alternative name than it does not seem to be documented. I apologize for nitpicking, but it is confusing.

Nov 1 2019, 2:48 PM · MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), Structured Data Engineering, Structured-Data-Backlog (Current Work)
Jarekt added a comment to T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items.

There is some overlap between this task and T236691, which I just noticed. Specifically that mw.wikibase.getEntityIdForCurrentPage is not working, and possibly issues with mw.wikibase.getEntity() without input parameters. However issues with getBestStatements is likey not related.

Nov 1 2019, 2:36 PM · Structured-Data-Backlog (Current Work), Wikidata, Structured Data Engineering, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient
Jarekt created T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items.
Nov 1 2019, 2:15 PM · Structured-Data-Backlog (Current Work), Wikidata, Structured Data Engineering, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient

Sep 26 2019

Jarekt added a comment to T99899: [Story] Looking up entities by external identifiers.

P1472 is not of datatype external identifier but string. (You can see this on the property page.)
Here is an example for one that works: https://www.wikidata.org/w/index.php?sort=relevance&search=haswbstatement%3AP650%3D77379&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1&ns120=1 Hope that helps.

Sep 26 2019, 2:33 AM · MW-1.32-notes (WMF-deploy-2018-05-08 (1.32.0-wmf.3)), Discovery-Search (Current work), Wikibase-Lua, User-Smalyshev, Story, Wikidata

Sep 25 2019

Jarekt added a comment to T99899: [Story] Looking up entities by external identifiers.

So how do we use this new feature?

Sep 25 2019, 3:25 PM · MW-1.32-notes (WMF-deploy-2018-05-08 (1.32.0-wmf.3)), Discovery-Search (Current work), Wikibase-Lua, User-Smalyshev, Story, Wikidata

Sep 22 2019

Jarekt closed T233436: NoLimitsPlugin to AutoWikiBrowser does not load as Resolved.
Sep 22 2019, 1:46 AM · AutoWikiBrowser
Jarekt added a comment to T233436: NoLimitsPlugin to AutoWikiBrowser does not load.

I fixed this by copying NoLimitsPlugin.dll to the base AWB directory, then right clicking --> Properties --> check "Unblock" (on Windows 10).

Sep 22 2019, 1:46 AM · AutoWikiBrowser

Sep 20 2019

Jarekt created T233436: NoLimitsPlugin to AutoWikiBrowser does not load.
Sep 20 2019, 4:08 PM · AutoWikiBrowser
Jarekt merged T230967: Add Wikidata to the list of projects supported by AutoWikiBrowser (all but the main namespace) into T210304: Add Wikidata as a supported project.
Sep 20 2019, 12:29 PM · Wikidata, AutoWikiBrowser
Jarekt merged task T230967: Add Wikidata to the list of projects supported by AutoWikiBrowser (all but the main namespace) into T210304: Add Wikidata as a supported project.
Sep 20 2019, 12:29 PM · AutoWikiBrowser
Jarekt added a comment to T230967: Add Wikidata to the list of projects supported by AutoWikiBrowser (all but the main namespace).

Duplicate of T210304. (Sorry forgot I already requested that a year ago)

Sep 20 2019, 12:28 PM · AutoWikiBrowser
Jarekt added a comment to T232290: Cannot log on to AWB in Commons.

I think this is related to already fixed bug T233070. I had the same issue and upgrading to version 6.1.0.1 resolved it.

Sep 20 2019, 12:22 PM · AutoWikiBrowser

Aug 22 2019

Jarekt created T230967: Add Wikidata to the list of projects supported by AutoWikiBrowser (all but the main namespace).
Aug 22 2019, 1:38 AM · AutoWikiBrowser

Jul 1 2019

Jarekt added a comment to T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items.

I do not speak php, but looking at the code Multichill linked to, it seems like the source code for getEntity can be found at EntityAccessor.php (line 139) which calls entityIdParser to convert string version of entity ID to an integer. The code for entityIdParser can be found here. Interestingly ItemId.php function checks that entity ID string fits /^Q[1-9]\d{0,9}\z/i regex pattern and than strips the "Q" from the begging of the string to get the integer. So in this code the entity IDs starting with "Q" are hardwired.

Jul 1 2019, 2:19 PM · MW-1.35-notes (1.35.0-wmf.3; 2019-10-22), Structured-Data-Backlog (Current Work), Structured Data Engineering, Structured-Data-Team-Current-Work, Patch-For-Review, Wikidata, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient
Jarekt added a comment to T114640: make Parser::getTargetLanguage aware of multilingual wikis.

For last decade or so Wikimedia Commons was relying on MediaWiki:Lang message to fetch user's preferred language. This message can also be found on many other multilingual projects, like Wikidata, Meta-wiki, Wikispecies, MediaWiki, foundation, etc. Current standard interface is {{int:Lang}} in templates and frame:callParserFunction( "int", "lang" ) in Lua. From the perspective of someone writing templates and lua codes that use this mechanism, I do not see much need to change the current interface. Perhaps it would be nicer for all the wikis to use the same mechanism without a need to set it up separately on each wiki, with a subpage for each language, but I would prefer to stick to the current interface ({{int:Lang}}) as changing it would trigger a need to update a lot of templates and modules on a lot of wikis.

Jul 1 2019, 1:38 PM · User-Daniel, Patch-For-Review, Wikidata-Sprint-2016-01-19, Wikidata-Sprint-2015-12-01, MediaWiki-Internationalization

Jun 26 2019

Jarekt added a comment to T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items.

Thank you for the update. Since SDC and Wikidata are based on the same underlying software, I was (naively) imagining that this task was more like extending mw.wikibase.getEntity to go to www.wikidata.org if input string starts with "Q" and go to commons.wikimedia.org if input string starts with "M". However apparently there is much more to it than that.

Jun 26 2019, 7:36 PM · MW-1.35-notes (1.35.0-wmf.3; 2019-10-22), Structured-Data-Backlog (Current Work), Structured Data Engineering, Structured-Data-Team-Current-Work, Patch-For-Review, Wikidata, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient

Jun 10 2019

Jarekt added a comment to T138332: interwiki links to/from Multilingual Wikisource.

I run into this problem, when dealing with unusual sitelinks, which are not displayed. For example Q62081484 seems to be an empty item with nothing in it other than label in italian, but closer look shows that it also has sitelink to https://wikisource.org/wiki/Li_fioreti_de_mess%C3%AA_san_Francescho. At the moment GUI does not allow you to see, or change it. According to this query there are only 11 items with sitelinks to old wikisource. We need to either remove them and prevent future creation, or show sitelink in GUI. Perhaps in "other sites" section, or as mulwikisource in wikisource section.

Jun 10 2019, 3:02 PM · Wikidata-Campsite, Wikisource, MediaWiki-Interwiki, Wikidata

May 26 2019

Jarekt awarded T223803: Write OpenRefine documentation a Like token.
May 26 2019, 1:50 AM · OpenRefine, Documentation, Wikimedia-Hackathon-2019
Jarekt closed T223837: Switch Commons {{book}} template to use Lua code already used by {{Artwork}} and {{Photograph}} templates as Resolved.
May 26 2019, 1:47 AM · Commons, Wikimedia-Hackathon-2019

May 22 2019

Jarekt added a comment to T222993: A tool to easily create institution templates on Wikimedia Commons.

Using internationalization through {[Autotranslate}} might be an overkill. You can probably create much simpler single template using {{LangSwitch}} template for internationalization.

May 22 2019, 2:32 PM · Wikimedia-Hackathon-2019
Jarekt added a comment to T224078: Author and Title not shown with Artwork template on Commons when Label and Description are edited on Wikidata.

Yann, I think I got it fixed in :c:Module:Artwork,. Please verify.

May 22 2019, 12:28 PM · Commons, Wikidata

May 19 2019

Jarekt triaged T223837: Switch Commons {{book}} template to use Lua code already used by {{Artwork}} and {{Photograph}} templates as Low priority.
May 19 2019, 4:33 PM · Commons, Wikimedia-Hackathon-2019
Jarekt created T223837: Switch Commons {{book}} template to use Lua code already used by {{Artwork}} and {{Photograph}} templates.
May 19 2019, 4:30 PM · Commons, Wikimedia-Hackathon-2019
Jarekt created T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items.
May 19 2019, 10:03 AM · MW-1.35-notes (1.35.0-wmf.3; 2019-10-22), Structured-Data-Backlog (Current Work), Structured Data Engineering, Structured-Data-Team-Current-Work, Patch-For-Review, Wikidata, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient
Jarekt created T223772: Extend #time parser function to display time in format specific to each language.
May 19 2019, 8:17 AM · ParserFunctions

May 15 2019

Jarekt updated Jarekt.
May 15 2019, 5:47 PM
Jarekt updated Jarekt.
May 15 2019, 5:46 PM

May 13 2019

Jarekt added a comment to T222995: Decide which prefixes to use for MediaInfo RDF.

I would vote for either option B (sdc:, sdcdata:) or option C (c-wd: ).

May 13 2019, 3:22 PM · User-Smalyshev, WikibaseMediaInfo, Wikidata-Query-Service, SDC General, Commons, Wikidata

Mar 22 2019

Jarekt added a comment to T217572: Can not save a new label, due to no-longer-valid stated reason that other item already has the same label and description.

I think this is duplicate of T106456

Mar 22 2019, 1:30 PM · TestMe, Wikidata

Mar 4 2019

Jarekt added a comment to T217572: Can not save a new label, due to no-longer-valid stated reason that other item already has the same label and description.

There is a lot of artworks where painter painted over and over the same theme, giving it the same title. Usually there is a different photo of the artwork and some difference in metadata, like holding institution and their internal ID number. Most labels of the paintings are just title and the descriptions are something like "painting by ...". Usually descriptions do not include institutions and IDs, but they could. It is an issue when importing labels for a large batch of paintings, as the saving labels fails and requires manual edits in many languages to descriptions. Manual edits are fine if you are editing language you know, but when importing labels in other languages I am not comfortable changing the descriptions. also it is weird that in order to save the title of the artwork, I need to alter the description.

Mar 4 2019, 6:38 PM · TestMe, Wikidata
Jarekt renamed T217572: Can not save a new label, due to no-longer-valid stated reason that other item already has the same label and description from Can not save new label, with stated reason that other item already has the same label associated with the same language code and is using using the same description text, while stated item no longer has the same description to Can not save a new label, due to no-longer-valid stated reason that other item already has the same label and description.
Mar 4 2019, 4:49 PM · TestMe, Wikidata
Jarekt created T217572: Can not save a new label, due to no-longer-valid stated reason that other item already has the same label and description.
Mar 4 2019, 4:46 PM · TestMe, Wikidata

Feb 19 2019

Jarekt added a comment to T61793: Activate Extension:DeleteBatch and Extension:UndeleteBatch on Wikimedia Commons.

That would require, writing my own tools (I assume). A while ago I dabbled in Pywikibot but those days I find it more time efficient to use AutoWikiBrouwser (+AWB modules) and other mass edit tools like QuickStatements on Wikidata. None of those would be of any use for undeletions. Also for automatic edits you need bot flag and for undeletions you need admin flag, and we have only 2 officially sanctioned bot-admins (CommonsMaintenanceBot and KrinkleBot).

Feb 19 2019, 5:27 PM · Commons, Wikimedia-extension-review-queue, Wikimedia-Extension-setup
Jarekt added a comment to T61793: Activate Extension:DeleteBatch and Extension:UndeleteBatch on Wikimedia Commons.

I do not think we need those particular extensions, but batch delete and undelete capability would be great. It took me once most of the day to undelete couple hundred pages from multi thousand page encyclopedia, which was incorectly deleted by some robo-admin who refused to fix their mess.

Feb 19 2019, 3:57 PM · Commons, Wikimedia-extension-review-queue, Wikimedia-Extension-setup

Feb 8 2019

Jarekt renamed T215583: Magic word __EXPECTUNUSEDCATEGORY__ does not remove redirected categories from Special:UnusedCategories on Commons from Magic word __EXPECTUNUSEDCATEGORY__ does not remove redirected categories from Special:UnusedCategories to Magic word __EXPECTUNUSEDCATEGORY__ does not remove redirected categories from Special:UnusedCategories on Commons.
Feb 8 2019, 3:04 AM · TestMe, Commons, MediaWiki-Categories, MediaWiki-Special-pages
Jarekt created T215583: Magic word __EXPECTUNUSEDCATEGORY__ does not remove redirected categories from Special:UnusedCategories on Commons.
Feb 8 2019, 2:40 AM · TestMe, Commons, MediaWiki-Categories, MediaWiki-Special-pages

Jan 22 2019

Jarekt added a comment to T214365: Make it possible to transfer parameters to the commons information template that are specific to a wiki.

Just to clarify, the way you use "subst:" is that you first set up translation template. For example c:Template:Изображение is used to map fields from :ru:Шаблон:Изображение to c:Template:Information, so that during transfer people can just replace "Изображение" in the template with "subst:Изображение" and that template is replaced with "Information" template with all the fields mapped from one template to the other. That mechanism also allows: working with different aliases of the field names in the source template, mapping multiple fields into one, adding language templates, etc.

Jan 22 2019, 2:38 PM · Patch-For-Review, MW-1.33-notes (1.33.0-wmf.16; 2019-02-05), TCB-Team, Move-Files-To-Commons

Jan 21 2019

Jarekt added a comment to T214065: Restore the local copy of the file when the file needs to be deleted on Commons.

That is a good idea

Jan 21 2019, 3:29 PM · TCB-Team, Move-Files-To-Commons

Jan 17 2019

Jarekt added a comment to T213887: geosearch API query does not return matching page in commons.wikipedia.org.

I have no idea what is wrong, so I reverted Module:Coordinates to earlier version.

Jan 17 2019, 2:59 AM · Discovery-Search, MediaWiki-API, GeoData

Jan 11 2019

Jarekt added a comment to T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch).

Currently most queries on Commons use SQL, like https://quarry.wmflabs.org. I assume this ticket is for SPARQL queries. A very useful feature would be a service that combines the two. For example all the files that use some template that do not have some property set, etc. We could use that to populate new properties based on current template structure.

Jan 11 2019, 6:03 PM · Discovery-Search (Current work), Epic, Wikidata-Query-Service, SDC General, Commons, Wikidata

Dec 13 2018

Jarekt awarded T161259: moving/copying statements to other items a Like token.
Dec 13 2018, 8:39 PM · patch-welcome, Wikidata-Gadgets, MediaWiki-extensions-WikibaseRepository, MediaWiki-extensions-WikibaseView, Wikidata

Nov 27 2018

Jarekt closed T210496: Magic word __EXPECTUNUSEDCATEGORY__ should not be displayed on the page as Invalid.
Nov 27 2018, 2:29 PM · Commons, MediaWiki-Categories, MediaWiki-Special-pages
Jarekt added a comment to T210496: Magic word __EXPECTUNUSEDCATEGORY__ should not be displayed on the page.

It can't be added until the change is deployed. If added before it's considered normal text, not a magic word.

Nov 27 2018, 2:28 PM · Commons, MediaWiki-Categories, MediaWiki-Special-pages
IKhitron awarded T210496: Magic word __EXPECTUNUSEDCATEGORY__ should not be displayed on the page a The World Burns token.
Nov 27 2018, 2:18 PM · Commons, MediaWiki-Categories, MediaWiki-Special-pages
Thibaut120094 awarded T210496: Magic word __EXPECTUNUSEDCATEGORY__ should not be displayed on the page a The World Burns token.
Nov 27 2018, 2:17 PM · Commons, MediaWiki-Categories, MediaWiki-Special-pages
Jarekt created T210496: Magic word __EXPECTUNUSEDCATEGORY__ should not be displayed on the page.
Nov 27 2018, 1:59 PM · Commons, MediaWiki-Categories, MediaWiki-Special-pages

Nov 23 2018

Jarekt created T210304: Add Wikidata as a supported project.
Nov 23 2018, 6:43 PM · Wikidata, AutoWikiBrowser

Nov 17 2018

Jarekt added a comment to T63958: Use existing $dateFormats to format dates on Wikidata.

We have solved that issue on Commons a decade ago by writing templates which are now in form of Module:Date and Module:ISOdate. Both modules are both on Commons and Wikidata. Maybe we can just pipe the date through that module. Or capture the logic of the module in Mediawiki code.

Nov 17 2018, 5:30 AM · I18n, Wikidata, MediaWiki-extensions-WikibaseRepository

Nov 11 2018

Liuxinyu970226 awarded T149280: Merge Kartographer with commons-on-osm a Like token.
Nov 11 2018, 12:17 PM · Commons, Maps (Kartographer)

Nov 7 2018

Jarekt added a comment to T208840: Monitor user reports about imaginary conflicts.

I also got imaginary conflict on my talk page trying to reply to someone, after I pressed "view changes" button. There was not way to preview or save my changes other can copy my reply, go back to reading mode, and start editing again. But if I clicked "view changes" than I would get conflict again. I tried to save my reply anyway and got this messed up page.

Nov 7 2018, 8:40 PM · MW-1.33-notes (1.33.0-wmf.4; 2018-11-13), Patch-For-Review, WMDE-QWERTY-Sprint-2018-11-06, TCB-Team, Two-Column-Edit-Conflict-Merge

Nov 6 2018

Jarekt created T208848: InvalidOperationException in UserPrefs.LoadPrefs.
Nov 6 2018, 1:06 PM · AutoWikiBrowser

Aug 2 2018

Abit awarded T183075: "Error: improper initialization" while uploading files from Flickr a 100 token.
Aug 2 2018, 7:52 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Multimedia-Team-Working-Board, Patch-For-Review, Multimedia, UploadWizard

Jul 17 2018

Jarekt added a comment to T95553: Full stop in messages such as Wikibase-time-precision-century is incorrect in English.

Phabricator tickets are not a good place to debate the definitions of phrases like "20th century". The meaning of that term was defined a long time ago and should not depend on Wikidata or other software. I am no expert on the matter but articles on individual centuries on Wikipedias (I checked English and German ones) list "20th century" as timeperiod between January 1, 1901 and ended on December 31, 2000, and that did not change in last 15 years. It might be counter intuitive and not compatible with some software, but it seems like that is the understanding of the term.

Jul 17 2018, 3:42 PM · patch-welcome, MediaWiki-extensions-WikibaseRepository, I18n, Wikidata
Jarekt added a comment to T196674: Stop using "century" and "millennium" in association with Wikidata datetime data.

Current Wikibase definition of beginning and ending years of a century and millennium are in synch with the definitions in the English or German Wikipedia, see :de:19._Jahrhundert for example. Maybe Wikibase software could just provide a link to the item like Q6955 to clarify the definition, and where we can specify the date range.

Jul 17 2018, 3:04 PM · Wikidata
Jarekt added a comment to T95553: Full stop in messages such as Wikibase-time-precision-century is incorrect in English.

I agree that we should have correct translation of phases like "19th century" to English and other languages. On Commons we have dealt with this over a decade ago and you can find translations to various languages at c:Module:I18n/complex_date.

Jul 17 2018, 2:51 PM · patch-welcome, MediaWiki-extensions-WikibaseRepository, I18n, Wikidata

Jun 29 2018

Jarekt added a comment to T198350: Rising lock wait timeout SQL errors upon 1.32.0-wmf.10 group1 deployment.

Another 50 files with no metadata pages were uploaded yesterday. See Category:Files with no description pages (uploaded June 28, 2018).

Jun 29 2018, 11:52 AM · MW-1.32-notes (WMF-deploy-2018-06-26 (1.32.0-wmf.10)), Multi-Content-Revisions (MCR-SDC Storage Layer - phase 1), DBA, Wikimedia-Rdbms, Wikimedia-production-error

Jun 28 2018

Jarekt added a comment to T198350: Rising lock wait timeout SQL errors upon 1.32.0-wmf.10 group1 deployment.

I just got [WzU7SwpAME8AAGa@HYEAAAAC] 2018-06-28 19:47:39: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" trying to delete a file.

Jun 28 2018, 7:50 PM · MW-1.32-notes (WMF-deploy-2018-06-26 (1.32.0-wmf.10)), Multi-Content-Revisions (MCR-SDC Storage Layer - phase 1), DBA, Wikimedia-Rdbms, Wikimedia-production-error
Jarekt added a comment to T198350: Rising lock wait timeout SQL errors upon 1.32.0-wmf.10 group1 deployment.

Another side-effect of this issue are couple of hundred of broken uploads, see Category:Files_with_no_description_pages_(uploaded_June_27,_2018) for files uploaded without creation of description pages. The list was compiled with https://quarry.wmflabs.org/query/27897 .

Jun 28 2018, 7:00 PM · MW-1.32-notes (WMF-deploy-2018-06-26 (1.32.0-wmf.10)), Multi-Content-Revisions (MCR-SDC Storage Layer - phase 1), DBA, Wikimedia-Rdbms, Wikimedia-production-error

Jun 22 2018

Jarekt created T197945: InvalidOperationException in UserPrefs.LoadPrefs.
Jun 22 2018, 12:19 PM · AutoWikiBrowser

Jun 5 2018

Jarekt created T196464: Incorrect template loop detection.
Jun 5 2018, 1:20 PM · Commons, MediaWiki-Parser

May 30 2018

Jarekt added a comment to T195962: "Failed to serialize data" on Commons pages using Wikidata based templates .

I doubt much can be done about it unless you are willing to error out on page rendering when Wikibase is dead (which would make outages much worse). A more specific tracking category and reduced parser cache TTL would be nice though.
(FWIW I am not a Wikibase author.)

May 30 2018, 2:42 PM · TestMe, Wikidata, Commons, MediaWiki-extensions-WikibaseClient