Page MenuHomePhabricator

the first line of text does not appear
Closed, ResolvedPublic

Description

screenshot

See the screenshot - the line of text does not appear in some articles.

All of these articles have one thing in common - they all open with templates.


Version: unspecified
Severity: normal

Attached:

bug1.png (768×1 px, 155 KB)

Details

Reference
bz36928

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:29 AM
bzimport added a project: PageTriage.
bzimport set Reference to bz36928.

bsitu wrote:

I notice this problem too but I can't reproduce it in prototype & test environment. I will see what's special about this on enwiki

bsitu wrote:

Okay, the problem got narrowed down a little bit. I was able to re-produce it in test but still unable to re-produce in my local dev. Looks like it's related to the number of characters inside template

{{more than of equals to 1000 chars}} -> no content
{{less than 1000 chars}} -> okay

bsitu wrote:

Hopefully the following commit would fix this, it's probably due to some regular expression constraint:

https://gerrit.wikimedia.org/r/#/c/25192/

bsitu wrote:

Now the first line appears but there is a slight issue for template inside template, as a result, some irrelevant template text is showing up as snippet, I am working on a new way to solve this problem.

bsitu wrote:

fixed in: https://gerrit.wikimedia.org/r/#/c/25604/

This has been merged and it will be deployed with next deployment train if we don't schedule a deployment next week.

bsitu wrote:

Marking as fixed since the article snippet now appears and the snippet content is relevant to the article itself