[00:29:02] I'm finishing up a parser extension for a service that has many options that can be applied to it. The types have been broken down to Integers, Numbers (Integer or floats), or specific strings. I'd like to make a testing procedure to make sure the parser doesn't act different in the future, but I don't know of many good ways to do that. [00:30:01] I've theorized creating a json list of values that should pass regex, and values that shouldn't be matched. If the matching isn't correct, then PHPUnit will throw an error [00:30:33] Anyone know of any parse extensions like that, that do some proper testing? [00:31:38] https://gist.github.com/Cyken-Zeraux/ef0addc4c811cc2f3c160b6e561cfa27 thats how it works in-page. [13:29:32] I want to use #if clause in mediawiki, but with several conditions, like OR condition. [13:29:53] May I use something like — if (a or b or c or d ) then ? [13:30:03] How can I use OR condition? [13:41:55] PMZ_: i think you are looking for a switch statement [13:42:20] https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch [13:43:18] I am looking for #switch with several conditions at once. [13:43:41] Say, if (mama OR papa OR sister OR brother) then (print 1). [13:44:04] Is there a way to set this comparison with #switch? [13:51:18] now I see the way with #ifexpr: #len:{{{1|}}} and so on, to check if the parameters exist. [16:20:47] hello [16:21:00] I need some help [16:21:22] May I know if anyone here is a Wikia user? [16:21:56] http://pl.quentum.wikia.com/wiki/MediaWiki:Common.js [16:22:15] I want to display the first code in different languages [16:22:35] As you see, I used EN , PL and GV for now [16:22:38] for test [16:23:09] What do I have to do? [17:33:03] what is the relation between open satndards and open software? [17:33:36] what standards do I have to keep in mind if I want to contribute? [19:07:05] This might be off topic, but what are some other free-as-in-beer wikis besides mediawiki? I like Atlassian's Confluence because I can make different projects. Is there a free alternative to it? [19:07:19] Or does mediawiki support that feature? [19:07:35] https://en.wikipedia.org/wiki/List_of_wiki_software [19:07:49] Thanks! [19:07:57] If this gets any more meta... [19:08:05] you might find yourself talking to yourself [19:08:23] myself: Tell me about it. I ran into a wikepeida entry for "lists of lists of lists" earlier [19:10:50] you know someone was giggling when they made that [20:18:46] dougquaid: you can make a wiki family or fully use namespaces [20:21:26] what would be the easiest way to dump mediawiki data into html [20:26:05] Hi nvt. [20:26:14] I think there's a maintenance script for that. [20:26:34] Or you could just use a standard scraper, given that MediaWiki generates HTML by default for users to read. [20:32:25] I think the HTML dump code got moved into a MediaWiki extension. [20:48:06] hmm. was that maintenance script related to cache? [20:54:45] Huh? [21:00:34] i remember reading about some maintenance script for sysadms that created some cache files, I was thinking if you meant that [21:38:33] Debra: E:DumpHTML has been horriably broken for years iirc [22:07:56] nvt: If you're looking to just get the rendered output of a page, you can use action=render I believe.