Change I2f4d298a15046c4dc02afbf7582c90a1f17ea4cb added $title = $this->getTitle()
but $title was already defined for the delete reason message, causing the delete log except
to be shown always for the page "MediaWiki:Deletereason-dropdown".
Renaming the previous $title to fix this.
Change-Id: Ibecd181e80d83b0163e17d53b0b1b8c4a366ac1d
Xml::closeElement( 'form' );
if ( $user->isAllowed( 'editinterface' ) ) {
- $title = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' );
+ $dropdownTitle = Title::makeTitle( NS_MEDIAWIKI, 'Deletereason-dropdown' );
$link = Linker::link(
- $title,
+ $dropdownTitle,
wfMessage( 'delete-edit-reasonlist' )->escaped(),
array(),
array( 'action' => 'edit' )