Last modified: 2014-01-29 18:12:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40601 - "Cancel" link when editing a page should either be a button or not be there at all.
"Cancel" link when editing a page should either be a button or not be there a...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: design, easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-28 17:32 UTC by Isarra
Modified: 2014-01-29 18:12 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Isarra 2012-09-28 17:32:54 UTC
For consistency, when editing, the 'Cancel' link should really be a button along with the other buttons on the line, since it is an action like the rest of them even if it isn't directly tied to the form itself.

The help link should also probably be removed entirely from at least the default installation, as no help pages actually come with said installation and thus the link doesn't go anywhere. Expecting wikis at this point to write their own editing help pages is also pretty silly, as there tend to already be much more thorough such pages on other wikis such as enwp, meta, and similar, and new projects can merely refer to those instead if needed. For any projects using the WikiEditor extension, though, having a link at all is redundant anyway as the toolbar the extension provides includes a navigable help menu directly in it.

Ignore the other stuff, but the line of buttons would look something like on this: http://commons.wikimedia.org/wiki/File:Enwp_edit_20120917_with_even_less_stuff.png
Comment 1 MZMcBride 2012-09-28 21:26:37 UTC
You're conflating issues here. This bug should _only_ be about the "Cancel" link. Anything else (such as the "Editing help" link and its interaction with the WikiEditor toolbar) should be filed as separate bugs.

I'm changing this bug's summary from "'Cancel' link when editing should be a button, and 'Editing help' link is silly" to ""Cancel" link when editing a page should be a button".
Comment 2 Isarra 2012-09-28 21:27:33 UTC
Okay.
Comment 3 Isarra 2012-09-29 02:47:53 UTC
The following html should work for this:

<a href="/wiki/pagename" title="Pagename" id="mw-editform-cancel"><input type="button" name="Cancel" value="Cancel"/></a>
Comment 4 Brandon Harris 2012-09-29 03:14:15 UTC
I disagree that the "cancel" link *must* be a button.  If there were different visual treatments to the various buttons, then it could work as a button with an alternate treatment.

However, since all buttons have the same visual treatment, then the "destroy" action must have different treatment.  Ergo, it shouldn't be a button.

This should be closed unless the buttons get different visual treatments.
Comment 5 Isarra 2012-09-29 07:22:34 UTC
(In reply to comment #4)
> I disagree that the "cancel" link *must* be a button.  If there were different
> visual treatments to the various buttons, then it could work as a button with
> an alternate treatment.
> 
> However, since all buttons have the same visual treatment, then the "destroy"
> action must have different treatment.  

Why does it need to be different? The meaning of 'cancel' is pretty unambiguous.
Comment 6 Brandon Harris 2012-09-29 07:30:33 UTC
If there were only two actions ("save" and "cancel"), even then.  The positioning of the actions is important: (in LtR languages) left actions are "backwards" and right side actions are "forwards".  We are not talking about the "word as written" but rather the "word as perceived".  

There have been about 4234523452345234532 studies done where human beings ignore the text "cancel" and simply click the button because they think it means something totally different.
Comment 7 Isarra 2012-09-29 08:43:13 UTC
On the contrary, the save is the one that needs to be distinct, not the cancel, or that will really confuse people. Yes, different systems use different orientations, but it generally still works just fine - partly just because people are used to it at this point, but also because one button is consistently distinct: the one people care about. The save.

The english wikipedia was right to bold that one. It should be bolded on all of them.

And the cancel link should really be a button if it is going to be there at all.
Comment 8 MZMcBride 2012-09-29 15:45:46 UTC
The other consideration that should be made here is that MediaWiki core may end up using different styling/button positions than VisualEditor (which currently has one large, green "Save page" button _above_ the textarea).
Comment 9 Isarra 2012-09-30 17:25:40 UTC
(In reply to comment #8)
> The other consideration that should be made here is that MediaWiki core may end
> up using different styling/button positions than VisualEditor (which currently
> has one large, green "Save page" button _above_ the textarea).

Having a button above the text area is not unprecedented - there was a labs feature that added a 'Publish' and a 'Cancel' button at the top right above the textarea. I've used it to cancel before, since it's in a convenient and expected place; dunno that I've ever used the link by the usual buttons.

It really stands out with the VE sandbox, but that's the model both VE and the current editor should be following, regardless of positioning - a cancel button is intuitive. Having to click on the 'page' tab is not, and yet that is still more so than a text link that gets lost amidst the other text.
Comment 10 Isarra 2013-03-20 03:29:39 UTC
Minor update!
Comment 11 andnlnbn18 2014-01-28 16:07:13 UTC
Can I work on it?
Comment 12 Ryan Schmidt 2014-01-28 17:13:58 UTC
Having Cancel be a link instead of a button is not unprecedented in designs, and in fact would be preferred for a couple of reasons:

1. Making them both buttons would put extra emphasis on the Cancel action, making it more likely that users will accidentally click it and wipe their edit.
2. If a user does not wish to actually edit, and the Cancel link is removed entirely, they may not know that they can also cancel the edit by clicking another link elsewhere (does anybody have info on how many times the cancel link is clicked vs how many edits are cancelled via other means?)

If we need to be messing with the buttons, I'd say we need to be putting additional emphasis on the "Save page" button rather than further emphasizing "Cancel".

Interesting further reading on the topic: http://www.lukew.com/ff/entry.asp?571=
Comment 13 Bartosz Dziewoński 2014-01-29 16:47:06 UTC
(In reply to comment #12)
> If we need to be messing with the buttons, I'd say we need to be putting
> additional emphasis on the "Save page" button rather than further emphasizing
> "Cancel".

There are some bold plans about doing just that, Steven and Jon (CC'd) know more about them than me. I think you can play with a reasonably current demo at http://ee-flow-extra.instance-proxy.wmflabs.org/wiki/Main_Page (use the "Agora styling" menu on the left).
Comment 14 Isarra 2014-01-29 18:12:21 UTC
Okay, so I'm inclined to say this ain't worth doing. Closing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links