https://bugzilla.wikimedia.org/show_bug.cgi?id=35675
--- Comment #6 from Platonides <[email protected]> 2012-04-12 21:09:26 UTC --- > You can set CITE_DEFAULT_GROUP by including the following lines in your > LocalSettings.php file in this order: > > define( 'CITE_DEFAULT_GROUP', 'lower-roman' ); > require_once("$IP/extensions/Cite/Cite.php"); > > (I'm assuming this is an intended feature for wikis which prefer not to have > decimal footnotes – ie [1], [2], [3] – by default.) I don't think it's an intended feature, since you would be getting PHP Notice: Constant CITE_DEFAULT_GROUP already defined in Cite.php on line 37 Is that documented anywhere? > This example currently works assuming you have a file at: > > MediaWiki:Cite_link_label_group-lower-roman CITE_DEFAULT_GROUP predates Cite_link_label_group-<xyz> by 2 years, and no intention of custom CITE_DEFAULT_GROUP was done on creating them at d9b8f32959 > I'm not sure about the possibility of adding parser tests as replicating the > bug requires changing the value of CITE_DEFAULT_GROUP which breaks the current > parser tests. However the attached patch does now manage to pass all the > current parser tests. If it were to be implemented, it should have been a variable. You're relying on undocumented behavior. -- 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
