Revert "Provide way for users to find articles with the automatic <references />"

Apparently causing parser failures and corruptions in production.

This reverts commit 44472de458.

Change-Id: I923ed39f405d926b70a5098cbde6eee0538eee51
This commit is contained in:
Jforrester 2014-07-24 19:24:37 +00:00 committed by James D. Forrester
parent e3be397f27
commit d7fc63b66d
4 changed files with 2 additions and 9 deletions

View file

@ -33,8 +33,6 @@ $wgExtensionMessagesFiles['Cite'] = __DIR__ . "/Cite.i18n.php";
$wgAutoloadClasses['Cite'] = __DIR__ . "/Cite_body.php"; $wgAutoloadClasses['Cite'] = __DIR__ . "/Cite_body.php";
$wgSpecialPageGroups['Cite'] = 'pagetools'; $wgSpecialPageGroups['Cite'] = 'pagetools';
$wgTrackingCategories[] = 'cite_error_refs_without_references_category';
define( 'CITE_DEFAULT_GROUP', '' ); define( 'CITE_DEFAULT_GROUP', '' );
/** /**
* The emergency shut-off switch. Override in local settings to disable * The emergency shut-off switch. Override in local settings to disable

View file

@ -1069,7 +1069,6 @@ class Cite {
} }
if ( $group == CITE_DEFAULT_GROUP ) { if ( $group == CITE_DEFAULT_GROUP ) {
$text .= $this->referencesFormat( $group, '', '' ); $text .= $this->referencesFormat( $group, '', '' );
$parser->addTrackingCategory( 'cite_error_refs_without_references_category' );
} else { } else {
$text .= "\n<br />" . $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) ); $text .= "\n<br />" . $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) );
} }

View file

@ -36,7 +36,5 @@
"cite_references_link_accessibility_label": "Jump up", "cite_references_link_accessibility_label": "Jump up",
"cite_references_link_many_accessibility_label": "Jump up to:", "cite_references_link_many_accessibility_label": "Jump up to:",
"cite_references_prefix": "<ol class=\"references\">", "cite_references_prefix": "<ol class=\"references\">",
"cite_references_suffix": "</ol>", "cite_references_suffix": "</ol>"
"cite_error_refs_without_references_category": "-",
"cite_error_refs_without_references_category-desc": "The page has <code><nowiki><ref></nowiki></code>s defined with no specific group, but it has no explicit <code><nowiki><references /></nowiki></code> tag."
} }

View file

@ -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_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_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_prefix": "{{notranslate}}",
"cite_references_suffix": "{{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 <code><nowiki><ref></nowiki></code>s but not <code><nowiki><references /></nowiki></code> are listed.",
"cite_error_refs_without_references_category-desc": "Automatically-included <code><nowiki><references /></nowiki></code> description. Shown on [[Special:TrackingCategories]]."
} }