[00:21:35] Hello all [01:29:03] I'm back with another error upgrading to 1.32 line 961 of loadbalencer got connection to aiowiki but expected local domain aiowiki-mediawiki [03:28:01] is anyone around that could explain what the Mediawiki API is looking for as far as the cookies being returned? [03:38:26] I'm doing an upgrade from 1.16.0 to 1.32 (hopefully this isn't a Bad Idea) and getting stuck on the DB upgrade script. I've looked around online a bit but can't find what might be wrong here. Error and config details here: https://dpaste.de/Kg3z [03:38:37] Thanks for any assistance! [03:44:37] hello, whenever I dont use ugly URLs, I get an infinite redirect loop [03:44:45] been a problem for months [03:46:47] nginx/1.14.2 --> Apache/2.4.6 --> mediawiki 3.1 (PHP version doesnt seem to matter) [03:47:07] I mean 1.31 [04:05:46] rjhatl are you still there? I have the same problem I think I almost have it though [04:06:51] happyhappy22: could you send your nginx vhost configuration on a pastebin? [04:07:00] Operator873: can you clarify the question? [04:07:14] happyhappy22: I had a lot of trouble myself setting nginx properly for short urls [04:07:31] red__: Yup, still here [04:08:05] do you have a $wgDBmwschema specified in localsettings? [04:08:08] I'm attempting to have a bot log in via API. I can obtain login in token, but I'm failing when attempting to do the actual login. I am suspicious it is being caused by cookies [04:09:06] Yep. Let me try commenting thatout. [04:09:10] Operator873, can i see your code example? i'll try to use it to log in to my wiki [04:10:45] I've picked up "wikidb_session " and included it in the header during the attempted login [04:11:14] red__, that worked - thanks! Now I'm on to db conversion errors :P [04:11:24] err, update not conversion errors [04:11:39] I'm most curious about whether or not "UseDC master" should be returned as well [04:12:10] Sveta: I'm using a tcl script... It's a very rare language... can you support? [04:12:58] Operator873, i can install tcl on my computer, i reckon i can't help you without seeing the codes [04:13:02] glad I could help. I had to add the drop mysql permission so that update.php could do its thing then I removed it [04:13:09] Operator873: using a library that manages HTTP cookies will probably make your life easier [04:13:34] tgr I've been using http package [04:13:38] would you suggest curl? [04:13:50] if it's a standard installation you'll name ID and Session, IIRC [04:14:22] (if you use bot passwords the names will be different) [04:15:11] Operator873: curl can be used with the cookie jar + cookie file options should work [04:15:25] I don't know much about tcl libraries [04:15:52] but in general any library that has a cookie jar would probably do [04:15:53] It's mainly my fault. I keep procrastinating re-writing my bot in python [04:16:17] I'll rewrite for curl and see what happens [04:16:19] you might need to enable it, or use a session instead of a connection, or some such [04:16:32] in python it would be requests.Session for example [04:16:33] extarys_: here are the relevant configs https://pastebin.com/4EaNr1bT [04:17:06] thnks tgr [04:19:00] my wiki works fine with ugly URLs, its just it does an infinite redirect no matter how I try to shorten the URL [04:22:10] Operator873, there is pywikibot if it is useful? [04:22:45] lol I've looked and considered many times. [04:23:09] happyhappy22: Did you put ton proper config in your LocalSettings file? [04:23:35] happyhappy22: Oh sorry just saw it at the end of the file you sent [04:25:50] happyhappy22: Add $wgUsePathInfo = true; in your LocalSettings too: https://www.mediawiki.org/wiki/Manual:$wgUsePathInfo [04:26:00] OK, on my 1.16 --> 1.32 db upgrade, I'm now hitting an error during the batch conversion of user_options. The error says the Content model must be in the DB, not sure if this has anything to do with the "Turning off Content Handler DB fields" message at the start of the update.php script. I clearly need to learn PHP.. Errors are here: https://dpaste.de/opqQ. Thanks in advance for any pointers. [04:27:01] extarys_:just tried it, didnt fix it [04:27:31] :/ I'm not a pro at url rewrite but I couldn't find what cause it [04:27:57] I put in a support topic here https://www.mediawiki.org/wiki/Project:Support_desk [04:28:04] guess thats the proper place [04:28:05] ? [04:28:38] thought maybe it had to do with http and https ping-ponging between apache and nginx, but I have no idea [04:29:11] This is my old .htaccess: https://pastebin.com/brTNEgbf [04:29:39] Are you using apache only for mediawiki? If so you could use only nginxc [04:29:58] Yes I suppose this is the right place [04:30:12] well eventually apache is going to cover multiple sites [04:30:33] and will make a separate apache vhost etc etc [04:31:37] okok [04:32:24] I used to have a test mediawiki on a synology nas, the config above is from the default installation and it was working great (but not secure, you need to disallow access to /maintenance and /mw-config too, this was a local installation [04:37:40] I'm displaying a table with floats in it, I'm wraping the values in a template to try and change the background color depending on the value. How would I do this without having a tons of {{#expr}} ? [04:45:21] OK, I resolved the DB update problem - I commented out all of the extensions in the local config and it works fine. [09:14:33] DELETE: http://www.x2145-productions.technology/index.php?title=Cita_A_Ciegas [09:15:32] HOW CAN YOU DELETE THIS PAGE: https://zerodays.date/wiki/Joven-Anuncia-En-Facebook-Su-Suicidio--Y-Lo-Cumple [09:16:26] because he lies on the page [09:30:32] hi, is there a way to get the total number of results of an api.php query, short of browsing all pages? [09:30:52] santi_: speak with one of the administrators at the wiki [09:31:34] santi_: open the page titled "Special:ListUsers/sysop" [09:41:22] thank you [14:30:59] Hello folks. I am unable to get LDAP debug output. I have $wgDebugLogGroups['ldap'] = '/var/log/mediawiki/mw-ldap.log'; in my config, the directory is writable, but no logfile ever appears there. [14:31:07] I tried /tmp etc. and it just doesn't log anything. [14:31:43] Mandevil: which ldap extension are you using? [14:32:06] This one: https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Examples [14:32:10] Helloo [14:33:33] I suspect that the expect that the extension is not used at all. [14:33:52] But the config is there and seems OK. And the whole thing _used_to_work_. [14:36:38] Mandevil: did you also set $wgLDAPDebug = 3; [14:36:45] Yes! [14:37:12] ok, in that case, i think you're right, it probably means the extension is not getting triggered [14:37:40] How can I troubleshoot that? [14:37:51] I am pretty certain it is correctly configured. [14:38:01] I think that extension had issues with MW 1.27 and greater, or is bugy on newer versions maybe [14:38:29] Any other extension to use to authenticate against AD? [14:38:53] hi, is there a way to get the total number of results of an api.php query, short of browsing all the result pages? [14:40:27] idlus_: Generally no, particularly with queries that "continue" to another page, since MW does not do the whole query to save time, but only the part that is needed to show the current page [14:41:17] bawolff: understood, thanks [15:01:40] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:06:36] When I do php -m, I don't see php ldap module loaded. [15:06:40] But it's installed. [15:13:24] Hm, there seems to be some confusion... I have php5 and php (which is 7.0). [15:13:35] And LDAP extension is present only in the php5 [15:17:00] Yes, after installing php7.0-ldap I get ldap in php -m. [15:17:09] But authentication still not working nor logging. [15:35:15] oh, I finally got the logging work... here's what it says: [15:35:21] 2019-02-20 15:34:36 l5nets02 wiki: 2.1.0 It looks like you are missing LDAP support; please ensure you have either compiled LDAP support in, or have enabled the module. If the authentication is working for you, the plugin isn't properly detecting the LDAP module, and you can safely ignore this message. [15:36:21] But LDAP support is there. [15:36:34] root@l5nets02:/# php7.0 -m | grep ldap [15:36:35] ldap [15:36:51] root@l5nets02:/# php-cgi -m | grep ldap [15:36:51] ldap [15:51:18] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [17:09:30] dang .. just missed it [17:18:52] revansx[m]: Feel free to still ask questions outside of the office hours [17:22:30] ok. thanksbawolff bawolff .. here's a silly newb question.. is the #wikimedia-tech channel mentioned in the above link available here in RIOT? [17:22:54] Umm, good question. I haven't actually used riot, so I'm not sure [17:23:11] I assume there's a riot bridge to all freenode channels, but I don't really know how it works [17:24:29] my understanding is that riot is an IRC client in addition to other things.. does anyone know how I would find the #wikimedia-tech channel in riot? [17:28:42] yeah, the matrix.org homeserver is bridged to all of Freenode [17:29:17] I think the naming schema is something like #freenode_#wikimedia-tech:matrix.org? [17:29:52] but if you just open the channel with the normal Riot UI, there will be a dropdown where you can select Freenode and then search for channels [17:29:56] yep! .. there it is. thanks! [20:31:24] emailuser is less rate limited for bots, right? [20:31:39] specifically what is the rate limit by default for non-bots? [20:31:58] i'm using the email facility to deliver people somewhat frequent notifications, and rate limiting is not being super helpful [20:36:10] have you tried Extension:MassMessage (delivers to talk pages, but users can enable email notifs for talk page changes), or Extension:MassMessageEmail ? [22:51:00] Skizzerz, i think it's installed, but we need personalised messages for each individual, does it allow that? [22:51:26] Skizzerz, i prepared individual text via a script externally [22:51:53] don't know if it does that, I've never used it personally [22:52:05] but... I don't think it does [22:52:37] right, hence the questions about the emailuser facility [22:53:59] seems to be 20 per 86400 seconds [22:54:06] bots don't inherently have a higher limit [22:55:31] if you have the 'noratelimit' right (in $wgGroupPermissions) you bypass that limit and can send however many emails you want [22:55:35] by default sysops have it [22:57:21] alternatively you can modify $wgRateLimits['emailuser']['user'] to modify the default for all logged-in users [23:00:11] for the way mariadb works for storage, if it's on it's own dedicated space and it's reached "capacity" - when would raising the alloted space be needed if there are no issues with read/writes? [23:00:23] (for a mediawiki installation) [23:21:27] or $wgRateLimits['emailuser']['bot'] to modify the default for all bots [23:21:58] c: what capacity are you talking about?