[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2019-10-02 Thread Thayts
Thayts added a comment. It would be convenient if there were a function or variable to get the current wiki's site ID from, something like "`mw.site.siteId`". On Wikipedia, I'm now trying to determine the site ID as follows, which is not a 100% reliable way: `siteId = (function()

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-03-27 Thread eranroz
eranroz added a comment. In T182147#4083789, @NehalDaveND wrote: Sanskrit community wants counting in Devanagari digit, but we can't get the support till now. I think by Lua you can add the facility into Sanskrit wikis.

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-03-27 Thread NehalDaveND
NehalDaveND added a comment. Sanskrit community wants counting in Devanagari digit, but we can't get the support till now. I think by Lua you can add the facility into Sanskrit wikis.

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-03-27 Thread Lea_Lacroix_WMDE
Lea_Lacroix_WMDE added a comment. FYI, we started a feedback round on this page. All editors are welcome to give more information about the modules they use or improve, and what functions could be useful for them.TASK DETAILhttps://phabricator.wikimedia.org/T182147EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-03-15 Thread Agabi10
Agabi10 added a comment. At eswiki we mostly use it for the infoboxes and there are some things we have to do in many infoboxes that could be useful for others too: Get the value of the qualifier of a known specific value for a property: For example, when we want to get the title in Spain for a

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-03-06 Thread RexxS
RexxS added a comment. The reason why different projects develop different modules is that different communities have different demands. Working on the English Wikipedia has led me to alter the original line of coding that I developed early on. I think it's important to examine the demand for

[Wikidata-bugs] [Maniphest] [Commented On] T182147: more convenience functions for Lua

2018-01-14 Thread Uzume
Uzume added a comment. In T182147#3815415, @thiemowmde wrote: A boolean entityExists (T143970). Use case: Currently, I see a lot of code that does if getEntity( … ) then, which is super-expensive for no reason. The cheapest workaround that currently exists is getEntityUrl, but thats awkward to