[10:00:25] hello all, how to see the code or content hosted here ? https://chatwiki.toolforge.org/ [10:16:44] Hi all, is there an easy way to test (on a random wiki) the global group membership of a user (I'm specifically thinking about for example checking whether a user is a GS/GR...) using the MediaWiki JS interface (from Python and the API, this is rather striaght forward)? [10:18:28] hello shrini, this is a question better answered in -cloud, but I'll give an answer here regardless. First, if you have toolforge access, you might try to see whether a portion of the tool is made public (path would be /data/project/chatwiki at the Toolforge server). If you don't, then you have to rely on what the tool maintained published themselves (at a first sight, i don't see a link to the source anywhere). [10:19:46] if it's indeed not published, i recommend asking the maintainer directly (you can find who they are at https://toolsadmin.wikimedia.org/tools/id/chatwiki) [10:20:00] if they do not answer, you can also follow https://wikitech.wikimedia.org/wiki/Help:Toolforge/Right_to_fork_policy [10:20:39] hey Daniuu, do you mean the currently logged in user? or an arbitrary user? [10:20:53] for arbitrary user, easiest is to just use the API (just as you do in your Python script) [10:23:10] urbanecm: for current user [10:23:49] (I was thinking of looking to port Twinkleblock and similar to global use - which is likely to be popular among GS colleagues) [10:24:11] Daniuu: `mw.config.get('wgGlobalGroups')` [10:24:45] Okay, works on any random wiki (not that the script would have to query meta explicitly...)? [10:24:49] yeah [10:24:57] That's handy :) [10:25:06] note for stewards, only the steward group will be there [10:26:34] * Daniuu thought of that [10:26:38] Thanks, urbanecm [10:27:21] any time [10:27:24] meh, too late [10:53:08] thanks urbanecm got the code in /data/project/chatwiki folder [10:53:15] np [10:53:24] will ask the developer to share the code [10:53:27] in public