[06:26:08] Anyone have experience using the Wikia git repo for an actual wiki? Seems to be a few specific settings required for it to function. [07:08:45] CZauX, wikia runs essentially a fork. it's not intended for general use and have no idea if it even includes all the security fixes vanilla MW has introduced since [11:13:05] hi :) I Would like to add an overview of all categories on my main page. Whats the best way to do this? Cause I see like multiple (but old) answers online :) [11:13:08] anyone any idea? :D [11:17:12] dupondje: Hmm, let's see if there's an extension for this. [11:18:22] dupondje: How about https://www.mediawiki.org/wiki/Extension:CategoryTree ? [11:21:27] https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia) This should work too. [11:22:48] Niharika: thx, I read somewhere that the CatergoryTree was not the way to go (deprecated) somewhere [11:22:51] but thats not correct? [11:23:21] dupondje: I am pretty sure that's not correct. [11:29:35] [11:29:40] doesnt seem to work tho .. :( [11:31:00] (as I want to show all categories .. :) [11:34:11] dupondje: You're looking for the parser function: https://www.mediawiki.org/wiki/Extension:CategoryTree#The_.7B.7B.23categorytree.7D.7D_parser_function [11:36:25] dupondje: Ah, I see what you mean. It shows only the given category and its sub-categories. [11:37:26] There ought to be a way to show them all. [11:44:06] Niharika: There is a return nothing in the code if the category isn't shown ... :) [11:45:04] dupondje: Return nothing or everything? [11:48:12] nothing :) [11:50:24] Hmm. [13:21:09] morning [16:38:21] Hey guys. I'm trying to wrap my head around a (sort of) simple concept. I'd like to display a countdown timer on my front page that counts down until the next event in a list of events automatically. The events are recurring on a 72 hour cycle. Anyone have any suggestions? [16:39:35] I'm using Template:Countdown from wikipedia, which seems simple enough, but it would require a decent amount of scripting to get it to work for my purposes. [17:17:40] Hey guys! I am getting a blank title whenever I am trying to produce the alert notification. Can anyone help me figure out the problem in https://github.com/abhinand4858/extension-EditNotify/blob/master/EditNotify.hooks.php [17:27:45] !blank | abhinand_ [17:27:45] abhinand_: A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [17:36:20] MaxSem: The alert message title seems to be blank in the notification [17:36:43] ah, blank title... [17:36:56] Yeah [17:46:00] Hi all, how can I ensure that all of my wikis' pages that have certain special characters in the titles get properly url-encoded? A page with an ampersand will display properly when using the short syntax, e.g. /wiki/Foo&Bar but then trying to edit it yields the URL index.php?title=Foo&Bar&action=edit, so it sees only the page title Foo. [17:47:03] I had already edited a few files to get certain characters (&, +, and apostrophe) to work in titles but this editing doesn't work [17:47:36] justinl, sounds more like a problem with rewrites because MW properly handles titles [17:48:14] I don't have any rewrites, just the Apache alias /wiki pointing to /path/to/site/index.php [17:48:33] Shouldn't this just work correctly without any need for rewrites? [17:48:50] yep, rewrites aren't needed [17:49:52] fwiw, based on previous assistance in getting plus signs, ampersands, and apostrophes working, I added them to the encoding lines in includes/GlobalFunctions.php and resources/src/mediawiki/mediawiki.util.js [17:49:53] so, you click on edit and it goes to a broken link? [17:50:45] this should not be needed... [17:50:51] basically yes, for a page titled Foo&Bar, i.e. /wiki/Foo&Bar, the edit link goes to index.php?title=Foo&Bar&action=edit, so it thinks its editing a page called Foo and has an extraneous key Bar in the URL [17:50:58] MW version and what web server it is? [17:51:29] IIRC the problem also has to do with the wikis being behind Microsoft IIS servers acting as load balancers via ARR. [17:51:46] MW is 1.26.2 and Apache 2.2.22 on Ubuntu 12.04 [17:52:41] well, so you _have_ software rewriting stuff, just not Apache:) [17:54:12] so the soultion would really be not to change mw, but configure IIS to stop mangling the URLs [17:55:51] Well I think it's more like IIS is NOT properly encoding the URLs so we're having to do it. The wikis are one small thing behind IIS/ARR aside from a ton of other stuff that doesn't run into this kind of problem, so tweaking ARR can be risky. [17:56:04] Agreed, I hate tweaking MW code :P [17:59:41] I'll take a closer look at the IIS/ARR rewriting documentation :) [17:59:54] MaxSem: Thanks for the feedback. :) [19:05:41] hi, when I type '''TRACE\(foo\)''' I get TRACEfoo where foo is italicised. How can I get literal TRACE\(foo\)? [19:07:46] '''TRACE\\(foo\\)''' displays TRACE\\(foo\\) [19:08:36] where do you type that? [19:09:02] in a wiki, you'd do ''Trance(foo)'' [19:18:17] Thank you [19:23:30] bawolff, '''TRACE\(foo\)''' didn't work either [19:23:38] any other suggestions? [19:25:17] MrKeuner: where do you type that? the escaped parenthesis thing doesn't look like mediawiki syntax to me. [19:25:46] MatmaRex, sorry, simply editing a wiki... [19:26:01] The quotes have to be inside the [19:26:09] I'd like to show paranthesis escaped literally [19:26:10] * bawolff also wonders about the escaped parenthises things [19:26:29] Two single quotes in MW makes stuff italic [19:26:38] that what I assumed you were referring to [19:26:55] I don't want it to show this: TRACE(FOO) I'd like it to show TRACE\(FOO\) [19:27:32] this works '''foo\:\:bar''' [19:27:43] this not '''\(''' [19:28:48] Actually, before saving the changes, preview renders correctly [19:29:15] When saved, it converts foo to a funny f and italiced small "o"s [19:30:38] Was I able to explain? [19:33:09] MrKeuner: this honestly doesn't sound like something mediawiki would do. either i'm misunderstanding, or you have some crazy extensions installed, or you're actually using some different software [19:34:06] Do you have a link to your wiki? That does not sound like mediawiki at all, but it kind of sounds cool [19:37:56] It's Mediawiki. Can't see how to check version or plugins installed. This is internal, there is no external access unfortunately. [19:38:21] MrKeuner: Go to the page named Special:Version on the wiki [19:38:34] It should list what version of mediawiki it is [19:39:04] 1.23.3 [19:39:14] and yes, there is a huge number of extensions installed [19:39:33] Maybe there is an unclosed tag on the page or something [19:39:45] * bawolff does not know [19:41:53] tried adding before the problematic string, didn't work. [20:34:20] For any of you teamviewer users out there, watch out for this: https://www.reddit.com/r/technology/comments/4m7ay6/teamviewer_has_been_hacked_they_are_denying/ [20:34:45] Their service was hacked in some manner, tons of people are getting their computers accessed. [21:10:58] One of the templates on my wiki isn't rendering properly. It's {{Nihongo2}} from Wikipedia and an example of said rendering is over here https://safiria.miraheze.org/wiki/Hoenn:Hoennese_Realm — help? [21:22:52] Carl_Miller: https://safiria.miraheze.org/wiki/Template:Lang [21:22:56] This template seems to be at fault. [21:23:14] * Carl_Miller takes a look at that [21:23:37] There, fixed it for ya. [21:23:54] Seems that one of your brackets had gotten replaced by an alias somehow. [21:24:00] I missed the very end bit there [21:24:01] Yay [21:24:24] Basically I just used this to narrow it down: https://safiria.miraheze.org/wiki/Special:ExpandTemplates [21:24:43] Interesting [21:24:48] Stuck the whole thing in there, and just removed things until I was left with just that Lang template still having the issue. [21:25:00] Thanks, Meneth [21:25:09] No problem :) [21:25:10] Now to figure out how to stop IPs from editing my wiki… [21:25:25] Carl_Miller: https://www.mediawiki.org/wiki/Manual:Preventing_access [21:25:27] (and ideally restrict it to certain trusted users only) [21:25:28] Thanks [21:26:05] You'll want "$wgGroupPermissions['*']['edit'] = false;" for starters. [21:26:09] That stops anon edits. [21:26:17] "Most of the examples need changes to MediaWiki configuration file LocalSettings.php." well shit [21:26:40] Why's that an issue? [21:26:58] I'm on a wiki farm, as you can see [21:27:20] You don't get to add to the settings? [21:29:53] Well then its not really "your" wiki :P [21:29:59] Indeed. [21:30:09] I remember when I was on shared hosting. That was bad enough. [21:30:28] Servers are really cheap these days BTW, Carl_Miller. [21:30:38] A DigitalOcean server is only 5 USD/month for example. [21:30:56] Some good caching and that can take quite the load. [21:31:01] Meneth: I still don't have my first job so that's five more dollars a month than I have :( [21:31:11] Ah. [21:31:19] That does limit your options, yeah. [21:31:41] If you're a student, GitHub will get you 50 USD of Digital Ocean credit. [21:31:44] I've tried setting MediaWiki up on a free server before but it always ended up being overrun by spambots or otherwise improperly configured [21:31:46] Meneth: :o [21:31:59] Being referred by another DO user is another 10 USD of credit. [21:32:59] https://education.github.com/pack [21:33:12] The free DO credit is IMO the nicest thing about the GitHub student pack. [21:33:20] Used to be 100. Now that was nice. [21:34:39] Worth noting the credit does expire after 12 months, so not possible to actually get more than 12 months of hosting from it even though 50 USD is 20 months worth of hosting. [21:35:02] "You should be getting an email from us in a few weeks." :/ [21:35:09] Meneth: ten* [21:35:15] Yeah, takes some time. [21:36:01] If you want a referral: https://m.do.co/c/c4e56d7c7fc0 [21:36:07] That gets you 10 USD of credit. [21:36:34] Don't think it works until you add a credit card to it tho, but they don't charge you unless you run out of credit and don't cancel it. [21:38:41] Thanks :D [21:40:01] That was quick O_O [21:40:24] What was? [21:40:53] My education pack request [21:41:02] Probably a known institution. [21:41:14] Yeah [21:41:18] * Carl_Miller goes to Daytona State College [21:41:41] Anyway, you'll want to wait to activate the DO credit they give you until the referral credit is about to or has expired. [21:41:51] Yep [21:42:00] s/expired/been used up [21:42:15] So that should get you 14 months of hosting combined. [21:42:36] "don't accept prepaid cards" Hrm [21:42:42] Meneth: 12* [21:42:54] 2 months from the referral. 12 from the GitHub credit. [21:43:09] Oh right, it's just 50 USD now. [21:43:11] Yeah, 12. [21:43:27] Like I said, used to be 100 :P [21:43:53] …ok, it took my college refund card even though THAT's debit [21:43:53] Anyway, DO is quite awesome. You get your own virtual server which you've got basically complete control over. [21:44:00] Now which micronation do I set up a website for X3 [21:44:07] Debit != prepaid. [21:44:18] Meneth: I misspoke, it said they don't take debit or prepaid cards [21:44:21] You can get prepaid cards that are basically gift-cards that work as debit cards. [21:44:25] except debit MasterCards, apparently [21:44:26] Meneth: I have one [21:44:32] They definitely take debit cards; I use debit. [21:44:47] It's overdrawn by $5.8x because Walmart is ass and so is American Express for their Bluebird card not working on Amazon [21:45:14] Anyway, when you set up the server, one of the configs it'll offer you is one with MediaWiki pre-installed. [21:45:28] Go with that one or the LAMP stack; either will work. [21:45:38] MW is really easy to set up once you've got a LAMP stack anyway. [21:45:46] Does distro matter? [21:46:00] You'll want Ubuntu 14.04 64-bit. [21:46:17] I'm surprised that neither FreeBSD nor CentOS is the play [21:46:27] I'm pretty sure they're deep in there somewhere. [21:46:57] Ubuntu is nice because it's so popular; makes it really easy to find instructions on the net if you're having trouble. [21:47:10] It offers Ubuntu, FreeBSD, Fedora, Debian, CoreOS, and CentOS [21:47:36] Go over to "One-click apps" and you can have it pre-install MediaWiki. [21:47:37] "x32" *judges you in binary* [21:47:39] Yep, or LAMP [21:47:53] The MW image includes the LAMP stack, mind you. [21:48:06] Ah [21:48:24] https://www.digitalocean.com/community/tutorials/how-to-use-the-mediawiki-one-click-application-image [21:48:28] Is it possible to add other software later (e.g. a forum)? [21:48:32] Of course! [21:48:35] OK [21:48:40] Like I said, you have basically complete control over the virtual server. [21:48:43] You get shell access. [21:48:53] So you can install anything you can install on any Ubuntu system. [21:50:45] I imagine the $5/month is per droplet? [21:51:05] Yep. [21:51:14] K [21:51:31] That gets you 1 CPU, 0.5 GB of RAM, and more transfer than you'll ever need on that server :P [21:51:46] You'd be surprised how far 0.5 GB of RAM actually goes. [21:52:09] I've got one wiki that runs on a 5 USD droplet, alongside the IRC client I'm using right now. [23:02:17] Heh, actually, a $5 DO server is apart of one of my projects [23:02:26] Nginx + PHP7.0-FPM is magical [23:03:16] Just don't use the 'pre-built' image DO provides, they're usually out of date and don't perform well [23:04:53] In a few months I'l have a site up with a kind of 'easy-installer' similiar to EasyEngine, where people can install Mediawiki and the most optimized stack for it [23:06:02] Only problem so far is that Mediawiki doesn't have many nice skins, all the good stuff depends upon libraries like Wikia or Bluespice [23:07:11] meh, I think the Wikia skins are pretty ugly [23:07:19] just my personal view [23:07:22] ^ [23:07:57] Although it might be how many advertisements that wikia puts on their wikis, which is truly what makes them ugly [23:08:20] that and the vast majority of wikis are rather content-free [23:08:32] but you'll have that with any large farm that lets end users make their own wikis [23:09:03] so can't exactly knock wikia for that one (although I *can* knock them for refusing to shut down a wiki when the community moves elsewhere, thus creating needless forks) [23:09:07] CZauX: there are a few neat non-default skins. https://www.mediawiki.org/wiki/Skin:Erudite https://www.mediawiki.org/wiki/Skin:Timeless [23:09:10] Wikias skin isn't very pretty, but it does shoot for the right goal of media-based wiki's, which is what Wikia is made for. However, the entire concept of Wikia is ruined by their business model [23:09:40] I was just going to say that jam.wikipedia.org isn't exactly brimming with content either, but appearently they have 1000 pages, so I can't even talk [23:11:26] CZauX: In case you haven't seen it, the list of general skins is at https://www.mediawiki.org/wiki/Category:Skins_in_Wikimedia_version_control [23:12:00] There certainly are other skins, but the problem is that Mediawiki as a framework for skins isn't standardized and is hard to extend properly. Something like this: http://wiki.czaux.com/wiki/Home requires a incredible deal of rigging. [23:13:03] That looks quite nice, btw [23:13:24] Thanks, thats a modified version of Chameleon I made. Not done yet, but been a long wip [23:13:32] thats on my 5$ server stack [23:14:46] But, a lot of what makes that possible is jerry rigging chameleon because though it does make a cool standard, its not very extendable for what I'm doing. [23:16:21] …hrm [23:16:27] Now that I've set up my domain I can't access my wiki [23:16:36] whats the error? [23:16:52] Carl_Miller: What is $wgServer set to in LocalSettings.php [23:16:58] CZauX: 404 [23:17:10] bawolff: http://www.hoenn.me [23:17:13] Could also be short url config [23:17:31] check $wgScriptPath and $wgArticlePath are correct [23:17:46] DNS could not be found, though might be propogated on your side, if not, then there's your issue [23:18:19] ScriptPath is set to nothing; ArticlePath is not specified [23:18:31] the main page is supposed to be at http://www.hoenn.me/index.php/Main_Page [23:18:36] Actually, CZauX comment sounds more likely then a config issue [23:19:07] Alright, I'll let it sit for a couple hours then [23:19:20] hoenn.me/ has an A record, but www.hoenn.me/ does not [23:19:46] Carl_Miller: Try setting $wgServer = 'http://hoenn.me'; [23:19:51] no www. [23:19:57] https://gist.github.com/Cyken-Zeraux/a1638ed8eeb6b5c751fe3989163c8f12 Thats what I use for my wiki. [23:20:07] However, thats assuming your wiki is installed under the 'w' directory [23:20:34] bawolff: there we go [23:20:57] So if you want www. in your domain name, you need to change your DNS records config [23:26:38] Hrm. I might actually use the Timeless skin to example my stack setup. Looks like a more modern version of Wikipedia. [23:34:12] and now despite being 777 SMF is claiming that the attachments directory is not writable [23:36:41] 777 doesn't mean much if the parent directories don't have execute, because any process has to CD into each parent directory of your 777'd directory. Dunno why Semantic forms would think its not writable