Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -741,7 +741,6 @@ |
742 | 742 | |
743 | 743 | 'EditPage::showEditForm:initial': before showing the edit form |
744 | 744 | $editor: EditPage instance (object) |
745 | | -$formCallback: Array for callback of modifying the edit form |
746 | 745 | |
747 | 746 | Return false to halt editing; you'll need to handle error messages, etc. |
748 | 747 | yourself. Alternatively, modifying $error and returning true will cause the |
Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -185,8 +185,6 @@ |
186 | 186 | the relevant section of the category. |
187 | 187 | * (bug 29109) Allow the automatic edit summary for redirect creation |
188 | 188 | show the first bit of the new redirect page. |
189 | | -* (bug 5800) Added $formCallback as a parameter to the hook |
190 | | - EditPage::showEditForm:initial. |
191 | 189 | * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName. |
192 | 190 | * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey. |
193 | 191 | * (bug 16699) {{#language:}} accepts second parameter to specify the language in |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1330,7 +1330,7 @@ |
1331 | 1331 | $previewOutput = $this->getPreviewText(); |
1332 | 1332 | } |
1333 | 1333 | |
1334 | | - wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, &$formCallback ) ); |
| 1334 | + wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) ); |
1335 | 1335 | |
1336 | 1336 | $this->setHeaders(); |
1337 | 1337 | |