[00:09:20] Is this where I should be when it comes to questions regarding coding in mediawiki? [00:10:47] yes [00:12:06] Fantastic [00:12:23] I've got a conondrum [00:17:00] I've been trying to make a template for various tables, which will only display their rows when content is put into the initial cell using an {{#if}} clause. With that clause as far as I've experienced before, you have to use {{!}} to insert the | when creating large strings of text within the {{#if}} clause so that it doesn't get confused. However, when I try to nest a {{#expr: and formatnum: function within with the aforementio [00:19:49] Is there some sort of interaction I'm missing? When taking the {{#if:}} function out of the equation, the calculations work smoothly. [00:21:28] Arcane__: your previous message ended in "function within with the aforementio" for me, I guess it was cut off because it was too long [00:22:02] Ah, the rest of the message: Aforementioned {{!}} substitute I get an error [00:23:02] note that you should use {{!}} to escape table syntax inside parser functions, but within parser functions you should use normal pipes instead [00:23:27] (normal pipes for parser function syntax, I mean) [00:26:24] My terminology isn't great so I'm just going to re-frame: for the first function, in this case {{#if:}} the various pipes (|) are used for only to denote the syntax in that function, signalling the change in comparison parameters, and every function within one of these parameters would have to have a {{!}}. Right? [00:28:01] What I've been doing looks a little like {{#if: {{variable}}| {{#expr: {{#formatnum: {{variable}}{{!}}R}} - {{#formatnum: {{{variable}}}{{!}}R}}}} [00:29:01] with pipes at the end to close it off of course [00:42:22] Arcane__: there's no need to use {{! [00:42:34] *{{!}} in that context [00:44:08] Okay [00:47:47] Even if I have multiple pipes in there? like {{#if: {{variable}}| {{!}}{{{cell 1 variable}}} {{!}} {{{cell 2 variable}}} {{!}}{{#expr: {{#formatnum: {{variable}}|R}} - {{formatnum: {{{variable}}}|R}}| }} [00:50:13] yes, parser functions, templates, magic words and usually links, nest correctly, so pipes are interpreted as they should. Only table syntax is what needs to be escaped [00:51:31] Okay, I'll try that and see what happens. Thank you for the clarification =) [00:55:49] It worked! Thank you so much that's been bugging me all day! [00:56:08] yw :) [00:57:39] Well, back into it. [13:32:31] kan een navigatie-sjabloon in de breedte worden versmald zodat er nog iets naast zou kunnen? [15:04:36] morning [16:13:19] Hello friends; I am hoping you are willing to help me as frankly I cannot for the life of me find documentation to do this myself [16:14:22] I have debian wheezy and installed the mediawiki successfully, configured etc but it's on site1.com/mediawiki as opposed to site2.com/mediawiki but I saw no options to change it [16:14:57] and it doesn't seem like a simple copy directory type deal as the directory the install is located in is /var/lib/mediawiki [16:15:42] so. anyone willing to link me on how to change the directory to work for site2.com/mediawiki as opposed to having it run on site1.com/mediawiki? [17:13:17] Are pages added to my watchlist supposed to email me? [17:14:10] Depends on your user preferences [17:15:19] Reedy› where is that managed? [17:15:26] Special:Preferences [17:15:50] Under watchlist? [17:15:53] I don't see anything [17:16:06] Ah nevermind [17:16:08] No, first page [17:16:08] Found it [17:16:12] "Email me when a page or a file on my watchlist is changed" [17:17:01] The issue was no email, but now I get this error trying to add an email: [fa39028b] 2016-06-27 17:16:40: Fatal exception of type MWException [17:17:19] Your own wiki? [17:17:25] Yes [17:17:28] !debug [17:17: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 [17:17:44] It's presumably email configuration [17:27:54] Is there any way to get the {{REVISIONTIMESTAMP: page name }} of the first edit on a page? [17:28:27] Perhaps by doing {{REVISIONTIMESTAMP: revision ID }}? [17:29:26] Documentation says it only takes pagename [17:32:43] Reedy› https://ptpb.pw/dg20 [17:33:01] "PEAR mail package is not installed" [17:33:07] Paste of the stack trace for when I try editting a page that's followed [17:33:08] What OS are you using? [17:33:13] Oh wow [17:33:16] Ubuntu [17:33:17] 14.04 [17:34:08] apt-get install php-mail php-mail-mimdecode [17:34:17] Thank you [17:34:25] I typoed [17:34:31] mime [17:34:37] instead of mim? [17:35:03] yeah [17:37:17] Testing now... [18:26:03] anyone know how to select files for adding to a .7z or .zip based off file name prefix? [19:31:56] How can I change the "visited" links color on mediawiki? [19:33:13] css [19:33:27] Where? [19:33:52] Betacommand: are they all in the same directory? [19:34:14] !css [19:34:14] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [19:38:58] ori: yeah [19:40:49] Betacommand: 7z a myarchive.7z someprefix* [19:41:25] So... some of my urls are changing color but not all of them... [19:41:43] I have visited and unvisited changed. That should cover all possible links, right> [19:42:28] there's active [19:42:54] and hover [19:42:55] a, a:visited, a:hover, a:active [19:44:39] I'm not hovering over any, or have any "active" [19:44:56] There are still a large amount that aren't changing their color [20:17:16] Hi [20:17:26] Can someone here help me? [20:17:46] How do you put a wide-site javascript on a wiki [20:18:46] Gothicspeaker: https://www.mediawiki.org/wiki/Manual:Interface/JavaScript [20:18:49] Or better.... How do you submit a keyboard to wikipedia? Like the little keyboard icon in the search bar [20:20:22] Because I have written a js to convert latin to gothic unicode, but it might be better to just add a gothic keyboard for got.wikipedia.org [20:20:31] But I don't understand how [20:23:40] ULS? [20:25:44] Gothicspeaker, you could ask in #mediawiki-i18n, they should be able to help you [20:27:24] Reedy: i think that it's uls yes [20:36:47] Hello. I'm trying to use #time to format user inputted dates for events from arbitrary timezones, but have run into a couple problems. We have an event in China Standard Time but CST is Central Standard time. Is there an alternate code for that? Also, KST (Korean Standard Time) is treated as +0830 rather than +0900. [20:37:42] https://secure.php.net/manual/en/timezones.php [20:41:51] Reedy: So is the format "2016-07-01T00:00:00 EST" not supposed to work? [20:44:50] Seems to work fine [20:46:43] For KST... Has the timezone been changed "recently"? [20:49:16] Looks like North Korean changed to +0830 in 2015. http://www.timeanddate.com/news/time/north-korea-new-time-zone.html [20:50:51] That site says the North Korean abbreviation is PYT, though? [20:53:14] North Korea != South Korea ;) [20:53:24] Yeah... hence my issue. XD [20:53:49] I'm using the KST code, which is South Korea, but it's giving me PYT, which is North Korea. [20:54:04] But they're the same time? [20:54:08] nope [20:54:23] KST = +0900 PYT = +0830 [20:54:50] But according to #time KST = +0830 [20:56:10] I wonder if internally KST was pointing at PHP's Asia/Pyongyang, which is in North Korea [20:56:44] (hence North Korean time being PYT) [20:58:08] I tried "Asia/Taiwan" to get CST but #time doesn't seem to like that.