for user code, the postEdit event never fires.
this is unexpected.: when user code hooks document.ready, or 'wikipage.content' events, the expectation is that if the event was fired before user code hooked it, the hooked function will be called immediately.
postEdit does not behave this way, and it should.
(there is a workaround: examine global variable wgPostEdit,, but we should not have to resort to this).
REPRODUCTION
add to common.js the following code:
mw.hook( 'postEdit' ).add( function() { alert( 'postEdit event was triggered!' ); } );
EXPECTED RESULT:
whenever the user with this code saves a page, an alert will be shown
ACTUAL RESULT:
nada.
in contrast, similar code for 'wikipage.content' event, *does* trigger.
peace.