Page MenuHomePhabricator

If no parameters, force inline format
Closed, ResolvedPublic2 Estimated 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 set the point value for this task to 2.Mar 20 2018, 11:04 PM

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