Page MenuHomePhabricator

If no parameters, force inline format
Closed, ResolvedPublic2 Story Points

Description

Don't give user multi-line output if they specified no parameters or none exist, like,

{{Cite
}}

rather give them

{{Cite}}

Event Timeline

Niharika created this task.Mar 20 2018, 5:32 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 20 2018, 5:32 AM
Niharika set the point value for this task to 2.Mar 20 2018, 11:04 PM
Samwilson edited projects, added Community-Tech-Sprint; removed Community-Tech.
Samwilson moved this task from Ready to In Development on the Community-Tech-Sprint board.

Change 421210 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/extensions/TemplateWizard@master] Treat block templates without parameters as inline

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

Change 421210 merged by jenkins-bot:
[mediawiki/extensions/TemplateWizard@master] Treat block templates without parameters as inline

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

Samwilson closed this task as Resolved.Mar 29 2018, 1:47 AM
Samwilson moved this task from Needs Review/Feedback to Q1 2018-19 on the Community-Tech-Sprint board.

I've updated the code on the CommTech test wiki, and tested with http://commtech.wmflabs.org/wiki/Template:Test