[09:00:20] Hello, I am very interested in SWAT, how do I join SWAT? But I don't know if I am eligible to join SWAT, I do not have the experience of operating a WMF server and have no production shell access. Can anyone give some advice? [13:31:28] Formula:Navigatio&action=edit&oldid=33106 [13:31:37] This is using a REALLY old hack [13:31:49] That even a senior WMF developer says not to use [13:31:51] So. [13:31:59] My question is what to replace it with [13:32:25] Ideally if the supplied parameter is null or an empty string don't display the arrown [13:32:45] Is there a way of testing for null or an empty string.. [13:32:46] ? [13:33:09] Currently the parser function documentation say you can test for the parameter not being supplied [13:33:24] but not it seems that it's an empty string easily. [13:33:51] ShakespeareFan00: it's helpful if you give full links to the pages you talk about. i had only guessed you mean https://la.wikisource.org/wiki/Formula:Navigatio?action=edit&oldid=33106 because i know you already. [13:34:00] ShakespeareFan00: {{#if}} can do that, like this: [13:34:16] {{#if: {{{4|}}} | given and not empty | not given, or empty }} [13:34:32] Okay [13:34:42] I tried that it didn't quite do what I expected [13:34:57] So my coding must be iffy [13:35:20] Is hiddenStructure doing a display:none? [13:35:23] in CSS [13:35:56] ShakespeareFan00: i think it used to, some years ago, but it was only ever defined in site styles (e.g. MediaWiki:Common.css) and never in the MediaWiki software [13:36:06] so the styles might not exist anymore [13:36:30] https://la.wikisource.org/w/index.php?title=Formula:Navigatio&oldid=85044 [13:36:35] was the first attempt [13:36:42] It's logic looks sound. [13:36:54] but needs tweaking [13:37:42] ShakespeareFan00: you missed a closing brace [13:37:51] Okay figures [13:38:04] ShakespeareFan00: enable "Wikitext syntax highlighting" in https://la.wikisource.org/wiki/Specialis:Praeferentiae#mw-prefsection-betafeatures [13:38:09] and it's pretty obvious [13:38:13] half of the template lights up in red [13:38:33] ShakespeareFan00: instead of: {{#if:{{{4|}}| [13:38:36] it should be: {{#if:{{{4|}}}| [13:38:52] Yeah I just went to check that [13:39:01] and similar problem below. {{#if:{{{6|}}| → {{#if:{{{6|}}}| [13:39:15] Alreayd noted [13:39:29] I think I should probably enable syntax highliting elsewhere [13:39:38] might solve weeks of tantrums [13:39:39] :) [13:39:44] XD [13:39:57] * ShakespeareFan00 makes comments under breath about being too angry to see the obvious [13:40:43] yeah, it's pretty great [14:34:14] Hi all, I neeed emergency deploy for T186002 - https://gerrit.wikimedia.org/r/#/c/406820/. Throttle rule for February 01. Thanks in advance. The same message is in -operation and -releng. [14:34:14] T186002: Requesting temporary lift of IP cap - https://phabricator.wikimedia.org/T186002 [14:44:46] MatmaRex: BTW It's amazing how the new parser is exposing some really bad coding in some templates :) [14:45:09] The one linked above is only one fo several I've been repairing slowly [14:45:18] Or pages that call them [14:45:25] with bad parameters.. [14:45:27] XD [14:45:38] Template markup it seems doesn't have any sanity checks :) [14:45:40] XD [14:45:58] It just does EXACTLEY what you specify in the markup (grins) [14:48:35] https://la.wikisource.org/w/index.php?title=Formula:Box&action=edit&lintid=19114 [14:48:49] Is another using the long since deprecated hiddenStructure hack [14:48:55] I can't change it as it's protected [15:17:49] (Sigh) [15:18:05] Why is it some wikis don't purge ALL page using a template when the templte changes [15:18:11] ?