Last modified: 2013-12-02 14:39:03 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 T54367, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52367 - Support VE post-edit
Support VE post-edit
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-01 03:51 UTC by Matthew Flaschen
Modified: 2013-12-02 14:39 UTC (History)
7 users (show)

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


Attachments

Description Matthew Flaschen 2013-08-01 03:51:51 UTC
We need to listen for VE post-edit, which uses the post-edit mw.hook, rather than 'wgPostEdit'.

This might be case for letting the transition system/shouldSkip directly listen to a mw.hook, as we discussed.

If that's not ready yet, though, we could have GuidedTour listen and set an internal isPostEdit to true.  This would then get set back to false when they activated VE.
Comment 1 Ocaasi 2013-08-01 15:26:00 UTC
This is basically critical for The Wikipedia Adventure (TWA), in order to advance the tour after using visual editor.  It's important that TWA introduce new editors to the default editing interface and this fix would be the only way that could happen.  I'm curious if there's any sense of the timeframe a fix?  BTW, Guided Tours is fantastic.
Comment 2 Steven Walling 2013-10-10 22:23:17 UTC
(In reply to comment #0)
> We need to listen for VE post-edit, which uses the post-edit mw.hook, rather
> than 'wgPostEdit'.
> 
> This might be case for letting the transition system/shouldSkip directly
> listen
> to a mw.hook, as we discussed.
> 
> If that's not ready yet, though, we could have GuidedTour listen and set an
> internal isPostEdit to true.  This would then get set back to false when they
> activated VE.

James and Trevor, is this still the state of the world for VE?
Comment 3 Matthew Flaschen 2013-10-10 22:32:30 UTC
(In reply to comment #2)
> James and Trevor, is this still the state of the world for VE?

I believe so.  It fires the postEdit hook (like core), and I think deliberately doesn't touch wgPostEdit (a global boolean is not an ideal fit for an event that can occur multiple times without a reload).
Comment 4 Matthew Flaschen 2013-11-01 10:27:57 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/92670/ .  Forgot to put the bug ID.
Comment 5 James F. 2013-12-02 14:39:03 UTC
Putting this against my work Bugzilla account so I ever actually find it again. :-)

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


Navigation
Links