[09:41:19] how do I create a bot account with access to the Action API (for my own mediawiki installation)? [09:51:53] hello, how do you store and retrieve data on mediawiki? I read a lot of documentation and have an idea, but I just want to ask [09:58:44] kjetilho: Bot accounts are disabled by default so i think there is a config change you have to make [10:00:10] I assume you mean bot passwords [10:00:28] you can also just create a normal account and access the api normally without doing anything special [10:00:54] the docs says something about higher limits for accounts tagged as bots, but that is perhaps wikipedia-specific? [10:01:59] kjetilho: oh, i misunderstood. For that you use the page Special:UserRights [10:03:25] Essentially there is a user right called "apihighlimits". In the default config, this is part of the bot user group, which you can assign to users [10:03:56] https://www.mediawiki.org/wiki/Help:User_rights_and_groups has some info [10:04:02] thanks a lot! [10:04:44] hehe, first step: promote myself. "You do not have permission to add or remove user rights" [10:05:49] Usually you have to be in the beurocrat group [10:06:44] if you're not, but its your own wiki you can self promote using the maintenance/createAndPromote.php command line script [10:09:49] beautiful! [10:11:11] I still am denied access to Special::UserRights - but running the php script is just as good [10:21:17] Special:UserRights should just display a readonly version if you don't have rights [10:21:40] are you running a plain mediawiki installation or a a package from somewhere? [10:23:14] it's a pretty old Ubuntu package... [10:23:49] I really should do a release-upgrade soon :) [10:24:23] Just how old, Special:Version should tell you... [10:41:51] I plead the fifth! :-D [20:18:19] hi there. I'm using Vector 2022 in MediaWiki 1.43.1. wondering how to pin the main menu to the sidebar by default so the hamburger icon is absent? [20:20:11] jj5: https://www.mediawiki.org/wiki/Skin:Vector/2022#Menu_Pinning_Options [20:20:32] moonmoon: thank you! [20:23:32] hmm. the vector-main-menu-pinned = 1 option doesn't seem to be working for me. the other pinning options seem to work. is it possible this is buggy? [20:45:10] jj5: it may need a while for the cache to pick the change [21:03:30] Vulpix: oh, okay. is there any way to drop cache? [21:19:33] jj5: you may try appending the parameter debug=1 to the URL [21:20:34] Vulpix: thanks for the tip. but I tried that and it doesn't seem to have worked. [21:21:17] here's an example: https://www.inthelabwithjayjay.com/wiki/Learning_the_Art_of_Electronics?debug=1 [21:21:40] when I click that link I get a hamburger menu top left [21:22:27] I am testing in a Firefox private window so that my cookies and settings don't affect the test [21:25:20] executing mw.user.options.get('vector-main-menu-pinned') in the JavaScript console it returns 1, which means it's correctly set, at least [21:26:10] okay, good. so I've configured correctly, which means this is a UI bug? I'd be happy to report it somewhere if that's helpful.