[16:25:17] Bukkit[M]: please don't create personal events on bots phab [21:21:00] Hello Guest3437! If you have any questions, feel free to ask and someone should answer soon. [21:21:26] hi, can anyone help me [21:21:49] i want to add templates on my wiki [21:22:01] What are you struggling with [21:22:31] I can't add templates [21:22:47] What error do you get? [21:26:06] there is no unit with this name [21:26:36] Unsubst [21:27:19] how to import templates from miraheze [21:27:55] as i tried to import data from wikipedia and got that error [21:28:40] Can you file a task [21:29:52] ? [21:30:05] i don't understand [21:31:07] Guest34, you probably tried to import all revisions for a template from English Wikipedia, for which there's usually a lot, and likely also checked "include templates," which includes all template/module dependencies [21:32:34] dmehus: likely the opposite was done, did not check include templates which is why that which they mentioned was missing. But I don't really know for sure. [21:33:08] Universal_Omega, I assume the error they got was a 503 backend fetch, but yeah depends on the error [21:33:39] so you have three options which you can try individuall: [21:33:39] 1) Try importing only the current revision of the given template, still checking "include templates." Do link to `[[w:Template:NAME_OF_TEMPLATE]]` in your log summary, though [21:33:39] https://en.wikipedia.org/wiki/Template:NAME_OF_TEMPLATE [21:33:39] 2) Try importing all revisions of the given template, not including templates, and then repeat the process for each of the template dependencies [21:33:39] 3) File a Phabricator task listing all templates and modules you want imported [21:33:39] Guest34: ^ [21:33:40] dmehus: they said the error they got. Not that from what I saw. [21:33:57] no, first i exported one wikipedia page and its templates as xml then imported that file to my wiki the page was perfect except the template [21:33:59] Universal_Omega, I didn't scroll up, I saw "got that error" [21:34:30] dmehus: 3:26 PM there is no unit with this name Unsubst [21:34:47] In any case, if that is the case, you will likely get a 503 backend fetch if you try importing all template/module dependencies [21:35:02] But that error means a module is missing. [21:35:08] so try again including only the most recent revision [21:35:36] Universal_Omega, yeah I know, I'm just saying how to properly redo the import with only current revision to avoid a 503 backend fetch :P [21:36:04] it says (error:there is no unit with that name "Unsubst") [21:36:28] hrm not sure, but sounds like you need to import that template [21:36:43] also you should try using transwiki import rather than file upload import [21:36:54] Guest3437: that is because you are missing the module it looks like. [21:36:55] it's generally better in most respects and also less likely to time out [21:37:13] is mirhaeze has a templates database [21:37:18] yes [21:37:25] [[templatewiki:]] [21:37:25] https://meta.miraheze.org/wiki/templatewiki: [21:37:27] [url] Templatewiki - Miraheze Meta | meta.miraheze.org [21:37:35] how to use them [21:37:51] looks like I need to add the forward flag for that [21:37:57] you import them the same way [21:38:01] or via transwiki import [21:38:06] but they've been de-wikipedia-ified [21:38:58] [[templatewiki:]] [21:38:58] https://meta.miraheze.org/wiki/templatewiki: [21:38:59] [url] Templatewiki - Miraheze Meta | meta.miraheze.org [21:40:49] thanks dmehus Universal_Omega RhinosF1