Last modified: 2010-05-15 15:52:02 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 T12053, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10053 - More instances per field on templates
More instances per field on templates
Status: RESOLVED DUPLICATE of bug 1689
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.10.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-28 23:29 UTC by Leonardo
Modified: 2010-05-15 15:52 UTC (History)
1 user (show)

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


Attachments

Description Leonardo 2007-05-28 23:29:36 UTC
Hi, i'm using semantic with templates and i would like to add more instances per field. So i think templates could accept it. Is this possible?
I really would like this soon.
Comment 1 Brion Vibber 2007-05-30 19:34:11 UTC
Sorry, don't understand the report?

Add more details and recategorize as necessary.
Comment 2 Leonardo 2007-05-30 22:06:37 UTC
Example: i create a template where in this template will have the field: author. But when i add this template to a page and add author information, i want to be possible add 3 authors names.
So when o go to semantic and try to search articles by author, i could use any of the 3 authors, and see result. 
Comment 3 Platonides 2007-05-30 22:10:02 UTC
This would make template parameters groups of values, instead of values. Then, you'd need for-each to handle them...

Why not use {{book|title=MediaWiki Guide|authorship={{author|Brion}} {{author|Tim}} {{author|Rob}} }} ?
Comment 4 とある白い猫 2007-05-30 22:24:59 UTC
Interesting choice of Author names (our devs) :)

Why not simply use something like

{{book|title=MediaWiki Guide|authorship=Author1, Author2, Author3} }}

If you desire you can also use parser functions.
Comment 5 Leonardo 2007-05-30 23:35:06 UTC
I just would like this option:
Same field with more then 1 value.

{{template-name|
field=value1|
field=value2|
Comment 6 とある白い猫 2007-06-01 21:18:21 UTC
Why not just:

{{template-name|
 |field1=value1
 |field2=value2
}}
Comment 7 Leonardo 2007-06-01 21:57:28 UTC
Hi Cool Cat
It's because field1 and field2 will be with exactly = 
It's like:
{{template-name|
 |author=Leonardo
 |author=Cool Cat

So i would like this to be possible

Comment 8 Leonardo 2007-06-01 21:59:01 UTC
But i think this could be done adding:

{{template-name|
 |author=Leonardo; Cool Cat
 
Comment 9 Leonardo 2007-06-01 22:02:31 UTC
So on Semantic mediawiki search when i tty to search articles by author and i add Cool Cat, I'll see all articles that Cool Cat wrote, even if i add Leonardo and Cool Cat as writer.
Understand?
Comment 10 Brion Vibber 2007-06-04 18:37:43 UTC

*** This bug has been marked as a duplicate of bug 1689 ***

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


Navigation
Links