Last modified: 2014-05-01 23:37:08 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 T54871, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52871 - VisualEditor: Switch to use MediaWiki's built-in messages for post-edit notifications (and add to them so we cover all three cases)
VisualEditor: Switch to use MediaWiki's built-in messages for post-edit notif...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal minor
: VE-deploy-2014-05-08
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-15 00:27 UTC by Steven Walling
Modified: 2014-05-01 23:37 UTC (History)
7 users (show)

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


Attachments
Screenshot at 1024x768 (276.70 KB, image/png)
2013-08-15 00:27 UTC, Steven Walling
Details

Description Steven Walling 2013-08-15 00:27:35 UTC
Created attachment 13101 [details]
Screenshot at 1024x768

Very happy to see that VE is now using the same post-edit styling as wikitext! This is a big win for usability, since it is fixed position and so on.

I did find one suboptimal fact though... Since the text of the message includes the page title, it is very variable width, depending on the page title length and the browser width. 

One of the UX goals for this notification is to have new users notice it, but for it to eventually fade out of your attention as you become used to it. Since the page title produces very different widths as you edit different pages, this calls a lot more attention to the notification even if you've edit thousands of times. 

My recommendation would be to match what's in the wikitext version, "Your edit was saved." since we A/B tested it and we know it meets the goals I mentioned above. Another good solution is simply removing the page title, so that the VE version says, "Your changes have been saved." That seems functionally the same, though I think using edit is good for consistency with the tab names etc.
Comment 1 James Forrester 2014-02-26 01:10:54 UTC
Current VE messages:

    "visualeditor-notification-created": "\"$1\" has been created.",
    "visualeditor-notification-restored": "\"$1\" has been restored.",
    "visualeditor-notification-saved": "Your changes to \"$1\" have been saved.",

Current MW core message:

    'postedit-confirmation'            => 'Your edit was saved.',

We should:

1. Expand MW core to cater to all three states (create, restore, save):

** Create: "The page has been created."
** Restore: "The page has been restored."
** Saved: "Your edit was saved."

2. Not use different messages in VE – instead, use the core ones.

Rather than create two bugs, let's just use this one?
Comment 2 Gerrit Notification Bot 2014-04-20 16:36:46 UTC
Change 127480 had a related patch set uploaded by Alex Monk:
Expand core post edit functionality to match VE

https://gerrit.wikimedia.org/r/127480
Comment 3 James Forrester 2014-05-01 20:25:38 UTC
Now just needs VE to use the same function.
Comment 4 Gerrit Notification Bot 2014-05-01 20:29:05 UTC
Change 127480 merged by jenkins-bot:
Expand core post edit functionality to match VE

https://gerrit.wikimedia.org/r/127480
Comment 5 Gerrit Notification Bot 2014-05-01 20:52:46 UTC
Change 130968 had a related patch set uploaded by Alex Monk:
Switch to use MediaWiki's built-in messages for post-edit notifications

https://gerrit.wikimedia.org/r/130968
Comment 6 Gerrit Notification Bot 2014-05-01 22:37:14 UTC
Change 130968 merged by jenkins-bot:
Switch to use MediaWiki's built-in messages for post-edit notifications

https://gerrit.wikimedia.org/r/130968

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


Navigation
Links