Page MenuHomePhabricator

Jarekt (Jarek Tuszynski)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

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

Admin on Commons and Wikidata

Recent Activity

Mon, Jul 1

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.

Mon, Jul 1, 2:19 PM · Wikidata, SDC General, Wikibase-Lua, MediaWiki-extensions-WikibaseClient
Jarekt added a comment to T114640: RFC: 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.

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

Wed, Jun 26

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.

Wed, Jun 26, 7:36 PM · 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 · 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 · Wikistorm-2019, Wikimedia-Hackathon-2019, Wiki-goes-Caribbean
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 · 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 · 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 · 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: [Story] Provide a SPARQL query service for structured data on Commons.

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 · 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 · Patch-For-Review, 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, UploadWizard, Multimedia

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, MediaWiki-Database, 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, MediaWiki-Database, 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, MediaWiki-Database, 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
Jarekt updated the task description for T195962: "Failed to serialize data" on Commons pages using Wikidata based templates .
May 30 2018, 12:59 PM · TestMe, Wikidata, Commons, MediaWiki-extensions-WikibaseClient
Jarekt created T195962: "Failed to serialize data" on Commons pages using Wikidata based templates .
May 30 2018, 12:59 PM · TestMe, Wikidata, Commons, MediaWiki-extensions-WikibaseClient

May 24 2018

Jarekt added a comment to T195520: Multiple projects reporting Cannot access the database: No working replica DB server.

On Commons I suddenly see Category:Pages_with_script_errors filling in with new files reporting "Failed to serialize data." aka "wikibase-error-serialize-error". The error seems to be related to attempt to use Wikidata related templates

May 24 2018, 8:04 PM · User-Addshore, Wikidata-Campsite, MW-1.32-notes (WMF-deploy-2018-05-29 (1.32.0-wmf.6)), Wikidata-Ministry-Of-Magic, Wikimedia-Incident, Wikidata, Patch-For-Review, Wikimedia-General-or-Unknown, Wikimedia-production-error, Operations

May 14 2018

Jarekt added a comment to T194465: When the author/source is indicated with a template, it is categorized as "Files with no machine-readable author/source".

(As a side note, when the author is missing, the field should not have the fileinfotpl_aut ID; otherwise the machine-readable metadata will have "This file is lacking author information" as the author name.)

May 14 2018, 12:17 PM · CommonsMetadata, Multimedia, Commons

May 11 2018

Jarekt added a comment to T193728: Address concerns about perceived legal uncertainty of Wikidata .

The type of data we are copying from Wikimedia projects to to Wikidata is not copyrightable. Those are just facts, like coordinates, dates, names, filenames, identifiers (like VIAF numbers, etc.), etc. on Commons we have template for such data: https://commons.wikimedia.org/wiki/Template:PD-ineligible. It does not matter if such facts are embedded in otherwise copyrightable text. For example I can go to copyrighted book, copy date of birth for someone and place it in Wikidata, without violating copyrights of the book author. This situation might change if someone starts importing full sentences of text, like example sentences using some word.

May 11 2018, 8:00 PM · WMF-Legal, Wikidata
Jarekt added a comment to T194465: When the author/source is indicated with a template, it is categorized as "Files with no machine-readable author/source".

By the way, machine-readable marking added by the Information template is:

May 11 2018, 6:41 PM · CommonsMetadata, Multimedia, Commons
Jarekt updated subscribers of T194465: When the author/source is indicated with a template, it is categorized as "Files with no machine-readable author/source".

In this email sent Oct 6 2014, Gergo Tisza wrote:

May 11 2018, 6:35 PM · CommonsMetadata, Multimedia, Commons

May 1 2018

Jarekt added a comment to T85461: Lua error: too many language codes requested.

I just run into this issue again at https://commons.wikimedia.org/wiki/Module_talk:Name/testcases Maybe some functions do not need to be in the language objects, like: mw.language:isRTL or mw.language:lc.

