Fix comments for grep
authorshirayuki <shirayuking@gmail.com>
Fri, 16 Aug 2013 14:01:46 +0000 (23:01 +0900)
committershirayuki <shirayuking@gmail.com>
Mon, 19 Aug 2013 05:26:32 +0000 (14:26 +0900)
* category-*-count
* node-count-exceeded-*
* expansion-depth-exceeded-*

Change-Id: If5a58c4f128d15969c56955af43aff76954ca94b

includes/CategoryViewer.php
includes/parser/Parser.php

index 0c44e96..a9f5d23 100644 (file)
@@ -700,8 +700,8 @@ class CategoryViewer extends ContextSource {
                        # category-article-count-limited, category-file-count-limited
                        return $this->msg( "category-$type-count-limited" )->numParams( $rescnt )->parseAsBlock();
                }
-               # Give grep a chance to find the usages: category-subcat-count-limited,
-               # category-article-count-limited, category-file-count-limited
+               # Give grep a chance to find the usages:
+               # category-subcat-count, category-article-count, category-file-count
                return $this->msg( "category-$type-count" )->numParams( $rescnt, $totalcnt )->parseAsBlock();
        }
 }
index ba5c8de..b9473d7 100644 (file)
@@ -3170,6 +3170,12 @@ class Parser {
         *   'post-expand-template-inclusion' (corresponding messages:
         *       'post-expand-template-inclusion-warning',
         *       'post-expand-template-inclusion-category')
+        *   'node-count-exceeded' (corresponding messages:
+        *       'node-count-exceeded-warning',
+        *       'node-count-exceeded-category')
+        *   'expansion-depth-exceeded' (corresponding messages:
+        *       'expansion-depth-exceeded-warning',
+        *       'expansion-depth-exceeded-category')
         * @param int|null $current Current value
         * @param int|null $max Maximum allowed, when an explicit limit has been
         *       exceeded, provide the values (optional)