Wikidata:Contact the development team/Archive/2017/10

This page is an archive. Please do not modify it. Use the current page, even to continue an old discussion.

rc_patrolled flag in Wikibase client wiki

Can you confirm if I am correct? It seems that all wikidata edits which are propagated to client wikis are always marked as patrolled regardless of if they are patrolled in Wikidata.org or not. (example Quarry: 21898) The code which is responsible for setting the patrol flag lives in RecentChangeFactory.php. My second question is that if there are any plans or a ticket to change this so that only actually (auto)patrolled edits would be propagated as patrolled to client wikis?

This is kind of relevant because there is a need to limit somehow the visible changes from Wikidata in client wikis if the user wants to track potentially harmful changes from wikidata and the most obvious way is to filter out already patrolled edits but this doesn't currently work --Zache (talk) 19:44, 30 September 2017 (UTC)

@Zache: There are no plans for this currently. There are several problems around this, one is that we would need new infrastructure to constantly update the recent changes entries on the individual clients when their status on Wikidata changes. Another problem is that many wikis have different settings for edit patrolling, we would need to see how these interact with what we do with our changes. Also we would probably not be able to allow someone in Wikipedia to patrol a change on Wikidata which is probably counter intuitive. All of these are problems which can be solved, but it's quite some work, thus I don't expect progress here fast. Feel free to open a Phabricator ticket about this, though. Cheers, Hoo man (talk) 18:26, 3 October 2017 (UTC)
Ok, thanks for the answer and I understand the problem. --Zache (talk) 16:43, 4 October 2017 (UTC)

Unable to edit description in item main page

Two times out of three, when I want to edit the description of an item and even if I the page is fully loaded, I've got this page: https://www.wikidata.org/wiki/Special:SetLabelDescriptionAliases. This is relatively new and really annoying when you want to edit descriptions in several languages. Could you correct this please? Thanks. — Ayack (talk) 08:11, 7 October 2017 (UTC)

Does it happen in safemode=1? Matěj Suchánek (talk) 14:33, 7 October 2017 (UTC)
No. — Ayack (talk) 14:50, 7 October 2017 (UTC)
Then some of your gadgets or user scripts is broken which breaks all items for you. Matěj Suchánek (talk) 19:46, 7 October 2017 (UTC)
It seems to be User:Mxn/overpass.js. Would you mind testing if you have the same issue with it please? Thanks. — Ayack (talk) 08:44, 8 October 2017 (UTC)
Yep, same problem. Matěj Suchánek (talk) 14:32, 8 October 2017 (UTC)
Thanks Matěj Suchánek.
@Mxn: Could you have a look at this issue please? Your script is awesome but I've to desactivate it due to this problem. Thanks. — Ayack (talk) 15:11, 8 October 2017 (UTC)
Similar issue when trying to add a Commons link with https://www.wikidata.org/wiki/Special:SetSiteLink. — Ayack (talk) 19:39, 7 October 2017 (UTC)

Commons category (P373) and coordinate location (P625) external links have disappeared

As mentionned on Wikidata:Project chat, links on Commons category (P373) and coordinate location (P625) have disappeared and cleaning cache doesn't help. Could you also have a look at this issue please. Thanks. — Ayack (talk) 08:15, 7 October 2017 (UTC)

Reported on phab:T177698 now. Sjoerd de Bruin (talk) 14:55, 7 October 2017 (UTC)
Thanks. — Ayack (talk) 16:00, 7 October 2017 (UTC)

Problem showing full lists

Hello.The problem "Lua error: $2." causes the menus to not appear complete.Is it possible to solve this problem?Thank you ديفيد عادل وهبة خليل 2 (talk) 12:24, 22 September 2017 (UTC)

@ديفيد عادل وهبة خليل 2: Could you please give a concrete example page for the specific error you mean? Cheers, Hoo man (talk) 09:00, 27 September 2017 (UTC)
@Hoo man: This list is important and does not appear complete due to this error.Thank you ديفيد عادل وهبة خليل 2 (talk) 06:35, 28 September 2017 (UTC)
Unfortunately there are too many heavy Lua calls used on this page. It likely needs to be split up or the performance of the templates/modules improved. --Lydia Pintscher (WMDE) (talk) 07:50, 9 October 2017 (UTC)
@Lydia Pintscher (WMDE): Is there no solution to this problem? ديفيد عادل وهبة خليل 2 (talk) 08:09, 12 October 2017 (UTC)
As I said the solution is to split up the page or improve the performance of the Lua modules. --Lydia Pintscher (WMDE) (talk) 09:21, 12 October 2017 (UTC)

wb_entity_per_page

Could you continue providing updates for wb_entity_per_page until term_full_entity_id in wb_terms table is visible on Toolforge? --Pasleim (talk) 15:14, 8 October 2017 (UTC)

Will talk to the team about the timeline and get back to you. --Lydia Pintscher (WMDE) (talk)
I checked with Amir and he said that is the plan. Timing might be bad with deployments but we want to make it happen. --Lydia Pintscher (WMDE) (talk) 08:25, 9 October 2017 (UTC)
Thanks. --Pasleim (talk) 08:59, 9 October 2017 (UTC)
User:Pasleim, The wb_terms in labs now has the term_full_entity_id since three days ago and the entity_per_page table stopped getting updated since two days ago. Amir (talk) 08:35, 13 October 2017 (UTC)

