Merge "Add .pipeline/ with dev image variant"
[lhc/web/wiklou.git] / includes / specials / SpecialTrackingCategories.php
index 4f65437..e8eb004 100644 (file)
@@ -39,6 +39,7 @@ class SpecialTrackingCategories extends SpecialPage {
        function execute( $par ) {
                $this->setHeaders();
                $this->outputHeader();
+               $this->addHelpLink( 'Help:Categories' );
                $this->getOutput()->allowClickjacking();
                $this->getOutput()->addModuleStyles( 'jquery.tablesorter.styles' );
                $this->getOutput()->addModules( 'jquery.tablesorter' );
@@ -96,7 +97,7 @@ class SpecialTrackingCategories extends SpecialPage {
                        }
 
                        # Extra message, when no category was found
-                       if ( !count( $allMsgs ) ) {
+                       if ( $allMsgs === [] ) {
                                $allMsgs[] = $this->msg( 'trackingcategories-disabled' )->parse();
                        }