] );
}
+ // @TODO: remove this hack once rollback uses POST (T88044)
+ $trxLimits = $this->context->getConfig()->get( 'TrxProfilerLimits' );
+ $trxProfiler = Profiler::instance()->getTransactionProfiler();
+ $trxProfiler->setExpectations( $trxLimits['POST'], __METHOD__ );
+
$data = null;
$errors = $this->page->doRollback(
$from,
$current = $data['current'];
if ( $current->getComment() != '' ) {
- $this->getOutput()->addHTML( $this->msg( 'editcomment' )->rawParams(
- Linker::formatComment( $current->getComment() ) )->parse() );
+ $this->getOutput()->addWikiMsg(
+ 'editcomment',
+ Message::rawParam(
+ Linker::formatComment( $current->getComment() )
+ )
+ );
}
}