Page MenuHomePhabricator

ArticleSaveComplete hook should allow hook functions to cause the display of a customizable "Action complete" screen instead of rendering the revised page
Closed, DeclinedPublic

Description

Author: tisane2718

Description:
The ArticleSaveComplete hook should allow hook functions to cause the display of an "Action complete" screen, with customizable text (e.g. "$1 has been blanked. See deletion log for a record of recent blankings.") instead of rendering the revised page. I suppose there should be a parameter, e.g. &$actioncompletetext, defaulting to null, that is passed to the hook. As you can see, I have the PureWikiDeletion extension in mind; some users have mistakenly thought the extension wasn't working when they blanked a page and didn't see any indication that anything special had occurred.


Version: unspecified
Severity: enhancement

Details

Reference
bz23655

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:11 PM
bzimport set Reference to bz23655.
bzimport added a subscriber: Unknown Object (MLST).

tisane2718 wrote:

Fixed by r66878

Reverted, if you want to hook EditPage then please add a hook to the relevant code, don't just add random code from EditPage into backend functions.