$this->getOutput()->addHTML(
Xml::openElement( 'form', array(
'method' => 'POST',
- 'action' => $this->getTitle()->getLocalURL( array(
+ 'action' => $this->getPageTitle()->getLocalURL( array(
'target' => $this->targetObj->getPrefixedDBkey(),
'file' => $archiveName,
'token' => $user->getEditToken( $archiveName ),
// Show form if the user can submit
if ( $this->mIsAllowed ) {
$out = Xml::openElement( 'form', array( 'method' => 'post',
- 'action' => $this->getTitle()->getLocalURL( array( 'action' => 'submit' ) ),
+ 'action' => $this->getPageTitle()->getLocalURL( array( 'action' => 'submit' ) ),
'id' => 'mw-revdel-form-revisions' ) ) .
Xml::fieldset( $this->msg( 'revdelete-legend' )->text() ) .
$this->buildCheckBoxes() .
$list->reset();
$bitfield = $list->current()->getBits(); // existing field
if ( $this->submitClicked ) {
- $bitfield = $this->extractBitfield( $this->extractBitParams(), $bitfield );
+ $bitfield = RevisionDeleter::extractBitfield( $this->extractBitParams(), $bitfield );
}
foreach ( $this->checks as $item ) {
list( $message, $name, $field ) = $item;
return $bitfield;
}
- /**
- * Put together a rev_deleted bitfield
- * @deprecated since 1.22, use RevisionDeleter::extractBitfield instead
- * @param array $bitPars extractBitParams() params
- * @param int $oldfield current bitfield
- * @return array
- */
- public static function extractBitfield( $bitPars, $oldfield ) {
- return RevisionDeleter::extractBitfield( $bitPars, $oldfield );
- }
-
/**
* Do the write operations. Simple wrapper for RevDel_*List::setVisibility().
* @param $bitfield