Page MenuHomePhabricator

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

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.

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 Medium 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 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!

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMar 25 2020, 2:37 PM
4shadoww removed 4shadoww as the assignee of this task.Mar 25 2020, 3:16 PM

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