Closed dcwalk closed 7 years ago
Huh, doing it with Apache is interesting.
But adding to this, there are a tonne of references to https://www.ixmaps.ca/transparency.php (and eg https://www.ixmaps.ca/transparency.php#fn8-inline) scattered throughout the code - needs cleanup at some point
I don't see https://www.ixmaps.ca/transparency.php
in the code right now (link), I think you caught them? 🎉
I think I got them all - but that's a temp fix, since we should still deal with the core issue of 'redirect to most recent year'
Thinking about this more, I think we should just let it be - no need to get too cute. Just manual update with find/replace every couple of years. Not pretty, but uncomplex. Thoughts?
Your call, but it seems valuable to have people click "transparency" and have the browser bar reflect that with "transparency" shown vs. transparency-201X. Also, when updating with a new report you will have to change one place rather than multiple, which reduces the chances of missing a bit.
Yes, I lean to Dawn on this. Minimizing the number of things to change annually will be safer.
Ok, fair - let's keep this open at a lower priority
Ok, I have addressed this. transparency.php will show the most recent report. See commit b5dba56508ed5807887ac11cadb3a74ddebcd616
My sense is this might be best handled via apache?