[01:10:54] hi - I'm having some trouble setting up LDAP authentication - getting "Auto-creation of a local account failed: Automatic account creation is not allowed." even though I've given autocreateaccount to all [01:11:08] any idea what might cause this? [03:27:55] OK, I sorted that issue. Now I'm running into issues with the visual editor - "Error contacting the Parsoid/RESTBase server (HTTP 400)" [03:28:22] I'm using Caddy as my webserver - do I need to do anything funny to make Parsoid work? Add an alias or something? [08:42:32] OK, this is very weird. VisualEditor isn't working because api.php is getting HTTP 400 errors trying to talk to rest.php: "The 'Promise-Non-Write-API-Action' HTTP header was sent but the request was to an API write module." [08:43:26] Has anyone ever seen this before? Am I somehow not routing to rest.php properly? [09:11:24] Solved it - and it was the most stupid thing I overlooked: rest.php wasn't symlinked, so index.php was handling it. Add that link and all is well. [09:35:50] what is need to pass in lecontinue parameter ? [09:35:50] https://www.mediawiki.org/wiki/API:Logevents [09:35:51] to get more results [09:37:44] I want to fetch more than 500 using that logevents API [09:37:44] how can i do that ? [09:40:05] Ramu: adjust the lelimit param, however it might be the maximum depending on whether you have the `apihighlimits` user right (see Special:UserGroupRights on that wiki) [09:40:49] a query will give you the value you can pass to ´lecontinue´, see https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&list=logevents for example and click "make request" [09:49:33] Majavah I have bot account in my local mediawiki setup still it get 500 , I am using this logevent api inside pywikibot [09:49:33] can you please elaborate lecontinue  like can i use it for fetching more than 500? [09:57:12] Ramu: pass the lecontinue parameter you got on the result to the next request as a parameter [10:01:26] Vulpix what should be value for lecontinue? [10:01:40] Ramu: the same value you get from the results [10:13:51] Vulpix [10:13:52] PARAMS = { [10:13:52]     "action": "query", [10:13:53]     "format": "json", [10:13:53]     "list": "logevents", [10:13:54]     "letype": "create", [10:13:54]     "leuser": "Nikhilpriyatam", [10:13:55]     # "lestart": "2021001010101", [10:13:55]     # "lelimit" : 30000, [10:13:56]     "lecontinue": 15000 [10:13:56] } [10:13:57] how it should be ? [10:13:57] unable to understand [10:13:58] can you please help what need to go in above params [10:17:01] Ramu: the value can't be hardcoded. You should fetch rhe results of the first request, get the continue data from the results, and pass it to the next request [10:19:31] Ramu: you can try it on the api sandbox page. There's a nice "continue" button on the results page once you do the first request, and it adds the necessary parameters for the continuation https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&list=logevents [10:23:29] Hi everyone! I'm a user of zhwiki and I want to make a gadget to preview wikitext with custom language variant in 2017 wikitext editor. I noticed that action=visualeditor internal api is used to parse wikitext. Does it support specifying a variant? Thanks. [10:24:00] Ramu: in future please use a paste service such as https://dpaste.de, Github Gists instead of posting multi lines like that [10:25:43] Any solution plz? [10:27:19] p858snake sure [10:33:19] Anybody here? [19:35:46] https://www.mediawiki.org/w/index.php?title=Manual%3AHooks%2FBeforeParserFetchTemplateAndtitle&type=revision&diff=4561564&oldid=4412059 [19:36:10] I'm sorry I documented this only 14 years late and after the hook was deprecated, but what can I say.