corresponding item of a talk page

I know that there is an item with a sitelink to Talk:Q25327250/list of trees in Spain but if I visit that page I can not figure out the corresponding item. Normally I can go to "Page information" or press Shift+Alt+G to end up at the item but for pages in the talk namespace this doesn't work. Is this a bug or a feature?--Pasleim (talk) 12:24, 13 October 2017 (UTC)

I'd say it is a bug ;-) It is Q28038512. I could find it via Special:ItemByTitle. While this isn't great there should really be so few cases where this is a problem that I'd rather not spend time on it at this point to be honest. --Lydia Pintscher (WMDE) (talk) 17:06, 16 October 2017 (UTC)

Statement addition value field auto-focus not working

When adding a new statement, selecting a property name no longer auto-focuses to the value field.

Steps to reproduce:

  1. Click 'Add statement'
  2. Select a property
  3. Doesn't auto-focus to the value field

Fails in Firefox, Chrome.
Fails with url parameter safemode=1 (prevents user JS and CSS from loading).
Fails whether logged in or anonymous.
JavaScript error messages:

  • Your skin is incompatible with VisualEditor. (even though using Vector skin)
  • JQMIGRATE: jQuery.fn.offset() requires an element connected to a document
  • JQMIGRATE: jQuery.fn.offset() requires a valid DOM element

--Bamyers99 (talk) 20:17, 13 October 2017 (UTC)

We fixed this issue in the code. The new code will go out in a few days and then it will be fixed here as well. Sorry for the issue. --Lydia Pintscher (WMDE) (talk) 17:01, 16 October 2017 (UTC)

Translating 1990s to 1990au

Where do I translate the English 's' to the Welsh 'au', please as found on 'dissolved' (P576) in item Corona (Q5172118). Thanks. Llywelyn2000 (talk) 21:02, 15 October 2017 (UTC)

https://www.wikidata.org/wiki/Q5172118?uselang=qqx#P576translatewiki:MediaWiki:Wikibase-time-precision-10annum/cy. Matěj Suchánek (talk) 16:23, 16 October 2017 (UTC)
Thanks! Seems have worked on Corona (Q5172118) but not when the feed comes out on the wikipedia page - still 1990s. Llywelyn2000 (talk) 10:01, 20 October 2017 (UTC)
I think that is stored in the local cy:Module:Wikidata. See the part under "datetime". Sjoerd de Bruin (talk) 13:10, 20 October 2017 (UTC)
Many thanks! Re:
-- $1 is a placeholder for the actual number
[0] = "$1 billion years", -- precision: billion years
Do I translate the first part of the line or the second part, or both? PS The bits relevant to the local wiki language could be colour coded for the users, to simplify. All Lua modules (and templates!) could all be done with other languages in mind. But I'm not shooting the messenger! Llywelyn2000 (talk) 14:45, 20 October 2017 (UTC)

Property values stopped to accept/process Wikidata URLs

Worked as of October 24, but functionality is broken as of today. To reproduce: copy item URL or link from Wikipedia and try to enter it. --EugeneZelenko (talk) 15:09, 26 October 2017 (UTC)

Yeah sorry. We're working on fixing this in phabricator:T179061. Thanks for the report. You are already the third who noticed it. I am surprised so many people make use of this feature. We're adding a test for it to make it not break again. --Lydia Pintscher (WMDE) (talk) 15:18, 26 October 2017 (UTC)

Contributions to MediaWiki namespace

Hello."This edit has not yet been patrolled" appears next to contributions to MediaWiki namespace regardless of the contributor.What is the reason for this?Thank you --David (talk) 16:35, 21 October 2017 (UTC)

Where do you see this? Matěj Suchánek (talk) 11:25, 28 October 2017 (UTC)
@Matěj Suchánek:Here.Thank you David (talk) 07:20, 29 October 2017 (UTC)
Ah, interesting. You are not allowed to edit MediaWiki namespace directly but when you're translating something in that space, you need to do that, so your edits are unpatrolled. I don't know the reason, this is just what I believe it is. Matěj Suchánek (talk) 08:01, 29 October 2017 (UTC)
@Matěj Suchánek:Yes that's what happens, is it good?Thank you David (talk) 08:36, 29 October 2017 (UTC)
I have just checked it, it is intentional. Matěj Suchánek (talk) 09:02, 29 October 2017 (UTC)

Tagging edits from sister projects

Would it be possible to add a tag on edits that are made automatically as part of a process on other wikis? For example, when a page is moved or deleted, an edit occurs here on Wikidata as well, but it's done automatically by the software and not manually by the user. Also some merges are done this way, by users connecting two different items using the "Add links" link in the "Languages" section of the sidebar. I think it would be useful to have a tag for this, and I think it should be done as a feature of the software, and not via an edit filter or something. Jon Harald Søby (talk) 10:44, 24 October 2017 (UTC)

I checked with Marius and he said it is possible but is definitely not a quick thing. Can you open a ticket for it? --Lydia Pintscher (WMDE) (talk) 10:40, 26 October 2017 (UTC)
I did it. Matěj Suchánek (talk) 12:48, 28 October 2017 (UTC)