* (bug 2150) Fix tab indexes on edit form
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 12 May 2005 08:28:26 +0000 (08:28 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 12 May 2005 08:28:26 +0000 (08:28 +0000)
RELEASE-NOTES
includes/EditPage.php

index d236a64..55a301f 100644 (file)
@@ -180,6 +180,7 @@ Various bugfixes, small features, and a few experimental things:
   default (previously this was disabled for no particular reason)
 * dumpBackup.php can dump the full database to Export XML, with current
   revisions only or complete histories.
+* (bug 2150) Fix tab indexes on edit form
 
 
 === Caveats ===
index 093a9c4..1961489 100644 (file)
@@ -600,7 +600,7 @@ class EditPage {
                                $editsummary = '';
                        } else {
                                $commentsubject = '';
-                               $editsummary="{$summary}: <input tabindex='3' type='text' value=\"$summarytext\" name=\"wpSummary\" maxlength='200' size='60' /><br />";
+                               $editsummary="{$summary}: <input tabindex='2' type='text' value=\"$summarytext\" name=\"wpSummary\" maxlength='200' size='60' /><br />";
                        }
 
                if( !$this->preview && !$this->diff ) {
@@ -671,7 +671,7 @@ END
 " title=\"".wfMsg('tooltip-save')."\"/>
 <input tabindex='6' id='wpPreview' type='submit' $liveOnclick value=\"{$prev}\" name=\"wpPreview\" accesskey=\"".wfMsg('accesskey-preview')."\"".
 " title=\"".wfMsg('tooltip-preview')."\"/>
-<input tabindex='6' id='wpDiff' type='submit' value=\"{$diff}\" name=\"wpDiff\" accesskey=\"".wfMsg('accesskey-diff')."\"".
+<input tabindex='7' id='wpDiff' type='submit' value=\"{$diff}\" name=\"wpDiff\" accesskey=\"".wfMsg('accesskey-diff')."\"".
 " title=\"".wfMsg('tooltip-diff')."\"/>
 <em>{$cancel}</em> | <em>{$edithelp}</em>{$templates}" );
                $wgOut->addWikiText( $copywarn );