Last modified: 2011-07-29 13:52:26 UTC
I need a hook to modify the content of an article before it is displayed in the edit box. The best place for this would be in EditPage->getContent() right after the call to $this->mArticle->getContent(). The hooks inside Article->getContent() are not good enough since that function is called all over the place and not just on edit. Something like this: wfRunHooks( 'EditPageAfterFetchContent', array( &$this, &$text ) ) ; This would allow an extension to modify content before it is edited or load additional metadata or whatever associated with the revision being edited.
Forget it. I can use another hook way later in execution.