[Wikidata-bugs] [Maniphest] T275958: Enable interlanguage links from multilingual Wikisource to other Wikisources

2021-02-28 Thread Jarekt
Jarekt added a comment. @Tacsipacsi Yes your Module:Interwiki relying on connected Wikidata item, is what I had in mind. That is how it is done on Commons with associated template Template:Interwiki_from_Wikidata <https://commons.wikimedia.org/wiki/Template:Interwiki_from_Wikidata>

[Wikidata-bugs] [Maniphest] T275958: Enable interlanguage links from multilingual Wikisource to other Wikisources

2021-02-27 Thread Jarekt
Jarekt added a comment. I can look into this. So as I understand it if a page like wikisource:Category:Jv_Basa_Jawa_(Javanese) <https://wikisource.org/wiki/Category:Jv_Basa_Jawa_(Javanese)> is connected to d:Q8564118 <https://www.wikidata.org/wiki/Q8564118> which also ha

[Wikidata-bugs] [Maniphest] T138332: Interwiki links to/from Multilingual Wikisource

2021-02-27 Thread Jarekt
Jarekt added a comment. In T138332#6864016 <https://phabricator.wikimedia.org/T138332#6864016>, @Ladsgroup wrote: > If the community wants it, I think this can have a follow up ticket and be done. I don't know how commons does it but it looks like it should be possible.

[Wikidata-bugs] [Maniphest] T57755: Allow time values more precise than day on Wikidata

2020-11-20 Thread Jarekt
Jarekt added a comment. I see the following use cases: - A source states that the death of .. occurred at 9:25 on some day. I would like to save that information and I find the current approach of using refine date (P4241) <https://www.wikidata.org/wiki/Property:P4241> =

[Wikidata-bugs] [Maniphest] T237991: Changes to Structured Data on Commons should trigger page refresh

2020-11-03 Thread Jarekt
Jarekt added a comment. @matthiasmullie, in case it helps: most of out SDC tracking templates are based on c:Module:SDC_tracking <https://commons.wikimedia.org/wiki/Module:SDC_tracking> and templates calling it. You probably recreated something similar for testing, but in case it is

[Wikidata-bugs] [Maniphest] T237991: Changes to Structured Data on Commons should trigger page refresh

2020-10-31 Thread Jarekt
Jarekt added a comment. I tried it again did SDC edits using ACDC tool which should have emptied all 183 files from https://commons.wikimedia.org/wiki/Category:Creative_Commons_Attribution-Share_Alike_1.0_missing_SDC_copyright_license. An hour latter 136 files remain. See https

[Wikidata-bugs] [Maniphest] T237991: Changes to Structured Data on Commons should trigger page refresh

