[12:25:46] Ok a slut [12:47:44] Hey i have mediawiki 1.28, all emails are being sent except for watchlist page change emails, can anyone help? [13:06:53] CookieMonsters: are you hosting this on your own server or hosting company? [13:08:02] hi, i'm trying to make HHVM work with mediawiki; currently i have a php-fpm installation that i'd like to move if everything goes well [13:08:07] On my own server [13:08:17] Zppix: On my own server [13:08:23] everything seems to work, but my logs are flooded with this redis-related error: Warning: preg_match() expects parameter 2 to be string, null given in /var/www/w/includes/libs/redis/RedisConnRef.php on line 97 [13:08:39] CookieMonsters: okay, are you able to check the logs and see if any errors are reported from mailserver [13:09:26] it seems like the warning is generated by this line: https://doc.wikimedia.org/mediawiki-core/master/php/RedisConnRef_8php_source.html -> if ( preg_match( '/^ERR operation not permitted\b/', $conn->getLastError() ) ) { -- maybe the HHVM redis client doesn't have a getLastError method? i dunno [13:09:37] Zppix: Nothing has reached mailserver, MediaWiki is sending lost password emails and emailuser emails to mail server, but not watched pages notification emails [13:11:09] CookieMonsters: be sure to have it enabled in user preferences onwiki [13:11:52] Zppix: I have added $wgEnotifWatchlist = true; to localsettings.php and also can confirm the users have ticked 'Email me when a page or a file on my watchlist is changed' [13:12:29] has the webserver been restarted since localsettings was changed? [13:13:06] Zppix: Yes tried that too [13:13:31] Zppix: Is MediaWiki able to log anywhere when it trys to send an email, so we can at least see its attempting to send it? [13:13:54] along with other logs [13:14:03] CookieMonsters: yes, it should be in the debug log [13:14:10] if you enable it [13:14:14] !debug [13:14:14] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [13:15:05] CookieMonsters: are you sure the user has viewed the page since last email was sent [13:15:07] bawolff: Is it the in depth debugging I want to follow? [13:15:35] bawolff: Yes, I am trying this with two user loggings myself. [13:15:46] watchlist notifications are suppressed if the user hasnt viewed the page since last email [13:16:27] bawolff: User has viewed page since last email [13:16:42] bawolff: BTW is there any way of changing that? [13:16:58] https://www.mediawiki.org/wiki/Manual:How_to_debug#Setting_up_a_debug_log_file is the debug log you want [13:17:27] umm im not sure off the top of my head. I dont think so [13:18:17] its based on wl_notificationtimestamp in the watchlist table in the db if you want to check that the field is being cleared properly [13:19:09] bawolff: Didnt think so. Also, I have enabled $wgEmailConfirmToEdit = true;, however it seems you can still have multiple users created with the same email address [13:19:28] bawolff: How can i only allow one user per email address? [13:19:43] jasperson: maybe a version issue. I know other people have used hhvm succesfully with mw [13:20:27] emailConfirmToEdit only verifies that the user controls the email. Multiple users are allowed same email [13:20:41] bawolff: i just disabled warnings and everything works anyway, but if i didn't it would generate 1 mb/minute of logs.. [13:21:12] you'd need an extension to restrict one email to one user [13:25:12] bawolff: Do you know of such extension? [13:25:56] No. Its not a usual request because its trivial for people to get multiple emails [13:50:58] We have changed from one server to another, and upgraded our wiki to 1.28 at the same time, and now character encoding on some pages looks to be broken [13:51:33] " now shows as “ [14:00:08] CookieMonsters: where? [14:00:35] what's your database and version and collation? [14:01:05] andre__: this is on my own wiki, turns out its because we did a mysqldump from the old server [14:01:22] andre__: guess this means we have to manually go through each page and edit them all down manually [14:06:36] CookieMonsters: a mysqldump per se is not an issue. [14:06:54] what's your database collation? [14:14:03] anyone who can help me with mediawiki and the LDAP extension? [14:21:19] andrew__: MySQL 5.7.17-log, is that what you mean? [14:23:24] CookieMonsters, that, and the collation. [14:23:37] https://dev.mysql.com/doc/refman/5.7/en/charset-database.html [14:23:37] https://dev.mysql.com/doc/refman/5.7/en/show-collation.html [14:24:14] I have the basic LDAP integration working but I'm stuck on using groups (to make certain users admin) and sharing properties (mainly email address)? [14:27:04] andre__: Are you wanting me to paste the full collation in here? or is there a certain park? [14:27:06] part*? [14:27:10] no [14:27:21] I want you to compare the settings to your previous data base [14:27:39] andre__ok [14:27:40] because if " becomes “ that sounds like a character encoding / charset issue. [14:30:33] andre__, you're one of the devs of mediawiki? [14:30:47] sankasan: no [14:31:00] sankasan: what would it change if I was? :) [14:39:14] andre__: the old db has 126 rows for collation, but new one has 222 [14:40:58] andre__, well, perhaps you would know a thing or two to help me with the LDAP integration ;) [14:41:42] sankasan: perhaps I know a thing or two but whether I am some developer or not is entirely irrelevant when it comes to your question about LDAP integration [14:41:55] sankasan: you never know andre__ might know about it anyway, he doesnt have to be a mediawiki developer to know about it ;) [14:41:56] if someone knows something and sees your question, someone answers. If not, then not. That's how IRC works. [14:42:24] or she * (sorry!) [14:42:28] depends on the channel / server I guess [14:42:36] :) [14:42:48] sankasan: No. IRC means patience. Always. [14:43:04] andre__: any idea what i shound be looking for in the collation differences? [14:43:12] I know... and I asked this question almost a week ago without a response (ZNC to keep track of the discussions in here) [14:43:49] However little activity so I'm jumping on the first signs of life while :) [14:43:50] sankasan: which question? [14:44:02] if anyone can help you? [14:44:03] Is there someone who can help me out with mediawiki and LDAP integration? I have the basics working but I'm stuck on using groups (to make certain users admin) and sharing properties (mainly email address)? [14:44:06] that's an "ask to ask" question. [14:44:42] sankasan: If you really intended to ask whether you are stuck on using groups and sharing properties, I'm afraid only you can answer that and nobody else ;) [14:45:13] sankasan, but if you have a specific question related to being stuck, feel free to ask it, please! [14:45:44] * andre__ recommends http://catb.org/~esr/faqs/smart-questions.html#explicit [14:47:16] andre__: utf8_general_mysql500_ci exists in old one but not in new one [14:47:35] sorry i meant new but not old** [14:48:09] I have the basics working (users from LDAP can login) but I'm stuck on using groups (to make specific users sysop) and sharing properties (mainly email address). Can someone show me an example of how this is done and/or point me at the relevant documentation. I guess my questions basically it boils down to if setting $wgGroupPermissions['some_AD_group_the_sysops_are_in'] = $wgGroupPermissions['sysop']; should be sufficient. And if not what I should add [14:48:10] there. [14:52:19] CookieMonsters, sounds like you having something to investigate :) [14:52:28] (sorry, I don't know much more details either) [14:57:48] Hello is this basicly support for how to edit wikipedia pages.... or should i go to some wiikipedia channel for that0+ [14:57:50] ? [15:03:29] andre__: theres lots of difference, just finsihed comparing the two, do you know which collation I would need [15:05:42] andre__: the default character set for both old and new server and the default collation name for old and new server are identical [15:05:48] Hi all, [15:06:11] CookieMonsters, no idea, sorry :( Was just trying to point out potential reasons for issues [15:06:15] hi kalle [15:06:35] stream90 [15:08:13] On my newly installed mediawiki I'm limited to 2MB files for uploads at http://wiki.pjodd.se/mediawiki/index.php/Special:Uppladdning although my wgMaxUploadSize is set to 1024 * 1024 * 20 (20MB). Previously to setting that it still said 2MB even though the DefaultSettings has 100MB. Can someone please help me figuring that out? [15:25:34] Before I start screaming - https://en.wikisource.org/wiki/Template:Ukroadsign/images what's wrong? [15:25:56] It's supposed to in respect of @dia in the image param , choose a file based on newno or diagram paramaters [15:26:05] At present it refuses to co-operate [15:26:18] Where's the "missing" item please? [15:26:26] sorry I got cut off [15:31:54] It's supposed to in respect of @dia in the image param , choose a file based on newno or diagram paramaters [15:31:59] At present it refuses to co-operate [15:32:01] Where's the "missing" item please? [15:32:15] https://en.wikisource.org/wiki/Page:UKSI19810859.pdf/37 [15:32:29] Should be displaying a file that is KNOWN to exist in the top item [15:32:45] The template should be choosing it but seems to have a glitch [15:32:50] What is the glitch please? [15:33:46] Hmm [15:34:22] The glitch seems to be that unlike sensible programming languages mediawiki can't seemingly determine between an "" empty string and a null [15:34:25] value [15:34:27] no idea what is "the top item". [15:34:31] andre_ [15:34:35] Use your eyes [15:34:39] Diagram 501 [15:34:48] Should be displaying a graphic [15:34:58] It's not currently [15:35:12] My eyes (if I have some) will not help when instructions are vague. Anyway, I'm out. [15:35:45] Hi all, I tried to increase upload limit from default 2M to 2G so I added wgMaxUploadSize to my LocalSettings file and set it to 2147483647. But in the Special:Upload dialog there is still 2M. How can I fix it? [15:35:54] andre_: Sorry [15:36:02] But having spent a while trying to get this working [15:36:16] I am not exactly in the best of moods right now [15:36:28] When I tried to add some other allowed extensions it worked as it should. [15:36:37] So I figured it out, wgMaxUploadSize controls the wiki limit, but php.ini has settings too. And the limit it says in the wiki is bound to the php.ini setting. A bit confusing. [15:37:24] I increased (tried to increase) the php.ini limit too, I have upload_max_filesize = 2048M in /etc/php/7.0/cgi/php.ini [15:38:22] I have something in /url/lib/php/7.0/ too. [15:39:09] kalle, ^^^ [15:40:45] I've solved it myself by running service lighttpd restart :) [15:55:19] silly Urbanecm [16:21:14] Reedy, it just didn't come to my mind... It happens sometimes :) [16:21:30] Usually, any change of PHP config should mean a webserver restart [16:26:29] https://phabricator.wikimedia.org/T162375 [21:03:00] Concerning the 1.27.2 patch that was just released, is it rolling back included extensions? I am seeing lots of replacements of [] BACK to array(). [21:05:17] RainbowSprinkles: ^ [21:05:47] Rolling back? [21:06:02] which patch? what? where? when? how? [21:06:08] Trela: https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.2.patch.gz ? [21:06:31] From here: https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.2.tar.gz [21:07:02] The patch version fails for me due to some conflicts in base code edits on my end. [21:07:42] uh, but there are patches being just submitted and not merged yet, how do we have a tarball? [21:07:59] It seems to only be affecting extensions/LocalisationUpdate. [21:08:00] I only see one change from array() to [], and that's in mw-config/index.php (which has to support crappy old versions of PHP on purpose) [21:08:07] Vulpix: By doing it locally [21:08:11] Vulpix: Because I make the tarball before I push patches :) [21:08:14] That's how it's always done [21:08:44] omg [21:09:37] https://github.com/wikimedia/mediawiki-extensions-LocalisationUpdate/commits/REL1_27 [21:09:50] There's been no LU commits for REL1_27 in a long time [21:10:57] I don't see any LU changes in the .patch [21:11:49] http://i.imgur.com/aBITXdl.png [21:12:02] Seems like the tarball contains an older version of LocalisationUpdate. [21:12:23] Of course, that change is mostly a no op [21:12:36] Yes, it's noise... But it doesn't change anything [21:12:38] Ah, that is the 1_27 that was pulled down in the release. [21:13:16] Somehow I got the LU update past the 1_27 branch in 1.27.0 and 1.27.1. O_o [21:13:26] rofl [21:14:53] I found it! [21:15:21] The MediaWiki Language Extension Bundle(MLEB) contains the master checkout of LU for its 1.27 distribution. [21:15:52] Sorry, false alarm. :D [21:16:12] Aha [21:16:14] Yeah [21:16:17] It's.. weird [21:16:20] And causes problems