[00:06:27] James_F: You already found a bug https://phabricator.wikimedia.org/T160595 [00:07:01] It also looks like VE just dies horribly in it. [00:07:03] Which is sad. [00:07:18] James_F: File a bug! [00:07:23] File many bugs! [00:07:41] Reedy: T132005 [00:07:41] T132005: MediaWiki VisualEditor and PageAttachment compatibility - https://phabricator.wikimedia.org/T132005 [00:07:56] Reedy: Though Phab doesn't know what PageAttachment is. [00:08:03] Oh well [00:10:13] bd808: But I'm laaaaazy. [00:10:17] bd808: Why can't I disable Vector? :P [00:10:47] Reedy: good question [00:11:00] Sams-MBP:vagrant reedy$ vagrant roles disable vector [00:11:00] 'vector' is not currently enabled. [00:11:09] Vector should be a role... Possibly just enabled by default [00:11:12] * Reedy files a task [00:11:48] "enabled by default" is tricky [00:12:17] right now the only default role is role::mediawiki [00:12:34] and turning it off isn't really so much possible [00:13:48] * bd808 mumbles something about needing a better config system for mw-vagrant but having no time [00:15:22] vagrant roles enable no-vector? :P [00:15:44] hahah [00:15:57] also, T160595 sounds totally like something that krinkle just changed today [00:15:57] T160595: Uncaught TypeError: $content.find(...).makeCollapsible is not a function - https://phabricator.wikimedia.org/T160595 [00:16:17] where the script that is now missing should be magically preloaded when needed rather than always [00:20:00] Oh, yeah, if Timeless was expecting it to be always loaded it just needs to add a dependency. [01:19:57] k6ka: Is wm-bot RC fixed now? I restarted it. [01:23:11] !botbrain [01:23:11] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [01:24:18] ShoeMaker, hmm, the bot is active, but I don't know what you mean by "RC fixed". I don't see earlier discussion above, what are you referring to? [01:29:59] I got an email from phab that k6ka submitted a ticket that the recentchanges feed wasn't working. [01:31:14] https://phabricator.wikimedia.org/T160542 [01:37:36] does anyone happen to know where the doc2wiki.xsl described in this presentation can be found? http://xmlportfolio.com/DocBook2Wikipedia.pdf [01:38:03] I've been digging all over and haven't found anything that resembles it [01:53:50] ShoeMaker: doesn't seem like it. [02:07:58] I was hoping it was fixed by the restart [02:08:03] Feed is enabled [02:08:03] @recentchanges-on [02:08:16] Feed disabled [02:08:16] @recentchanges-off [02:08:22] Seems to be working there. [02:10:29] !e IEWarn [02:10:29] https://www.mediawiki.org/wiki/Extension:IEWarn [05:23:21] hi there. i just upgraded from 1.23.x to 1.27.x - i am using ryan lane's LDAP auth extension. before upgrading after authentication of an unknown wiki user to the ldap has created an user account in the wiki-database. after upgrading to 1.27.x this is not happening anyomre and leading to error: auto-creation of local account failed. automatic account creation is not allowed. any hints? [06:53:39] hello [06:54:28] someone? [06:55:52] just wanted to ask if mediawiki has a limitation on how many searches a user can perform per day? [07:57:53] Hi, is there a way to completely disable template substitution in a wiki? [08:13:40] Anyone here? [08:13:42] Hi Touli, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [08:14:02] Is there a way to completely disable template substitution in a wiki? [08:14:44] * Touli *just notices that it's a bot! [08:32:59] I need help with conditional tables. I need 1 to 6 rows added depending on a value and it's failing pretty badly. [08:34:37] https://dpaste.de/MEVT [08:35:17] I just realized that you can't use HTML tags like Wikipedia does cuz of how they process that [08:35:46] How else can I get the rows filled out without the pipe conflict? [08:44:16] how hard would it be to migrate all users to an LDAP database, after they already registered with local accounts ? [08:44:36] is there any built-in support to "link" LDAP accounts to previously existing local ones ? [09:41:35] I'm so close I can smell it... [09:42:31] https://dpaste.de/oDKs [09:46:17] Ahh finally got it [09:46:32] Sub in #ifeq with #ifexpr and boom [10:31:01] strk: good question...are you using LDAPAuth by Ryane Lane? [10:32:06] Is there a way to completely disable template substitution in a wiki? [10:34:16] beli: I'm still not using anything, just looking ahead what it would take to make it not hurt too much [10:34:53] it's been a big initial mistake not to use LDAP, now the DB is full of users and who knows if they chagned their name and what would with a LDAP login module [10:35:55] for https://trac.osgeo.org/osgeo/ticket/165 [10:36:43] strk: right. i am struggeling with some related stuff after upgrading from 1.23.x to 1.27.x, but i recommend to read the LDAP Auth extensions documentation and/or forums. Also Ryan helps out a lot if you mail him [10:37:36] beli: I undertand from your statement that there are different alternetive extensions for LDAP ? [10:39:10] strk: afaik not...there may be, but i used ryan's extension. [10:42:56] does ryan frequent this channel to ? [10:42:58] *too [10:55:47] strk: it was so in the past, but depends also on time zone ;) [11:02:59] Hi. I have set $$wgAllowImageTag = true; [11:02:59] $wgAllowExternalImagesFrom = 'https://example.com/'; in LocalSettings. But when I try to add an image using the Touli: Did you do the first one with two $? [11:36:06] How did I miss that? :O [11:44:08] Reedy, Okay so. With $wgAllowExternalImagesFrom in place, only the images from the specified domain should work. But right now, I can load images from other domains as well. How do I prevent this? [11:44:53] wgAllowExternalImagesFrom should be right [11:47:10] Yeah, but with that in place I am still able to load images from other domains. [11:49:42] Am I missing something? Could this be a bug? [11:49:53] Could be a bug, yeah [11:50:04] $wgAllowExternalImages is true I presume too? [11:52:31] Yes. [11:52:38] It is set to true. [11:53:42] I see there is another setting called as whitelist. Will give it a try. [11:55:23] There seems to be some onwiki whitelist [11:55:33] $wgEnableImageWhitelist [11:55:39] MediaWiki:External image whitelist [11:56:53] Welp! I explicitly set $wgAllowExternalImages = false; and still I can load images from other sites. [11:57:25] Will $wgAllowImageTag = true; override the other two and let MW load external images? [11:57:36] It seems so! [12:03:29] Reedy, I added only my domain to the whitelist and I still can load images from flickr and other sites. [12:04:17] $wgAllowImageTag = true; [12:04:17] $wgEnableImageWhitelist = true; [These are the only settings in my LocalSettings now] [12:05:20] And the regex for the site is http://xyz\.org/ [12:05:47] Sorry the regex is ^http://xyz\.org/ [12:08:09] This got to be a bug! [12:09:47] Sounds like it [12:26:11] Touli: Can you file a bug in phabricator? [12:27:18] I will do that. But I don't have an account on phabricator or wikipedia yet. Is it okay if I create an issue on Github repo? [12:41:05] Touli: Ideally not [12:59:20] Hi all, so I am having upgrade issues from 1.23 to 1.28, I fixed a session error but now I can't login, keep getting " this action has been canceled as a precaution against session hijacking" Does anyone have a fix for this [13:03:56] Tazmain, maybe https://www.mediawiki.org/wiki/Topic:T7irqyk4rhfy3ohk [13:04:54] andre__, no luck [13:06:19] are you able to kill all the sessions? Tazmain [13:06:33] Zppix, I restarted apache ? [13:06:43] Tazmain: hold on [13:07:18] so after upgrading this was my first issues, https://www.mediawiki.org/wiki/Topic:Ti0s1f3ge84gv78l , I changed the regex, and now I get the hijack eror [13:07:20] error [13:09:23] Touli: Though, if you want to do it on github, I can transfer it if you write it all out [13:10:50] Tazmain: are you familiar in running maintenance scripts? [13:11:09] Zppix, a bit? I have ran the upgrade.php [13:11:53] okay in the same folder, it should be called doMaintenance.php try running it then see if the error still is there [13:11:58] Tazmain [13:12:30] ... [13:12:44] doMaintenance is a wrapper script [13:13:04] Reedy: then the documentation needs updated [13:13:11] Which documentation? [13:13:20] web [13:13:25] mediawiki.org [13:13:25] Link? [13:13:31] Try running doMaintenance.php [13:13:32] https://www.mediawiki.org/wiki/Manual:DoMaintenance.php [13:13:36] It won't do anything [13:14:13] so if I run that, I get http://dpaste.com/2CC4JJM [13:14:23] and that folder p4-bin does not exists [13:14:53] Tazmain: disregard that thats my fault [13:15:02] oh [13:16:33] what else can I do ? [13:17:17] testing? [13:17:28] Tazmain: im looking wait one [13:17:31] Looks like it does a sanity check [13:17:43] meh [13:17:44] if ( !$maintClass || !class_exists( $maintClass ) ) { [13:17:44] echo "\$maintClass is not set or is set to a non-existent class.\n"; [13:17:44] exit( 1 ); [13:17:45] } [13:17:45] / Get an object to start us off [13:17:49] $maintenance = new $maintClass(); [13:17:54] It won't do anything [13:18:21] Reedy: what is the script to kill sessions [13:18:35] invalidateUserSessions.php ? [13:18:43] try running that Tazmain ^ [13:19:04] tells me either --user or --file is required [13:19:35] okay used my username will check [13:19:36] reedy ^ [13:19:52] so I used my username and I still get that error [13:21:20] reset user token >? [13:21:56] I am not quite sure what that would do let me look [13:22:26] Tazmain: try it [13:22:36] Tazmain: the worst thing it will do is log everyone out [13:22:47] well now the whole site it down, " Operation not permitted in /var/www/mediawiki/vendor/wikimedia/cdb/src/Writer/DBA.php on line 59" [13:23:10] 'Fatal error: Uncaught exception 'Cdb\Exception' with message 'Unable to move the new CDB file into place.' in /var/www/mediawiki/vendor/wikimedia/cdb/src/Writer/DBA.php:60 ' [13:23:20] thats a DB problem [13:23:34] so now my db is messed up ? [13:23:38] what DB system are you using [13:23:43] mysql [13:23:52] what version [13:24:10] mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3 [13:24:26] is it possible to just setup a new wiki? Because that seems to work, and just pull everything over [13:25:23] MySQL 5.0.3+ is the minium version requirement [13:25:41] so im not sure why its not working [13:25:56] well this just happened after the maintainance scripts [13:25:58] php 5.5.9 or later, what are you running? [13:26:01] That's a file permissions problem [13:26:18] 755 right ? [13:26:46] change the file permissions, same error [13:27:27] are you using an third party host or are you personally hosting [13:27:35] personally [13:27:45] wait I see the folder it is complaining about [13:28:25] Hey Reedy! Looks like we may have a student (IMO) for the Quiz project as we have several good applicants (although obviously we can't know for sure until the selection process) [13:29:02] :) [13:29:13] okay cleared out /tmp [13:29:17] I've added you to a conpherence about it; what's a good way to do mentor -communication things with you? IRC DM? Email? [13:29:27] yeah no still stuck with trying to login [13:29:53] what php version out of curiousity ? [13:30:07] HP 5.5.9-1ubuntu4.21 (cli) (built: Feb 9 2017 20:54:58) [13:30:37] yeah, i have zero clue on why it wont work Reedy ideas? [13:31:07] so the version 1.23 works just fine, but if I upgrade to 1.27 or 1.28 I get all these issues starting with the sessionmanager not working and me needing to modify the regex [13:31:33] so I did that, now I can't login due to that hijack error [13:31:53] modifiyng session manager code is not recommended, that is more than likely the cause [13:32:16] well without that (see here https://www.mediawiki.org/wiki/Topic:Ti0s1f3ge84gv78l ) it does not work , the website won't even load [13:34:30] "This new session manager does not work." is clearly a lie [13:34:35] It works fine and has for months for Wikimedia ;) [13:34:46] Reedy, well not if I upgrade [13:34:56] Reedy, if I setup a new instance on a different machine it works [13:34:59] o_0 [13:35:07] exactly [13:35:08] Different machine could mean many differences though [13:35:21] thats 1.27 bug and 1.28 is the version your using [13:35:24] Same Os, same config, same versions of the software [13:35:53] PHP config definitely the same? [13:36:00] the issue is present in 1.27 and 1.28, I have tried to upgrade to both. 1.23 does not have this session manager [13:36:14] Reedy, yeah it hasn't been changed from the defaults as far as I know [13:36:46] I can try reset the php.ini [13:37:29] 1.23 is old and infact will be dropped from support within the coming months. [13:37:43] it will yes [13:37:48] but I can't upgrade -_- [13:38:21] Reedy, okay php.ini file in /etc/php5/apache/ is now back to the default one [13:38:22] you could in theory start new and import pages from old wiki? [13:38:29] how ? [13:38:31] restarted your webserver after? [13:38:36] Reedy, I did [13:38:42] Just copy LocalSettings, uploads and the database [13:39:11] I have the db saved. [13:39:21] mvolz: Usually, IRC DM is probably best if you want a timely reply from me... :P [13:42:44] Reedy, okay I undid my change to the SessionManager, it is working but still can't login [13:43:16] Should I restore the old DB, and upgrade again ? [13:43:31] I don't think it's gonna be anything to do with what's in the DB [13:43:34] it's gonna be php config related [13:43:48] you could switch sessions to redis or similar [13:43:49] well that is now on the maintainers config file now [13:44:26] I am still getting the this action has ben canceled as a precaution against session hijacking [13:46:27] Reedy: it almost sounds like a bad user session [13:51:41] going to try regenerate the LocalSettings.php [13:54:06] oh gr8, "[528e065907bad7d8d2ca7aa9] 2017-03-16 13:53:57: Fatal exception of type MWException" [13:54:44] that is all I see [13:55:39] Reedy, I turned on show error, I get /index.php MWException from line 176 of /var/www/mediawiki/includes/Hooks.php: Invalid callback LocalisationUpdate::onRecacheFallback in hooks for LocalisationCacheRecacheFallback [14:12:46] Tazmain: LocalisationUpdate is an extension [14:23:31] gr8 now the page is just blank [14:23:33] I give up [14:25:29] Reedy, why would $wgMainCacheType be set to CACHE_ACCEL , using the wizzard, if the online docs says this "Since MediaWiki 1.27, PHP sessions are stored in a cache, depending on the variable of this setting, unless overridden by $wgSessionCacheType. This may cause problems when CACHE_ACCEL is used." [14:25:48] From an old installer? [14:25:57] no I used the new installer [14:26:24] well I used the new installer and still no wiki [14:26:35] if I go to the url, I just see a blank page [14:27:33] !blankpage [14:27:33] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [14:27:46] yeah I see its a missing extention. [14:28:22] If CACHE_ACCEL is known to cause problems it is definitely strange we use it as some default [14:28:54] Presumably the decision that ACCEL is better than none.. [14:29:00] And you don't have anything else installed [14:36:48] okay all the extentions installed again [14:37:03] weird to configure them in the setup and then not have them [14:37:50] Reedy, okay so I basically nuked my old wiki, left the db, extracted a 1.28 one, redid the setup, letting it do the upgrade. I installed the latest versions of the extentions, and still I get that session hijack error [14:38:08] Something is weird [14:38:16] In your test wiki, did you have all the same extensions? [14:38:22] And OOI, what extensions did you have? [14:38:29] Do you have something that alters authentication and/or sessions? [14:38:50] Reedy, SimpleSaml, but I am trying to login using normal username and password [14:39:03] Try disabling the extension? Just out of interest [14:39:23] Have you used a newer version with your MW upgrade? [14:39:28] Has it been updated for AuthManager? [14:39:48] I downloaded the latest of all the extentions [14:40:16] That doesn't always mean they've been updated [14:40:34] well they all had downloads for 1.28 [14:40:52] https://github.com/jornane/mwSimpleSamlAuth/releases [14:40:52] 0.7? [14:40:57] yes [14:41:12] Like I say, try disabling it [14:41:15] See if it fixes the problem [14:41:59] these are my exteionsion https://bpaste.net/show/1ca686aef1d7 [14:48:00] Reedy, commenting it out should disable it right ? [14:48:07] Yup [14:48:34] dammit, some nut place it in the bottom as well., so it was in the config twice [14:49:13] omg , Reedy you beauty, so it works now. if that stupid thing is diabled [14:49:15] disabled [14:51:21] lol [14:51:34] so seems the new saml config is different [14:51:35] Tazmain: File a bug at https://github.com/jornane/mwSimpleSamlAuth/issues [14:51:51] They might need help from MW to get it fixed... But the problem is something they're doing it seems :) [14:52:02] Reedy, well I am looking at this, https://www.mediawiki.org/wiki/Extension:SimpleSamlAuth , and its different from what I have. [14:52:30] Hmm [14:58:38] Reedy, okay so this is interesting, "Note: simpleSamlPhp cannot be configured to use phpession for store.type, since this is not compatible with MediaWiki's session management framework." [14:58:49] o_0 [15:04:43] so all my issues go away, except that the SSO singon doesn't work,. I don't care, if I change simplesaml [15:12:21] Tazmain: I suspect there'll be ways to fix the extension, with someone that knows what they're doing [16:36:19] Hello, sorry to bother you, but i'm writting a template:pre on my wiki https://dpaste.de/fAY1 and i have a problem. When i use this template, breakline are not taken into account ... i've tried the white-line:pre-wrap, but it's adding some padding top and bot. Is there any solution ? Regards. [17:51:21] hi, I have this error: http://pastebin.com/QdnbxT9k -- any idea how to solve it? [17:51:34] WException from line 248 of /var/www/mediawiki/includes/collation/IcuCollation.php: An ICU collation was requested, but the intl extension is not available. [17:52:05] °MWE [17:54:12] also: Notice: JobQueueGroup::__destruct: 1 buffered job(s) of type(s) RefreshLinksJob never inserted. in /var/www/mediawiki/includes/jobqueue/JobQueueGroup.php on line 449 [17:55:07] hey how do i change my username or delete my account to remake a new one? [20:33:43] hi guys. i need to create a blog for my mediawiki site. any ideas? should i have a wordpress just for the blog? [21:30:55] Dereckson: Any news on that bug? [21:52:08] guys, can somebody please help me? i want to search for (custom) xml tags on my pages (they are inside blocks); however, it seems like the default search engine doesn't allow this; can i somehow still achieve what i want? [22:02:45] asdfasdf0101, try CirrusSearch [22:30:25] Fun bug I am diagnosing today: Transcluding {{Special:RecentChanges}} or {{Special:ApiHelp}} nukes the logged in user session. :D [22:32:08] * Vulpix tries transcuding {{Special:UserLogout}} [22:32:52] Pretty much.