Manual talk:Hooks/EditPage::showEditForm:initial
From MediaWiki.org
This hook seems not to get called if an editing conflict occurs.
I copypasted the code examples and it took me a while to realize it's "$editpage" not "$editPage" in the function header.. maybe that could be fixed?