[09:37:16] any mw.org admins around? someone broke https://www.mediawiki.org/wiki/Template:Translatable_template and now it's instructions are visible on all pages that use it :/ [09:37:55] my guess is that it has noinclude inside noinclude and the parser just decides to close both of them when the inner one close [09:39:25] Might be Shirajuki's latest change on https://www.mediawiki.org/w/index.php?title=Template:Translatable_template&action=history ? [09:39:45] yeah looks like it, but I can't edit as I'm not a sysop [09:40:10] Talk page of Shirayuki? [09:40:34] will do [09:41:03] Majavah, ah well, I will revert, but should still give a heads-up [09:42:27] added a message there [09:42:44] Thanks, I reverted [17:05:40] hi, can please anybody explain me on how to calculate a amount of time and output this to a page in mediawiki? i had the "ageparse" plugin which isnt working anymore in version 1.34.... i read long time parserfunction stuff but i m not able to find a solution [17:06:15] would be nice if i can do sth like [[time:from-01012010|to-now]] which gives me "x years x month x days" [17:54:02] mho I think you can do that with parserfunctions [17:55:09] you want just a template to show in that human format the time between two dates? [18:01:12] yes [18:01:17] but not able to figure this out [18:01:18] how to do [18:16:46] let me try... [18:43:25] mho: see https://www.mediawiki.org/wiki/User:Platonides/Timesince [18:45:03] Platonides thank you very much i will have a look [18:46:17] :) [18:55:09] im sorry but i have no clue, does i have to extra stuff to make this work? i just copied your code (which is kinda freaky) to mine wiki and saved the page, hope its ok to copy your code? [18:55:15] but its not working in my wiki [18:55:29] is there anything i have to add to localsettings.php? [18:55:45] i get [18:55:46] Fehler: Ungültige Zeitangabe [18:55:53] That's just parserfunctions it looks like [18:56:07] so it should work "out of the box" in my wiki [18:56:08] ? [18:56:14] sth language specific problem? [18:56:28] !parserfunctions [18:56:28] "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [18:56:34] You do need that extension installed [18:56:48] ok [18:57:11] thanks, i got to try this [19:03:36] extions installed, got still that error [19:03:43] what does the tag "" do? [19:03:55] if i have these in my wiki page is blank [19:04:15] extion installation seems to work (what page version) tells [19:04:54] You might need to null edit/purge the page [19:05:13] clikcing "edit" save and reload? [19:05:14] Reedy: null edits are such a brilliant feature. [19:05:22] didnt help [19:06:11] {{#time: j F Y|{{{1}}}} throws error [19:06:28] {{#time:j F Y|{{{2|}}}}} [19:06:30] works [19:08:02] And the error is? [19:08:24] Fehler: Ungültige Zeitangabe [19:08:35] mho: it will fail if there's no parameter given [19:08:52] the second defaults to now [19:08:55] that's why it works [19:09:18] ok thanks for explaination [19:09:26] and how to give a parameter?! [19:09:32] you call it as a template [19:09:43] how did you name the page on your wiki where you imported it? [19:09:56] jahrestag [19:10:20] Vorlage:jahrestag ? [19:10:28] you easily can guess i never worked with templates yet, have a lot too learn [19:10:35] sorry dont know how to use templates :( [19:10:54] well, you can always learn :) [19:11:07] https://www.mediawiki.org/wiki/Help:Templates [19:11:12] yea, and im sure there will be a site which explains me :) [19:11:17] hehe thank you, here we go [19:11:37] you may also find resources in the German wikipedia, in case it's easier for you to follow [19:11:51] https://de.wikipedia.org/wiki/Hilfe:Vorlagen [19:17:48] yeah,, a lot to read and undestand, for sure not so hard to understand but first try is not very easy, thank you anyway. and of course big thanks for that template, im gonna try to use this [19:18:50] you will probably want to pick one of the two options [19:22:30] i guess i created a template and tried to gave a paramter [19:22:40] but how do i know how this parameter have to be like? [19:23:31] you have another page in which you called the template? [19:23:39] can you give me your example? [19:24:59] puh i have no idea what you are doing in your example... dont i always need 2 parameters? [19:26:17] uh it did sth [19:27:22] thank you Platonides , I think you gave me the necessary kick in the right direction [19:27:31] now i just need to format this stuff and change language ;D [19:36:06] Platonides, i have one more question, you invoke your template like {{User:Platonides/Timesince|2010-01-01|}} -> is it YYYY-MM-DD or YYYY-DD-MM ? [19:37:52] that's YYYY-MM-DD [19:38:12] iso 8601 [19:38:21] but it would also accept other formats [19:39:54] ok thanks, yeah maybe when i feel very brave, i maybe gonna try change the template ;) but it works for now as desired, thank you! [19:40:13] :) :) [19:40:15] you are welcome [19:46:14] sorry, just another topic -- i would like to secure the connection to my wiki with ssl [19:46:28] is "Extension:SSL authentication" the recommended way to do this ? [19:46:46] No [19:46:59] It's mostly in your webserver config [19:47:08] You definitely don't need an extension to do that [19:49:10] ok good to know [19:49:40] At most, you need to change wgServer/wgCanonicalServer in LocalSettings.php if you've hard coded http:// [20:04:10] thx [20:07:11] If I apply a partial block to someone, blocking the File: namespace, would it effectively prevent the user from uploading files? [20:11:51] Ok, it seems it doesn't: T6995 [20:11:52] T6995: Allow users to be blocked from uploading files only - https://phabricator.wikimedia.org/T6995 [20:12:33] Vulpix: Doesn't that bug pre-date partial blocks? [20:12:38] By many years, presumably [20:13:25] Yes, but there are recent comments on that bug [20:13:36] aha [20:14:13] Created in 2006 :) [21:13:42] Hi, How can i enable notifications via email to my wiki users if someone "tagged" them or comment on their talk page? [21:17:34] Nik15: For example by making your wiki users go to Special:Preferences#mw-prefsection-echo and set their settings accordingly (if Echo is installed) [21:17:47] or by making them put everything on their watchlist and then make them enable "Email me when a page or a file on my watchlist is changed" on Special:Preferences#mw-prefsection-personal [21:18:58] There is any option to change the default to be true? [21:19:33] Yes [21:20:01] using $wgDefaultUserOptions and the key for the preference [21:20:24] Ty, ill check this out!