May 1 2018, 1:29 PM · Patch-For-Review, MediaWiki-extensions-Scribunto

Apr 26 2018

Jarekt added a comment to T193162: Title::isRedirect() returns incorrect value for redirected files accessed from outside Commons.

The issue come up when users from outside Commons are trying to delete file redirects on Commons because they are undetectable and are breaking their templates. See here.

Apr 26 2018, 12:59 PM · Wikimedia-General-or-Unknown
Jarekt created T193162: Title::isRedirect() returns incorrect value for redirected files accessed from outside Commons.
Apr 26 2018, 12:56 PM · Wikimedia-General-or-Unknown
Jarekt added a comment to T96478: Provide Lua function to check if an item is a redirect and what the target is.

Opps the task is already closed after code change. If there is such a function than it should be documented at https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua

Apr 26 2018, 12:32 PM · Wikidata, MediaWiki-extensions-WikibaseClient
Jarekt updated subscribers of T96478: Provide Lua function to check if an item is a redirect and what the target is.

Workaround: mw.wikibase.getEntity() always returns the target entity with the new id. So you can do:

local id = ...
local entity = mw.wikibase.getEntity(id)
if id ~= entity.id then
    it's redirected
end
Apr 26 2018, 12:25 PM · Wikidata, MediaWiki-extensions-WikibaseClient

Apr 24 2018

Jarekt created T192863: Within-wiki links to discussion sections that list template names are not parsed properly transcluding the template.
Apr 24 2018, 2:57 AM · MediaWiki-Templates, MediaWiki-Parser

Apr 20 2018

Jarekt added a comment to T177698: AuthorityControl doesn't provide links to non-files on Commons and coordinates anymore.

I just opened 10 random pages with P373 and they all did not have links. The same issue with: Commons Creator page (P1472), Commons gallery (P935), Commons Institution page (P1612), etc. It is a major issue for those maintaining those properties. I do not know why a javascript would be tasked with providing interwiki links. Maybe the issue is that those properties should not use "catch-all" string type and use data-type designed for interwiki links. See my T179937 proposal to "Add a new Wikidata datatype for linking to Commons pages or expand ''Commons media file'' type".

Apr 20 2018, 12:49 PM · Regression, Wikidata, Wikidata-Gadgets

Apr 19 2018

Jarekt updated the task description for T173339: Categories tracking pages with wikidata links are not updated when items on Wikidata are modified.
Apr 19 2018, 8:33 PM · Commons, Wikidata
Jarekt added a comment to T173339: Categories tracking pages with wikidata links are not updated when items on Wikidata are modified.

That is correct description.

Apr 19 2018, 6:31 PM · Commons, Wikidata

Apr 18 2018

Jarekt added a comment to T173339: Categories tracking pages with wikidata links are not updated when items on Wikidata are modified.

As to problem (1) - you said in the task description "When P373 property is added to the item on Wikidata, the page itself no longer shows the category". That would mean problem (1) does not exist - or am I misunderstanding something? Problem (2) apparently "somehow" exists, but it's not clear how, exactly.

Apr 18 2018, 4:43 PM · Commons, Wikidata
Jarekt added a comment to T173339: Categories tracking pages with wikidata links are not updated when items on Wikidata are modified.

Two more random thoughts:

Apr 18 2018, 3:42 PM · Commons, Wikidata
Jarekt added a comment to T173339: Categories tracking pages with wikidata links are not updated when items on Wikidata are modified.

Some observations from the trenches (in case they help). So in case of Category:Creator templates with Wikidata link: item missing linkback:

Apr 18 2018, 3:07 PM · Commons, Wikidata

Apr 17 2018

Jarekt closed T89600: Convert Template:Artwork to LUA and use Wikidata as Resolved.

Module:Artwork is now live on Commons. I assume the module will go through several iterations, but the initial version mostly focused on reproducing capabilities of current {{Artwork}} template is deployed.

