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

--- Comment #15 from Allen Stambaugh <allen4na...@gmail.com> 2011-03-03 
19:18:27 UTC ---
I think I have come up with the changes that are needed but
[[MediaWiki:Common.css]] will still need to be edited.

Cite_body.php

    function refKey( $key, $num = null ) {
+        if ( $group == '@alpha' ) {
+            $prefix = wfMsgForContent(
'cite_reference_link_prefix_group-@alpha' );
+        } elseif ( $group == '@greek' ) {
+            $prefix = wfMsgForContent(
'cite_reference_link_prefix_group-@greek' );
+        } else {
            $prefix = wfMsgForContent( 'cite_reference_link_prefix' );
+        }
        $suffix = wfMsgForContent( 'cite_reference_link_suffix' );
        if ( isset( $num ) )
            $key = wfMsgForContentNoTrans( 'cite_reference_link_key_with_num',
$key, $num );

        return $prefix . $key . $suffix;
    }

Cite.i18n.php

    'cite_references_prefix' => '<ol class="references">',
+    'cite_references_prefix_group-@alpha' => '<ol class="references alpha">',
+    'cite_references_prefix_group-@greek' => '<ol class="references greek">',
    'cite_references_suffix' => '</ol>',

Hopefully this will make it unnecessary to use Parser Functions to fix this.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to