[01:50:20] if page load speed is fine, but loading the edit page and saving an edit is painfully slow, would that point at a database issue? [01:50:46] clicking Edit on any page can take up to 30s to return [01:50:57] same for clicking Publish [03:38:32] figured it out, it was TitleBlacklist and SpamBlacklist slowing everything down [07:46:43] Hey all, trying to setup a wiki and having some issues with urls. Pages like /wiki/Special:Random show up as /wiki/Special%3ARandom instead which is ugly and I can't find out how to disable that. (The generated html of the page shows the %3A as well so its not just a browser thing causing it.) [07:58:04] hello , is there some benefit why mediawiki core use leafo.lessphp compile less rather than lessphp.gpeasy ? [07:59:03] i would not find some text about this in mediawiki's website [09:48:45] Anyone know if its possible to override a particular internationalization message? I'm making a skin, and would like to change the name of e.g. the 'disclaimers' message in English. Obviously I could hardcode it in the skin, but that seems like a bad solution. [11:14:10] Im contacting you from MediaClash where I am trying to log onto the Wiki page to update a document. However, its been some years since anyone has done this. No one is the office can remember the password - even when we press 'Forgot Password' the email is being sent to someone who is no longer connected to the server! How can I log on!?! [11:16:23] o/ [11:16:34] Im trying to migrate a mediawiki to another server that has nginx [11:20:06] mediaclash: https://www.mediawiki.org/wiki/Manual:Resetting_passwords [11:23:26] this is my error log http://pastie.org/10348249 [11:25:28] heres my mediawiki serverblock http://pastie.org/10348253 [11:33:12] aelevadoan: you could try asking at the nginx channel [11:33:18] that's not a mediawiki error [11:33:21] ok [11:33:25] thanks [11:33:37] Im also trying to get this same mediawiki to work on another vps [11:33:39] with apache [11:33:47] php5-fpm [11:33:52] if by chance youve tried that out [11:55:14] Glaisher: I am now having a white page error [11:55:17] when entering the site [11:55:22] I think this is now a mediawiki problem [11:55:27] nothing appears in my nginx error log [11:55:32] !debug [11:55:32] 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 [11:55:37] http://wiki.nad-ege.net/ [11:55:41] ok [12:11:07] Glaisher: do I need to create manually the debug log? [12:11:12] or just include it in LocalSettings? [12:12:36] Glaisher: tail: cannot open ‘/var/log/debug-wikilab.log’ for reading: No such file or directory [12:14:26] Glaisher: no it appears to open the debug log with tail -f [12:14:32] but Im not getting any output [12:22:41] aelevadoan: you need to create that file [12:35:25] Glaisher: I managed to get it working but it rejected most of my LocalSettings.php [12:35:44] what do you mean by rejected? [12:36:09] that it complained about most of LocalSettings [12:36:16] I commented each thing out to see [12:36:31] and it complained about lines where there was nothing [12:36:40] so I tried renaming the LocalSettings file [12:36:55] and it asked me if I wanted to do a new install of a wiki [12:37:03] Im wondering if its more adivisory if I did this [12:37:06] you renamed your LocalSettings.php to what? [12:37:09] and replaced values afterwards [12:37:15] can you paste the errors? [12:37:17] on that new LocalSettings [12:37:21] yes, wait [12:37:26] and contents of LocalSettings.php without private stuff? [12:37:53] http://pastie.org/10348413 [12:37:54] ok [12:38:37] thats the errors [12:39:26] yes, can you paste the code in your LocalSettings.php without private passwords etc.? [12:40:28] Glaisher: http://pastie.org/10348419 [12:40:31] there you go [12:40:34] it just came upon me [12:40:39] the IP parameter [12:40:55] since I migrated mediawiki to another server [12:41:00] does that update by itself? [12:42:36] aelevadoan: dejaste tu correo en el archivo de configuración... [12:42:56] aelevadoan: there's some text after $wgGroupPermissions['benders']['editprotected'] = true; line [12:43:00] med [12:43:02] remove that [13:26:45] k054: eres k054 de mayfirst? [13:33:15] aelevadoan: hum... más o menos. Ahora soy desarrollador web de las FSF. [13:33:38] Ahora participo muy poco en MayFirst. [13:36:07] k054: nos conocimos en el rancho [13:36:30] aelevadoan: sí, exacto. [13:37:05] Glaisher: I removed med and it still spitted out loads of errors [13:37:27] aelevadoan: En el Cryptorally hace como un año. Creo que justo fue por agosto. [13:37:37] septiembre [13:42:39] Hello guys [13:43:05] Hot a VisualEditor stuck at around 70% of loading bar on a fresh 1.25.2 update from 1.24 [13:43:11] Anyone can give me an hints ? [13:55:33] rgarrigue: you should look at the Javascript console to see if there are any errors, if you know how to do that. [13:57:13] see -visualeditor [14:47:49] o/ [14:47:56] Im having problems migrating my mediawiki [14:48:04] because its rejecting my LocalSettings.php file [14:48:10] Ive tried to regenerate it [14:48:23] but it enters in conflict with the database because it already exists [14:52:48] aelevadoan: what's the error message? [14:52:52] aelevadoan: What error do you see now? [14:52:56] :) [14:52:59] wait [14:53:03] i have one confusion [14:53:09] do I do the mysql dump [14:53:19] importing my database [14:53:23] before or after the setup? [14:54:02] before config, I think [14:54:10] but you can fix the php fatals before that [14:54:14] uhm [14:54:15] wait [14:54:20] let me try then [14:54:26] because Ive decided to generate a new localsettings gile [14:54:27] file [14:54:33] and ontop of that tweak things up [14:54:40] because it was rejecting most of my other localsettings [14:55:29] if you [14:55:38] 're going to generate a new localsettings.php then okay [14:57:00] Glaisher: [14:57:01] Error: 1044 Access denied for user 'gusanito'@'localhost' to database 'wiki_lab' (localhost) [14:57:16] well, that's quite self explanatory [14:57:38] Its trying to create the database [14:58:08] CREATE DATABASE `wiki_lab`CHARACTER SET utf8 [14:58:16] Función: MysqlInstaller::setupDatabase [14:58:35] Glaisher: heres the backtrace http://pastie.org/10348654 [14:58:39] Yaron: [15:02:17] aelevadoan: 'gusanito'@'localhost' needs to have create database permissions [15:02:22] that's not a mediawiki error [15:06:24] Glaisher: ok, my bad [15:07:33] Glaisher: messed up with the grants in mysql [15:07:41] No its generating the LocalSettings file [15:08:33] I am not following you. The installer has completed now? [15:11:14] yes [15:11:20] Ive generated the LocalSettings file [15:11:31] Now Im going to see if I can include the extensions I had before [15:11:34] and parameters [15:11:37] one by one [15:11:39] without it breaking down [15:12:34] Hi. I am having some issues after upgrading 1.23 to 1.25.2. My skins are not working anymore. I have added the lines to enable them to the LocalSettings.php but still no luck :( Somebody who can help me out? [15:14:04] Also wondering why https://www.mediawiki.org/wiki/Manual:Skin_configuration is not correct, it says the docs are for 1.24 and greater and below are the settings for skins in versions before 1.24? [15:18:45] Glaisher: ok, so now the wiki works [15:18:54] http://wiki.nad-ege.net/index.php?title=Archivo:No_capitalista.png [15:18:55] ok [15:19:00] but all the images are broken [15:20:28] aelevadoan: Is $wgUploadDirectory set correctly? [15:23:14] let me check [15:24:30] Glaisher: I dont have that variable [15:24:31] just #$wgHashedUploadDirectory = false; [15:29:32] aelevadoan: Did you move the images to the new location? [15:29:51] Glaisher: yep [15:30:12] but before it was in a mediawiki farm [15:30:18] and now its not [15:30:28] I dont know if that changes something [15:31:42] sorry, I don't know much about images on mediawiki [15:32:11] hm [15:33:03] anyone else has an idea about that? [15:36:28] aelevadoan: did you run includes/update.php? that might fix it [15:36:39] oh [15:36:42] i didnt [15:36:44] let me try [15:37:35] you mean mainteance/update.php? [15:37:53] oh, that [15:39:24] k054: it asks me for a copy of LocalSettings [15:39:27] Im going to read documentation [15:43:24] you have to run it in the root directory of the mediawiki instance [15:44:11] what? [15:44:13] i did [15:44:15] cd maintenance [15:44:16] php update.php [15:48:52] for example [15:48:53] http://wiki.nad-ege.net/images/Salita.png [15:48:56] this image is accesible [15:49:07] but it doesnt charge on the page http://wiki.nad-ege.net/index.php?title=P%C3%A1gina_principal [15:55:19] aelevadoan: try 'php maintenance/update.php' in the root of the mediawiki instance. [15:55:47] If you are at maintenance do cd .. [15:56:38] doesnt work [15:58:56] doesn't fix it or doesn't run? [16:00:50] whoa something useful happens :) https://gerrit.wikimedia.org/r/#/c/211526/ [16:04:32] k054: http://pastie.org/10348785 [16:04:35] doesnt fix it [16:04:39] its runs well [16:04:42] doesnt seem to have errors [16:09:44] hmm, I think Im discovering the problem [16:09:48] its looking for it here http://wiki.nad-ege.net/images/9/97/Salita.png [16:10:00] instead of http://wiki.nad-ege.net/images/Salita.png [16:10:25] oh, there's a config setting for that [16:10:48] $wgHashedUploadDirectory=false; [16:10:54] unless i'm misunderstanding what the issue is :D [16:11:03] since i didn't follow the conversation earlier [16:12:36] thats exactly what Im trying out now MatmaRex! [16:12:38] :) [16:12:49] yeah! [16:12:51] works now [16:13:29] MatmaRex: I did a wiki migration to another vps and I was having lots of problems with the LocalSettings file, so I started from scratch and now I have to tweak thing by thing [16:13:37] I wanted to manage upgrades via git [16:13:50] so I will reinstall extensions with patience that way [16:14:19] :) [16:14:44] aelevadoan: fyi, that config variable has some scary comments in the docs, like "@todo Deprecate the setting and ultimately remove it from Core." [16:14:53] aelevadoan: i manage a few wikis using the 'Track MediaWiki using Git' method and it's been fantastic for me [16:15:08] aelevadoan: what? [16:15:11] aelevadoan: you should be able to remove it, and import the images using the maintenance/importImages.php script, somehow. [16:15:12] ups [16:15:21] i talked to myself [16:15:23] hehe [16:15:33] MatmaRex: what do those comments mean? [16:15:34] but i'm not sure how that's done, exactly. anyway, something to keep in mind next time you upgrade : [16:15:34] :) [16:15:43] umm, ok [16:15:47] i will write that down [16:15:59] wmat: is there documentation on that method? [16:16:24] wmat: I followed https://www.mediawiki.org/wiki/Download_from_Git [16:16:46] aelevadoan: https://github.com/wikimedia/mediawiki/blob/master/includes/DefaultSettings.php#L750-L763 [16:17:09] aelevadoan: that's the only documentation i've ever used [16:17:26] wmat: ok, do you have an automatic script to git pull everything? [16:17:36] aelevadoan: nope, i do it manually [16:17:41] im managing upgrades in wordpress with a script [16:17:43] very nice one [16:17:51] aelevadoan: and I manage the extensions individually [16:18:05] that is, i don't download the whole extensions git repo [16:18:06] ahá [16:18:22] i suppose mediawiki is not so vulnerable to attacks than wordpress [16:18:27] and its not that important to update? [16:18:33] or maybe this is completely wrong [16:18:47] you should always try to stay with the latest stable version [16:18:58] including skins and extensions and vendor [16:19:13] so automatizing git pulls would be interesting then [16:22:29] well, perhaps, i just like to do it manually so I know if something breaks [18:04:21] what are the correct file and directory permissions for mediawiki? [18:04:57] 755 directories, 640 files? [18:06:18] that should be fine, as long as group is set correctly [18:06:36] you can even use 754 [18:57:32] Hi, This is Sanjana Sharma, a 3rd year student from IIIT-Hyderabad. I am interested in contributing in your organisation. Can anybody guide me? [18:59:38] sanjana: Hi, and welcome! We are always looking for new contributors, so it's great to see you here. Have you seen https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker already? If not, it's a great way to get oriented. [19:00:33] Thanks @ [19:00:52] Will get back to you after reading it. :) [20:02:01] Hi, where can I find the channel related to data-analysis in Mediawiki? [20:02:13] ankita_: #wikimedia-analytics [20:04:30] Thanks ori [20:05:46] Also, can you please redirect me to the channel related to data-mining, if any? [20:10:48] same channel, I suppose [20:22:13] hi everyone [20:22:53] i am updating my development environment of mediawiki that I built on docker, and which used to be working perfectly [20:23:38] now, whenever I try to create an account to test my installation, I get a weird error: [20:23:39] Account creation error [20:23:39] The user account was not created, as we could not confirm its source. Ensure you have cookies enabled, reload this page and try again. [20:24:32] It doesn't seem to be some disk space issue, but I have no idea where to bang my head [20:25:01] debug log shows: http://pastebin.com/PfucArMM [20:27:43] ruphy: check for this option in the LocalSettings.php: $wgSecureLogin [20:27:50] see the warning on the first line you pasted [20:27:56] and https://www.mediawiki.org/wiki/Manual:$wgSecureLogin [20:28:21] does your wiki support https? [20:28:51] it may be this, since your upgrade: [20:28:55] "From 1.22 on, use $wgDefaultUserOptions to set prefershttps false by default if you want HTTP users to stay on HTTP after login by default." [20:29:18] mutante: nada, I changed it to false, but no luck :( [20:29:49] really, it still says "[warning] Secure login was enabled on a server " even after it was enabled? [20:29:54] eh, disabled [20:30:05] that would be a bug [20:30:48] mutante: more than upgrade to mediawiki (i am still on the 1.25 release), it was actually a minor upgrade to the infrastructure, as I dockerized better the setup... [20:31:01] nope [20:31:11] http://pastebin.com/XuLPLRQa [20:31:22] this is with $wgSecureLogin = false [20:32:39] but still same error when creating a user? [20:32:52] yep [20:32:59] i am trying to create one via command-line [20:33:01] root@websrv:/var/www/WikiFM/mediawiki# WIKI=en.wikifm.org php maintenance/createAndPromote.php user abc [20:33:02] done. [20:33:58] mmh, it doesn't even let me log in. It somehow thinks that my cookies are disabled... even if MW sees them [20:34:26] ruphy: Your account has been created. [20:34:33] i think it's a local issue then [20:34:37] actually with cookies? [20:34:50] mutante: the same browser, on the live site, works perfectly [20:35:20] mutante: appending session_save_path("/tmp"); to LocalSettings.php also shows that the webserver saves cookies [20:35:24] ruphy: i could create one on en.wikifm [20:35:45] is it a staging setup or something? [20:35:51] since you say "on the live site" [20:36:12] i saw the URL in the referer [20:36:22] maybe it is confused about the referer from the live site [20:36:48] hence "could not confirm its source" [20:39:26] mutante: yes, it is a development setup [20:40:10] a simple docker setup: http://en.wikifm.org/Contributing_to_WikiFM [20:40:20] mutante: and i just tried with an incognito window... no luck [20:40:27] Login error [20:40:27] WikiFM - Knowledge only grows if shared uses cookies to log in users. You have cookies disabled. Please enable them and try again.\ [20:45:14] mutante: i am trying to debug the webserver now :-) [21:07:07] mutante: I confirm that the webserver correctly sees and sets cookies :-( [21:07:41] mutante: do you have any debugging clues? [21:08:33] (I also tried with another browser, and still mediawiki is the only one which thinks it doesn't read the cookies) [21:08:53] ruphy: sorry, i don't, but wait a while, others in the channel might have more [21:09:12] sure, I am not moving ;-) [21:10:01] since you said "minor upgrade to the infrastructure" and not even MW itself... [21:10:15] i just have "what exactly changed here" and go through that [22:30:04] are there any good options for adding a "download as PDF" button to all my mediawiki pages? [22:30:28] I generally find it much easier to use Chromes PDF printer [22:32:28] hi [22:34:57] Reedy: yeah me too [23:35:37] hey, I'm just wondering, how important is image thumbnailing? [23:38:47] what do you mean "how important" [23:39:05] as in, what changes if you don't have it [23:39:06] usually it's a thumbnail that gets included on a wiki page [23:40:03] I thought that only happened if you did [[Image:foobar|thumb... ? [23:40:08] [[File:image.png|24px]] won't work? [23:40:33] thumbnailing is the ability to resize on the fly [23:40:59] if you always publish images in the exact size you want to have, then I think you can live without it [23:41:07] wondering whether to install ImageMagick? [23:42:17] ahh [23:42:19] and yep [23:44:43] Well... if you don't have thumbnails, your traffic will skyrocket. If you don't have enough throughput it will slowdown every users experience... also takes time to load. And god help you if you are on a mobile phone...