From: shirayuki Date: Fri, 16 Aug 2013 14:01:46 +0000 (+0900) Subject: Fix comments for grep X-Git-Tag: 1.31.0-rc.0~18939^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=3e20b6197824b7aa390a368d4a59143c514caf87;p=lhc%2Fweb%2Fwiklou.git Fix comments for grep * category-*-count * node-count-exceeded-* * expansion-depth-exceeded-* Change-Id: If5a58c4f128d15969c56955af43aff76954ca94b --- diff --git a/includes/CategoryViewer.php b/includes/CategoryViewer.php index 0c44e96792..a9f5d236bd 100644 --- a/includes/CategoryViewer.php +++ b/includes/CategoryViewer.php @@ -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(); } } diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index ba5c8decc8..b9473d75ac 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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)