[06:27:49] ahoy everyboody! Need help on uploading files on mediawiki 1.24.2 which I've installed on a vserver. I am getting error/warning "Could not create directory "mwstore://local-backend/local-public". " [06:28:42] I've been following instructions on http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads [06:31:57] searched the web for solutions and it's been suggested to chown /images. the vserver seems to have user and group "apache" but I am not allowed to change the directory's owner. for testing purpose I've set permissions to 777 but still getting the same error [06:35:13] the vserver's PHP version is 5.6.6 [06:36:55] I am a total noob with PHP and web servers. any hint is appreciated! [06:41:31] debdog2, selinux/apparmor/parent directory permissions? [06:45:23] MaxSem: searched the hoster's wiki for selinux and apparmore - did not reply any hits. checking if it works if parent dir is 777, too.... [06:52:58] MaxSem: selinuxenabled returend 0. I think I read something about that on the wiki. let me check... [07:26:41] is / a valid username char? [07:27:43] no [07:28:18] because it would create confusion between user pages and subpages [07:46:41] hi [07:46:58] how works an automate invitation to someones discussion page? [07:47:46] That's not an answerable question. [07:47:49] What are you asking? [07:54:39] Juandev: do you mean {{ping|Fiona}}? [07:54:48] lol [07:55:20] ori: no I dont think so it is ping, which wiki? [07:57:12] Juandev: Just link to the user page, ping is a template which automates it [07:59:20] Only on wikis that have Echo enabled. [07:59:26] bawolff: I see and err, ok, let me see onw. I need just that template? [07:59:38] ah echo ok [08:21:38] http://www.mediawiki.org/wiki/SELinux "After building the PHP fileinfo extension:" -- How would I build that? [08:22:00] * debdog2 never used selinux [08:50:30] morning. i try to install a forum on mediawiki. i try to install dplforum. But it didn't work. There is nothing at the specialssite to konfigure [08:50:34] -k +c [08:59:25] somebody have an alternative for forum area for media wiki? [09:02:01] Hi DIrk__. [09:02:02] It's late. [09:02:17] ? [09:02:21] Forum software doesn't usually integrate well with MediaWiki. [09:03:41] hmpf :/ [09:33:14] richa, https://github.com/phpredis/phpredis#php-session-handler [09:41:54] can somebody help me with the mediawiki joomla bridge? [12:51:27] Hello [12:53:30] My Wikipedia Bot is approved. I am using Pywikibot library and my system is developed using Django framework and is deployed on Amazon Elastic Beanstalk. [12:56:27] My problem is that I install Pywikibot, generate the user-config.py file, and log in via EB console and it returns the logged in status. However, when my program wants to post something it returns an error message saying that the user-confit file is incomplete. [12:57:38] How can I figure out the location of the user-config.py file that Pywikibot is using at the time? [12:59:54] Guest69473, hmm... doesn't pywikibot have it's own channel? [13:01:21] I was not able to find any! [13:06:21] My Wikipedia Bot is approved. I am using Pywikibot library and my system is developed using Django framework and is deployed on Amazon Elastic Beanstalk. [13:06:41] My problem is that I install Pywikibot, generate the user-config.py file, and log in via EB console and it returns the logged in status. However, when my program wants to post something it returns an error message saying that the user-confit file is incomplete. [13:09:52] Do you know forum or website that I can ask my question about PyWikibot? [13:10:29] #pywikibot might be a good place for that. [13:11:25] Thank you so much. [14:21:49] https://www.mediawiki.org/wiki/MediaWiki says 1.25 was released in march :) [14:22:01] and https://www.mediawiki.org/wiki/Release_notes/1.25#MediaWiki_1.25.0 still says "THIS IS NOT A RELEASE YET" [14:22:10] but there was an announcement email [14:22:11] ostriches: ^ [14:22:18] legoktm: ^ [14:23:00] We're working through mw.org docs now [14:23:08] Like 4901209219090 templates to update [14:24:20] done [14:24:46] Richlv, https://www.mediawiki.org/w/index.php?title=Template:MW_stable_release_date&diff=1657638&oldid=1508988 [14:25:21] James_F: We did have to fix that template. [14:25:23] ^^^ [14:25:29] Poorly named template.... [14:25:44] Huh, I fixed that. Didn't save, maybe. [14:26:20] Krenair, yay :) [14:26:31] I also updated the news on the main page [14:26:39] I have a list of things that need updating somewhere [14:26:55] (that sometimes in the past other people have missed) [14:26:56] There's a list on the wiki somewhere. [14:27:10] It includes updating the channel topic and other important matters. [14:36:57] We are going through said list. [14:38:12] Krenair: Yeah, you edit conflicted with me on one of them. :-) [14:38:13] Pix. [14:38:30] Does 1.19 support end now or on sunday? [14:38:36] 1.25 on 2015-05-25 [14:38:57] Now. [14:38:58] https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-May/000177.html [14:39:12] James_F: Sent ^ [14:39:12] I recently upgraded a wiki from 1.9 to 1.26alpha. [14:39:21] update.php seemed to update the DB without any issue. [14:39:23] ostriches: Nice. [14:39:37] It was pleasantly surprising. [14:40:34] Fiona: Well that's what it's supposed to do :) [14:40:47] It only gets hairy if you go pre-1.5 schema rewrite [14:40:58] heh [14:41:16] I should write an e-mail about my experience. Parts of it were great. [14:41:24] I just noticed that the IP I blocked with a link to uncyclopedia was a Canadian government one [14:41:27] Skins setup was handled really nicely. [14:41:55] The LightNCandy error message made me rage, but I think it just got fixed. [14:43:16] well, provincial government [14:47:02] Fiona: Should be fixed I think [14:47:53] \o/ [15:26:38] how do I upgrade from 1.19? which is the next LTS to upgrade to? [15:28:29] https://www.mediawiki.org/wiki/Manual:Upgrading and 1.23 [15:32:29] 1.24 is actually the latest LTS version, 1.25 came out yesterday too iirc [15:33:00] i'm seeing conflicting information on the wiki [15:33:20] If 1.23 was previously designated an LTS, 1.24 isn't going to be an LTS [15:33:23] doesn't make sense for 1.23 and 1.24 to both be LTS [15:33:35] but there are boxes on the wiki saying that they both are [15:34:15] Hmm, it seems so [15:34:16] confusing [15:34:54] indeed [15:34:58] https://www.mediawiki.org/wiki/Release_notes/1.23 conflicts itself [15:35:44] The people who'd probably know are likely travelling [15:35:48] hexmode: About? [15:36:35] Everyone is in the demo session right now [15:36:37] https://www.mediawiki.org/wiki/Template:MWReleases doesn't say 1.24 is LTS [15:36:51] But it's usage on 1.23 says 1.24 is LTS [15:36:55] Reedy: i think someone messed up Template:MWReleases and the fixed version isn't everywhere yet because of caching or something [15:37:03] Looks to be htat [15:37:59] also, shouldn't a link to 1.23 be on the main page since it is the latest LTS? [15:38:00] pabs3: I'd go with 1.13 [15:38:07] *1.23 [15:38:21] 4 versions between LTS sounds familiar as to what was decided on [15:38:41] I think it maybe is translate's fault (?) [15:38:56] bawolff: no, the template page is correct [15:38:56] Could be [15:39:34] MediaWiki 1.25 (stable) [15:39:35] MediaWiki 1.25 (alpha) [15:39:38] That also amuses me [15:39:50] https://www.mediawiki.org/wiki/Template:MWReleases/en does not have a correct output [15:40:07] ah, you are correct [15:40:30] * bawolff really doesn't understand how translate works [15:41:40] That's just seriously odd [15:42:09] I think the change is not marked for translation... [15:42:22] * bawolff tries to make myself a translator and hopefully doesn't totally screw it up [15:42:34] Translate this page; This page has changes since it was last marked for translation. [15:42:38] I can do it [15:42:43] And grant you translator too [15:42:58] − [15:42:58] legacy - {{abbr|Long Term Support|LTS}} [15:43:01] + [15:43:01] legacy [15:43:01] Yup, that's it [15:44:00] I granted myself [15:44:03] It's like FR inside Translate [15:44:03] going back to the original question, which is the true LTS version? [15:44:04] ;D [15:44:08] twoi: 1.23 [15:44:14] The cabal made me a crat yesterday ;) [15:46:27] https://www.mediawiki.org/w/index.php?title=Template%3AMWReleases&type=revision&diff=1657644&oldid=1657623 [15:46:29] Bad James_F|Away [15:46:56] speaking of translate, someone wanted it installed on wikitech :/ [15:47:17] ugh, its still broken [15:47:53] Krenair: yes, although I forgot what for. Tool labs docs or something? [15:48:00] I've asked [15:48:05] It was Amir: https://phabricator.wikimedia.org/T100313 [15:48:40] I really don't understand the translate ext [15:49:04] bawolff: you add translate tags, and then magically translated versions appear [15:49:35] everybody loves magic! [15:49:37] bawolff: you add translate tags, and then magically out of date translated versions appear [15:49:45] valhallasw: I mean I don't understand how to unbork {{MWReleases}} [15:50:03] ?action=purge all the things? [15:51:01] huh, that's odd [15:51:06] I wonder if I should just delete https://www.mediawiki.org/wiki/Template:MWReleases/en [15:51:06] :D [15:51:35] not the worst idea [15:51:52] (change visibility) 15:51, 25 May 2015 FuzzyBot (Talk | contribs | block) deleted page Template:MWReleases/en (Part of translation page "Template:MWReleases/en".) (view/restore) [15:51:54] I did, now its really borked [15:51:55] The bot did it [15:52:06] https://www.mediawiki.org/wiki/MediaWiki_1.22 [15:52:14] that was nice of it [15:52:59] ok I think I got the edit screen [15:53:06] edit /en, switch to ducth, switch back to english [15:53:51] but that doesn't allow me to actually edit [15:54:28] You're supposed to make a blank edit, then mark it for translation again to propagate the up to date revision. [15:54:58] Fixed. [15:55:57] Yay [15:59:19] This is a silly system... [16:01:38] https://phabricator.wikimedia.org/T48716 and the huge list of see also bugs [16:47:10] Hello. I have a private MediaWiki installation, and I'm trying to use a bot for it. However, "Bot operation is not allowed for this account". [16:47:19] How to approve a bot account? [17:06:32] update.php says "Error: 1142 ALTER command denied to user 'mswikiuser'@'localhost' for table 'mswiki_page_props' (localhost)" How do I fix this? (upgrading 1.23 to 1.25) [17:07:31] Chris____, is your mediawiki user not allowed to alter tables? [17:07:47] do you have another user which can? [17:08:34] How do I find out? [17:08:59] 1.23 has been running smoothly for me [17:09:55] have you ever upgraded your mediawiki install? [17:10:01] check your mysql grants [17:10:21] answer to my question: /Special:UserRights add user to bot group [17:11:21] No, I never upgraded from 1.23 [17:12:02] BlaXpirit, probably some part of the bot was giving that error.. [17:12:19] the message itself is from the bot, yes [17:12:23] Chris____, log into mysql and run show grants;? [17:12:25] as mediawiki [17:12:26] but the error is not specific to it [17:13:38] when does REL1_25 hit the git repo? [17:13:51] GRANT USAGE ON *.* TO 'mswikiuser'@'%' IDENTIFIED BY PASSWORD ... GRANT SELECT, INSERT, UPDATE, DELETE ON `mswikidb`.* TO 'mswikiuser'@'%' [17:14:11] wmat, it's already in the git repo [17:14:15] Chris____, is that it? [17:14:30] REL1_25 branch has been there for ages [17:14:31] https://github.com/wikimedia/mediawiki/tree/REL1_25 [17:14:37] Chris____, that's not enough to run the update script [17:14:38] https://github.com/wikimedia/mediawiki/releases/tag/1.25.0 [17:15:07] really? I just did git branch -r and didn't see it. [17:15:14] * wmat looks again [17:15:25] you might need to git fetch or something? [17:16:48] Chris____, do you control your mysql instance? [17:21:20] yes [17:24:30] so do I need a "GRANT ALL ON 'mswikidb.*' TO 'mswikiuser'@'%' IDENTIFIED BY ... ? [17:25:51] Chris____, wikimedia has a separate user for this, see https://github.com/wikimedia/operations-puppet/blob/HEAD/templates/mariadb/production-grants-core.sql.erb [17:27:48] basically if it's being run from the command line (a maintenance script) then $wgDBadminuser and $wgDBadminpassword can also be set [17:30:01] A separate use for what? For upgrading? If so, why is update.php it not using it? [17:30:27] for maintenance scripts, including update.php [17:30:34] (wikimedia doesn't actually run update.php, but still) [17:30:51] you presumably didn't actually set it? [17:31:18] Reedy: is the Github repo the one to point at these days? I'm still pointing at gerrit.wikimedia.org [17:32:20] everyone uploads commits to gerrit.wikimedia.org, and from there it gets replicated to github and git.wikimedia.org [17:32:32] github tends to be easier to browse imho [17:32:42] k, thanks [17:32:52] but yes, github is easier to browse, and you probably don't need to upload anything [17:33:07] Where do I find info on how to set it? [17:33:40] Chris____, you set it in LocalSettings.php or wherever you set your wgDBuser/wgDBpassword [17:34:56] Chris____: https://www.mediawiki.org/wiki/Manual:$wgDBadminuser [17:34:58] you can see https://www.mediawiki.org/wiki/Manual:$wgDBadminpassword and similar pages but they won't tell you anything particularly new [17:43:14] Ah, I may have skipped it because that page says "In newer versions it can still be set along with $wgDBadminpassword in LocalSettings.php, but is optional." and I guess I assumed it was optional. [17:44:25] it is optional [17:44:35] Hello [17:44:37] you don't *have* to have separate users [17:44:48] can I somehow get a more descriptive error message than "Failed to connect to database 0 at 127.0.0.1"? [17:45:03] (for debugging purpose) [17:45:12] is that a message displayed to users? [17:45:15] no [17:45:18] debug log message [17:45:28] oh, probably [17:45:46] are you still trying to debug an issue I could help with? or are you just asking for more info for the next time? [17:45:59] still trying to debug an issue [17:46:04] okay [17:46:12] can you connect from your web server machine to the db? [17:46:16] yes [17:46:29] using the same db user, pass, etc.? [17:46:35] yep [17:46:38] selecting the db? [17:47:21] yes, before connecting, it will not work afterwards. [17:47:51] wait, so... you can connect, right? but not do anything else? [17:48:13] with postgres I can specify the db when connecting. [17:48:32] it will not work afterwards, because that's how my security settings are [17:48:39] ah, postgres... [17:49:00] unfortunately I've only ever played with mysql [17:51:03] can you open up an interactive php prompt with `php -a` and var_dump( pg_connect( 'host=example.com user=pgsql dbname=postgres' ) ); ? [17:52:37] *derp* seems I am missing the pg_ database functions in php… [17:52:56] shouldn't that be in the error log? [17:54:12] there's some interesting error logging changes going on around that pg_connect call in mediawiki [17:55:12] it could be completely broken [17:55:36] I don't know how many of us would notice if postgres connectivity was completely broken, to be honest [17:56:17] ePirat, it should have detected this: https://github.com/wikimedia/mediawiki/blob/master/includes/db/DatabasePostgres.php#L373 [17:56:42] Krenair, installed the pgsql php, works now [17:58:05] congrats [18:01:41] thanks a lot for the help [18:02:08] yw [18:12:38] exit [18:13:45] Getting this error. "Failed to set the local repo temp zone container to be private." Perhaps I need an .htaccess somewhere... but where? [18:16:41] dlo, interesting... [18:18:11] dlo, this is in the installer? [18:18:17] from the command line? [18:20:36] From php maintenance/update.php (upgrading to 1.25). But all seems to be working with the wiki. [18:21:04] updater, right, sorry [18:21:22] okay, open up includes/installer/DatabaseUpdater.php in your favourite text editor [18:21:33] find the line that says this: $this->output( "Set the local repo temp zone container to be private.\n" ); [18:21:49] uh... actually the else part of that: $this->output( "Failed to set the local repo temp zone container to be private.\n" ); [18:21:55] should be around line 918 [18:22:18] add a new line like this: $this->output( $status->getWikiText() ); [18:22:25] then try again and see what comes out [18:23:55] * Could not write file "mwstore://local-backend/local-temp/index.html". * Could not write file "mwstore://local-backend/local-temp/.htaccess". [18:25:56] .htaccess, huh, okay. clearly you know more than me about file backends :p [18:27:35] That's okay I guess--if all is working I'll just ignore it for now. I just do not recall ever setting any local-backend [18:27:56] dlo, to be honest it looks like the contents of those files should be '' and 'Deny from all\n' respectively based on https://github.com/wikimedia/mediawiki/blob/master/includes/filebackend/FSFileBackend.php#L738-L749 [18:28:08] it's the default file upload backend iirc [18:28:24] I imagine that if you created these files in the right locations it'd shut up [18:50:17] exit [19:14:32] I'm trying to create a widget page (contains anchor and script tags). [19:14:57] When trying to save the page, I'm getting the message Forbidden [19:14:57] You don't have permission to access /index.php on this server. [19:15:30] so you can't submit the edit? [19:15:41] does this happen with any other form? e.g. search? [19:15:51] Krenair: No, I can't [19:16:19] YOu mean just a general search? [19:16:26] for a random page? [19:17:39] You get a 403 in response to submitting the edit form, so I'm wondering if you get a similar response when you try to submit another form [19:17:49] I don't really care what you put into the form [19:18:37] No, no error when doing a search. [19:19:05] And no error when submitting an edit in general. [19:19:59] I'm suspecting it has something to do with the presence of and