r92898 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92897‎ | r92898 | r92899 >
Date:21:31, 22 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird, was undocumented, and is unused by extensions.
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -748,9 +748,6 @@
749749 protected function getForm() {
750750 $this->fields = $this->getFormFields();
751751
752 - // Give hooks a chance to alter the form, adding extra fields or text etc
753 - wfRunHooks( "Special{$this->getName()}ModifyFormFields", array( &$this->fields ) );
754 -
755752 $form = new HTMLForm( $this->fields, $this->getContext() );
756753 $form->setSubmitCallback( array( $this, 'onSubmit' ) );
757754 $form->setWrapperLegend( wfMessage( strtolower( $this->getName() ) . '-legend' ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r94446MFT to REL1_18:...hashar09:27, 14 August 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86482(bug 13015, bug 18347, bug 18996, bug 20473, bug 23669, bug 28244) separate t...happy-melon15:27, 20 April 2011

Status & tagging log