https://bugzilla.wikimedia.org/show_bug.cgi?id=35675

--- Comment #1 from [email protected] 2012-04-03 20:03:40 UTC ---
Created attachment 10373
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10373
respect CITE_DEFAULT_GROUP + and allow optional decimal footnotes where default
is something else

Here's a patch.

The problem was in the linkRef function

wfMsgForContentNoTrans(
    'cite_reference_link',
    $this->refKey( $key, $count ),
    $this->referencesKey( $key . $subkey ),
    $this->getLinkLabel( $label, $group,
        ( ( $group == CITE_DEFAULT_GROUP ) ? '' : "$group " ) .
$wgContLang->formatNum( $label ) )
)

where instead of CITE_DEFAULT_GROUP there should be an empty string.

I've made a few more changes however. In order to preserve the ability of
editors to use decimal footnotes on site which have not decimal footnotes set
as default, I've renamed them from '' (empty-string) to 'decimal'.

A side-effect of this is to remove the present ability to separate sets of
decimal footnotes on the same page: at present <ref>...</ref> is a separate
group from <ref group="decimal">...</ref>

-- 
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

Reply via email to