From 3e20b6197824b7aa390a368d4a59143c514caf87 Mon Sep 17 00:00:00 2001 From: shirayuki Date: Fri, 16 Aug 2013 23:01:46 +0900 Subject: [PATCH] Fix comments for grep * category-*-count * node-count-exceeded-* * expansion-depth-exceeded-* Change-Id: If5a58c4f128d15969c56955af43aff76954ca94b --- includes/CategoryViewer.php | 4 ++-- includes/parser/Parser.php | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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) -- 2.20.1