From: Fomafix Date: Thu, 14 Feb 2019 10:57:29 +0000 (+0100) Subject: ChangesList: Comment out newlines in EnhancedChangesListGroup.mustache X-Git-Tag: 1.34.0-rc.0~2172^2 X-Git-Url: http://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=6e0cb5364bd0e103bf4aaf4bb9611ca4c8dfb125;p=lhc%2Fweb%2Fwiklou.git ChangesList: Comment out newlines in EnhancedChangesListGroup.mustache This is a follow-up to 9c5a4773952f2e914eda668b71dedb7c78a9a258. This change removes all spaces and newlines inside of the elements by a Mustache comment. This prevents that the newline get converted to a

element when the recent changes get included by {{Special:RecentChanges|enhanced=1}} Bug: T215737 Change-Id: I179d0b36b122efc3e1b7c193354ad03c3c9cefcf --- diff --git a/includes/templates/EnhancedChangesListGroup.mustache b/includes/templates/EnhancedChangesListGroup.mustache index 5a5986f7cf..f20afdb591 100644 --- a/includes/templates/EnhancedChangesListGroup.mustache +++ b/includes/templates/EnhancedChangesListGroup.mustache @@ -10,17 +10,19 @@

- + {{! + }}{{! + }} {{{ prefix }}} {{{ collectedRcFlags }}} {{ timestamp }}  - - {{# rev-deleted-event }}{{{ . }}}{{/ rev-deleted-event }} - {{{ articleLink }}}{{{ languageDirMark }}}{{{ logText }}} - - {{# charDifference }}{{{ . }}} {{/ charDifference }} - {{{ users }}} - {{ numberofWatchingusers }} - + {{! + }}{{# rev-deleted-event }}{{{ . }}}{{/ rev-deleted-event }}{{! + }}{{{ articleLink }}}{{{ languageDirMark }}}{{{ logText }}}{{! + }}{{! + }}{{# charDifference }}{{{ . }}} {{/ charDifference }}{{! + }}{{{ users }}}{{! + }}{{ numberofWatchingusers }}{{! + }} {{# lines }} @@ -38,12 +40,12 @@
- - {{# timestampLink }} - {{{ . }}} - {{/ timestampLink }} - {{# data }}{{{ . }}}{{/ data }} - + {{! + }}{{# timestampLink }}{{! + }}{{{ . }}}{{! + }}{{/ timestampLink }}{{! + }}{{# data }}{{{ . }}}{{/ data }}{{! + }} {{/ lines }}