[13:49:21] I need help regarding a template code [13:49:37] !help [13:49:38] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [13:50:01] https://bn.wikipedia.org/s/ho51 [13:50:14] I wanted to make a code that does [13:50:32] [[Page Name|X]] [13:51:23] The X will come by using parameters. Such as If I use A, then it'll use one result, using N will give another. etc. [13:51:37] I tried to use #switch, but that's not working. [16:55:45] http://neko.kazdel.com/index.php/Template:Infobox_television [16:56:15] i exported a template +page and i do not know why it did not export the template correctly any ideas? why [16:59:36] or any idea why it did not Export correctly [17:00:22] Hard to say without seeing your file [17:00:44] do you need me to get you anything to help ? [17:00:45] If you clicked "include templates" it should've brought in Module:Infobox [17:02:10] https://usercontent.irccloud-cdn.com/file/rlP5ArAa/import.PNG [17:02:21] as you can see here i do not have a import template button [17:03:05] There isn't an import template button [17:03:21] It's "Include templates" on https://en.wikipedia.org/wiki/Special:Export [17:18:30] Import failed: The content model 'sanitized-css' is not registered on this wiki. See https://www.mediawiki.org/wiki/Content_handlers to find out which extensions handle this content model. [17:19:53] http://neko.kazdel.com/index.php/Template:Infobox_television [17:20:00] i pressed template and it did this [17:20:18] You're missing TemplateStyles extension then [17:20:39] will that fix that error [17:26:01] It'll help, yes. Because that extension registers sanitized-css [17:26:01] Yes. [17:26:11] I think the import will have failed halfway throgh [17:26:27] Do we wrap imports in a transaction? [17:26:30] * James_F forgets. [17:26:49] Certainly not for full rollback of everything AIUI [17:27:02] Hmm. Maybe we should? [17:29:47] Maybe, yeah... Or as an option [17:30:04] "Rollback all if one fails" "Stop if one fails" "Skip the failed and do the rest" [17:30:10] * James_F nods. [22:14:05] Can anyone comment on https://phabricator.wikimedia.org/T270741? [23:13:22] interesting [23:13:46] I don't know what comment they were looking for though [23:14:20] "I was told to comment here, so I did"