mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Fix doc block for checkRefsNoReferences
Doesn't show an error for the default references group anymore. Only, if a custom group was defined, but no corresponding references tag added. Follow up: I9c7c13269d5ec355ccb280402aa8c0cedd208883 Change-Id: I67f4277b83b6b83ba5fc54cdcc021044b65f61c5
This commit is contained in:
parent
3cc1c62c8e
commit
ad929ad538
|
@ -1047,8 +1047,10 @@ class Cite {
|
|||
}
|
||||
|
||||
/**
|
||||
* Called at the end of page processing to append an error if refs were
|
||||
* used without a references tag.
|
||||
* Called at the end of page processing to append a default references
|
||||
* section, if refs were used without a main references tag. If there are references
|
||||
* in a custom group, and there is no references tag for it, show an error
|
||||
* message for that group.
|
||||
*
|
||||
* @param $afterParse bool true if called from the ParserAfterParse hook
|
||||
* @param $parser Parser
|
||||
|
|
Loading…
Reference in a new issue