AboveTheChemist Posted November 9, 2021 Share Posted November 9, 2021 (edited) I noticed on some of the invention salvage pages that the lists of recipes in which the salvage is used is counting each recipe multiple times. I've attached an example for Ruby salvage. The recipes that say 'for levels X - Y' are valid entries, while the rest are duplicates. I checked 5 or so different salvage pieces and saw the same thing for each one. I tried looking for a cause but didn't find anything definitive. It might be a dynamic page list issue in one or more of the templates, but that's not something I feel qualified to tinker with. Edited November 9, 2021 by AboveTheChemist typo Popmenus > Badge List | Optimal Paths | Conversion Possibilities | Emotes Wiki Pages > Costume Color Schemes | Set Bonus Comparison Tables Maps > Vidiotmaps | Optimal Paths | Halloween GM Maps | Winter Gift Maps | Offline Map Viewer Sounds > Banshee Sonic Attack Datasets > Recipe Salvage Components | Badge Name & Settitle ID | Exploration Badge & History Plaque Coordinates Link to comment Share on other sites More sharing options...
City Council Michiyo Posted November 9, 2021 City Council Share Posted November 9, 2021 This seems to be a bug in DPL3 the replacement extension installed when the Wiki updated to 1.36.1 as the previous version didn't work on anything above 1.34. No fix that I can see (I did update to the very latest version to confirm) So this will have to wait until someone on their side resolves it. 1 Link to comment Share on other sites More sharing options...
AboveTheChemist Posted November 9, 2021 Author Share Posted November 9, 2021 Sounds good, thanks for looking into it! Popmenus > Badge List | Optimal Paths | Conversion Possibilities | Emotes Wiki Pages > Costume Color Schemes | Set Bonus Comparison Tables Maps > Vidiotmaps | Optimal Paths | Halloween GM Maps | Winter Gift Maps | Offline Map Viewer Sounds > Banshee Sonic Attack Datasets > Recipe Salvage Components | Badge Name & Settitle ID | Exploration Badge & History Plaque Coordinates Link to comment Share on other sites More sharing options...
City Council Michiyo Posted November 11, 2021 City Council Share Posted November 11, 2021 (edited) Actually I wonder, @Aberrant I wonder if this is possibly somehow related to the same thing as the last time this happened ? I tried setting up a page like you did for that issue here https://hcwiki.cityofheroes.dev/wiki/User:Michiyo/TestPage but it doesn't seem to be quiet as helpful. Do you have any thoughts on if these 2 issues might be related? Edited November 11, 2021 by Michiyo Link to comment Share on other sites More sharing options...
Aberrant Posted November 13, 2021 Share Posted November 13, 2021 (edited) Sorry for the late reply, haven't had much free time lately. It looks like the issue involves the ISalvage.dpl that the Salvage List template calls on in the Includepage parameter to pull data from the Salvage tables on each page. For instance, on Ruby Salvage, if you copy one of the SalvageList templates like SalvageListCommon onto the page: {{#dpl: mode=userformat |includepage={ISalvage}.dpl |category=Invention Common Enhancements |linksto={{PAGENAME}} |distinct=strict |namespace= |allowcachedresults=true |resultsheader=\n<h3>Common Enhancements</h3> |suppresserrors=true |secseparators=\n* [[%PAGE%]] |titlematch=%:% }} If you then remove the .dpl suffix on the includepage parameter, you get this on the page: Without .dpl ------------------------------------------ With .dpl You'll see that the Rubies line up exactly with the corresponding lines with additional text on the current page that are generated by ISalvage.dpl. This shows that this system, instead of only pulling the Ruby Salvage lines from the templates, is actually pulling ALL the salvage lines, which explains the increased number of lines. Now why it's doing this or where the exact issue lies, I'm not entirely sure. Will keep having a look at it when I'm free but I'm learning as I go with all this stuff! Edited November 13, 2021 by Aberrant 1 Check out the Unofficial Homecoming Wiki! Contributions welcome! Link to comment Share on other sites More sharing options...
AboveTheChemist Posted May 25, 2022 Author Share Posted May 25, 2022 I meant to follow up on this sooner, but this issue seems to be resolved. I have been watching with interest all the work that Kai Moon has been putting in on the wiki, and I think that one of the changes they made might have fixed this, but given that a lot of that work is above my level of wiki comprehension, I am not totally sure. At any rate, it appears to be back to normal, and is arguably better than before. 1 Popmenus > Badge List | Optimal Paths | Conversion Possibilities | Emotes Wiki Pages > Costume Color Schemes | Set Bonus Comparison Tables Maps > Vidiotmaps | Optimal Paths | Halloween GM Maps | Winter Gift Maps | Offline Map Viewer Sounds > Banshee Sonic Attack Datasets > Recipe Salvage Components | Badge Name & Settitle ID | Exploration Badge & History Plaque Coordinates Link to comment Share on other sites More sharing options...
Kai Moon Posted May 26, 2022 Share Posted May 26, 2022 Happy to help! It turned out "secseparators" was in a format only used by old versions of DPL. Updating that line fixed the duplicates. https://homecoming.wiki/wiki/Special:Diff/298400/300536 1 Link to comment Share on other sites More sharing options...
Recommended Posts