https://bugzilla.wikimedia.org/show_bug.cgi?id=53794
Web browser: ---
Bug ID: 53794
Summary: Modify link text on group references e.g to remove
blank
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Cite
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Links to references on a group are created with the group name on them as
[<groupname><blank><number>] (or in HTML, a link to the first reference to a
group called "C" will be created as <sup id="cite_ref-1" class="reference"><a
href="#cite_note-1">[C 1]</a></sup>)
I would like to be able to modify the way the link is generated (e.g to make [C
1] into [C1] to make references smaller, or into [C 1] so the reference is
not split up between lines)
The <sup> link is generated through the MediaWiki:cite_reference_link
configuration page. The "C 1" part is the parameter $3. Note the blank between
the group name (C) and the number of the reference (1).
On "Cite_body.php" there is a function named "linkRef" which calls this page
and passes the three parameters it requires. The $3 is passed as:
"$this->getLinkLabel( $label, $group, ( ( $group == CITE_DEFAULT_GROUP ) ? '' :
"$group " ) . $wgContLang->formatNum( $label ) )"
I'm afraid the blank space in my "[C 1]" reference is hardcoded in this line.
Can this be made into another parameter page, please?
--
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