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()
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.
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.
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
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
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
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