Added spaces before and removed spaces after 'array'
[lhc/web/wiklou.git] / includes / specials / SpecialProtectedpages.php
index bc4f3bb..979c3ee 100644 (file)
@@ -84,6 +84,7 @@ class SpecialProtectedpages extends SpecialPage {
 
                $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title );
                if( !$title ) {
+                       wfProfileOut( __METHOD__ );
                        return Html::rawElement( 'li', array(),
                                Html::element( 'span', array( 'class' => 'mw-invalidtitle' ),
                                        Linker::getInvalidTitleDescription( $this->getContext(), $row->page_namespace, $row->page_title ) ) ) . "\n";
@@ -91,7 +92,7 @@ class SpecialProtectedpages extends SpecialPage {
 
                $link = Linker::link( $title );
 
-               $description_items = array ();
+               $description_items = array();
 
                $protType = $this->msg( 'restriction-level-' . $row->pr_level )->escaped();
 
@@ -196,8 +197,8 @@ class SpecialProtectedpages extends SpecialPage {
                                        'all' => '',
                                        'label' => $this->msg( 'namespace' )->text()
                                ), array(
-                                       'name'  => 'namespace',
-                                       'id'    => 'namespace',
+                                       'name' => 'namespace',
+                                       'id' => 'namespace',
                                        'class' => 'namespaceselector',
                                )
                        )
@@ -205,6 +206,7 @@ class SpecialProtectedpages extends SpecialPage {
        }
 
        /**
+        * @param bool $indefOnly
         * @return string Formatted HTML
         */
        protected function getExpiryCheck( $indefOnly ) {
@@ -212,6 +214,7 @@ class SpecialProtectedpages extends SpecialPage {
        }
 
        /**
+        * @param bool $cascadeOnly
         * @return string Formatted HTML
         */
        protected function getCascadeCheck( $cascadeOnly ) {
@@ -219,6 +222,8 @@ class SpecialProtectedpages extends SpecialPage {
        }
 
        /**
+        * @param string $sizetype "min" or "max"
+        * @param mixed $size
         * @return string Formatted HTML
         */
        protected function getSizeLimit( $sizetype, $size ) {