[00:07:54] Hi. Is there a supersimple way to use something similar to Template:LangSwitch or Template:Autotranslate? This is because the templates that are in Wikimedia Commons are too difficult for me to replicate because they make many calls to other templates and modules. [12:13:31] Hi. Is there a tldr for mw articles? [12:20:31] Hello. Please help solve the problem of LDAP authorization. [12:20:31] Configured as recommended by https://www.mediawiki.org/wiki/Manual:Active_Directory_Integration [12:20:31] Mediawiki version 1.33. The LDAP extension stack version is 1.31. [12:20:32] When I try to login under a domain account, I get an internal error: [12:20:38] https://pastebin.com/ikyXeCDz [12:22:44] I'm guessing you're using LDAPGroups extension [12:22:55] But if the version is differing from the MW version, you're probably going to have problems like this [12:26:58] according to a recommendations for mediawiki release 1.33 Recommended Extension Version LDAPxxx_REL1_31. should I try to install the extension version exactly matching the version of mediawiki? [12:27:30] Where did you read that? [12:28:15] https://www.mediawiki.org/wiki/LDAP_hub [12:28:35] Curious. That's non standard [12:28:39] And if that's the case, that sounds like a bug [12:35:46] Thanks, I'll try to install extensions with versions corresponding to MW first [12:58:00] , very interesting, LDAP stack version 1.33 worked successfully [12:58:14] Heh [12:58:21] I'd probably suggest filing a bug anyway, and mention this [12:59:21] where can I get a bug? [12:59:42] !bug [12:59:42] https://phabricator.wikimedia.org [12:59:44] !phab [12:59:45] https://phabricator.wikimedia.org/ [12:59:50] This isn't helpful [12:59:53] !reportbug [12:59:53] https://phabricator.wikimedia.org/maniphest/task/create/ [12:59:57] * Reedy sighs [13:00:04] !bugreport ? [13:00:27] !bugreport [13:00:33] * Reedy kicks wm-bot [13:01:37] ok, thks [13:12:45] is it possible to have some sort of sub-pages with AuthManager.php? [13:22:16] what is AuthManager.php? [13:30:27] current api. [13:45:10] novice here. I've got mediawiki installed, and appears to work, except for load.php ... it throws a 500 error for things like css. not sure what i did wrong. can't find anything on the googles [13:48:49] i enabled errors and got this: Error from line 66 of /var/www/wiki/includes/libs/IEUrlExtension.php: Call to undefined method IEUrlExtension::haveUndecodedRequestUri() [13:50:54] What version of MW? [13:51:44] Does haveUndecodedRequestUri exists in that file? [13:52:22] version 1.34.1 [13:54:17] i'm not a php developer, but it appears to be defined at the bottom of the file ` public static function haveUndecodedRequestUri(` [13:55:37] this file looks like a whole bunch of baggage for IE compatibility [13:57:37] It's gone in 1.35/master [13:57:56] If PHP thinks it's missing, it sounds like opcache corruption [13:58:21] this is a fresh install. not sure what my noob self has done [14:00:34] Tuju: not sure what you are asking. Subpages in the documentation? [14:02:01] Reedy: you suggest i "git" the latest version eh? [14:03:16] No [14:03:23] :P [14:03:26] Restart your webserver? [14:04:29] ha, that worked. thanks. i forgot the oldest IT trick : ( [14:04:49] now, what would cause something like that in the first place? seems weird [14:26:09] Had you just upgraded or similar? [16:15:43] seems like it happens any time i switch themes or monkey with certain settings [16:15:55] a reload isn't enough. it needs a restart (apache) [16:19:01] It sounds like not enough opcache space [18:39:21] duesen: this is an example of the mess wfLogWarning produces. Cannot be filtered out because exception.file is attribued to MWDebug.php- https://phabricator.wikimedia.org/T251421 [18:39:52] and lack of variable substitution means they're also often unique and also not filterableby message [18:41:38] Krinkle: right. I'm happy to kill it. I just want something that makes tests fail. Basically, write to the log, then call wfWarning. [18:43:01] Krinkle: file a ticket for deprecating wfLogWarning, tag CPT ;) [18:44:40] duesen: I think if we're comfortable that something is risky to allow in code, why not fatal exception? I don't deny there could be a need for something that is non-fatal in prod but fatal in tests, just wondering if we have that need today. [18:45:35] Lots of stuff. All the things that call wfWarning, actually. [18:46:10] Code that works around a database inconsistency would be a prime example [18:47:05] wfDeprecated is another prime example. [19:07:32] duesen: I suppose one solution could be to track details with PSR-3/Logger in a channel that the maintainers look at for debugging, and then for testing/prod error level raising, call trigger_error directly with a static string that is Logstash friendly. [19:07:55] so it'd be two calls: trigger_error + $logger->something() [20:02:03] how much sense does it make to craft an import xml from flat files i have to import into a new wiki? should i try to make an upload bot instead? [20:15:40] cmc: alternatively, if you have each page in a separate file, you can try this command line script https://www.mediawiki.org/wiki/Manual:Edit.php [20:16:18] ooo thanks. not sure why i didn't see that earlier [20:27:41] over 2200 pages. about three per second. not bad : ) [22:54:23] just setup a new 1.34.1 mediawiki and setup ldapprovider for AD auth can find docs how to setup the old ldap auth plugin for auto login can't find the flag to put in the .json for autologin [22:54:30] can someone point me in the right direction?