[01:02:30] mcon: did someone answer your question from before? [01:02:56] Yaron: no. [01:03:03] Okay. [01:03:40] mcon: have you seen this page? https://www.mediawiki.org/wiki/Manual:User_rights#Changing_group_permissions [01:08:02] Yaron: yes; I cannot understand how to set things for discussions pages. (among other things); my current tentative is: [01:08:03] $wgGroupPermissions['*']['edit'] = false; [01:08:05] $wgGroupPermissions['*']['createpage'] = false; [01:08:06] $wgGroupPermissions['user']['edit'] = false; [01:08:08] $wgGroupPermissions['user']['createpage'] = false; [01:08:09] $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; [01:08:11] $wgImplicitGroups[] = 'emailconfirmed'; [01:08:12] $wgGroupPermissions['emailconfirmed']['edit'] = true; [01:08:14] $wgGroupPermissions['writer']['edit'] = true; [01:08:15] $wgGroupPermissions['writer']['createpage'] = true; [01:08:17] But I'm unsure it will do what I want [01:08:34] Oh, okay. Well, you should test it, of course. [01:08:43] mcon: do not paste [01:08:55] do people seriously not read the topic [01:09:53] mcon: the namespace-specific thing is trickier; I think it would require an extension, like Lockdown. [01:09:59] !e Lockdown [01:09:59] https://www.mediawiki.org/wiki/Extension:Lockdown [01:10:12] c: Oops, sorry; I thought a few lines were ok. should I use Pastebin? [01:10:21] yeah pastebin is your friend [01:10:35] Too late now, of course. [01:11:16] do I need to do anything special for MediaWiki:Common.css to be loaded? [01:11:27] DeeJayTwo: Probably not. [01:11:34] It looks like it's not.. I'm trying to have alternating rows and it doesn't work. [01:11:39] If you're using a weird custom skin, it may not load. [01:11:45] Did you bypass your local browser cache? [01:11:52] ctrl-f5 [01:12:01] Yeah, maybe ctrl-shift-f5. [01:12:11] Is your wiki public? Link? [01:12:21] If it's not caching, it's probably a silly typo in CSS. [01:12:58] CSS is loaded via load.php in the HTML page source. You should be able to access the resource in a Web browser to verify what version you're getting. [01:12:58] it's private. [01:13:13] You can also add a test rule. [01:13:21] The skin is vector [01:13:31] Like "body { background-color: red !important; }" or similar. To make sure you're getting the latest version. [01:13:49] Vector should load Common.css. [01:14:05] Do I just paste it in? [01:14:11] as if it was wiki code? [01:14:24] Yaron: Uhm, I'll need to study it. Thanks for the pointer. Now I'm too tired (it's 2:13 AM here). Thanks again. [01:14:51] Sure. [01:14:52] DeeJayTwo: The page "MediaWiki:Common.css" accepts normal CSS, yes. [01:15:04] And the page "MediaWiki:Common.js" accepts normal JavaScript. [01:15:15] There are also skin-specific pages (e.g., "MediaWiki:Vector.css"). [01:16:56] Fiona: I took the Common.css from wikipedia: http://fr.wikipedia.org/wiki/MediaWiki:Common.css [01:17:01] I just copy/pasted it.. [01:17:15] strangely, the wikipedia.org shows it as preformated from top to bottom [01:17:23] That's irrelevant. [01:17:29] on my instance, only some parts are preformatted [01:17:30] Wikipedia has a syntax highlighting extension installed. [01:17:35] !geshi [01:17:35] There are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [01:17:46] ok thanks [01:17:51] so that's not an issue [01:18:19] DeeJayTwo: So did you add the alternance class to your HTML? [01:18:35] I assume it's the /* ALTERNANCE */ section you're talking about? [01:18:42] So you'd need something like... [01:18:48] [01:18:54] Or {| class="alternance" [01:18:55] I think. [01:19:15] oh I think it needs Common.js too which I didn't copy [01:19:32] I don't think so. [01:19:38] Maybe. [01:19:38] yes I added the alternance class in my table [01:19:45] but it doesn't alternate.. [01:20:04] Did you check the load.php ULR? [01:20:06] URL * [01:20:12] Do you see the CSS in a separate browser tab? [01:21:22] For example, fr.wikipedia.org loads from https://bits.wikimedia.org/fr.wikipedia.org/load.php?debug=true&lang=en&modules=site&only=styles&skin=vector&* [01:21:31] You should have a similar load.php line. [01:25:07] you mean loadin load.php instead of index.php? [01:25:21] or looking into what's loaded from index.php? [01:26:29] [01:27:11] Yeah, do you see your custom CSS there? [01:30:03] I tried to call it directly from my browser address bar [01:30:08] and got this: /* This file is the Web entry point for MediaWiki's ResourceLoader: . In this request, no modules were requested. Max made me put this here. */ [01:30:29] I just kept http://.... [01:31:00] Change "amp;" to & [01:31:12] You should be able to load actual CSS from that URL. [01:34:03] Fiona: : got it [01:34:11] no "Common.css" nor "alternate" [01:34:18] but a big load of css stuff appears... [01:34:28] alternance ? [01:34:37] no "alter" [01:34:42] There may be another load.php reference in your HTML page source. [01:34:49] There are usually multiple for JS and CSS. [01:35:25] oh yeah.. 7 [01:35:47] One of those is loading MediaWiki:Common.css hopefully. [01:36:02] You can change "debug=false" in the URL to "debug=true" to see the un-minified (expanded) version. [01:38:07] one loads nothing [01:38:12] is it possible? [01:38:38] load.php?debug=false&lang=fr&modules=site&only=styles&skin=vector&* [01:41:51] That should load Common.css. [01:41:59] Are you getting a completely blank page? [01:42:12] yeah [01:42:16] and one has this: [01:42:20] throw new Error("JavaScript parse error: Parse error: Missing ; before statement in file 'MediaWiki:Common.js' on line 1403");mw.loader.state({"site":"ready"}); [01:42:43] Sounds like a separate issue. [01:42:53] A completely blank page is a bit worrying. Can you check the HTTP headers? [01:42:57] To see if it's a 200 or a 500? [01:44:15] oh good, fixed the javascript thing...there was an uncommented comment at the end.. [01:44:18] now it's ok [01:44:22] ok [01:44:32] checking the blank page thing [01:46:23] ok [01:46:32] You should have content similar to https://bits.wikimedia.org/fr.wikipedia.org/load.php?debug=true&lang=en&modules=site&only=styles&skin=vector&* [01:46:41] You can try lang=en? [01:46:41] it servers a empty header [01:46:42] (head) [01:46:47] Empty? [01:46:54] with just div class="linegutter-backdrop" [01:46:56] into it.. [01:47:03] Like an error page? [01:47:22] could tell you.. [01:47:26] it's blank [01:47:29] but there is html.. [01:47:42] couldn't tell you.. [01:48:32] oh sorry.. [01:48:37] I'm in the view source [01:48:39] of chrome [01:48:43] and there is nothing at all [01:48:51] I was looking at the html code of the view source page... [01:48:57] so there's no html at all after all.. [01:49:15] so... nothing.. [01:49:22] just a blank page [01:49:25] the mainpage is blank? [01:49:33] same thing with lang=en [01:49:34] No, a load.php link, I think. [01:49:50] load.php?debug=false&lang=en&modules=site&only=styles&skin=vector&* [01:49:52] DeeJayTwo: Are you familiar with curl? Or can you look to see what the Web browser is returning? [01:49:52] this [01:50:01] Err, Web server. * [01:50:24] telnet could do too? [01:50:29] with a get [01:50:32] Yeah. [01:51:25] Just to see whether you're getting a 200 or a 500, I guess. [01:51:28] !debug [01:51:28] 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 [01:51:31] !blankpage [01:51:31] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [01:52:31] Escape character is '^]'. [01:52:31] get /wiki/load.php?debug=false&lang=en&modules=site&only=styles&skin=vector&* [01:52:31] Connection closed by foreign host. [01:52:53] Did you set up short URLs? [01:53:19] no [01:53:50] if I call a unexistent path/file I get the 404 Not found [01:54:09] but our precise load.php just returns nothing and the connection closes.. [01:54:27] Which Web browser are you using? [01:54:35] apache 2.4 [01:54:38] The Web inspector or Page info section usually contains HTTP header info. [01:54:41] errr [01:54:42] Web browser, not Web server. [01:54:45] chrome [01:54:46] Like Chrome or Firefox or something. [01:54:54] So in Chrome, go to the Web inspector. [01:55:01] And look at the network tab and reload the page. [01:55:09] Reload the load.php page, I mean. [01:55:15] And see what the response is. [01:56:53] it says type text/css [01:56:59] 200 OK [01:57:05] 441 Bytes [01:57:10] 441 bytes? [01:57:12] But it's a blank page? [01:57:28] Size 441 bytes [01:57:33] Content 0 B [01:57:38] Hmm. [01:57:55] Did you install any custom extensions? [01:58:13] previously visual editor [01:58:13] on 1.24 [01:58:14] errr.... 1.23 [01:58:26] but I restarted from scratch with 1.24 [01:58:36] updated the database [01:58:56] and haven't added visual editor back yet.. [01:59:04] Maybe message cache? I dunno. [01:59:15] did you run update.php? [01:59:29] It's difficult to diagnose without seeing the wiki. [01:59:40] wmat: : yes [01:59:52] wmat: : I succesfully updated the database [02:00:02] Fiona: : I understand :/ [02:00:03] turn on error reporting? [02:00:33] at least we're b/w compatible with a 1986 Mac plus https://www.youtube.com/watch?v=5UBRUyofiiU [02:02:14] added: ini_set('display_errors', 'On'); [02:02:17] to the top of index.php [02:02:20] reloaded [02:02:21] nothing more [02:02:43] error_reporting(E_ALL) [02:02:44] argh [02:02:51] ...load.php ;) [02:02:56] retrying [02:02:58] DeeJayTwo: to the top of LocalSettings.php [02:05:02] alright! [02:05:05] got errors [02:05:21] I'm using ldapauthenticationplugin [02:05:42] strict standard stuff [02:07:11] http://tny.cz/6b59185d [02:09:56] so that's what is breaking things up... [02:10:08] thank you, I'll try to fix it tomorrow [02:10:57] did you match the version of the extension to the MW version? [02:14:26] arghh.... [02:14:29] Just tried [02:14:30] disabled ldap [02:14:34] no error... [02:14:36] no content... [02:14:47] :/ [02:15:07] Have to go but I'll probably come back here tomorrow for some help with more tests.. [02:15:15] Thank you very much it's very appreciated! [02:47:35] Hello, i have one question [02:47:44] ¿How can i set [02:47:48] a favicon...? [03:04:24] !wgFavicon [03:04:28] !wg Favicon [03:04:28] https://www.mediawiki.org/wiki/Manual:%24wgFavicon [03:04:34] That, I think. [03:04:54] Thank youu [03:05:01] ElGatoSaez: Or put a favicon.ico in the root directory of your Web server. [03:05:06] favicon.ico is a special file name. [03:05:08] Like robots.txt. [03:05:17] It can live in the Web server root (like example.com/favicon.ico) [03:05:29] Or you can specify a path with LocalSettings.php. Either approach is fine. [03:05:44] Should i put it in the root directory or in htdocs directory? [03:05:46] Oh, it defaults to /favicon.ico. [03:05:52] In the root Web server directory. [03:05:54] Next to index.php. [03:05:57] okay [03:05:58] In that same directory. [03:06:10] i'll put it in both to try [03:06:15] Umm. Actually, in the level above that? [03:06:44] Is your site public? Link? [03:06:49] Is it [04:54:59] i want to write some wiki pages taht are instructions for configuring something in Windows. it hopefully would have lots of screen shots, but I'm finding it difficult to quickly grab a screenshot and insert it into the page I am editing. is there any plugins that might make that easier? [05:19:09] ah MsUpload seems ok, though it doesn't work in VE [06:01:19] I'm suddenly getting Fatal error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in mediawiki/includes/libs/BufferingStatsdDataFactory.php on line 33 [06:11:16] polybuildr: have you run "composer update"? [06:11:37] legoktm: Ah, no. I haven't. [06:13:56] legoktm: Worked. Thanks! :) [06:14:24] woot [08:22:25] I just installed and tryng to configure. I would like threaded Talk pages. I see several extensions available (LQT, DiscussionThreading, Flow, possibly others), with varying degrees of support/maturity. What is the advise here? I only need rather simple threading to help users to comment in a structured way. [08:32:20] mcon, what's your mediawiki version? [08:38:57] LouisMiguel: Latest, just instaled (1.24.1) [08:45:17] mcon, I think Flow requieres 1.25+ [08:48:48] AFAIK Flow is not ready yet, LQT seems dead and DT is the only one appearing current. I'm currently messing with DT. I wanted advise, if possible. [09:02:54] LQT works fine for us. I don't know DT [10:16:04] hello all [10:16:15] have a problem with my wiki [10:16:22] about users [10:16:42] what problem? [10:18:43] i am the admin of the wiki, and i receive undelivered emails [10:18:59] error is "Mail delivery failed: returning message to sender" [10:19:09] but i blocked users registrations [10:20:16] in this case the user had not a yahoo account (he tried registering with that) [10:23:50] :\ [10:24:16] wake up! [10:25:41] can somebody talk to me? [10:30:57] hello? [10:46:03] is there a plugin to delete the users? [10:46:44] don't care to destroy the database [10:46:50] i can backup it [10:52:51] Dottor_Z, http://www.mediawiki.org/wiki/Extension:BlockAndNuke [10:53:57] i used it but they still creates new users and modify wiki [10:54:07] and it DOES NOT delete users [10:56:37] maybe https://www.mediawiki.org/wiki/Extension:UserMerge [10:58:42] i'll try it [10:58:55] but still i have a problem with users registrations [10:59:01] we'll see [11:05:12] i can only merge a single user [11:07:48] maybe a plugin to delete them at all? [11:22:57] my priority is however to prevent users registration [11:23:36] is useless to block users or even delete them, when they can still register new ones [11:25:08] http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [11:25:24] i tried it [11:25:26] Dottor_Z, [11:25:27] # Prevent new user registrations except by sysops [11:25:27] $wgGroupPermissions['*']['createaccount'] = false; [11:25:58] $wgGroupPermissions['*']['edit'] = false; [11:42:21] Hello everyone. Can anyone help with a runjobs question? I get this error: [runJobs] Failed to start cron API: received 'HTTP/1.1 302 Found' [12:22:33] MondoBizzarro: Weird. [12:22:38] What kind of job? [14:15:07] <^v^_FreeBird_^v^> Hi [14:34:30] Niharika : just to confirm, my proposal on phabricator is the one that will be considered, right? [14:34:55] ankita-ks: Yes. [14:36:56] So if I have submitted one on Melange and then later edited the one on Phabricator, I do not need to update the one on Melange, right? [14:38:23] Niharika ^ [14:39:11] ankita-ks: Right. But make sure your melange proposal has a link to the phab one. [14:39:20] okay. will do. [14:47:49] hey folks, could somebody help me fix the semantic mediawiki page https://wiki.hackerspaces.org/Biggest ? [14:48:22] It needs the property "Size" which is / should be linked to individual pages like this one http://hackerspaces.org/wiki/Cyberhippietotalism [14:48:55] I did the new property https://wiki.hackerspaces.org/Property:Size ... but don't really know how to connect it to values specified on individual pages etc [14:49:04] help much appreciated.. [14:49:06] dcht00: The #semantic-mediawiki channel is the better place to discuss SMW-specific issues. [14:49:11] thanks! [14:56:32] Does anyone know why this patch hasn't been merged? https://gerrit.wikimedia.org/r/#/c/199859/ [14:57:08] jenkins-bot "verified" it, but that only showed up as a "+1" in the "Verified" column rather than a check mark, which I assume is the issue. [14:57:43] Is jenkins-bot more empowered for some extensions than for others? And if so, how do I change that? [14:59:28] Yaron: Sometimes it takes jenkins a while to merge it. Wait a bit? [15:00:33] Niharika: ah, maybe that's it. Alright, I'll wait; thanks. [16:00:26] Niharika: I don't think it was a matter of waiting. [16:01:05] Let me state the question again: [16:01:22] Does anyone know why this patch hasn't been merged? https://gerrit.wikimedia.org/r/#/c/199859/ [16:01:39] jenkins-bot "verified" it, but that only showed up as a "+1" in the "Verified" column rather than a check mark, which I assume is the issue. [16:01:59] Is jenkins-bot more empowered for some extensions than for others? And if so, how do I change that? [16:13:32] Yaron: Yeah. I saw another patch get merged immediately a while back. For extension/Comments. Not sure why it isn't working here. [16:14:18] Is ^d the right person to ping? [16:15:29] for extensions, some users got rights to merge changes automatically, instead of delegating that to Jenkins [16:16:26] Yaron: are you the maintainer of that extension? [16:20:20] Vulpix: yes. [16:20:34] It's a new extension, that might not have gotten set up correctly... [16:21:51] Yaron: do you have any extra button like merge or similar, next to the review one? [16:22:08] No... [16:22:14] I think people able to merge it should have a button there [16:22:35] can i merge groups of users in one? [16:22:39] I mean, I know I can merge this patch in by marking it "+2 Verified" myself, but I thought we were supposed to let jenkins-bot do that. [16:23:48] since i have HUNDREDS of users [16:24:55] Dottor_Z: this extension might help, if you don't know about it: https://www.mediawiki.org/wiki/Extension:UserMerge [16:25:06] Yaron: ah, well, Jenkins need to be configured for that, I think. By defaut it will only verify it but not merge [16:25:23] i use it but i can merge an user per time [16:26:06] Dottor_Z: oh; I don't know, then. [16:26:24] Vulpix: right, okay. Who can I talk to about that? [16:26:43] ok thank you anyway [16:42:22] Yaron: https://www.mediawiki.org/wiki/Gerrit/Project_ownership#Other_MediaWiki_extensions - Once created I don't know if you'll need to create a task in phabricator, or simply poke ^d about that [17:10:48] 5000 users to "merge" and delete [17:10:56] i'll cry soon [17:17:23] well, that what happens if you leave a wiki unattended for long time [17:18:23] a maintenance script to do that from command line would be handy, though [17:18:31] i created the wiki the 10th of march [17:39:10] is it possible to put two blocks like this {{xxx}} {{yyyy}} side by side? [17:39:59] i try {{xxx}}{{yyyy}} [17:40:04] and in a table [17:40:12] but it does not work [17:40:44] vev: use a table, one row and 2 cells, each template in one cell. that should work [17:40:58] Vulpix: i ll try [17:41:17] Or... [17:42:02] {{xxx}} !! {{yyyy}} !! {{xxx}} !! {{yyyy}} !! {{xxx}} [17:42:04] vev:
{{xxx}}
{{yyyy}}
[17:42:05] like this? [17:43:00] yes, "like" this, assuming you've omitted most of the table markup [17:43:19] Please don't make the HTML puppies cry [17:43:23] Use divs instead of tables [17:46:55] marktraceur: i have a small bug: http://www.libreidea.org/w/index.php/List_of_ideas [17:47:01] can you correct it? [17:47:08] In a bit [17:47:15] k [17:50:56] Hey - I bet you get a lot of this but there are VAST amounts of spambots on my site (since yesterday) [17:51:00] What can I do? [17:51:26] I'm searching, hoping for a plugin but these guys are fast - can I turn registration off quickly? [17:51:37] sure [17:51:58] alec: https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [17:52:08] !spam [17:52:08] For information about combating and handling spam in MediaWiki, see and . [17:52:24] Is there an easy way to masss-remove ( Vulpix I just came from that page because it mentions patching and stuff) [17:53:10] * the users and all their contributions? (it's a tiny wiki, 2 people) [17:54:24] !e Nuke | alec [17:54:24] alec: https://www.mediawiki.org/wiki/Extension:Nuke_ [17:55:10] Why isn't that shown in special pages Vulpix? [17:55:24] because you haven't enabled it during installation [17:55:33] I did [17:55:52] is it listed in Special:Version? [17:55:55] The page works it's just not in the SpecialPages list - anyway Vulpix there are LOADS of users, am I to copy and paste all of them one at a time [17:56:11] @ Vulpix I'm looking at the page now Special:Nuke so it is present [17:57:02] Yeah this is awful, is there no way to say "delete after" or something [17:57:38] Let me try regex not [17:57:53] if you have backups and mysql has the binary log enabled, you could restore the database to a point in time [17:58:26] Vulpix: I thought it'd be easy to deal with, it's about 50/50 spambots and content, If I could say "not created by user: "that'd be great [17:58:55] a "delete after" option would have the same problem, doesn't it? [17:59:44] No because it started this morning and there have been no changes Vulpix (which is pure luck) [18:00:01] All their usernames have a nice pattern (end with numbers) [18:00:20] Special:Nuke should be sufficient, then, or restore your daily backup from yesterday [18:00:40] Vulpix: Special:Nuke doesn't have a delete after option, I'd have to check A LOT of boxes [18:01:47] alec: what? there's a select all/none option [18:02:07] Yes Vulpix either way I have to select MANY things [18:02:14] There's a lot of content - there's a lot of spam [18:02:44] FFS it deleted the pages but not blocked the users [18:02:45] HELPFUL [18:04:03] that's another story [18:04:24] Vulpix: is there a way to mass-delete users? [18:05:44] (yet weirdly Vulpix they are not on the active user list - due to deletion?) [18:07:19] no, there's no way to mass-delete users, sadly [18:08:09] Vulpix: how can I prevent this and why isn't something like CAPATCHA included by default? [18:08:22] Seriously - this is silly! [18:08:35] !e ConfirmEdit [18:08:35] https://www.mediawiki.org/wiki/Extension:ConfirmEdit [18:08:48] ^ bundled in tarballs [18:09:04] Hey. I'm trying to install the MediaWiki Language Extension Bundle on a Windows IIS server MediaWiki installation. [18:09:29] Vulpix: I've got require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php"; already [18:09:32] Does that do nothing? [18:09:47] alec: did you read the documentation? [18:10:00] If I add these lines http://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle#Add.2Fupdate_your_LocalSettings.php [18:10:10] To LocalSettings.php, I get a 500 error [18:10:18] It just seems insane to me that it wasn't configured already - anyone with Python can do this Vulpix [18:11:41] alec: trust me, I'm fighting to get a link about anti spam measures on the main page, after installation https://phabricator.wikimedia.org/T85327 [18:11:42] Also [18:12:09] marktraceur: this is weird [18:12:15] Is there anyone here for hire? :-) [18:12:23] I'm looking for someone to install a few extensions on a wiki [18:12:33] kikero: could you see the actual error from the server logs, or on-screen? [18:12:37] @ kikero it's not worth paying for [18:12:39] It's REALLY easy [18:12:40] please define "hire" [18:12:53] well [18:13:00] I know how to install extensions [18:13:13] I know how hooks work and can write basic extensions by myself [18:13:22] it's just that I'm too lazy [18:13:25] to do this today [18:13:37] Dottor_Z, I could pay through PayPal [18:32:48] Ok, I no longer get the 500 error. But I get this: "[b5e1c840] /mw-config/?page=ExistingWiki Exception from line 341 of C:\inetpub\wwwroot\MediaWiki\includes\MagicWord.php: Error: invalid magic word 'babel'" [18:44:11] oh, damn, that's a classic bug [18:45:15] Nikerabbit: ^ [18:45:43] kikero: the standard solution to this is to run the maintenance script php rebuildLocalisationCache.php --force [18:54:13] Vulpix: I did that, but I still get the same error :-P [19:16:34] hi [19:16:40] Fiona: still there? [19:26:19] Vulpix: something special you wanted me to see? [19:30:32] Nikerabbit: the "Error: invalid magic word 'babel'", I guess you are involved with MLEB, in case you know how to solve that [19:31:36] Vulpix: yes, I am trying to install MLEB. [19:32:35] Vulpix: usually --force solves it for me [19:32:46] it might be there are some other issues which prevents it from running succesfully [19:46:36] umm.. from where can I download flow ? [19:47:06] !e Flow [19:47:06] https://www.mediawiki.org/wiki/Extension:Flow [19:47:25] heh, no download link [19:47:26] Vulpix: thank you. [19:47:42] ah, no, it's there, as snapshot [19:49:26] Vulpix: also is there a way to get 1.2.5wmf10 as a tarball snapshot or need to get the git master cloned ? [19:51:27] maybe you can download a snapshot of that version from gitub [19:51:33] *github [19:52:25] I did read https://www.mediawiki.org/wiki/Download_from_Git and saw that https://gerrit.wikimedia.org/r/p/mediawiki/core.git [19:52:45] Vulpix: I did see if the releases had it, but it appears not. [19:52:54] in releases it only has 1.24.1 as latest. [19:53:23] maybe somebody could make a snapshot of 1.25wmf10 perhaps. [19:54:58] I also saw this https://www.mediawiki.org/wiki/MediaWiki_1.25/wmf10 but couldn't see any download links. [19:56:30] shirish_, Do you have git ? [19:57:00] phoenix303: yes, do have that, but don't want to spend 500+ MB for software which is around 18-19 MB only. [19:58:44] https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Flow shows latest to be 1.24 [19:59:07] curious, at my end it shows it needs 1.25 to work. [19:59:20] shirish_: http://stackoverflow.com/questions/1209999/using-git-to-get-just-the-latest-revision [19:59:25] you can use master develpoment version [20:05:50] umm... would that minimize bandwidth or would download the shallow clone fully and then archive the resultant directory ? $ git archive --format=tar --remote= HEAD | tar xf - [20:06:29] otherwise only git clone --depth=1 is only what I can use. [20:06:58] Does anyone know of a walk-through for getting mediawiki set up on a remote Linux VM? (I've just got an entry-level droplet on digitalocean.com and I'm able to ssh in) [20:07:18] !install | pi- [20:07:18] pi-: Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [20:07:22] wish I could ping somebody who does the snapshot feature. [20:07:41] !download [20:07:41] The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Git repository . [20:09:00] Thanks for the links. I'm wondering whether it's possible to do things more directly using whatever package manager comes with ubuntu...? [20:10:36] ok I found http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu -- guess I need to work my way through that [20:10:54] pi-: I won't recommend that, unless you want to use a relatively outdated version of MediaWiki [20:12:05] Vulpix: ?! But that's the official(?) Ubuntu guide :| It's only a click away from the page [20:12:47] pi-: is that also 1.19 ? because Debian has 1.19 and official support will be ending for 1.19 in May 2015. [20:13:27] shirish_: Debian has mediawiki 1.19? [20:13:44] pi-: yes, what version does Ubuntu have ? [20:15:23] I had no idea any Linux distro had mediawiki. If this is the case for Ubuntu, I can't understand why such a long page on how to get it up and running? [20:15:53] pi-: Because the MediaWiki package in Ubuntu is wonky. [20:16:03] So is Debian's [20:16:09] pi-: see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728347 [20:16:13] ooh https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-ubuntu-14-04 <-- I found a guide going into from the other end [20:16:31] !debian [20:16:31] While there is a MediaWiki package in the Debian/Ubuntu repositories, you should probably not install it. It's very out of date, and we can't necessarily help you with it. Please see https://www.mediawiki.org/wiki/Debian/Ubuntu for how to get MediaWiki running on your machine. [20:16:34] the maintainers haven't updated it. [20:17:01] If that guide is current maybe the mediawiki (wonky) page should link to it. [20:17:11] thanks marktraceur [20:17:21] there's already http://www.mediawiki.org/wiki/Manual:Installation [20:18:23] ok I better stfu until I've rtfm ;) [20:25:57] hmm... is there a skin viewable page or something as there are so many skins. [20:25:59] I see there are around 50-60 as can be seen at https://www.mediawiki.org/wiki/Special:AllPages/Skin: [20:26:34] probably not the right channel to ask this (free free to redirect), i'm trying to sign into my phabricator account, but i forgot my password and is locked out. i tried the login/register with mediawiki button, but it takes me to a registration page in which it says my account is already registered. any ideas? [20:29:54] terrrydactyl: if your e-amail address is the same, couldn't you ask it to re-generate and get the link from the generated reply in your inbox and then try to sign in. [20:30:37] shirish, can you link me to directions? i came up short in my search [20:30:37] well, it depends in how terrrydactyl registered with phabricator... linking the MediaWiki account or with LDAP? [20:30:53] I don't see any "forgot password?" link in phabricator [20:30:58] there isn't [20:31:02] it has my email though [20:31:10] oh, thought there would be as mediawiki has . [20:31:10] because i did verify my email with phabricator [20:32:01] if you login with MediaWiki, and your MediaWiki account is not locked, you should login directly [20:33:16] so if i try to login with mediawiki, it asks for permission to use on behalf of my mediawiki account but takes me to a registration. but i can't register with my same email/username. i suppose i signed up not using my mediawiki account. [20:33:44] i signed up back in december so i don't really remember. :( [20:33:51] Hello, anyone knows how can i close the registration of the Wiki to add by my own the accounts? Thanks [20:36:16] strange one scratchin my head: My access log says ""GET /var/www/w2419/images/..." and then says ""GET /Var/www/w2419/images..." [20:36:39] any ideas why? the first one gave a 301 and the second gave a 404 [20:37:03] (notice the capitalized "Var") [20:38:08] weird [20:38:19] ElGatoSaez: https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [20:38:27] Thanks Vulpix [20:40:01] ¿And to restrict edits, just for sysops? [20:40:11] $wgGroupPermissions ['*']['edit'] = false; [20:40:28] Thanks [20:40:37] but when i add text to the local settings file [20:40:40] the wiki goes blank [20:40:47] everything goes blank, and i have to install all over again [20:40:59] i already have some articles and i dont want to lose them [20:41:33] no dont install again - there's a problem in your localsettings - try incrementally adding sections again to the file, and locate the problem that way [20:42:00] i'll try to do the restrict account creation [20:42:03] hope it will don't go blank [20:42:35] strange one scratchin my head: My access log says ""GET /var/www/w2419/images/..." and then says ""GET /Var/www/w2419/images..." [20:42:39] any ideas why? the first one gave a 301 and the second gave a 404 [20:43:25] the 301 i uinderstand - i am trying to fix image not displaying problem so was moving things around -- but this capitalization thing is totally unexpected [20:43:53] hypergrove: maybe there's a weird rewrite rule in place? [20:44:15] Vulpix, thx friend. no change in rules from standard as published [20:44:49] i did chg to flat directory for images [20:46:26] copied files from hashed directory to /images [20:50:34] Okay, i'm uploading the new LocalSettings.php in UTF-8 [20:52:06] wow, it worked [20:52:09] thank you [20:53:33] Vulpix, none of my images are loading -- the /Var/... problem is plaguing them all [20:53:48] thanks Vulpix and hypergrove [20:55:06] ElGatoSaez, sure happy to answer the easier ones! [20:56:11] Vulpix, I'm thinking mw does something when it gets a 301 Moved Permanently -- is that nonsense? [20:56:51] wp says " [20:57:13] wp says for 301 that "The new URL should be provided in the Location field included with the response." -- maybe the /Var is there? [20:57:17] hypergrove: I'd say that's a configuration problem of apache, assuming that /Var/www/w2419/ is your published directory and not exposed in the URL [20:58:04] well, or not... is /var/www/w2419/images/ actually appearing in the URL? [20:58:50] no, /var/www/w2419 is the apache Directory value for the site. that part looks normal to me [21:05:52] can i interwiki a template [21:05:53] ? [21:09:08] ElGatoSaez, yes i believe you can [21:09:42] assuming you have the settings for it ("scary" must be true) [21:10:20] "Can't find the text scary" [21:10:39] i want to interwiki a esWP template [21:11:17] ElGatoSaez, https://www.mediawiki.org/wiki/Manual:$wgEnableScaryTranscluding [21:11:44] that goes on localsettings? [21:12:13] yep [21:12:17] thanks again [21:12:42] i assume the esWP wiki is defined in your interwiki table [21:13:15] how can i define it [21:13:23] every wikipedia: link goes to enWP [21:13:46] ElGatoSaez, The interwiki table contains the known interwiki prefixes. For each of them, the value iw_trans can be set to 1 to allow (or 0 to disallow) transclusion from that wiki. [21:14:01] sooooooo..... [21:14:11] load the interwiki extension so you can edit that table [21:14:27] <^d> Or edit the table directly and skip the extra extension :) [21:14:32] okay [21:14:34] thanks [21:14:46] i'll try to edit the table directly [21:17:35] where can i edit that table? [21:19:18] suggest it'd be easier to load the extension [21:19:32] you can always remove it when you're done [21:19:55] okay [21:23:25] uh-oh. saw this: When transcluding {{interwikiid:templateName|param}}, what is transcluded is just the content of the page templateName of the distant wiki, which means: (a) The parameters are totally ignored. (b) The instructions , behave as if it was not a transclusion which is the opposite of the expected behavior... [21:23:40] from https://www.mediawiki.org/wiki/User:Peter17/Reasonably_efficient_interwiki_transclusion#New_options_for_LocalSettings.php [21:24:45] Could someone advise me please about whether/why MW generates HTTP 301s for images? [21:25:28] mediawiki doesn't generate 301 for images. You're accessing apache without hitting a .php script, so MediaWiki has nothing to do with that [21:27:38] ElGatoSaez, it appears that template transclusions don't work as expected. Even though there's apparently been a solution developed years ago for the problem(s) mentioned. [21:28:08] Nevermind [21:53:45] Hi, I'd like to extract the source of minecraft wiki (http://minecraft.gamepedia.com/Minecraft_Wiki:About) which is a mediawiki. I want to use that to extract information about the game. Do you know is there are existing tools to get the wiki source of a wiki quickly ? [21:55:05] mmm [21:55:15] try to edit it [21:55:17] and then copypaste the code [21:55:56] yeah but I want to get many pages, so I could do a tool for that, but maybe it already exists since mediawiki is used by many people/organizations ? [21:57:38] I basically want something like this at the end https://dumps.wikimedia.org/ [21:57:50] well maybe I don't need all the pages, but I need a lot of them so... [21:58:12] rom1504: You could use the API to fetch the pages. [21:58:26] rom1504: http://minecraft.gamepedia.com/api.php [21:59:06] oh, indeed, I didn't know there is an api [22:57:56] Has anyone ever tried to define a variable in LocalSettings.php with $_SERVER["VAR_NAME"] before? I keep on getting a undefined index error even though I have explicitly defined the environmental variable in my machine [22:58:59] DeeJayTwo: I'm vaguely around now. [22:59:13] But I imagine you've solved all your problems by now. [23:02:46] i am trying to store all my images in a home directory -- I've set all the paths I think appropriately. Nevertheless I get "GET /home/cnvc.belltower.wiki/wiki/images/cnvc.gif HTTP/1.1" 301 -- no redirections along the path -- an HTTP 301 error occurs I don't know why -- and then I get "GET /Home/cnvc.belltower.wiki/wiki/images/cnvc.gif HTTP/1.1" 404 -- note that /home somehow has been turnedinto /Home -- this is a 404 error -- I tried a link from / [23:09:10] My apache rewrites are exactly the same as published on the mw.org wiki, so that should not be the source of this problem. I have no idea why the 301 is being generated in the first place -- there are no redirects along the path /home/..../wiki/images [23:09:53] and the file does exist, I can do an "ls" on it no problem [23:17:26] i have recursively set www-data as the owner of the /home/.../wiki directry [23:19:17] hypergrove: Did you set a different image path in MediaWiki's LocalSettings.php? [23:19:23] Or did you do something with symlinks? [23:19:44] I doubt you need Apache redirects. [23:19:48] i set the paths, no symlinks [23:20:20] Okay. Can you copy and paste what you set in LocalSettings.php? [23:21:47] sure $wgTmpDirectory = $homepath . '/images/temp';$wgUploadDirectory = "$homepath/images";$wgUploadPath = "$homepath/images";$wgCacheDirectory = "$homepath/cache"; [23:22:37] Fiona, thx for looking at this (pulling my hair out!) [23:22:58] What's $wgUploadPath? [23:23:11] We have both $wgUploadPath and $wgUploadDirectory? Hmm. [23:24:24] $wgUploadPath = "$homepath/images"; ... and the log says, correctly (other than 301): "GET /home/cnvc.belltower.wiki/wiki/images/cnvc.gif HTTP/1.1" [23:24:31] hypergrove: What's $homepath? [23:24:56] "/home/cnvc.belltower.wiki/wiki" [23:24:59] I doubt you want $wgUploadPath and $wgUploadDirectory to be the same. [23:25:20] $wgUploadPath = "/home/cnvc.belltower.wiki/wiki/images"; ? [23:25:25] That's what you're setting? [23:25:42] yes [23:25:46] Does that make sense to you? [23:25:57] Like this is the upload path for the URL. [23:26:17] Can you comment out that line? [23:26:42] which line sorry looking up uploadpath which defaults like uploaddirectory to /images [23:27:03] hypergrove: What is the final URL of an image? [23:28:08] $wgLogo = "/home/cnvc.belltower.wiki/wiki/images/cnvc.gif"; [23:28:25] the logo doesnt even show up! [23:30:30] hmm [23:30:34] try to put in here hyp [23:30:49] assets or something like that it was [23:30:59] wait i'll get you the path hypergrove [23:30:59] i chowned /home/cnvc.belltower.wiki/wiki to www-data and .../wiki is 077 [23:31:50] i mean 0777 [23:34:45] weird to me that wgUploadPath is a URL? [23:35:11] You can upload $wgLogo in a easy path [23:35:40] resources>assets>wiki.png [23:35:45] wiki.png is the logo [23:39:34] hypergrove: What is the final URL of an image? [23:39:39] You didn't answer. [23:40:01] If you set $wgUploadPath, I think you need to set it to some part of that final URL of an image. [23:40:10] http://64.146.253.228:8104/File:Luftpostumschlag.jpg [23:40:17] That's the file description page. [23:40:23] Where is the file accessible on the Web? [23:40:39] Or like where is it if you clicked to view the raw file. [23:40:42] Not the file description page. [23:41:07] if they're in the /home directory I don't think they're directly viewable [23:41:33] if they're in the /home directory they're not directly viewable [23:41:48] is that a problem [23:42:16] hypergrove: upload the logo in that path [23:42:22] resources>assets>wiki.png [23:42:26] wiki.png is the logo [23:42:29] thomas [23:43:12] ElGatoSaez: What are you saying about resources>assets>? [23:43:39] there is the logo path [23:43:42] resources>assets [23:43:49] there is a file called wiki.png, that's the logo [23:43:49] In MediaWiki? [23:43:52] yes [23:44:38] Oh, resources/assets/wiki.png, yeah. [23:44:40] ElGatoSaez, appreciate your input, but this is a different issue [23:44:55] ElGatoSaez: Sorry, I forgot that it got moved. [23:45:05] The logo was in skins/ for a very long time. [23:45:39] oh [23:45:46] i didn't know that, i'm new on this stuff [23:46:15] No worries. My bad. :-) [23:47:14] fiona, do all files need to be accessible via a URL? that's what I'm hearing you say [23:48:13] Of course, yes. [23:48:22] ok hypergrove, no problem [23:48:32] If you want to load files via a Web browser, you typically need to put them in a path that the Web server can access. [23:48:51] If you're really tricky, you can use file://s, but that's not well-supported these days, as I understand it. [23:49:11] Anyway, I think your $wgUploadPath is wrong. [23:49:13] ok, then I need to create a symlink from images to the /home/... directory? [23:49:26] Probably, yeah. I'm still not really sure what you're trying to do. [23:49:40] Perhaps you can explain that and then someone might be able to help. :-) [23:49:53] its a farm, and i need to have images from one wiki separate from another [23:50:17] What kind of farm? Is the PHP code shared between wikis? [23:50:23] that's right [23:50:50] I think this is basically what Wikimedia does. [23:50:54] So it should be fairly well-supported. [23:52:04] hypergrove: I think you'd set $wgUploadDirectory to a custom directory in your wiki's images/ directory. [23:53:02] okay thanks you've clarified a few things for me. appreciation coming your way [23:53:47] And then have symlinks to the relevant home directories? [23:53:51] Or do the opposite. [23:54:05] And have symlinks in images/ and really write to the relevant home directories. [23:56:03] that's the question. I had symlinks just as you said, but that's when i got the 301s -- so i thought to try setting the real path in the wg's, and I still get 301s. but i'm hearing i can't set the real path (to the home directory) because it's not apache-accessible (ie per the Directory for the site) [23:56:05] ElGatoSaez: https://gerrit.wikimedia.org/r/#/c/159290/ if you care. [23:56:35] hypergrove: Right, you want to do what's most natural for the Web server. [23:56:36] If possible. [23:56:53] So like have it write files instead of images/ to images/example.com/ and images/example.org/ [23:56:59] what's really aggravating is that I have the images/symlinks setup working on one system, but not this one. [23:57:09] Basically that's really similar and configurable using $wgUploadDirectory. [23:57:28] Wow, that was actually not too old [23:57:30] And then images/example.com/ and images/example.org/ can either be real directories or symlinks to /home/example.com/images or [23:57:39] /home/example.org/images [23:57:57] ElGatoSaez: Yeah, I guess it's been about six months. [23:57:59] Time flies! [23:58:03] yes, that's exactly what I had setup on another system, and it's working fine [23:58:08] Okay. [23:58:12] Then that's what you'd do here. [23:58:14] :-) [23:58:18] but not this system, hmmmm :( [23:58:24] "ls -l" is nice for seeing symlinks. [23:58:30] Dash ellll. [23:58:31] oh yeah [23:59:35] I think you would need to modify $wgUploadPath with this.