mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-14 19:25:08 +00:00
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:
parent
e3be397f27
commit
d7fc63b66d
2
Cite.php
2
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
|
||||
|
|
|
@ -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<br />" . $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) );
|
||||
}
|
||||
|
|
|
@ -36,7 +36,5 @@
|
|||
"cite_references_link_accessibility_label": "Jump up",
|
||||
"cite_references_link_many_accessibility_label": "Jump up to:",
|
||||
"cite_references_prefix": "<ol class=\"references\">",
|
||||
"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."
|
||||
"cite_references_suffix": "</ol>"
|
||||
}
|
||||
|
|
|
@ -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 <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]]."
|
||||
"cite_references_suffix": "{{notranslate}}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue