Page MenuHomePhabricator

trailing \n appearing at the bottom of search results pages on mediawiki.org and meta.wikimedia.org
Closed, ResolvedPublic

Description

Below the results, but above the navigation controls at the bottom of the page, a \n appears.

This does not appear to be happening on en.wikipedia.org.

I can also reproduce this issue locally using the tip of master:

Screen Shot 2015-09-23 at 13.03.59.png (868×1 px, 121 KB)

Event Timeline

Deskana raised the priority of this task from to Medium.
Deskana updated the task description. (Show Details)
Deskana subscribed.

Someone probably did '\n' instead of "\n"?

Change 240590 had a related patch set uploaded (by EBernhardson):
Fix stray literal \n in output

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

Change 240591 had a related patch set uploaded (by Deskana):
Fix trailing \n on Special:Search.

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

Okay, whoever reviews this can decide which of the two solutions is best. ;-)

Change 240590 merged by jenkins-bot:
Fix stray literal \n in output

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

Change 240591 abandoned by Deskana:
Fix trailing \n on Special:Search.

Reason:
Unnecessary; Ia4591849f7675ad062210f21ff6273077a198704 was merged which fixed this problem.

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

Change 240596 had a related patch set uploaded (by Alex Monk):
Fix stray literal \n in output

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

Change 240596 merged by Alex Monk:
Fix stray literal \n in output

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

Krenair claimed this task.
Krenair reassigned this task from Krenair to EBernhardson.
Krenair set Security to None.

Change 255654 had a related patch set uploaded (by Legoktm):
Fix stray literal \n in output

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

Change 255654 merged by jenkins-bot:
Fix stray literal \n in output

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