Page MenuHomePhabricator

TemplateData: Parse wikicode and/or HTML in interface text
Open, MediumPublicFeature

Assigned To
None
Authored By
Raymond
Jul 3 2013, 11:17 AM
Referenced Files
F3284165: Screen Shot 2016-01-27 at 02.23.20.png
Jan 27 2016, 1:24 AM
Tokens
"Like" token, awarded by ExcarnateSojourner."Like" token, awarded by Thibaut120094."Like" token, awarded by NemoLePoisson."Like" token, awarded by Amire80.

Description

Parse wikicode and/or HTML in interface text. This is useful to make longer descriptions, i.e. with some lists, more readable, see URL for a trial.


Version: unspecified
Severity: enhancement
URL: https://de.wikipedia.org/w/index.php?title=Vorlage:Normdaten/Doku&diff=120168256&oldid=120165159
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49772
https://bugzilla.wikimedia.org/show_bug.cgi?id=48451

Details

Reference
bz50656

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:07 AM
bzimport added a project: TemplateData.
bzimport set Reference to bz50656.

(In reply to comment #1)

Is this the same as Bug 51311?

I think so.

  • This bug has been marked as a duplicate of bug 51311 ***

Please don't mark older bugs as duplicates of newer ones.

  • Bug 51311 has been marked as a duplicate of this bug. ***
-jem- renamed this task from TempateData: Parse wikicode and/or HTML in interface text to TemplateData: Parse wikicode and/or HTML in interface text.Jan 28 2015, 8:41 PM
-jem- set Security to None.

Well we definitely can't allow all HTML, and we probably don't want to put everything through the full MW parser...

For elaborate documentation and examples, one should use the Template documentation page instead. Remember this all has to fit within the VE interface when inserting a Template. This isn't the place for elaborate instructions.

Contextual information per-parameter tends to be more appropiate. The interface currently provides a link back to the Template documentation page only if the template has no TemplateData yet:

Screen Shot 2016-01-27 at 02.23.20.png (242×1 px, 37 KB)

Perhaps we should provide this link always? Instead of only when data is absent.

Providing a link to the template documentation page would be useful for some complex templates like https://en.wikipedia.org/wiki/Template:Coord which is almost impossible to describe using TemplateData. This is bug T51772.

Well we definitely can't allow all HTML, and we probably don't want to put everything through the full MW parser...

Even if we don't want to put everything through the full MW parser having the possibility to use internal links inside the description to link for example with help pages or external pages where the information to add in the parameter is provided.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM