Mark Clements wrote:
"David Grogan" dgrogan@gmail.com wrote in message news:cb6d7dc50612130850s74267de2s2f943af0c1c75224@mail.gmail.com...
I've co-authored two extensions that need an additional hook and additional parameters to two existing hooks. I am requesting commit access so that I may upload the extensions and amend the hooks.
What hook and what parameters?
- Mark Clements (HappyDog)
To be addded:
The spellchecker needs a hook near the end of getEditToolbar that is passed the toolbar variable. The extension adds a spellcheck button to the toolbar.
To be amended:
Track Changes needs ArticleSaveComplete to also pass $revisionId (id of the newly-saved revision) and a flag that determines whether the content of the article changed.
Track changes needs SkinTemplateTabs to pass in revid and oldid so that it can display oldid if specified in the query string or revid if it was:
$oldid = $wgRequest->getVal( 'oldid' ); global $wgArticle; $revid = $wgArticle ? $wgArticle->getLatest() : 0;
dgrogan@gmail.com