[01:31:51] I tried again with 1.39.3 and now it works - thanks all [02:02:38] oh good [02:23:15] it was a fine collection of interesting errors at once ;) [05:41:52] Hi, I'm getting "TemplateStyles' src attribute must not be empty" error on most of the templates. I tried to find a solution but can't find anything so can someone please help how to fix it? [05:43:02] I asked Chat bot and it returns "Check the 'src' attribute of the TemplateStyles tag in the template that is causing the error. Make sure that it is pointing to a valid URL for the CSS stylesheet." but I have no idea where I need to looks for 'src'. [05:43:07] can you link to one of the templates? [05:43:55] It's a private wiki so I won't be able to share the link but I can share the screenshot of the error in imgur. [05:44:24] show the wikitext, not the displayed error [05:44:29] if you can [05:45:46] The template is from Wikipedia https://en.wikipedia.org/wiki/Template:Odisha_elections [05:46:35] The issue seems related to the Template:Navbox [05:46:50] what version of navbox are you using? [05:48:48] How do I check the version of navbox? it's not coming up in Special:Version [05:49:17] But the template and Module:Navbox were impoted from Wikipedia yesterday. [05:49:18] uh, do you have a Module:Navbox page and how recent is it? [05:49:22] ok [05:51:28] In Module:Navbox src is calling TemplateStyle and I'm using TemplateStyle version GPL-2.0-or-later [05:51:56] did you import Module:Navbox/configuration also? [05:52:03] Yes I have. [05:52:57] does it have keys for hlist_templatestyles and plainlist_templatestyles and do those exist? [05:53:02] as template pages [05:54:54] You mean in the page source? [05:55:33] I can't see them if I check in the source code for Template:Navbox [05:55:35] in Module:Navbox/configuration [05:57:10] take a screenshot of Module:Navbox/navigation for me [05:57:11] It has [05:57:11] hlist_templatestyles = 'Hlist/styles.css', [05:57:12] plainlist_templatestyles = 'Plainlist/styles.css' [05:57:12] Pattern: [05:57:13] hlist = 'hlist', [05:57:13] plainlist = 'plainlist' [05:57:17] ok [05:57:40] does Template:Hlist/styles.css and Template:Plainlist/styles.css exist? [05:57:42] with appropriate styles [06:00:44] Template:Plainlist/styles.css was missing so I just created it but the error is still there. [06:01:44] ok, to adjust gears, does Module:Navbox/styles.css exist as a sanitized css page? [06:03:05] Yes [06:03:30] ok, try null editing the page you're seeing the error on: click edit and then immediately just click save [06:03:45] the template page [06:05:59] I tried but the error is still there. I also tried to purge cache but still the same. [06:06:15] ok, now I don't know what to do :^) [06:06:20] :)) [06:07:22] I appreciate your help and time and I know it's an complicated issue so let's see if I can find a solution by looking at old threads etc. [06:07:44] I was having similar issues myself on en.wp the other day futzing with something or another and then it stopped being an issue and I don't know why it worked out the way it did. [06:10:31] like, the exact same issue [06:10:46] and I also could not figure out why, but it went away /shrug [06:11:11] Oh I see. Maybe some misconfiguration, server issue or something but anyways let me look around and I have manage to find anything I'll update you so you know what was the main issue. [06:11:26] If I have* [06:11:50] If I* [06:11:59] If* [09:50:11] Izno[m]1 Hello again. I was trying to figure out the cause and I notice that in any template if I remove the parameter "name =" the error disappear so any idea why it's happening? [09:51:31] For example if I save stub template with the following code it won't show the error: [09:51:31] {{asbox [09:51:32] | image = [09:51:32] | pix = [09:51:33] | subject = [09:51:33] | article = article [09:51:34] | qualifier = [09:51:34] | category = Stubs [09:51:35] | tempsort = no [09:51:35] | lowercase = y [09:51:36] | name = [09:51:36] }} [09:52:09] But I have add "| name = Template:Stub" the error comes back. [09:52:19] But if I add* [09:56:53] The stub template use Asbox template which call for Module:Asbox and that module has the following code at the end: [09:56:54] return frame:extensionTag{ name = 'templatestyles', args = { src = templatestyles} } [09:56:54] The error is src attribute must not be empty. [12:45:56] Guest55: please use a pastebin next time ;) [12:57:31] *INSTAGRAM FOLLOWERS BOOSTER*... (full message at ) [13:01:19] No [13:21:07] lol [13:24:12] Lol [14:21:08] Huh [16:00:38] Izno[m]1 finally manage to fix it and the issue was that Module:Navbar/configuration was outdated. [18:48:29] Guest55 if you're in, I'll look at that. Would be weird for that interaction to be happening, but not impossible [20:59:00] april fools is certainly A Time for the bridge to break 🙃 [21:47:21] How can I do internal links with query params, e.g. to Add topic on a talk page? [21:47:27] https://www.mediawiki.org/wiki/Help:Links doesn't cover it [21:47:43] https://www.mediawiki.org/wiki/Help:Links#Internal_links * [22:18:27] mcint: you cannot; external links are required for that [22:19:05] (for some of the things there exist Special pages which redirect to the appropriate action, but I don't believe adding a new topic to a talk page is one of those) [22:20:55] oh I was wrong, it does exist [22:21:20] mcint: [[Special:NewSection/Talk:Whatever]] [23:47:53] eh it breaks at least once a week