Author: csvfiles
Description:
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?
Version: unspecified
Severity: enhancement