From d7fc63b66dda81545fcbe52c801c9ea888a21e91 Mon Sep 17 00:00:00 2001 From: Jforrester Date: Thu, 24 Jul 2014 19:24:37 +0000 Subject: [PATCH] Revert "Provide way for users to find articles with the automatic " Apparently causing parser failures and corruptions in production. This reverts commit 44472de458424175f9b42862e5a433025486bb6b. Change-Id: I923ed39f405d926b70a5098cbde6eee0538eee51 --- Cite.php | 2 -- Cite_body.php | 1 - i18n/core/en.json | 4 +--- i18n/core/qqq.json | 4 +--- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Cite.php b/Cite.php index 2fe101a7..11964415 100644 --- a/Cite.php +++ b/Cite.php @@ -33,8 +33,6 @@ $wgExtensionMessagesFiles['Cite'] = __DIR__ . "/Cite.i18n.php"; $wgAutoloadClasses['Cite'] = __DIR__ . "/Cite_body.php"; $wgSpecialPageGroups['Cite'] = 'pagetools'; -$wgTrackingCategories[] = 'cite_error_refs_without_references_category'; - define( 'CITE_DEFAULT_GROUP', '' ); /** * The emergency shut-off switch. Override in local settings to disable diff --git a/Cite_body.php b/Cite_body.php index 778e583d..f88919fd 100644 --- a/Cite_body.php +++ b/Cite_body.php @@ -1069,7 +1069,6 @@ class Cite { } if ( $group == CITE_DEFAULT_GROUP ) { $text .= $this->referencesFormat( $group, '', '' ); - $parser->addTrackingCategory( 'cite_error_refs_without_references_category' ); } else { $text .= "\n
" . $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) ); } diff --git a/i18n/core/en.json b/i18n/core/en.json index e623bb2a..c5aa5bec 100644 --- a/i18n/core/en.json +++ b/i18n/core/en.json @@ -36,7 +36,5 @@ "cite_references_link_accessibility_label": "Jump up", "cite_references_link_many_accessibility_label": "Jump up to:", "cite_references_prefix": "
    ", - "cite_references_suffix": "
", - "cite_error_refs_without_references_category": "-", - "cite_error_refs_without_references_category-desc": "The page has s defined with no specific group, but it has no explicit tag." + "cite_references_suffix": "" } diff --git a/i18n/core/qqq.json b/i18n/core/qqq.json index 0a4a14af..e767ca8d 100644 --- a/i18n/core/qqq.json +++ b/i18n/core/qqq.json @@ -49,7 +49,5 @@ "cite_references_link_accessibility_label": "Text for screen readers to describe the jump to citation link (\"↑\").\n\nSee also:\n* {{msg-mw|Cite references link many accessibility label}} - if the citation is used multiple times", "cite_references_link_many_accessibility_label": "Text for screen readers to describe the jump to citation links (a b c ...) for citations which are used in multiple places.\n\nThis is going to be prepended to the first link, the following ones will just be read by screen readers as they are visible.\n\nSee also:\n* {{msg-mw|Cite references link accessibility label}} - if the citation is used one time", "cite_references_prefix": "{{notranslate}}", - "cite_references_suffix": "{{notranslate}}", - "cite_error_refs_without_references_category": "Name of [[mw:Special:MyLanguage/Help:Tracking categories|tracking category]] where pages that have s but not are listed.", - "cite_error_refs_without_references_category-desc": "Automatically-included description. Shown on [[Special:TrackingCategories]]." + "cite_references_suffix": "{{notranslate}}" }