[00:00:23] giby: rich card as in Google cards? [00:01:05] in any case we have a support forum that's probably better for complex requests: https://discourse-mediawiki.wmflabs.org/ [06:32:10] yes tgr Thanks for the link [09:39:17] is there an organized source of best practices to use in mediawiki? the documentation is killing me. there are no practical examples and there's 10 different ways of doing certain things, and no part in the docs tells you what approach is better for which scenarios. [10:00:15] tkore\w: there is https://www.mediawiki.org/wiki/Manual:Coding_conventions , but it's mostly boring low-level stuff. honestly, your best bet is probably asking here on IRC [10:00:44] or finding some existing code that already does something related to what you want, and stealing ideas from it [10:03:19] well, my current use case to implement is pretty straight forward; I need to let the editor flag certain articles as 'New' for example, and support an expiry date (at which the 'flag' is disabled). Additionally, I need to let the editor add an icon to articles that are being flagged, so users can see it before entering an article (from an inbound link). [10:04:01] im thinking of an extension that creates 3 tables which handle the Tags, Tag icons and Tagged articles [10:04:44] the 'flag' i was talking about is basically sort of a tagging mechanism to let the user know of the importance of an article [10:05:10] the thing is that i believe i'll need a Special Page to handle the management of those [10:05:21] and im just stuck in the analysis-paralysis phase [10:05:23] :s [13:40:46] Hello, is LDAP still broken for new mediawiki versions? As per https://www.mediawiki.org/wiki/Extension:LDAP_Authentication [13:47:29] It's not broken in all configurations [13:50:51] Oh it's only broken for autoauthentication? Guess we dont use that when people are still loggin in with passwords [14:30:13] Technical Advice IRC meeting starting in 30 minutes in channel #wikimedia-tech, hosts: @amir1 & @Pablo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:49:17] hi bawolff [14:50:43] Hi [14:51:49] I'd like to change the 'Log in' link to point to a custom URL (for our single sign-on), what's the least intrusive way to do that? [14:52:42] Probably best to use AuthManager [14:52:48] !authmanager [14:52:48] There is no such key, you probably want to try: !AuthManager, [14:53:06] really? Case sensititve? [14:53:10] heh [14:53:13] !AuthManager [14:53:13] https://www.mediawiki.org/wiki/Manual:SessionManager_and_AuthManager [14:53:57] its designed for a more complex use case then yours, but will definitely get the job done [14:54:46] yeah, looks kinda complicated [14:54:58] * caolanm is not a PHP developer [14:55:01] It is unfortunately [14:56:06] Try to find something you can copy maybe? Theres probably other extensions that do similar things [14:56:46] what about messing with the urls in the PersonalUrls hook? https://www.mediawiki.org/wiki/Manual:Hooks/PersonalUrls [14:57:23] to be clear, I have authentication working with mediawiki, I just need to direct the user to a custom login page [14:57:32] (I think you got that already) [15:08:28] I'm trying to enable LDAP but my wiki's just giving a completely blank page... how do I know what's going wrong? [15:09:04] !blankpage [15:09:04] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [15:09:35] Langley: see above. [15:10:02] the tl;dr version is to check your error logs (if using apache, it'll probably be in your apache error logs) [15:10:32] you could also add error_reporting(E_ALL); to your LocalSettings.php immediately below the if you go that route, I recommend removing that line after you're done figuring out what's wrong [15:14:16] Hmm adding that to LocalConfig doesn't do anything, I don't see anything in apache's error_log [15:20:01] Oh I found it I think [15:27:13] Good lord it's finally working... problem was file permissions [15:34:48] Hello I am trying to work with WikiLove but I am not able to reproduce in my localhost I followed this https://www.mediawiki.org/wiki/Extension:WikiLove and also enabled required settings but also I am not able to see WikiLove in my localhost please help me in reproducing WikiLove in my Localhost [15:46:03] Mahesh, you enabled it in your editing tab in your preferences? [15:46:15] or "$wgDefaultUserOptions['wikilove-enabled'] = 1;"? Or how? [15:46:21] Which MediaWiki version? [15:46:27] Which exact WikiLove version? [15:48:14] I am using Mediawiki version 1.30 and WikiLove version 1.3.1 [15:49:33] Which git revision is "1.3.1"? [15:50:15] I enabled in preferences under "General options" I enbled wikilove option [15:52:32] Which git revision is "1.3.1"? [15:53:51] WikiLove 1.3.1 (587122b) [15:55:14] so you are using the latest unstable version instead of the stable REL1_30 branch? [15:56:08] Yes I have downloaded Latest version from gerrit [15:56:38] How do i get upload to appear in lightbox [15:57:52] Mahesh: why do you expect the latest unstable extension development code to work and run on a stable MediaWiki version? [15:58:00] kevindank, what is "lightbox"? [15:58:07] kevindank: what is "upload"? [15:58:39] I cloned by using git clone ssh://@gerrit.wikimedia.org:29418/mediawiki/extensions/WikiLove.git [15:58:48] Mahesh, see my last question [16:00:27] andre__: then what could be the better solution? [16:00:54] Mahesh, to use the REL1_30 branch of the extension together with the 1.30 version of the MedisWiki core software. [16:07:32] andre__: Sorry I am mistaken I am using mediawiki version 1.31.0-alpha (6b97d96) and WikiLove version 1.3.1 (587122b) Can you please show me a way to find WIkiLove in my localhost [16:11:37] andre__: Sorry as I was mistaken before Can you please help me? [16:19:35] I installed mediawiki and enabled the LDAP extension, following the tutorial, but I cannot login with LDAP user, is there a way to debug? I tried with #wgLDAPDebug = 3; $wgDebugLogGroups["ldap"] = "debug.log"; but it doesn't create the file [16:22:41] probably want a full log path [16:22:42] And to touch it first [16:26:08] My site is running extremely slow and with DB Backtracing i get the following error...any insight? https://pastebin.com/ednqdAH4 [16:27:23] You've cut off the first line [16:27:24] reportConnectionError('Unknown error (...') [16:28:13] (the line before that) [16:29:39] after refreshing im now getting this on some pages: Database error A database query error has occurred. This may indicate a bug in the software.[98459504b86ae871995df0ea] 2018-03-14 16:28:55: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" [16:31:19] Reedy:#0 D:\home\site\wwwroot\includes\libs\rdbms\loadbalancer\LoadBalancer.php(995): Wikimedia\Rdbms\Database-> [16:33:40] The unknown error doesn't really help :( [16:34:56] and of course now its not showing....the second error i posted is occuring still whenever i try to create a new page using PageForms [16:35:51] [043f44fa743183aead26c91d] 2018-03-14 16:35:34: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" [16:36:55] Did you run update.php after enabling pageforms? [16:36:59] Sounds like you're missing db tables [16:37:53] kevindank: don't worry about those, mediawiki is infested with them! :P Wikis I upgraded recently all had those, just better to forget about them, since they provide no information whatsoever [16:38:56] I did run update.php but it gave me a message about composer.lock file not being current and to update composer....so i updated composerand then tried to update.php again [16:39:26] kevindank: oh, you need to use a flag for that [16:39:33] something like ignore dependencies [16:39:56] --skip-external-dependencies [16:40:00] run update.php with that [16:40:37] but your composer being out of date isn't going to be a good thing [16:40:46] https://www.mediawiki.org/wiki/Manual:Update.php [16:41:13] Reedy: I read that it is a bug in mediawiki, semanticmediawiki, or just that mediawiki is not fully compatible with composer [16:41:16] from...somewhere [16:41:52] well maybe kevindank had different error than what I thought he had [16:42:01] hard to say without the exact error [16:42:21] when using composer.local.json to let Composer install extensions and their dependencies, you may see an error message saying that there is a mismatch between the installed and required version (e.g. "mediawiki/semantic-breadcrumb-links: 1.3.0 installed, ~1.3 required"). You can use this parameter to ignore the message and run update.php regardless. [16:43:16] so in the example, 1.3.0 is available but ~1.3 is required, doesn't work [16:43:49] That's an issue with composers semver then [16:43:57] But we generally don't recommend installing extensions via composer [16:49:56] Reedy: I think semanticmediawiki recommends that (as it has multiple dependencies I guess) [17:04:46] After rerunning with the --skip-external-dependencies it now no longer shows that Error while create semantic form pages....however it is still extremely slow [17:06:34] slowness can be many reasons [17:06:37] kevindank: have you run the semantic updater, I can't recall its name [17:08:08] 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server. [17:20:20] i just updated php to 7.1 and it seems to be running a bit smoother [18:04:19] kevindank: there might be something wrong, I doubt that PHP would be the main issue there [18:04:32] I mean the version [18:23:22] Hello, im looking to create a map on my home page of my wiki when different areas or hovered over or clicked on it would display information about the country...the country would be a category [18:23:56] an example of what exactly i want is here:http://climatepolicydatabase.org/ [18:24:13] That site is a mediawiki site, im just not sure what plugin would have been used to create that [18:26:53] maybe they draw a vector map [18:27:31] Loading failed for the