// prefix.
$this->dieUsageMsg( array( 'invalidtitle', $titlePart ) );
}
+
return substr( $t->getDbKey(), 0, -1 );
}
return $errors;
}
+
+ /**
+ * Check whether the current user has permission to view revision-deleted
+ * fields.
+ * @return bool
+ */
+ public function userCanSeeRevDel() {
+ return $this->getUser()->isAllowedAny( 'deletedhistory', 'deletedtext', 'suppressrevision' );
+ }
}
/**