[07:04:29] is it possible to use VisualFileChange (or similar) on a wiki other than a WMF wiki? [12:57:30] Want to mentor for Google codein 2017 [12:58:03] Hey! I'm trying to parse a list of comma-separated phrases into tags on a page, do you know what MediaWiki template / function could I use for that? [12:58:20] I'm reading https://www.mediawiki.org/wiki/Template:Fe but I'm not sure if that's that [12:59:05] I want to change "A, B, C, D, E" into [[Category:A]], [[Category:B]] and so on [13:23:07] Hello! Is there a MediaWiki "JS linter"? E.g. why the "let" keyword apparently breaks MediaWiki? [13:36:30] Is it because we're using/supporting ES5 not ES6 yet? [13:39:21] OK. Anyway ResourceLoader in the console log should not say "semicolumn missed exception" [13:40:31] Saving a "let" in the common.js: semicolumn missed exception; saving "let" in a personal common.js: "let is a reserved keyword" [13:40:48] It seems to be some inconsistence in the error reporting [13:43:06] I don't really know where that error actually comes from [13:43:15] I'm presuming it's something during minification [13:50:29] valerio-bozzolan: I'm guessing it's https://github.com/wikimedia/mediawiki/blob/master/includes/libs/JavaScriptMinifier.php [13:50:35] https://github.com/wikimedia/mediawiki/blob/master/tests/phpunit/includes/libs/JavaScriptMinifierTest.php [13:56:06] valerio-bozzolan: I'd suggest that better handling of let if possible would be a nice improvement. Might be worth filing a task in phabricator for that [13:56:52] !bugs [13:56:52] There are multiple keys, refine your input: bugsearch, bugsong, [13:56:56] !phab [13:56:56] https://phabricator.wikimedia.org/ [18:45:03] Hallo everyone! Can you help me? I have some error: "Expression error: Unrecognized punctuation character "{"" when try to execute a template: [18:47:35] {{#ifexpr: (({{#if: {{{SH|}}}|{{{SH}}}|0}}+{{#if: {{{EH|}}}|{{{EH}}}|0}})>={{#time:H}} and {{#time:H}}>={{{SH}}}) and (({{#if: {{{SM|}}}|{{{SM}}}|0}}+{{#if: {{{EM|}}}{{{EM}}}|0}})>={{#time:i}} and {{#time:i}}>={{#if: {{{SM|}}}|{{{SM}}}|0}}) | style="background-color: #BEF"}} (P.S. This snippet, where I have found this mistake) [18:51:25] where: SH - start hour; EH - end hour; SM - start minute; EM - end minute [19:23:01] IEPCBM: ew [19:23:11] first off, you can simplify that a lot [19:23:25] for example, {{#if:{{{SH|}}}|{{{SH}}}|0}} is simply {{{SH|0}}} [19:23:50] so do that, and maybe you'll see where you're missing a { or have an extra } somewhere [19:31:12] Skizzerz, OK. I'll try it now... Thank you! [19:32:05] (or now that I see the issue, you're missing a | -- but you'll fix that by doing the simplification I mentioned) [19:33:50] Skizzerz, Ok. Thanks a lot! [20:05:04] I have found where been my mistake! Instead of >={{{SH}}} should have been >={{{SH|0}}}. Thanks again, Skizzerz!