From cbdc6e53feb5b3b455f4ace232f371bd1408baaf Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 13 Dec 2014 12:08:45 +0100 Subject: [PATCH] Make HTMLForm::formatErrors non-static to can parse message in context One call in core already called it non-static Avoid: [GlobalTitleFail] MessageCache::parse called by Message::toString/Message::parseText/MessageCache::parse with no title set Change-Id: Ic91e715177c0a4578825640a31ec68ecba3176e0 --- includes/htmlform/HTMLForm.php | 4 ++-- includes/specials/SpecialBlock.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index df805aaa92..dc73522144 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1015,7 +1015,7 @@ class HTMLForm extends ContextSource { * * @return string HTML, a "