TemplateData: Make description for Param#deprecated optional
Closed, ResolvedPublic

Description

Right now deprecated supports boolean|string where it has to be false or a non-empty string describing why it is deprecated. This is not a bug but explicitly and purposely written that way.

We should make it optional, where boolean true would be "deprecated but without a description".

See also bug 52966 (Change "string" in Param#deprecated to InterfaceText).


Version: unspecified
Severity: enhancement

bzimport added a project: TemplateData.Via ConduitNov 22 2014, 1:54 AM
bzimport set Reference to bz53412.
Krinkle created this task.Via LegacyAug 27 2013, 5:53 PM
gerritbot added a comment.Via ConduitApr 25 2014, 11:36 PM

Change 129844 had a related patch set uploaded by Jforrester:
Obey documented behavior and allow deprecated: true

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

gerritbot added a comment.Via ConduitApr 25 2014, 11:46 PM

Change 129844 merged by jenkins-bot:
Obey specified behaviour and allow Param#deprecated to be boolean true

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.