From a3e03402ef80dfff01d2dee1b7fdf8287ef1ea72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 12 Jan 2006 15:14:46 +0000 Subject: [PATCH] * (bug 4579) changing the default _ref and _note id's so that they can be styled with CSS2 attribute selectors * Documentation --- Cite.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cite.php b/Cite.php index 75b8e19bc..0feec2db5 100644 --- a/Cite.php +++ b/Cite.php @@ -12,6 +12,8 @@ if ( ! defined( 'MEDIAWIKI' ) ) * @link http://www.w3.org/TR/html4/struct/text.html#edef-CITE definition in HTML * @link http://www.w3.org/TR/2005/WD-xhtml2-20050527/mod-text.html#edef_text_cite definition in XHTML 2.0 * + * @bug 4579 + * * @author Ævar Arnfjörð Bjarmason * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later @@ -86,10 +88,10 @@ function wfCite() { */ 'cite_reference_link_key_with_num' => '$1_$2', // Ids produced by - 'cite_reference_link_prefix' => '_ref_', + 'cite_reference_link_prefix' => '_ref-', 'cite_reference_link_suffix' => '', // Ids produced by - 'cite_references_link_prefix' => '_note_', + 'cite_references_link_prefix' => '_note-', 'cite_references_link_suffix' => '', 'cite_reference_link' => '[[#$2|[$3]]]',