[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-13 Thread Rical
Rical added a comment. I duplicated some versions for tests mainly in : https://fr.wikipedia.org/wiki/Module:Central-s-fr https://vi.wikipedia.org/wiki/Mô đun:Central-s-vi https://hu.wikipedia.org/wiki/Modul:Central-w-hu And this old special test : https://fr.wikipedia.org/wiki/Module:Tests

[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-13 Thread Rical
Rical added a comment. Each call of datas.property(pp) defines one property in the pp table. The calling process contains a table to define all eventual properties. p.args_known = { -- Table of the definitions of all known arguments at module level. -- All arguments have a keyword identical

[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-13 Thread thiemowmde
thiemowmde added a comment. This code example is quite unfortunate. It works around all performance optimizations the Wikidata team implemented in the past weeks and months. Is this from a Lua module actually used somewhere, and if so, can you please provide a link? Thanks for updating this tasks

[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-13 Thread Rical
Rical added a comment. For some weeks in Module:Central, this function use: function datas.property(pp) -- Get datas from mw.wikibase for one property of the page. datas.QITEM = mw.wikibase.getEntityIdForCurrentPage() -- like "Q42" datas.item = mw.wikibase.getEntity(QITEM)

[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-09 Thread Uzume
Uzume added a comment. I have no issue with discussion and I believe this an adequate forum for such a discussion. My point was your requests are significantly lacking (and need discussion and focus) before they can be considered for possible implementation. We already have many of the facilities

[Wikidata-bugs] [Maniphest] [Commented On] T185557: Create the easy function mw.wikibase.property('P21', 'Q8023', 'en')

2018-02-08 Thread Uzume
Uzume added a comment. I agree. This request is poorly specified. For one, labels, descriptions, and sitelinks are not properties. Also how should these property values be handled? There are many property data types where the data is not necessarily a single scalar value. Also property claims can