Wikipedia talk:WikiProject Stub sorting: Difference between revisions
Content deleted Content added
→How long has this been broken?: blame the recent Luaisation of {{asbox}} |
|||
Line 108:
:::They are being added to [[:Category:All stub articles]] (which has 1,888,431 members), but not to [[:Category:Stubs]]. [[User:PamD|<span style="color: green">'''''Pam'''''</span>]][[User talk:PamD|<span style="color: brown">'''''D'''''</span>]] 16:02, 16 February 2015 (UTC)
::::I ''would'' investigate this - weird bugs in templates are {{diff|Template:Infobox country|prev|647232174|something of a specialism}} of mine. Unfortunately, {{tlx|asbox}} was recently converted to Lua (see [[Module talk:Asbox]]), and its code is now impenetrable. I do not see anything above where the proposal to Lua-ise the template was mentioned, let alone discussed. We could revert the template to its pre-Lua version. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:17, 16 February 2015 (UTC)
* This has now been patched. The bug came from the consolidation of Template:Asbox/templatepage (Asbox's helper template) into Module:Asbox. Basically, the helper included instructions that when {{para|tempsort|no}} not to place the page in the category specified by {{para|category}} (but not category1 or category2). When the templates were separate, that instruction was ignored on articles simply because the helper was not transcluded on articles. However, the unintended consequence of consolidation is the presence of helper code without transclusion. In other words, while great care was taken to include instructions from both the main template and the helper in the consolidated module, the module was missing an instruction that was not present in either template because the instruction wasn't necessary when the templates were separate. (Yeah, I just spent hours trying to find something that was not present in the original templates -.-;) —[[User:Codehydro|<font color="#aaaaaa" face="Unicode" style="font-size:12pt;">'''Code'''</font>]][[User talk:Codehydro|<font color="#5577aa">'''Hydro'''</font>]] 21:16, 16 February 2015 (UTC)
|