From 99a63deb8d4df47bae8faf1f4d0f3d41056652f4 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 14 Nov 2020 13:26:21 +0100 Subject: [PATCH] Fix: remove {{PAGENAME}} variants from error page With this, you could escape the wikitext and insert your own text. Validation on the Page name would fail, but as the error page would render it as text, it would be shown to the user. This is unwanted, and as such, we now no longer print it. --- templates/Error.mediawiki | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/templates/Error.mediawiki b/templates/Error.mediawiki index aa9d934..96fadac 100644 --- a/templates/Error.mediawiki +++ b/templates/Error.mediawiki @@ -5,40 +5,25 @@ - OpenTTD | {{SUBPAGENAME}} + OpenTTD | Error
- {{SUBPAGENAME}} + Error
- {{#if: {{{user_settings_url}}}| - - }}
-

Error

{{content}}