[Wikidata-bugs] [Maniphest] T194023: Expose siteGlobalID in Lua

2020-10-17 Thread Thayts
Thayts added a subscriber: Pppery. Thayts added a comment. @Pppery Why the dislike? TASK DETAIL https://phabricator.wikimedia.org/T194023 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: alaa_wmde, Thayts Cc: Pppery, alaa_wmde, Thayts, Aklapper

[Wikidata-bugs] [Maniphest] [Commented On] T194023: Expose siteGlobalID in Lua

2019-10-11 Thread Thayts
Thayts added a comment. Thank you all! :) TASK DETAIL https://phabricator.wikimedia.org/T194023 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: alaa_wmde, Thayts Cc: alaa_wmde, Thayts, Aklapper, Anomie, Lydia_Pintscher, thiemowmde, hoo, Hook696

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

2019-10-07 Thread Thayts
Thayts added a subtask: T194023: Expose siteGlobalID in Lua. TASK DETAIL https://phabricator.wikimedia.org/T182147 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Thayts Cc: Thayts, Simon_Villeneuve, Pigsonthewing, Lea_Lacroix_WMDE, jberkel

[Wikidata-bugs] [Maniphest] [Updated] T194023: Expose siteGlobalID in Lua

2019-10-07 Thread Thayts
Thayts added a parent task: T182147: more convenience functions for Lua. TASK DETAIL https://phabricator.wikimedia.org/T194023 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Thayts Cc: Thayts, Aklapper, Anomie, Lydia_Pintscher, thiemowmde, hoo

[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: