Fix regression from r37834: accesskey tooltip hint should be given for the minor...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Aug 2008 15:11:36 +0000 (15:11 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Aug 2008 15:11:36 +0000 (15:11 +0000)
commitf2a1ec41d38eab44617fe9eec9eaef8dd929f849
treea2cdfb902cf89f99a3df496ae6e4b70c7cab04a2
parent2658e07fb913070c3fecc98b3d1a07fea4b74401
Fix regression from r37834: accesskey tooltip hint should be given for the minor edit and watch labels on the edit page.  This code could still use refactoring, but that's a separate issue.  :)

I relied on the fact that $n is usable to catch back-references in JavaScript replacement text -- this seems to work in latest-ish versions of Firefox, Konqueror, and Opera, so I'm assuming it works everywhere.  ;)  As usual, the Web gives tons of dodgy-looking cookbooks with no useful info whenever I try to search for anything JavaScript-related.

Since I'm backporting this to 1.13 as a regression fix, this fix causes no change from 1.12 or 1.13 and so I'm not putting it in the release notes.
includes/EditPage.php
includes/Linker.php
skins/common/wikibits.js