Left4Code (talk | contribs)
Line 571: Line 571:
:That ref is caused by [[Template:Ph-C-Int]]. Remove that and the ref will disappear as well. You can't delete the ref without deleting the box. [[User:AnotherConsumerRightsPerson|'''''AnotherConsumerRightsPerson''''']] ([[User talk:AnotherConsumerRightsPerson|talk]]) 09:39, 13 March 2026 (UTC)
:That ref is caused by [[Template:Ph-C-Int]]. Remove that and the ref will disappear as well. You can't delete the ref without deleting the box. [[User:AnotherConsumerRightsPerson|'''''AnotherConsumerRightsPerson''''']] ([[User talk:AnotherConsumerRightsPerson|talk]]) 09:39, 13 March 2026 (UTC)
::Thank you for the help, I've replaced the box with a simple message to do the summary. [[User:Left4Code|Left4Code]] ([[User talk:Left4Code|talk]]) 02:46, 14 March 2026 (UTC)
::Thank you for the help, I've replaced the box with a simple message to do the summary. [[User:Left4Code|Left4Code]] ([[User talk:Left4Code|talk]]) 02:46, 14 March 2026 (UTC)
== Bill JSON link merge issue for API ==
[[Colorado SB26-090 critical infrastructure exemption]] [low priority issue]
Some citations involving API requests and pulling JSON have the selector merged with the actual link, resulting in a direct click of the link returning a non-valid result.
Example: Ref #19 links: https://data.colorado.gov/resource/dxfk-9ifj.json?$select=sum(incomeamount)&$where=upper(lobbyistname), when everything after the question mark should be non-linked, and the original link should have everything after the question mark removed. Then click check should return valid JSON objects.
I've added the following string to all references where I believe this appears, I've only gone through half the list however: "!!! JSON SELECTOR MERGED WITH LINK, RESULTS IN BROKEN CLICK !!!"
If there are any other instances of this happening, I'll make another minor edit, feel free to revert if there's actually no real problem and I'm going insane.
It really would be nice to do the JSON parsing within the actual link and have the API return the valid results, unfortunate.  [[User:Left4Code|Left4Code]] ([[User talk:Left4Code|talk]]) 03:35, 29 April 2026 (UTC)