This is a followup for bug 31827 (and bug 30074).
From bug 31827 comment 5:
Why not actually making redirects work in css and js pages? Is there anything that makes this fundamentally more complicated than other cases? By now we're using redirects for pages, images, templates, and it all works seamlessly.
Version: 1.20.x
Severity: enhancement
URL: https://pt.wikipedia.org/w/index.php?title=MediaWiki:Wikibugs.js&oldid=28517012
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=34930