Last modified: 2013-11-08 21:13:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51374 - TemplateData: Add parameter type for wikitext
TemplateData: Add parameter type for wikitext
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TemplateData (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Krinkle
:
Depends on:
Blocks: 50182 50587 51485
  Show dependency treegraph
 
Reported: 2013-07-15 17:38 UTC by Carl Fürstenberg
Modified: 2013-11-08 21:13 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Carl Fürstenberg 2013-07-15 17:38:22 UTC
I would want to propose to add a type to indicate the content is contained wikitext, instead of a arbitary string. This could help VE to display a visual editor for those fields instead of showing the wikicode directly. This can't be done on "string" types as it's not certain they contain real wikitext. If the parameter is only to contain a single template invocation of a specific type, then perhaps a type "template" and a pointer to which template.
Comment 1 Helder 2013-08-08 13:41:58 UTC
I was going to request this, because I've seen a similar case where the parameter is to be filled with just an internal link. VisualEditor should be able to hide the wikicode markup from new users as much as possible, and this seems to be a very common place where it still appears. See e.g. the values of the parameters "imagem_legenda" and "cidade" of the [[pt:Template:Info/Bairro do Brasil]]:
http://toolserver.org/~kolossos/templatetiger/tt-table4.php?template=Info/Bairro%20do%20Brasil&lang=ptwiki&where=&is=

We see things like "A [[Praça Dom Sebastião]], com a [[Igreja da Conceição]] ao fundo (2007)."
Comment 2 Gerrit Notification Bot 2013-10-24 16:42:06 UTC
Change 91624 had a related patch set uploaded by Krinkle:
Specify "wiki-markup" as a valid parameter type

https://gerrit.wikimedia.org/r/91624
Comment 3 Gerrit Notification Bot 2013-11-08 21:12:00 UTC
Change 91624 merged by jenkins-bot:
Specify "content" and "unbalanced-wikitext" as a valid parameter types

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links