Apr 17 2018, 4:05 PM · Wikidata, SDC General
Jarekt closed T89600: Convert Template:Artwork to LUA and use Wikidata, a subtask of T89594: Use the arbitrary access to Wikidata feature on Commons (tracking), as Resolved.
Apr 17 2018, 4:05 PM · Wikibase-Lua, Wikidata, Commons, SDC General, Tracking-Neverending

Apr 9 2018

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

I would turn it on for all the properties that have "distinct values constraint" constraints, ensuring that each identifier points to a single item (except for constraint violations. Also per T149108 task (merged with this one) I hope this task will include Properties like Commons Creator page (P1472) (type string).

Apr 9 2018, 1:36 PM · MW-1.32-notes (WMF-deploy-2018-05-08 (1.32.0-wmf.3)), Discovery-Search (Current work), Patch-For-Review, Wikibase-Lua, User-Smalyshev, Story, Wikidata

Mar 12 2018

Jarekt added a comment to T145531: [feature request] allow calculated properties, derived properties.

This idea seems very similar to my T167521 proposal.

Mar 12 2018, 2:35 AM · Wikidata-Query-Service, Discovery, Wikidata

Mar 2 2018

Jarekt claimed T89600: Convert Template:Artwork to LUA and use Wikidata.

Some progress to report:

Mar 2 2018, 6:27 PM · Wikidata, SDC General

Mar 1 2018

Jarekt added a comment to T188541: mw.language:formatNum Lua function with noCommafy parameter does not localize decimal point.

Anomie, thanks for clarification. I do not know the implementation details. but you are correct on Polish Wikipedia

Mar 1 2018, 3:56 PM · good first bug, MediaWiki-Internationalization

Feb 28 2018

Jarekt created T188541: mw.language:formatNum Lua function with noCommafy parameter does not localize decimal point.
Feb 28 2018, 7:49 PM · good first bug, MediaWiki-Internationalization

Feb 16 2018

Jarekt added a comment to T89600: Convert Template:Artwork to LUA and use Wikidata.

I began to work on this task. See c:Module:Artwork/sandbox. The plan is similar to T89599 and T89597 tasks and has several stages

Feb 16 2018, 3:56 PM · Wikidata, SDC General
SandraF_WMF awarded T89597: Convert Template:Creator to Lua and use Wikidata a Party Time token.
Feb 16 2018, 12:56 PM · Wikidata, SDC General
SandraF_WMF awarded T89599: Convert Template:Institution to Lua and use Wikidata a Mountain of Wealth token.
Feb 16 2018, 12:54 PM · Wikimania-Hackathon-2016, Wikidata, SDC General

Feb 11 2018

Jarekt added a comment to T186945: Message welcome bots at local wikis trigger due to edits at Wikidata.

I just got welcome message from Pashto Wikipedia (https://ps.wikipedia.org/wiki/%D8%AF_%DA%A9%D8%A7%D8%B1%D9%86_%D8%AE%D8%A8%D8%B1%DB%90_%D8%A7%D8%AA%D8%B1%DB%90:Jarekt) where I have no edits.

Feb 11 2018, 3:08 AM · MediaWiki-extensions-NewUserMessage, Wikidata

Feb 8 2018

Jarekt closed T167283: Add "touch" capability to AWB as Resolved.

AWB can do null edits in the bot mode by appending empty lines to the end of the page.

Feb 8 2018, 1:18 PM · WorkType-Maintenance, AutoWikiBrowser

Jan 16 2018

Jarekt added a comment to T176130: Lua error on winning photos page.

I do not see any errors at https://commons.wikimedia.org/wiki/Wiki_Loves_Monuments_2016_winners. My guess is that the issue is resolved.

Jan 16 2018, 1:04 PM · Wiki-Loves-Monuments (2018)

Dec 17 2017

Jarekt added a comment to T183075: "Error: improper initialization" while uploading files from Flickr.

Another case of similar error when uploading from https://www.flickr.com/photos/blmcalifornia/albums/72157669457828796/with/34253388972/

Dec 17 2017, 5:40 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Multimedia-Team-Working-Board, Patch-For-Review, UploadWizard, Multimedia
Jarekt added a comment to T183075: "Error: improper initialization" while uploading files from Flickr.

The error showed up after choosing files and pressing "Continue" after "All uploads ere successful". Pressing "next" again I get

Dec 17 2017, 4:25 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Multimedia-Team-Working-Board, Patch-For-Review, UploadWizard, Multimedia
Jarekt created T183075: "Error: improper initialization" while uploading files from Flickr.
Dec 17 2017, 4:21 AM · MW-1.32-notes (WMF-deploy-2018-08-21 (1.32.0-wmf.18)), Multimedia-Team-Working-Board, Patch-For-Review, UploadWizard, Multimedia

Dec 11 2017

Jarekt added a comment to T74815: [Task] Add Lua function to get Wikibase entity by site link (title).

I have high hopes that T99899 will be implemented in the future as well. It would be nice if, solution we will pick for this task would help, or at least not hurt T99899 task.

Dec 11 2017, 4:33 PM · MW-1.31-release-notes (WMF-deploy-2018-02-20 (1.31.0-wmf.22)), Developer-notice, Developer-Wishlist (2017), Wikidata, MediaWiki-extensions-WikibaseClient

Dec 2 2017

CXuesong awarded T167521: Simplify access to properties that currently require traversing numerous items a Like token.
Dec 2 2017, 4:40 PM · Wikidata, MediaWiki-extensions-WikibaseClient

Nov 20 2017

Jarekt added a comment to T179937: Add a new Wikidata datatype for linking to Commons pages or expand ''Commons media file'' type.

I was looking for a datatype which has many properties of sitelinks and Commons media file datatype, like including tracking of deletions and renames, automatic and robust link display and with some internal conversion to a common format (underscores changed into spaces, etc.). "External identifier" type is not a good match for storing links to Wikipages, because it only does automatic link display. Sitelinks are not good options either because you can only have one sitelink per project. That is why I was thinking about a new datatype or extension of Commons media file datatype.

Nov 20 2017, 7:09 PM · MediaWiki-extensions-WikibaseRepository, Commons, Wikidata

Nov 15 2017

Jarekt merged task T176416: Save Wikidata's properties that link to Commons pages in a uniform format into T179937: Add a new Wikidata datatype for linking to Commons pages or expand ''Commons media file'' type.
Nov 15 2017, 5:55 PM · Commons, Wikidata
Jarekt merged T176416: Save Wikidata's properties that link to Commons pages in a uniform format into T179937: Add a new Wikidata datatype for linking to Commons pages or expand ''Commons media file'' type.
Nov 15 2017, 5:55 PM · MediaWiki-extensions-WikibaseRepository, Commons, Wikidata

Nov 7 2017

Jarekt created T179937: Add a new Wikidata datatype for linking to Commons pages or expand ''Commons media file'' type.
Nov 7 2017, 2:35 PM · MediaWiki-extensions-WikibaseRepository, Commons, Wikidata

Nov 1 2017

Jarekt added a comment to T177698: AuthorityControl doesn't provide links to non-files on Commons and coordinates anymore.

I reported this issue on Wikidata:Project_chat. I have no idea why AuthorityControl.js would be related to links to Commons. I thought it only does links for identifiers and coordinates. I have problems with Commons category (P373) and Commons creator (P1472). Usually it took a long time for those links to show up, like it was last on initialization order, and if it did not show up than reloading the page usually worked. But now for many items it does not work no matter how many times you reload or how long you wait. Although in some cases after you add some new statement to some other property than the link would show up.

Nov 1 2017, 4:17 PM · Regression, Wikidata, Wikidata-Gadgets

Oct 25 2017

Jarekt added a comment to T178187: Support Javascript-based tools on Wikimedia Commons in the transition to structured data.

I think we need a designated page with a table where people can add their favorite gadgets, and where we can discus potential impact of Structured Data on them.

Oct 25 2017, 3:33 PM · CommRel-Specialists-Support (Jul-Sep-2018), JavaScript, SDC General, Wikidata

Oct 24 2017

Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

This actually took me a while to figure: The variable link in your function is not local, thus leaking state across function calls, that's why this behaves so weirdly. Declare it local and it should all be sane again.

Oct 24 2017, 1:39 PM · Performance, User-Daniel, Wikidata, Commons, SDC General

Oct 23 2017

Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

I tried :

= require('Module:Test')._enSitelink('Q123')
September
= require('Module:Test')._enSitelink('Q321')
Milky Way
Oct 23 2017, 3:29 PM · Performance, User-Daniel, Wikidata, Commons, SDC General
Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

I restored earlier version of the module code that did not use mw.wikibase.sitelink function. Valerio.bozzolan test can still be tried on the /Sandbox version of the module. See screen shot below. It seems to me that mw.wikibase.getLabelWithLang function worked fine, and only the sitelink come from an item that the call should not know anything about.

Oct 23 2017, 3:06 PM · Performance, User-Daniel, Wikidata, Commons, SDC General

Oct 19 2017

Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

I am testing new code in Module:Wikidata label/sandbox. The label selection code becomes

	userLang = mw.getCurrentFrame():callParserFunction( "int", "lang" )
	
	-- try easy way to get label (visible part of the link)
	-- call if requesting label in user's language, but skip if we already have entity
	if (userLang==lang) and (not entity) then
		label, language = mw.wikibase.getLabelWithLang( item )
	end
Oct 19 2017, 3:44 PM · Performance, User-Daniel, Wikidata, Commons, SDC General

Oct 13 2017

Jarekt added a project to T178175: {{#time}} parser function should not accept dates with zero in day or month positions: ParserFunctions.
Oct 13 2017, 4:05 PM · ParserFunctions
Jarekt created T178175: {{#time}} parser function should not accept dates with zero in day or month positions.
Oct 13 2017, 4:02 PM · ParserFunctions

Oct 12 2017

Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

Ok, lets look at the whole code for fetching label:

	-- try easy way to get label (visible part of the link)
	if not entity then
		label, language = mw.wikibase.getLabelWithLang( item )
		if lang~=language then
			label = nil -- does not match desired language so lets nuke it
		end
	end
	
	-- hard way to get label
	if not label then
		entity = entity or mw.wikibase.getEntity(item); 
		for i, language in ipairs(langList) do 
			label = entity:getLabel(language)
			if label then break end -- label found and we are done
		end
	end
	if not label then -- no labels found so just show the q-code
		label = item
	end
Oct 12 2017, 6:15 PM · Performance, User-Daniel, Wikidata, Commons, SDC General
Jarekt added a comment to T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink.

The input to the template:label is q-code and the language. Language is optional and the code you highlighted will not be used if the language of the user matches the language returned by mw.wikibase.getLabelWithLang, which supposed to happen if language is not provided to the template. So that code would only be used in a rare case someone requests label in some specific language different than what is returned by mw.wikibase.getLabelWithLang.

Oct 12 2017, 2:32 PM · Performance, User-Daniel, Wikidata, Commons, SDC General
Jarekt added a comment to T169326: Type constraints still report false violations.

Do you also see the constraint violation on d:Special:ConstraintReport or when looking at the item with the checkConstraints gadget enabled?

Oct 12 2017, 1:42 PM · Wikidata-Former-Sprint-Board, Patch-For-Review, Wikibase-Quality-Constraints, Wikibase-Quality, Wikidata