2020-10-31 Thread Jarekt
Jarekt added a comment. @Ramsey-WMF I just did bunch of SDC edits which should have removed a tracking category for files missing the template. Afterwards the category should have been empty, but the number of files did not change. I run a quick touch operation (add and empty line

[Wikidata-bugs] [Maniphest] T266407: Increase maximum precision for time datatype from day to second on Commons

2020-10-30 Thread Jarekt
Jarekt added a comment. I fully support this change. But, does this mean that all the bots that add date to Commons SDC fields in 65M files will have to go back and do it again? Most of the time I do not find time of the day that useful. For example with my own photos I set the time to US

[Wikidata-bugs] [Maniphest] T263088: Allow to download WDQS and WCQS results as Excel spreadsheet

2020-09-18 Thread Jarekt
Jarekt added a comment. In T263088#6469525 <https://phabricator.wikimedia.org/T263088#6469525>, @Akuckartz wrote: >> MS Excel has a lot of issues with CSV files > > Can these issues be solved? Yes by Microsoft, but those have been around for 20 years so I

[Wikidata-bugs] [Maniphest] T263088: Allow to download WDQS and WCQS results as Excel spreadsheet

2020-09-16 Thread Jarekt
Jarekt renamed this task from "WDQS excel" to "Allow to download WDQS and WCQS results as Excel spreadsheet". Jarekt added a project: Wikidata-Query-Service. Jarekt updated the task description. Restricted Application added a project: Wikidata. TASK DETAIL https://phabr

[Wikidata-bugs] [Maniphest] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2020-09-14 Thread Jarekt
Jarekt added a comment. I created T262837 <https://phabricator.wikimedia.org/T262837> which might be a blocking issue for this task. TASK DETAIL https://phabricator.wikimedia.org/T237899 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jar

[Wikidata-bugs] [Maniphest] T262837: SDC statements should record entity usage for wikidata entities used in statements

2020-09-14 Thread Jarekt
Jarekt created this task. Jarekt added a project: SDC General. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Wikidata entities used in file description wikitext are currently recorded in entity usage <ht

[Wikidata-bugs] [Maniphest] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2020-09-14 Thread Jarekt
Jarekt added a comment. In T237899#6459032 <https://phabricator.wikimedia.org/T237899#6459032>, @Lucas_Werkmeister_WMDE wrote: > Furthermore, from a technical perspective I doubt it’s even possible for Wikibase to update statements on Commons when items on Wikidata are merged

[Wikidata-bugs] [Maniphest] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2020-09-14 Thread Jarekt
Jarekt added a comment. In T237899#6459022 <https://phabricator.wikimedia.org/T237899#6459022>, @LucasWerkmeister wrote: > Note that KrBot only updates statements pointing to redirects after a certain time has passed (a week, I believe). This is by design: otherwise, it woul

[Wikidata-bugs] [Maniphest] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2020-09-11 Thread Jarekt
Jarekt added a comment. WCQS queries that have to look things up on wikidata have a very tiny connection between WCQS and WDQS and are so under-powered it can not run queries of that complexity. See T261716 <https://phabricator.wikimedia.org/T261716> where I was just a

[Wikidata-bugs] [Maniphest] T261716: Allow WCQS large volume connection to MWAPI and Wikidata services

2020-09-09 Thread Jarekt
Jarekt added a comment. Those were just 2 usecases I run into lately, but great many queries we are trying to write run into this issue, as they seem to need something from "service https://query.wikidata.org/sparql; and that connection has very small bottleneck. Commons community is

[Wikidata-bugs] [Maniphest] T262178: One week after SDC edits the data still shows up in WCQS queries

2020-09-07 Thread Jarekt
Jarekt added a comment. I can confirm that my query works as expected today all the found duplicates were real. I did not realized that we had at maximum one week lag between edit and the update of WCQS. The length of that lag was my concern, but it sounds like it will not be addressed

[Wikidata-bugs] [Maniphest] T262178: One week after SDC edits the data still shows up in WCQS queries

2020-09-06 Thread Jarekt
Jarekt renamed this task from "One week after SDC queries the data still shows up in WCQS queries" to "One week after SDC edits the data still shows up in WCQS queries". TASK DETAIL https://phabricator.wikimedia.org/T262178 EMAIL PREFERENCES https://phabricator.wikimedi

[Wikidata-bugs] [Maniphest] T262178: One week after SDC queries the data still shows up in WCQS queries

2020-09-06 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION I have a query finding identical duplicate SDC entries for some statements. I removed

[Wikidata-bugs] [Maniphest] T258835: Update Commons query service favicon

2020-09-02 Thread Jarekt
Jarekt added a comment. We have a new logo designed by User MaxxL. You can see it at File:Wikimedia_Commons_Query_Service_Logo.svg <https://commons.wikimedia.org/wiki/File:Wikimedia_Commons_Query_Service_Logo.svg> TASK DETAIL https://phabricator.wikimedia.org/T258835 EMAIL PREFE

[Wikidata-bugs] [Maniphest] T261716: Allow WCQS large volume connection to MWAPI and Wikidata services

2020-08-31 Thread Jarekt
Jarekt created this task. Jarekt added projects: Wikidata-Query-Service, Commons. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION At the moment Wikimedia Commons Query Service (WCQS) allows SPARQL queries to look up stuff

[Wikidata-bugs] [Maniphest] T258835: Update Commons query service favicon

2020-08-31 Thread Jarekt
Jarekt added a comment. I requested a new logo to be designed by the community at https://commons.wikimedia.org/wiki/Commons:Graphic_Lab/Illustration_workshop#Design_Commons_query_service_favicon TASK DETAIL https://phabricator.wikimedia.org/T258835 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] T230315: Allow adding references to structured data (MediaInfo) statements

2020-08-24 Thread Jarekt
Jarekt added a comment. I just noticed that I can not add references to items on SDC on Commons. In case of digital representations of objects which have wikidata items, our model stores properties of the object on Wikidata and properties of digital version on Commons, but we still need

[Wikidata-bugs] [Maniphest] T246746: Bot edits on Wikidata should be hidden in other project's recent changes

2020-08-03 Thread Jarekt
Jarekt added a comment. I also reported it at https://bitbucket.org/magnusmanske/wikidata-todo/issues/124/qs-should-send-all-requests-with-bot-1 TASK DETAIL https://phabricator.wikimedia.org/T246746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] T258489: Create a Examples Page for WCQS

2020-07-24 Thread Jarekt
Jarekt added a comment. By the way, there is a lot of activity now at https://commons.wikimedia.org/wiki/c:Commons:SPARQL_query_service/queries/examples <https://commons.wikimedia.org/wiki/Commons:SPARQL_query_service/queries/examples>, a lot of great examples are being added. TASK

[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Jarekt
Jarekt added a comment. I think Wikidata and SDC has an issue with representation of Wikimedia pages. Sometimes thy are stored as URLs (see Property:P1957 <https://www.wikidata.org/wiki/Property:P1957>), sometimes as strings (see Property:P1472 <https://www.wikidata.org/wiki/Prope

[Wikidata-bugs] [Maniphest] [Updated] T256933: Alter the look of SDC GUI to hide input fields for properties which are not beeing edited

2020-07-01 Thread Jarekt
Jarekt added a comment. By the way, I explained the issue with always on input field for geo-coordinate statements with single value constraint in T227116 <https://phabricator.wikimedia.org/T227116>, before it was rolled out, but my comment did not altered that aspect of the design

[Wikidata-bugs] [Maniphest] [Created] T256933: Alter the look of SDC GUI to hide input fields for properties which are not beeing edited

2020-07-01 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, Structured Data Engineering. Restricted Application added a subscriber: Aklapper. Restricted Application added projects: Wikidata, Structured-Data-Backlog. TASK DESCRIPTION This ticket is a result of discussion at https

[Wikidata-bugs] [Maniphest] [Commented On] T56097: [Story] allow to select globe in the UI

2020-06-30 Thread Jarekt
Jarekt added a comment. 7 years and this is still an annoying issue. TASK DETAIL https://phabricator.wikimedia.org/T56097 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: Jarekt, jleedev, Zolo, Mike_Peel, bzimport, Jklamo, Pasleim

[Wikidata-bugs] [Maniphest] [Commented On] T252259: Refine Commons Template:Map with Lua modules to populate the template with Wikidata

2020-05-27 Thread Jarekt
Jarekt added a comment. That is strange, my system behaves differently. After opening a Module file originally there are no number lines, but than a different skin (or something ) kicks in and I can see code lines. Also if I see an error line number that is the correct line number I see

[Wikidata-bugs] [Maniphest] [Commented On] T252259: Refine Commons Template:Map with Lua modules to populate the template with Wikidata

2020-05-27 Thread Jarekt
Jarekt added a comment. Lena, I am happy to help, I just cant commit to do all the work as I am stretch quite thin with maintenance of existing modules. There are no instructions other than https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual and https

[Wikidata-bugs] [Maniphest] [Created] T253387: Create a Lua convenience functions for conversion betweem language code and project and sitelink code

2020-05-22 Thread Jarekt
Jarekt created this task. Jarekt added a project: Wikibase-Lua. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION There are 900-1000 sitelink codes at the moment (like "be_x_oldwiki") and each is associated with

[Wikidata-bugs] [Maniphest] [Commented On] T252259: Refine Commons Template:Map with Lua modules to populate the template with Wikidata

2020-05-09 Thread Jarekt
Jarekt added a comment. In T252259#6121786 <https://phabricator.wikimedia.org/T252259#6121786>, @Susannaanas wrote: > Can we make a temporary template for this module, like MapWD? I linked c:Template:Map/sandbox <https://commons.wikimedia.org/wiki/Template:Map/sandbox

[Wikidata-bugs] [Maniphest] [Commented On] T252259: Refine Commons Template:Map with Lua modules to populate the template with Wikidata

2020-05-09 Thread Jarekt
Jarekt added a comment. I have very early stage of Module:Map <https://commons.wikimedia.org/wiki/Module:Map> done. At this stage the goal is to recreate Template:Map in Lua. Template Map has so many fields that at this point I added about 50-60% of fields which were shared with A

[Wikidata-bugs] [Maniphest] [Commented On] T252259: Refine Commons Template:Map with Lua modules to populate the template with Wikidata

2020-05-09 Thread Jarekt
Jarekt added a comment. In T252259#6120966 <https://phabricator.wikimedia.org/T252259#6120966>, @Susannaanas wrote: > I'm up for working with you if @Jarekt can give advise! Susanna, Stage #1 is to just reproduce the capabilities of the current template in Lua. I can get i

[Wikidata-bugs] [Maniphest] [Commented On] T252079: mw.wikibase.getLabelByLang('Q1', 'en') returning nil today

2020-05-06 Thread Jarekt
Jarekt added a comment. I purged my test page and now `mw.wikibase.getLabelByLang('Q1','en')` returned "universe". Thank you. TASK DETAIL https://phabricator.wikimedia.org/T252079 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Wikidata-bugs] [Maniphest] [Triaged] T252079: mw.wikibase.getLabelByLang('Q1', 'en') returning nil today

2020-05-06 Thread Jarekt
Jarekt triaged this task as "Unbreak Now!" priority. Restricted Application added a subscriber: Liuxinyu970226. TASK DETAIL https://phabricator.wikimedia.org/T252079 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: Liuxinyu970226

[Wikidata-bugs] [Maniphest] [Created] T252079: mw.wikibase.getLabelByLang('Q1', 'en') returning nil today

2020-05-06 Thread Jarekt
Jarekt created this task. Jarekt added projects: MediaWiki-extensions-WikibaseClient, Wikibase-Lua. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Function mw.wikibase.getLabelByLang <https://www.mediawiki.org/w

[Wikidata-bugs] [Maniphest] [Commented On] T221921: Provision search endpoint for SDC. Requirements from Product Team.

2020-05-04 Thread Jarekt
Jarekt added a comment. For me the big issue is quality control. As more people and bots are adding more statements, I am concerned about people finding multiple creative ways to store the same type of information, resulting in multiple parallel data models. SPARQL endpoint and property

[Wikidata-bugs] [Maniphest] [Commented On] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-05-03 Thread Jarekt
Jarekt added a comment. There is an API to get languages users speak: https://commons.wikimedia.org//w/api.php?action=query=babel=Jarekt. Maybe it would be possible to get babel preferences of the current user. TASK DETAIL https://phabricator.wikimedia.org/T68051 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T157868: Lua functions do not resolve redirects

2020-05-01 Thread Jarekt
Jarekt added a comment. I just came here to report this issue, but apparently it has been known for a while. An issue was reported at c:Template_talk:Label <https://commons.wikimedia.org/wiki/Template_talk:Label#Handling_redirects?>, so I began testing. I wrote fu

[Wikidata-bugs] [Maniphest] [Commented On] T216337: New lua function to follow entity redirects

2020-05-01 Thread Jarekt
Jarekt added a comment. I agree, That is why I use this approach for pages where I load the whole entity anyway. Many infoboxes on commons are created based on item ID and for those we load the whole entity. TASK DETAIL https://phabricator.wikimedia.org/T216337 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] [Commented On] T216337: New lua function to follow entity redirects

2020-04-30 Thread Jarekt
Jarekt added a comment. @Bugreporater, if you have a item ID and you want to find out if it is a redirect than you can use function folowRedirect(id) return mw.wikibase.getEntity(id).id end It works, and `folowRedirect('Q50940519')` will give you "Q91

[Wikidata-bugs] [Maniphest] [Commented On] T246746: Bot edits on Wikidata should be hidden in other project's recent changes

2020-04-30 Thread Jarekt
Jarekt added a comment. If you look at this query <https://commons.wikimedia.org/wiki/Special:RecentChanges?namespace=6=OAuth+CID%3A+1351=50=7=1=2> you can see my resent edits. In QuickStatements I do not think are any tweakable parameters to inform QuickStatements to mark edits wi

[Wikidata-bugs] [Maniphest] [Commented On] T246746: Bot edits on Wikidata should be hidden in other project's recent changes

2020-04-28 Thread Jarekt
Jarekt added a comment. I just got another frustrated message from someone whose watchlist I flooded. Please resolve this issue. TASK DETAIL https://phabricator.wikimedia.org/T246746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc

[Wikidata-bugs] [Maniphest] [Commented On] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-04-24 Thread Jarekt
Jarekt added a comment. @matej_suchanek Sorry for nit-picking but that second sentence is in documentation of ` mw.wikibase.getLabel` function, and I did not noticed it when I was reading documentation of `mw.wikibase.getLabelWithLang`. There is a link to the other function, so it should

[Wikidata-bugs] [Maniphest] [Updated] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-04-24 Thread Jarekt
Jarekt added a comment. In T68051#6080295 <https://phabricator.wikimedia.org/T68051#6080295>, @matej_suchanek wrote: > If this way of getting the language works for you, then ... @matej_suchanek This approach //seems //to work in limited test I was able to perform. Q2 h

[Wikidata-bugs] [Maniphest] [Commented On] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-04-22 Thread Jarekt
Jarekt added a comment. I checked and `_, lang = mw.wikibase.getLabelWithLang( 'Q2' )` is a better approach, since Q2 had labels in 287 langiuages and Q1 "only" in 189. So is this an acceptable way to look up language of the user? Every template on Commons calls {{int:Lang}},

[Wikidata-bugs] [Maniphest] [Commented On] T225924: Allow to retrieve entity schemas in Scribunto modules

2020-04-20 Thread Jarekt
Jarekt added a comment. See d:Module_talk:Wikidata_label#Adaptation_for_Schemas <https://www.wikidata.org/wiki/Module_talk:Wikidata_label#Adaptation_for_Schemas> for relevant discussion. TASK DETAIL https://phabricator.wikimedia.org/T225924 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T246746: Bot edits on Wikidata should be hidden in other project's recent changes

2020-04-20 Thread Jarekt
Jarekt added a comment. I am using QuickStatements on Commons to add statements to Structured data on Commons (see here <https://tools.wmflabs.org/quickstatements/#/batches/JarektBot>), and I am having the same issue, that despite of being logged in as a bot, my edits are not tagged

[Wikidata-bugs] [Maniphest] [Commented On] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-04-19 Thread Jarekt
Jarekt added a comment. Can we just use `_, lang = mw.wikibase.getLabelWithLang( 'Q1' )` ? That line seems to always return the language of the viewer. I do not know if Q1 has a label for all supported languages, but if not than we can add some. TASK DETAIL https

[Wikidata-bugs] [Maniphest] [Updated] T235332: Add SDC data slot to pages in the Commons data: namespace

2020-04-17 Thread Jarekt
Jarekt added a comment. I began using "Data:" namespace, lately and I share desire for a place to add some metadata. I created T249896 <https://phabricator.wikimedia.org/T249896> request for allowing /doc pages where one can add documentation. Adding SDC would be also nice,

[Wikidata-bugs] [Maniphest] [Commented On] T238484: Entities returned by mw.wikibase.getEntity lua function differ based on language of the viewer

2020-04-17 Thread Jarekt
Jarekt added a comment. @WMDE-leszek, Is there documentation for this feature? I would like to understand it better. TASK DETAIL https://phabricator.wikimedia.org/T238484 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: WMDE-leszek

[Wikidata-bugs] [Maniphest] [Commented On] T241338: Allow linking to specific statements in Structured data on Commons

2020-04-16 Thread Jarekt
Jarekt added a comment. I noticed that this is deployed now. That is great! Two questions: - I thing the anchor to captions is "#ooui-php-4". Is that going to be true for all the files? Is there some better name for it? And if not, can we rename it to something like

[Wikidata-bugs] [Maniphest] [Closed] T238484: Entities returned by mw.wikibase.getEntity lua function differ based on language of the viewer

2020-04-16 Thread Jarekt
Jarekt closed this task as "Invalid". Jarekt added a comment. In T238484#6046154 <https://phabricator.wikimedia.org/T238484#6046154>, @matthiasmullie wrote: > This behavior appears to be intentional and not causing any trouble when testing whether or not languages mat

[Wikidata-bugs] [Maniphest] [Commented On] T239939: [S] Deploy WikibaseQualityConstraints to beta commons

2020-04-10 Thread Jarekt
Jarekt added a comment. I tried those 2 links: - https://commons.wikimedia.beta.wmflabs.org/wiki/File:2015-06-06_0672_Romedikapelle_Brennbichl.jpg#P245962 - https://commons.wikimedia.beta.wmflabs.org/wiki/File:2015-06-06_0672_Romedikapelle_Brennbichl.jpg#P740 and they worked fine

[Wikidata-bugs] [Maniphest] [Commented On] T238484: Entities returned by mw.wikibase.getEntity lua function differ based on language of the viewer

2020-03-26 Thread Jarekt
Jarekt added a comment. I never run into this when processing Wikidata entities, so it is interesting that it happens there too. In my codes, I began to test that two languages match and ignore the rest, but if this is a "feature" not a "bug" I can probably simplify

[Wikidata-bugs] [Maniphest] [Commented On] T68051: Implement Lua alternative to {{int:Lang}} / wgUserLanguage

2020-03-25 Thread Jarekt
Jarekt added a comment. At the moment most modules on Commons use `frame:callParserFunction("int","lang")` call to get users language. It is a solution that works fine on multilingual projects like Commons and Wikidata, but I am not sure if it is accessible on othe

[Wikidata-bugs] [Maniphest] [Updated] T221921: Provision search endpoint for SDC. Requirements from Product Team.

2020-03-16 Thread Jarekt
Jarekt added a comment. In T221921#5973642 <https://phabricator.wikimedia.org/T221921#5973642>, @Keegan wrote: > I'm aware of how old this ticket is and the pain it's caused trying to move it forward. There seems to be some miscommunication going on here and it's escalating,

[Wikidata-bugs] [Maniphest] [Commented On] T241338: Allow linking to specific statements in Structured data on Commons

2020-03-03 Thread Jarekt
Jarekt added a comment. In T241338#5938761 <https://phabricator.wikimedia.org/T241338#5938761>, @matthiasmullie wrote: > @Jarekt would you want to link to the specific statement (i.e. `File:Something.jpg#M63$b81f5051-4288-a4d9-cc31-ba8b200b5e0e` - the statement's GUID)

[Wikidata-bugs] [Maniphest] [Commented On] T241338: Allow linking to specific statements in Structured data on Commons

2020-03-03 Thread Jarekt
Jarekt added a comment. In the next version of {{information}} template we are planning to add SDC icons to fields which were filled by information from SDC. I think those icons should link to properties where the data is stored. Can we at least agree, if we are going to be able to link

[Wikidata-bugs] [Maniphest] [Commented On] T195962: "Failed to serialize data" on Commons pages using Wikidata based templates

2020-03-02 Thread Jarekt
Jarekt added a comment. Same issue with c:File:Verwaistes_Bahnhofgebäude_Hof_20200223_003.jpg <https://commons.wikimedia.org/wiki/File:Verwaistes_Bahnhofgebäude_Hof_20200223_003.jpg> today TASK DETAIL https://phabricator.wikimedia.org/T195962 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Updated] T237991: Changes to Structured Data on Commons should trigger page refresh

2020-02-16 Thread Jarekt
Jarekt added a comment. This is related to T173339 <https://phabricator.wikimedia.org/T173339>, where changes to Wikidata should trigger page refresh of pages which rely on that data. TASK DETAIL https://phabricator.wikimedia.org/T237991 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Updated] T195962: "Failed to serialize data" on Commons pages using Wikidata based templates

2020-02-15 Thread Jarekt
Jarekt removed a project: Wikidata. Jarekt added a comment. File [https://commons.wikimedia.org/wiki/File:L%27Int%C3%A9rieur_du_Mus%C3%A9e_des_beaux-arts_de_Nancy.jpg|c:File:L%27Int%C3%A9rieur_du_Mus%C3%A9e_des_beaux-arts_de_Nancy.jpg] shows "Failed to serialize data." error. Att

[Wikidata-bugs] [Maniphest] [Commented On] T210304: Add Wikidata as a supported project

2020-02-07 Thread Jarekt
Jarekt added a comment. I tried again to log in to Wikidata with AWB using Custom project option: F31553914: New Picture (1).png <https://phabricator.wikimedia.org/F31553914> and that works. Unfortunately if I try to edit a page, I am asked to re-login and that operation

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T244529: mw.wikibase.getLabelByLang not return item label for some items

2020-02-06 Thread Jarekt
Jarekt added a subscriber: hoo. Jarekt added a comment. Adding hoo (Marius Hoch) who wrote mw.wikibase.getLabelByLang function in the first place. TASK DETAIL https://phabricator.wikimedia.org/T244529 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Commented On] T244529: mw.wikibase.getLabelByLang not return item label for some items

2020-02-06 Thread Jarekt
Jarekt added a comment. As an author of Lua code behind {{Q|}} template and few others related ones I was alerted about this issue. I tried the following test; I added labelByLang function to c:Module:Test <https://commons.wikimedia.org/wiki/Module:Test>: l

[Wikidata-bugs] [Maniphest] [Retitled] T244529: mw.wikibase.getLabelByLang not return item label for some items

2020-02-06 Thread Jarekt
Jarekt renamed this task from "{{Q|id}} syntax not displaying item label sometimes" to "mw.wikibase.getLabelByLang not return item label for some items". Jarekt added a project: Wikibase-Lua. TASK DETAIL https://phabricator.wikimedia.org/T244529 EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T239474: [M] Units support for quantity datatype

2020-01-28 Thread Jarekt
Jarekt added a comment. I just come here to report this bug. Luckily it is being fixed. TASK DETAIL https://phabricator.wikimedia.org/T239474 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: Jarekt, Addshore, Ramsey-WMF, Aklapper

[Wikidata-bugs] [Maniphest] [Commented On] T243686: Create widget to copy coordinates from the location template to "coordinates of the point of view" (P1259)

2020-01-28 Thread Jarekt
Jarekt added a comment. I was thinking about tackling this exact task in the following way: 1. harvest coordinates using https://quarry.wmflabs.org/query/41693 like query which strips coordinates and camera heading from geohack URL, for files in [[Category:Media_with_locations

[Wikidata-bugs] [Maniphest] [Created] T243086: Error "serialization is required for constructing a EntityId and must be a string" when adding a statement to SDC

2020-01-17 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, Structured Data Engineering. Restricted Application added a subscriber: Aklapper. Restricted Application added projects: Wikidata, Structured-Data-Backlog. TASK DESCRIPTION Second time in last 10 minutes I run into "//serializ

[Wikidata-bugs] [Maniphest] [Commented On] T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items

2020-01-09 Thread Jarekt
Jarekt added a comment. Great I will start replacing hacks like "M" .. mw.title.getCurrentTitle().id with "clean" code TASK DETAIL https://phabricator.wikimedia.org/T237107 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ma

[Wikidata-bugs] [Maniphest] [Commented On] T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0"

2019-12-28 Thread Jarekt
Jarekt added a comment. According to https://commons.wikimedia.org/wiki/Commons:Village_pump/Technical#Photograph_template_problem the issue still exist, TASK DETAIL https://phabricator.wikimedia.org/T237746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Wikidata-bugs] [Maniphest] [Updated] T241338: Allow linking to specific statements in Structured data on Commons

2019-12-22 Thread Jarekt
Jarekt added a subscriber: dcausse. Jarekt added a comment. In T222321 <https://phabricator.wikimedia.org/T222321> @dcausse also thought we should have > direct reference to a particular statement (like the statement id anchor on wikibase entity e.g. https://www.wikidata.org/w

[Wikidata-bugs] [Maniphest] [Created] T241338: Allow linking to specific statements in Structured data on Commons

2019-12-22 Thread Jarekt
Jarekt created this task. Jarekt added projects: Commons, SDC General. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION On Wikidata you can have a link like https://www.wikidata.org/wiki/Q56051850#P6216 that links to P6216

[Wikidata-bugs] [Maniphest] [Commented On] T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch)

2019-12-19 Thread Jarekt
Jarekt added a comment. 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

[Wikidata-bugs] [Maniphest] [Commented On] T240563: broken Lua's mw.wikibase.entity:getSitelink function

2019-12-16 Thread Jarekt
Jarekt added a comment. I purged all the files in Category:Pages_with_script_errors <https://commons.wikimedia.org/wiki/Category:Pages_with_script_errors> and there are no more errors in file namespace. TASK DETAIL https://phabricator.wikimedia.org/T240563 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch)

2019-12-15 Thread Jarekt
Jarekt added a comment. In T141602#5652512 <https://phabricator.wikimedia.org/T141602#5652512>, @Husky wrote: > Hey, as a proof of concept, i've adapted my VizQuery <https://tools.wmflabs.org/hay/vizquery/> tool to use the beta endpoint <https://sdcquery.wmflabs.or

[Wikidata-bugs] [Maniphest] [Commented On] T141602: [Objective Fiscal 19-20/Q2] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project (stretch)

2019-12-15 Thread Jarekt
Jarekt added a comment. In T141602#5652512 <https://phabricator.wikimedia.org/T141602#5652512>, @Husky wrote: > Hey, as a proof of concept, i've adapted my VizQuery <https://tools.wmflabs.org/hay/vizquery/> tool to use the beta endpoint <https://sdcquery.wmflabs.or

[Wikidata-bugs] [Maniphest] [Commented On] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2019-12-15 Thread Jarekt
Jarekt added a comment. 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 <https://commons.wikimedia.org/wiki/Commons:Bots/Work_reque

[Wikidata-bugs] [Maniphest] [Commented On] T240563: broken Lua's mw.wikibase.entity:getSitelink function

2019-12-13 Thread Jarekt
Jarekt added a comment. After my yesterday change to `Module:Wikidata label`, the 30k files affected got fixed. Now the only files in Category:Pages_with_script_errors <https://commons.wikimedia.org/wiki/Category:Pages_with_script_errors> are couple hundred Gauguin paintings. Lets no

[Wikidata-bugs] [Maniphest] [Commented On] T240563: broken Lua's mw.wikibase.entity:getSitelink function

2019-12-13 Thread Jarekt
Jarekt added a comment. In T240563#5738558 <https://phabricator.wikimedia.org/T240563#5738558>, @matthiasmullie wrote: > 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

[Wikidata-bugs] [Maniphest] [Commented On] T240563: broken Lua's mw.wikibase.entity:getSitelink function

2019-12-12 Thread Jarekt
Jarekt added a comment. 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 ab

[Wikidata-bugs] [Maniphest] [Commented On] T240563: broken Lua's mw.wikibase.entity:getSitelink function

2019-12-12 Thread Jarekt
Jarekt added a comment. 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 <https://www.mediawiki.org/wiki/Extension:Wikibase_Client/

[Wikidata-bugs] [Maniphest] [Created] T240093: On Commons create optional "skin" for displaying structured data which mimics Wikidata look

2019-12-07 Thread Jarekt
Jarekt created this task. Jarekt added a project: SDC General. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION I personally am very used to Wikidata way of presenting structured data. Can we have alternative skin

[Wikidata-bugs] [Maniphest] [Commented On] T237262: Tool for undoing Wikidata merges

2019-12-07 Thread Jarekt
Jarekt added a comment. Here is an example: 1. someone did a nonsense merge <https://www.wikidata.org/w/index.php?title=Q59165607=revision=1038289881=986442520> of Q59165607 <https://www.wikidata.org/wiki/Q59165607> and Q55296215 <https://www.wikidata.org/wiki/Q5529621

[Wikidata-bugs] [Maniphest] [Updated] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2019-11-22 Thread Jarekt
Jarekt added a comment. 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

[Wikidata-bugs] [Maniphest] [Created] T238484: Structured Data on Commons entities returned by mw.wikibase.getEntity lua function differ based on language of the viewer

2019-11-16 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, MediaWiki-extensions-WikibaseClient, Wikibase-Lua. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION mw.wikibase.getEntity lua function, activated by T223792

[Wikidata-bugs] [Maniphest] [Closed] T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0"

2019-11-14 Thread Jarekt
Jarekt closed this task as "Resolved". Jarekt claimed this task. Jarekt added a comment. 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 ima

[Wikidata-bugs] [Maniphest] [Commented On] T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0"

2019-11-13 Thread Jarekt
Jarekt added a comment. In T237746#5657898 <https://phabricator.wikimedia.org/T237746#5657898>, @Anomie wrote: > 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 th

[Wikidata-bugs] [Maniphest] [Created] T237991: Changes to Structured Data on Commons should trigger page refresh

2019-11-11 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, Commons. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION After T223792 <https://phabricator.wikimedia.org/T223792> allowed lua access to Structured data,

[Wikidata-bugs] [Maniphest] [Commented On] T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0"

2019-11-11 Thread Jarekt
Jarekt added a comment. In T237746#5649412 <https://phabricator.wikimedia.org/T237746#5649412>, @matej_suchanek wrote: > A sample for testing would be good. It is not a reproducible problem (yes I hate those too), but before this edit <https://commons.wikimedia.org

[Wikidata-bugs] [Maniphest] [Created] T237899: Wikidata item ID changes caused by merges do not update entities on Structured data on Commons

2019-11-10 Thread Jarekt
Jarekt created this task. Jarekt added projects: SDC General, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Merging 2 items on Wikidata results in one item redirecting to the other item. There is some process on Wikidata to update statements in other items

[Wikidata-bugs] [Maniphest] [Commented On] T237262: Tool for undoing Wikidata merges

2019-11-09 Thread Jarekt
Jarekt added a comment. Another thing to take into consideration is that if merge operation triggers changes in Structured data on Commons, than unmerge should also undo those. TASK DETAIL https://phabricator.wikimedia.org/T237262 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Created] T237746: page ID accessed from Lua by calling "mw.title.getCurrentTitle().id" ocassionally returns "0"

2019-11-08 Thread Jarekt
Jarekt created this task. Jarekt added projects: MediaWiki-extensions-WikibaseClient, Wikibase-Lua, SDC General. Restricted Application added subscribers: Liuxinyu970226, Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION After T223792 <ht

[Wikidata-bugs] [Maniphest] [Updated] T140124: Enable Merge gadget as default

2019-11-04 Thread Jarekt
Jarekt added a comment. 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

[Wikidata-bugs] [Maniphest] [Created] T237262: Tool for undoing Wikidata merges

2019-11-04 Thread Jarekt
Jarekt created this task. Jarekt added projects: Wikidata-Gadgets, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION One of the very common Wikidata task is item merging which in most parts works great. Unfortunately some fraction of the merges are wrong

[Wikidata-bugs] [Maniphest] [Updated] T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items

2019-11-01 Thread Jarekt
Jarekt added a comment. There is some overlap between this task and T236691 <https://phabricator.wikimedia.org/T236691>, which I just noticed. Specifically that `mw.wikibase.getEntityIdForCurrentPage` is not working, and possibly issues with `mw.wikibase.getEntity()` without

[Wikidata-bugs] [Maniphest] [Created] T237107: Extend mw.wikibase lua functions to allow accessing Structured Data on Commons items

2019-11-01 Thread Jarekt
Jarekt created this task. Jarekt added projects: MediaWiki-extensions-WikibaseClient, Wikibase-Lua, SDC General, Structured Data Engineering. Restricted Application added a subscriber: Aklapper. Restricted Application added projects: Wikidata, Structured-Data-Backlog. TASK DESCRIPTION Extend

[Wikidata-bugs] [Maniphest] [Commented On] T99899: [Story] Looking up entities by external identifiers

2019-09-25 Thread Jarekt
Jarekt added a comment. In T99899#5523309 <https://phabricator.wikimedia.org/T99899#5523309>, @Lydia_Pintscher wrote: > P1472 <https://phabricator.wikimedia.org/P1472> is not of datatype external identifier but string. (You can see this on the property page.) >

  1   2   3   >