function execute( $par ) {
$this->setHeaders();
$this->outputHeader();
+ $this->addHelpLink( 'Help:Protected_pages' );
$request = $this->getRequest();
$type = $request->getVal( $this->IdType );
* @return string
* @private
*/
- function showOptions( $namespace, $type = 'edit', $level ) {
+ function showOptions( $namespace, $type, $level ) {
$formDescriptor = [
'namespace' => [
'class' => 'HTMLSelectNamespace',
/**
* @param string $pr_level Determines which option is selected as default
- * @return string Formatted HTML
+ * @return string|array
* @private
*/
function getLevelMenu( $pr_level ) {