X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialProtectedtitles.php;h=cb6ec3c9f71b52150e851f12d6d1c4cc5c0a970d;hb=21a66ecc9a7d4517baaaa0dbd6ca00f64f8e90c6;hp=078e7b129f10d87abf9f8c4267ac0424d60e28ff;hpb=123d4122c84f4078de080046a1d2a4981dcdf4d7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index 078e7b129f..cb6ec3c9f7 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -126,16 +126,16 @@ class SpecialProtectedtitles extends SpecialPage { } /** - * @param $namespace Integer: - * @param $type string - * @param $level string + * @param int $namespace + * @param string $type + * @param string $level * @return string * @private */ function showOptions( $namespace, $type = 'edit', $level ) { global $wgScript; $action = htmlspecialchars( $wgScript ); - $title = $this->getTitle(); + $title = $this->getPageTitle(); $special = htmlspecialchars( $title->getPrefixedDBkey() ); return "
\n" . @@ -152,7 +152,7 @@ class SpecialProtectedtitles extends SpecialPage { * Prepare the namespace filter drop-down; standard namespace * selector, sans the MediaWiki namespace * - * @param $namespace Mixed: pre-select namespace + * @param string|null $namespace Pre-select namespace * @return string */ function getNamespaceMenu( $namespace = null ) {