Last modified: 2011-07-05 12:48:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5800 - Feature request on hook 'EditPage::showEditForm:initial'
Feature request on hook 'EditPage::showEditForm:initial'
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
PC All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-02 22:44 UTC by BenediktM
Modified: 2011-07-05 12:48 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description BenediktM 2006-05-02 22:44:27 UTC
The parameter $formCallback of the function EditPage.php->showEditForm(
$formCallback = null ) can not be set via the hook
'EditPage::showEditForm:initial'. So please change the line 

"wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) ) ;"


"wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, $formCallback ) ) ;"

With this it would be easier to add something to the EditForm instead of
changing the whole page.

Comment 1 BenediktM 2006-05-02 23:04:23 UTC
sorry, line should be changed to

"wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, &$formCallback ) ) ;"

Should be a reference to $formCallback.

Comment 2 Chad H. 2011-07-05 12:48:57 UTC
Done in r91453.

Note You need to log in before you can comment on or make changes to this bug.