$r['subpages'] = $this->moveSubpages($fromTitle, $toTitle,
$params['reason'], $params['noredirect']);
$this->getResult()->setIndexedTagName($r['subpages'], 'subpage');
- // TODO: Should we move talk subpages if moving the talk page failed?
if($params['movetalk'])
{
$r['subpages-talk'] = $this->moveSubpages($fromTalk, $toTalk,
# would mean that you couldn't move them back in one operation, which
# is bad. FIXME: A specific error message should be given in this
# case.
+
+ // FIXME: Use Title::moveSubpages() here
$dbr = wfGetDB( DB_MASTER );
if( $this->moveSubpages && (
MWNamespace::hasSubpages( $nt->getNamespace() ) || (