* Returns the description that goes below the \<h1\> tag
* @since 1.17
*
- * @return string
+ * @return string HTML
*/
protected function getDescription() {
return $this->msg( strtolower( $this->getName() ) )->escaped();
* @throws ErrorPageError
*/
abstract public function show();
+
+ /**
+ * Call wfTransactionalTimeLimit() if this request was POSTed
+ * @since 1.26
+ */
+ protected function useTransactionalTimeLimit() {
+ if ( $this->getRequest()->wasPosted() ) {
+ wfTransactionalTimeLimit();
+ }
+ }
}