Don't reinvent the wheel in SpecialRecentchangeslinked::getExtraOptions
authorMatmaRex <matma.rex@gmail.com>
Mon, 20 May 2013 12:00:52 +0000 (14:00 +0200)
committerMatmaRex <matma.rex@gmail.com>
Fri, 24 May 2013 19:29:44 +0000 (21:29 +0200)
commitfeb4ffcf7215bfdc87677b2ac89d91a5306cc1fe
treee1c00dd0f53f92b8b63c86c417b398c85902097a
parentb65669ff7adbbde55872a8ddd93214a9e1df75c6
Don't reinvent the wheel in SpecialRecentchangeslinked::getExtraOptions

Just call parent::getExtraOptions() first and then simply add the one
additional field. The 'SpecialRecentChangesPanel' hook wasn't called
from SpecialRecentchangeslinked previously, I've wrapped the call in
an if to keep the behavior the same.

Changes this causes:
* If $wgAllowCategorizedRecentChanges is true, Recentchangeslinked
  will include the category filter form as well.
* The target filter on Recentchangeslinked will be displayed at the
  end of the form, below the tag filter.

Change-Id: I4436a63356adb1e0b0daa1aa52c179974a036fa1
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialRecentchangeslinked.php