Page MenuHomePhabricator

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

Description

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

Example:

page 1 (blank):

page 2:

(a lot of new lines)

<noinclude></noinclude>

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.

Details

Related Gerrit Patches:

Event Timeline

4shadoww created this task.May 5 2018, 8:26 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 5 2018, 8:26 PM

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

https://gerrit.wikimedia.org/r/431320

4shadoww updated the task description. (Show Details)May 6 2018, 5:30 PM
4shadoww updated the task description. (Show Details)May 6 2018, 6:06 PM
4shadoww claimed this task.May 6 2018, 8:18 PM
4shadoww triaged this task as Normal priority.

(Seems like the same issue as T184586.)

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 Normal 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 Normal.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.