Last modified: 2009-11-09 08:08:07 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 T23443, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21443 - Input "Alexander" Output "Alex, er"
Input "Alexander" Output "Alex, er"
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
PC Linux
: Normal enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-09 07:30 UTC by Alex Doell
Modified: 2009-11-09 08:08 UTC (History)
1 user (show)

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


Attachments
Screenshot (210.13 KB, image/png)
2009-11-09 07:30 UTC, Alex Doell
Details

Description Alex Doell 2009-11-09 07:30:41 UTC
Created attachment 6759 [details]
Screenshot

Can the problem be viewed online in a public wiki? (If yes, provide its URL.) 
NO.

SEMANTICFORMS = 1.8.5

Which versions of SMW was used? 
SEMMEDIAWIKI = 1.4.3

Which version of MediaWiki was used? 
MEDIAWIKI = 1.15.0

Which server setup was used (PHP, MySQL, OS)?
Ubuntu 9.10, LAMP-Server (PHP=5.2.10, Apache=2.2.12, MySQL=5.1.37)

Detailed description: If I fill a form with "Alexander" or "Osiander" the system outputs the suffix ", er". Everything else works fine.
Comment 1 Yaron Koren 2009-11-09 07:42:04 UTC
Are you using an #arraymap or #arraymaptemplate call on that field in the template? If so, what's the call?
Comment 2 Alex Doell 2009-11-09 07:59:57 UTC
Yes, you are right. The call is

{{#arraymap:{{{author}}}|and|x|[[Autor::x]]}}

The "and" is apparently replaced with a comma followed by a space. I thought the "and" would work like a seperator like: "Andreas Osiander and Alexander Doell"
Comment 3 Yaron Koren 2009-11-09 08:06:51 UTC
Ah - to replace commas with "and", you need something like:

{{#arraymap:{{{author}}}|,|x|[[Autor::x]]|<nowiki> and </nowiki>}}

Closing the bug now.
Comment 4 Alex Doell 2009-11-09 08:08:07 UTC
Thank you very much!!

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


Navigation
Links