[09:31:33] hey guys, is there anyone in here that have a good experience with getting the AD integration to work?, i have installed the latest version and I am unable to get the AD auth to work [12:14:10] hi [13:33:58] Hi LaserAllan_. [13:34:02] I did it at some point. [13:34:03] !ldap [13:34:04] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication To get support, open a new thread on the support page http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication [13:34:12] You want that extension I imagine. [13:35:47] Haley: I have done as it is stated yet it doesn't work so i am wondering what i might be doing wrong [13:38:06] LaserAllan_: Are you getting any kind of error message? [13:39:05] LaserAllan_: I believe most of the code is in a single file or two. [13:39:14] So if you're getting an error message, you can trace through the code where it's coming from. [13:39:18] https://github.com/wikimedia/mediawiki-extensions-LdapAuthentication/blob/master/LdapPrimaryAuthenticationProvider.php and friends. [13:41:42] Haley: I will get back to you once I have looke dat it more thoroghly :) [13:41:58] Haley: Were thinkin using group segmentation as far as who has right to access what and so on [13:48:30] Haley: I am not getting any errors at all [13:58:17] Im trying to get auth0 + mediawiki working [13:58:31] i wonder how would it work with mediawiki groups and users permissions [13:58:32] ? [14:04:02] please :D [14:04:03] ideas [14:27:40] I have an older MediaWiki installation which shows a blank page and I do not know how to get rid of it.. I inserted "error_reporting( E_ALL ); ini_set( 'display_errors', 1 );" in LocalSettings.php but there is no output on my webbrowser [15:25:29] I have an older MediaWiki installation which shows a blank page and I do not know how to get rid of it.. I inserted "error_reporting( E_ALL ); ini_set( 'display_errors', 1 );" in LocalSettings.php but there is no output on my webbrowser [16:06:58] Technical Advice IRC meeting starting in 0 minutes in channel #wikimedia-tech, hosts: @Thiemo_WMDE & @nuria - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [16:15:11] nex: configure error logging in your php.ini and check the log file for more details [19:36:22] Is there a way to get a list of all installed extensions or skins? Working on some devops tooling. [19:36:42] s/list/array/ [19:41:28] N3X15: Yup! See https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=general%7Cextensions%7Cskins&format=jsonfm (change format to 'json' for actual JSON, etc.) and use that on the MediaWiki install of your choice. [19:41:45] Thanks. [19:44:16] hi. i'm a little bit stuck. i've just upgraded from 1.16.0 to 1.32.0, and found out afterwards that the ldap auth extension doesn't really work any longer [19:45:25] i know there's work underway for the successor, and i think a little work to maybe get the old extension partially working in the interim - i'm wondering if there might be someone here who could help in cobbling together something for now [19:51:11] lunaphyte: the ldap auth extension still works in the majority of use cases. What problems are you experiencing with it? [19:56:29] Skizzerz: oh, ok - thanks, that's encouraging to hear [19:57:47] oh, geez [19:57:53] no, it's working. i'm just myopic [19:58:40] i was expecting to see the login page, but now see a permission error page instead [19:58:44] it threw me off [19:59:17] is there a way to show the login page if a visitor hasn't authenticated? [19:59:43] if you restrict read access to your wiki, they will be prompted to login first [19:59:57] it won't redirect to the login page, but there will be a link [20:01:17] i do have read access restricted [20:01:30] there's the little login link at the top right [20:01:56] but if possible, it would be nice to show something a little bit more "friendly" [20:12:11] lunaphyte: that's one impressive upgrade :) LDAPAuth should mostly work as long as you use it for login and not request-level authentcation (ie. for replacing session cookies) [20:12:49] hah :) well, impressive isn't the word i've been using :p [20:12:54] but thanks :) [20:13:00] it's used in Wikimedia production, and while it hasn't been a source of constant pleasantness it does the job [20:13:13] that's good [20:14:48] i was just looking at another mediawiki install that's older. it's configured similarly, with read access restricted. it shows a "login required" page, rather than a "permission error" page. can i regain that behavior? [20:20:04] if you want to write a patch for that, searching for the string "'read'" in /includes will give you all the permission checks, and then some of those throw a PermissionError and should throw a UserNotLoggedIn instead for anons [20:20:07] the login required page just has a prominent "Please log in to view other pages." link that i don't see on the permission error page [20:20:29] the ones in the MediaWiki and Article classes, probably [20:21:20] oh, ok [20:21:53] so that is probably then a behavior that just works differently now with the current version? [20:22:07] i hadn't customized anything along those lines previously [20:22:24] I have no idea TBH, 1.16 was 8 years ago [20:23:32] if you just to hack something up, I guess you could write a BeforeInitialize hook, check the title against the read whitelist there and throw UserNotLoggedIn if it doesn't match and the user is anon? [20:23:35] fair enough, no worries :) [20:23:46] I don't have much development experience with private wikis [20:30:08] Is there a way to have this work standalone for openid populating user/groups [20:30:11] PluggableAuthPopulateGroups [20:30:12] ? [20:52:06] "If you have downloaded this go-pear.phar in the past six months, you should get a new copy of the same release version from GitHub (pear/pearweb_phars) and compare file hashes. If different, you may have the infected file." [20:52:10] https://twitter.com/pear/status/1086634503731404800 [20:52:14] ugh... [21:42:24] hello [21:52:31] is there a way to have all links on a page within a namespace that do not specify a namespace within the link, link within that namespace? [21:53:03] e.g. a link on the page Funstuff:Hello that was [[Goodbye]] would linke to Funstuff:Goodbye rather than just the default namespace Goodbye [21:53:15] I realize that that would complicate linking back to pages in the main namespace, if not make it outright impossible [21:53:32] but in the particular wiki I'm creating, there should be no need to do that anyway [22:22:36] Schroeder: no. If you feel it would be easier, you could create a template that does the linking. For example, to write {{L|Goodbye}}, which could be implemented as [[{{NAMESPACE}}:{{{1}}}]] [22:26:35] About what thing doin this {{#module:{{{1}}}|{{{2|}}}}} the "1" is calling itself right? [22:28:20] there's no such thing as #module. Do you mean #invoke? [22:28:37] its a parserfunction [22:29:10] it's not listed here so I don't know what's supposed to do https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [22:31:10] oh its just an example name [22:31:13] i meant [22:31:23] the "1" could calling itself? [22:34:26] the 1 means the first parameter passed to the template call [22:35:10] 2 means the second, and so on... Only unnamed parameters count for numbers (or parameter names that are actually numbers) [22:40:01] ok thanks