diff options
author | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2024-11-14 21:48:32 +0100 |
---|---|---|
committer | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2024-11-14 21:10:23 +0000 |
commit | b30adcd6c4ab48d3cb7cbe3019816f0a4909e762 (patch) | |
tree | ca459e3c29fd611a49fff6edf2b4ec0b0f9aa262 /includes/parser | |
parent | eaecb5d2a43dae2123f9dc201a887dcb24dd86c7 (diff) | |
download | mediawikicore-b30adcd6c4ab48d3cb7cbe3019816f0a4909e762.tar.gz mediawikicore-b30adcd6c4ab48d3cb7cbe3019816f0a4909e762.zip |
Remove unusual message keys for parser limit report
As far as I can tell, no one ever used the "$key-value-text" or
"$key-value-html" keys, only "$key-value":
https://codesearch.wmcloud.org/search/?q=-value-(html|text)%22%3A&files=en.json
https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=.*-value-%28html|text%29
They were added in 2013 (2b20038ce77ce8b939113a3edb7d25127c238d4e).
Change-Id: I175e834e2b425f0ba1b8650ae44dbf65fb23fe6e
Diffstat (limited to 'includes/parser')
-rw-r--r-- | includes/parser/Hook/ParserLimitReportFormatHook.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/parser/Hook/ParserLimitReportFormatHook.php b/includes/parser/Hook/ParserLimitReportFormatHook.php index 015d680d606e..da1e092d0391 100644 --- a/includes/parser/Hook/ParserLimitReportFormatHook.php +++ b/includes/parser/Hook/ParserLimitReportFormatHook.php @@ -13,8 +13,7 @@ interface ParserLimitReportFormatHook { /** * This hook is called for each row in the parser limit report that * needs formatting. If nothing handles this hook, the default is to use "$key" to - * get the label, and "$key-value" or "$key-value-text"/"$key-value-html" to - * format the value. + * get the label, and "$key-value" to format the value. * * @since 1.35 * |