mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
Follow-up e20262bc
: Strip subpage name in action
Thanks to comments on Iaec81a2f, I realized the function of removed code. Use the native setTitle() method to strip subpage name. Change-Id: I4b1f48e0b705fb4aa7262454614d90dc1653a4fe
This commit is contained in:
parent
660c0cca83
commit
be3c21741d
|
@ -160,6 +160,8 @@ class CategoryTreePage extends SpecialPage {
|
|||
->setWrapperLegendMsg( 'categorytree-legend' )
|
||||
->setSubmitTextMsg( 'categorytree-go' )
|
||||
->setMethod( 'get' )
|
||||
// Strip subpage
|
||||
->setTitle( $this->getPageTitle() )
|
||||
->prepareForm()
|
||||
->displayForm( false );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue