From: Raimond Spekking Date: Tue, 20 May 2008 04:55:52 +0000 (+0000) Subject: Add a new section for parser/template warnings X-Git-Tag: 1.31.0-rc.0~47526 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=2d7d007ed8a966a1960710a58a8694a3d57c1d4b;p=lhc%2Fweb%2Fwiklou.git Add a new section for parser/template warnings --- diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index fbd3b7f973..af153150aa 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1134,16 +1134,18 @@ You can go back and edit an existing page, or [[Special:Userlogin|log in or crea You should consider whether it is appropriate to continue editing this page. The deletion log for this page is provided here for convenience:", -'expensive-parserfunction-warning' => 'Warning: This page contains too many expensive parser function calls. + +# Parser/template warnings +'expensive-parserfunction-warning' => 'Warning: This page contains too many expensive parser function calls. It should have less than $2, there are now $1.', -'expensive-parserfunction-category' => 'Pages with too many expensive parser function calls', -'post-expand-template-inclusion-warning' => "Warning: Template include size is too large. +'expensive-parserfunction-category' => 'Pages with too many expensive parser function calls', +'post-expand-template-inclusion-warning' => "Warning: Template include size is too large. Some templates will not be included.", -'post-expand-template-inclusion-category' => "Pages where template include size is exceeded", -'post-expand-template-argument-warning' => "Warning: This page contains at least one template argument which has a too large expansion size. +'post-expand-template-inclusion-category' => "Pages where template include size is exceeded", +'post-expand-template-argument-warning' => "Warning: This page contains at least one template argument which has a too large expansion size. These arguments have been omitted.", -'post-expand-template-argument-category' => "Pages containing omitted template arguments", +'post-expand-template-argument-category' => "Pages containing omitted template arguments", # "Undo" feature 'undo-success' => 'The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index c4a11a87f1..71b6d6feef 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -555,6 +555,8 @@ $wgMessageStructure = array( 'permissionserrors', 'permissionserrorstext', 'recreate-deleted-warn', + ), + 'parserwarnings' => array( 'expensive-parserfunction-warning', 'expensive-parserfunction-category', 'post-expand-template-inclusion-warning', @@ -2585,6 +2587,7 @@ XHTML id names.", 'resetpass' => 'Password reset dialog', 'toolbar' => 'Edit page toolbar', 'edit' => 'Edit pages', + 'parserwarnings' => 'Parser/template warnings', 'undo' => '"Undo" feature', 'cantcreateaccount' => 'Account creation failure', 'history' => 'History pages',