Page MenuHomePhabricator

{{subst:}} no new line restriction
Open, MediumPublic


Normally you cannot enter new lines end of pages but you can do that by using {{subst:}}


page 1 (blank):

page 2:

(a lot of new lines)


So when you subst page 2 to page 1 it'll be full of new lines and nothing else. And when you for example look diff it says no changes made.

Example on fiwiki, look for Fiwiki-tools-bot's edits when it cleans the sandbox.

Event Timeline

Change 431320 had a related patch set uploaded (by 4shadoww; owner: 4shadoww):
[mediawiki/core@master] Trim whitespaces from the end of the text

4shadoww triaged this task as Medium priority.
Vvjjkkii renamed this task from {{subst:}} no new line restriction to ujdaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii removed 4shadoww as the assignee of this task.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from ujdaaaaaaa to {{subst:}} no new line restriction.Jul 2 2018, 1:59 PM
CommunityTechBot assigned this task to 4shadoww.
CommunityTechBot lowered the priority of this task from High to Medium.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.

@4shadoww: The patch in Gerrit needs some more work (test case coverage). Do you still plan to work on this? Asking as you are set as task assignee. Thanks!

No plans to work on this. Removed myself from assignee.