[00:11:59] well [00:12:06] this took forever to write https://www.mediawiki.org/wiki/User:N3X15/rewrites/Manual:Mathoid#Configuring [00:12:19] I am now going to find some aspirin. [02:10:01] Evening all, need some help with #if. Is it possible to make the #if statement output a pre-formatted text block? IF so, does it have to be done with html/wiki markup or can you use normal Enter key hard returns? [02:18:15] OR rather, is there a limit to the number of #if calls on a single page? [02:18:41] I'm tryiing to add another #if call further down a page that already uses significant if calls, and it's just not appearing period. Even using a copy of an if call from earlier on the page. [13:36:10] Please don't blokir me Anto Bandaso..trims [13:37:31] Please don't blokir my mediawiki Anto Bandaso.. i don't publish my arti ke.. trims [14:27:22] I'm trying to write a template such that when the sort parameter is defined, it generates [[Category:stuff|{{{sort}}}]] and when it is not, it generates [[Category:stuff]] but I'm having trouble doing that. I've tried several things and none worked; how would I write it? [14:29:30] would this work? {{#if:{{{sort}}}|[[Category:stuff|{{{sort}}}]]|[[Category:stuff]]}} [14:30:57] I'm concerned about the pipe, I don't know if the one within [[ ]] is seen by the #if [14:31:09] elmerg: #if have no limitations in terms of wikitext output. Are you using #ifexists as well in the page? [14:33:27] @p_gimeno : yeah pipes need to be escaped see https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#Escaping_pipe_characters_in_tables [14:34:31] As stated there, one way to use pipes for links and tables is to use a template, generally `{{!}}` [14:35:38] thanks chicocvenancio_ [14:36:26] p_gimeno But, in your specific case I would probably do away with the if all together. `[[Category:stuff|{{sort}}]]` should work [14:37:37] I got [[Category:stuff|]] displayed at some point, so I wondered [14:37:53] If the sort parameter is not filled it will end with [[category:stuff|]] and that should be equivalent to not having it filled [14:39:32] thank you [14:40:21] You're welcome [14:40:55] also, how do I make a template not appear in the category just because it's a template to define a category? if that makes sense [14:41:17] case in point: https://dev.minetest.net/Category:CSM displays 'Template:CSM' [14:43:02] I don't want the template to appear in the category page [14:44:13] Wrap it in ? [14:44:20] So it doesn't run on itself [14:44:21] Hello [14:44:36] Hi Reedy [14:45:31] ah thanks [14:45:36] thanks Reedy [14:45:54] I'm here for GSOC . I met @mbahodir through mail . Looking forward to contribute :D [14:47:00] ok bye rn , ttyl nice to meet y'all :D Have a blessed day ahead ! [17:53:54] Anyone here used the third party dPL? I need assistance in excluding a single article (a preloaded template for an inputbox) from a sort, that all share the sane Category I'm sorting by. [17:54:02] notincludetitle didn't seem to work. [20:59:07] hm. trying to get Math to run. on local debian, texvc is installed, but still every math formula states "Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools):..." [21:02:37] i'd like ugly local rendered pngs for formulas. do i really need mathoid? [21:04:34] Have you changed the math rendering mode in your user preferences, or even at a server level? [21:12:00] it's a nearly plain mediawiki, installed math extension, activated it, installed texvc from debian repo [21:12:46] Well, the default config is to use mathml [21:14:16] https://pastebin.com/tzCDJ187 that's the math extension part of my localsettings [21:16:14] testing with '?action=purge&mathpurge=true' as parameter to the article [21:26:10] That error message is pretty unhelpful [21:27:15] hey guys [21:27:36] is there a way to automatically pull the author/creator of a page into mediawiki? [21:27:46] Like, I want to put an * Author: Blah section. [21:32:16] Reedy, https://i.imgur.com/6L3IqUA.png - that's the rendering of looks right now, i do not know how to force using texvc [21:32:36] "You can override the user preferred and default rendermode by adding the forcemathmode attirbute to the element. eg.. to force an image being rendered ...." [21:47:16] Also, has anyone used the LockOnCreate extension? [21:50:00] ah. ok. Reedy i got the solution. [21:50:21] ehm. i was on master with Math. on REL1_31 it's working like i want to [21:51:19] tut tut :) [21:51:23] glad you figured it out [21:51:55] v5homebrew: I doubt it'll likely work [21:52:25] Which, the LockOnCreate or the 'automatically put author username on page' [21:52:38] The former [21:52:58] Hmm. Would you have any suggestions for extensions to lock individual pages to their author and administration? [21:53:23] I dunno, generally we don't do page "owernship" so we don't care [21:53:38] The latter.. Is possible. But you're gonna have to do something in PHP I guess (depending on where you want to show it) [21:57:18] Hrm.I just want it to be [21:57:22] Dang. [21:57:51] I just want the author to be included in the template when it dumps in, so that when it's saved, the page just has a little tag line at the bottom showing the username of who created it. [21:58:07] We do that for PDFs [21:58:35] As far as the ownership, yeah. It's generally rare, I find, but I'm working on a wiki for homebrew for an RPG so I'd like to lock the pages to help prevent potential vandalism. [21:59:13] Ready: I've seen a few extensions that give all of the editors, so I guess I'll look through those and see if there's one that will let me just use the 'first editor/author' in a tag. [21:59:14] Just limit registration, and lock editing down to users with accounts? [21:59:28] It's locked down to editors with accounts currently. I'm probably just overthinking. [21:59:39] I suppose I'll let it start and if we have issues of vandalism, banhammers and stuff.