Just noticed this since MW.org is running 1.18wmf1.
When going to a link like: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94951#code-comments
Logging in will go back to the main "Special:Code", not to "MediaWiki/94951".
Version: 1.18.x
Severity: major