Fixed some doxygen warnings
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 13 Mar 2010 21:09:39 +0000 (21:09 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 13 Mar 2010 21:09:39 +0000 (21:09 +0000)
includes/specials/SpecialProtectedpages.php
includes/specials/SpecialProtectedtitles.php

index 8229770..61a82cf 100644 (file)
@@ -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 "<span style='white-space: nowrap'>" .
index d65b3f7..19a490c 100644 (file)
@@ -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 ) {