Steps to reproduce:
- visit beta dewiki as a user who can make non-pending edits (autoreviewer, editor, admin etc)
- create a template and associated CSS file; make the last revision for both shows up in the history as "checked" or "automatically checked"
- visit as anonymous, change the CSS
- view the template as anonymous
Expected: the CSS from the last checked revision is used
Actual: the CSS from the latest revision is used