[19:48:50] Hi! Would anyone happen to know how to use the [[API:Protect]] with custom protection levels as defined in LocalSettings.php? I tried putting in the name defined in LS.PHP but got a "protect-invalidlevel" error. If anyone would happen to have experience with this, would be much appreciated! [19:54:44] PixDeVl: example please [19:57:15] RhinosF1: Link to the wiki, or the API call? [19:57:35] PixDeVl: the call [19:59:21] The value of the protections parameter is "edit=edittrusteduserprotected|move=edittrusteduserprotected", the example on MW.org is "edit=autoconfirmed|move=sysop" [19:59:59] Pasted the entire script here https://dpaste.org/PLtdt [20:05:28] RhinosF1: I can also grab the git commit to LS.PHP that adds the level if you want to take a look [20:06:14] Yes please [20:07:16] RhinosF1: https://github.com/miraheze/mw-config/commit/cfb36c7ac088ea5628502bf02429d2ec16c197ca [20:24:13] RhinosF1: gonna be disconnecting in a sec, feel free to bump me on Discord if you see any goofs I made [20:24:27] Ye I'm not sure