Manual talk:Hooks/EditPage::showEditForm:initial

From MediaWiki.org
Jump to: navigation, search

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?

[edit] Inject wikitext?

There's no way to use $editPage->editFormPageTop to inject wikitext? It would make it easier to accomplish certain things, such as page existence detection (red/blue wikilinks). Tisane 23:28, 12 March 2010 (UTC)

[edit] &$editPage?

Shouldn't it say &$editPage? Tisane 19:16, 25 May 2010 (UTC)

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox