From 9c5a4773952f2e914eda668b71dedb7c78a9a258 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sun, 10 Feb 2019 21:01:25 +0100 Subject: [PATCH] ChangesList: Remove spaces from in EnhancedChangesListGroup.mustache The special page RecentChanges can included in wiki content via {{Special:RecentChanges}} In this case the generated content is parsed by a wikitext parser. The wikitext parser converts Foo to the HTML

Foo

But the wikitext Foo is converted to the HTML Foo The module 'jquery.makeCollapsible' supports custom collapsible toggle buttons but only when they are a direct child of the element. When the module does not find a custom collapsible toggle button it adds the default button [Expand]. Because of the additional

element when including the recent changes the module 'jquery.makeCollapsible' adds a default collapsible toggle button. This change removes the spaces between and to prevent the

elements when including the recent changes. Bug: T215737 Change-Id: Ida46956fc7f9ab923c542751ac13411380c02ab0 --- includes/templates/EnhancedChangesListGroup.mustache | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/templates/EnhancedChangesListGroup.mustache b/includes/templates/EnhancedChangesListGroup.mustache index e41a98bf1c..6037d3792d 100644 --- a/includes/templates/EnhancedChangesListGroup.mustache +++ b/includes/templates/EnhancedChangesListGroup.mustache @@ -10,9 +10,7 @@

- - - + {{{ prefix }}} {{{ collectedRcFlags }}} {{ timestamp }}  -- 2.20.1