Thread:Adnoam/@comment-26115937-20170830153100/@comment-25219384-20170903113042

Success! (I hope).

It seems that when defining variables on a page, these propagate for the entire page and all templates in it. This means you can define a variable in one template, and use it in another (assuming both templates where called on the same page).

So, I've modified the Retired/Seasonal templates so that they change the DEFAULTSORT key [i]unless[/i] there is a variable defined names "defsort" with the value "no". Then I've modified the Options template so that at the beginning it sets such a variable with the value "no", and at the very end it clears this variable again.

This way, all normal pages which directly use these Retired/Seasonal templates get the proper DEFAULTSORT key. But anything called via Options doesn't cause this effect at all.

It can take a while for such a change to propagate through all pages. If you encounter an issue, please let me know!