Last modified: 2014-03-24 20:53:44 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 T64996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62996 - <ref> in template parameter exposes UNIQ string on preview
<ref> in template parameter exposes UNIQ string on preview
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: UNIQ
  Show dependency treegraph
 
Reported: 2014-03-24 06:25 UTC by SJ
Modified: 2014-03-24 20:53 UTC (History)
2 users (show)

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


Attachments

Description SJ 2014-03-24 06:25:50 UTC
In the infobox template for a region, inserting a ref in this variable:

|area_rank = 212th<ref>Including [[Rose Atoll]] and [[Swains Island]]</ref>

Generates this preview output in the infobox:

(212thUNIQ92fb9323ed1577ec-nowiki-00000009-QINU1UNIQ92fb9323ed1577ec-nowiki-0000000A-QINU)

With 212th linked as expected, and the UNIQ...QINU string linked to "#cite_note-1" as expected.  Tested on w:en:American_Samoa.
Comment 1 Umherirrender 2014-03-24 20:51:15 UTC
Template:Infobox country contains:

{{#if:{{{area_rank|}}} |&#32;([[List of countries and dependencies by area|{{{area_rank}}}]]) }}

So this looks like bug 25417.
You can bypass this by adding a new parameter maybe named area_rank_ref and add it behind the wikilink, if set.

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


Navigation
Links