https://bugzilla.wikimedia.org/show_bug.cgi?id=35520
Web browser: ---
Bug #: 35520
Summary: Wikilinks in author field break {{information}}
template.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: UploadWizard
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
When uploading your own work (at least, not tested otherwise) including
wikilinks in a custom string for the "author" field breaks the resulting
{{information}} template.
e.g. I uploaded a file and tried to use my usual attribution: <nowiki>Chris
McKenna ([[user:Thryduulf|]])</nowiki>, not realising that a link to my user
page would be automatically applied. See:
http://commons.wikimedia.org/w/index.php?title=File:Voith_Schneider_propeller_on_Woolwich_Ferry.JPG&oldid=68926869
Solution 1:
* Check if wikilinks are included in string
**If present, do not add any links.
**If not present, add link as presently
Solution 2:
*Check if Wikilinks are included in string.
**If present, check whether target is the same as wizard would link to
***If yes, do not add any links.
***If no, append link to string (e.g. "([[user:]])")
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l