From 0c64a75480d7fcbd58102288a14e6c0c68da34e9 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 13 Mar 2010 21:09:39 +0000 Subject: [PATCH] Fixed some doxygen warnings --- includes/specials/SpecialProtectedpages.php | 20 ++++++++++---------- includes/specials/SpecialProtectedtitles.php | 7 ++++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/includes/specials/SpecialProtectedpages.php b/includes/specials/SpecialProtectedpages.php index 8229770c23..61a82cf505 100644 --- a/includes/specials/SpecialProtectedpages.php +++ b/includes/specials/SpecialProtectedpages.php @@ -123,14 +123,14 @@ class ProtectedPagesForm { } /** - * @param $namespace int - * @param $type string - * @param $level string - * @param $minsize int - * @param $indefOnly bool - * @param $cascadeOnly bool - * @return string Input form - * @private + * @param $namespace Integer + * @param $type String: restriction type + * @param $level String: restriction level + * @param $sizetype String: "min" or "max" + * @param $size Integer + * @param $indefOnly Boolean: only indefinie protection + * @param $cascadeOnly Boolean: only cascading protection + * @return String: input form */ protected function showOptions( $namespace, $type='edit', $level, $sizetype, $size, $indefOnly, $cascadeOnly ) { global $wgScript; @@ -157,8 +157,8 @@ class ProtectedPagesForm { * Prepare the namespace filter drop-down; standard namespace * selector, sans the MediaWiki namespace * - * @param mixed $namespace Pre-select namespace - * @return string + * @param $namespace Mixed: pre-select namespace + * @return String */ protected function getNamespaceMenu( $namespace = null ) { return "" . diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index d65b3f7976..19a490cc37 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -85,10 +85,11 @@ class ProtectedTitlesForm { } /** - * @param $namespace int + * @param $namespace Integer: * @param $type string * @param $level string - * @param $minsize int + * @param $sizetype Unused + * @param $size Unused * @private */ function showOptions( $namespace, $type='edit', $level, $sizetype, $size ) { @@ -110,7 +111,7 @@ class ProtectedTitlesForm { * Prepare the namespace filter drop-down; standard namespace * selector, sans the MediaWiki namespace * - * @param mixed $namespace Pre-select namespace + * @param $namespace Mixed: pre-select namespace * @return string */ function getNamespaceMenu( $namespace = null ) { -- 2.20.1