**How it should work****Motivation**:
TheCurrently, when refines parameter gets a string that corresponds to a previously defined reference.erencing different sections of the same book, the whole source always needs to be repeated, e.gand the references section may be cluttered by repeated appearances of the same source, with only slight variations. a reference that was named with `name="animal"` can then be refined through `<ref refines="animal">`So this is an attempt to bundle the info.
`<ref refines="animal"> Page 25 </ref>` should then lead to "Page 25" being printed in the references section, below the definition of the "animal" source,**How it should work**
The extends parameter gets a string that corresponds to a previously defined reference. and with an indent ([[ https://commons.wikimedia.org/wiki/Category:Wikimedia_Deutschland_%E2%80%93_Technische_W%C3%BCnsche#/media/File:Buchreferenzierungsmock_v2.png | see mock ]])e.g. a reference that was named with `name="animal"` can then be specified through `<ref extends="animal">`.
The refines-param is only valid per group.`<ref extends="animal"> Page 25 </ref>` should then lead to "Page 25" being printed in the references section, I.e.below the definition of the "animal" source, if there is a reference `<ref name="animal" group="part1">` and a refines `<ref refines="animal" group="part1">`, the refinement should be printed.and with an indent
The extends-attribute inherits the group parameter from the reference it is extending. if the refines was `<ref refines="animal">`,I.e. it would only print the refinement if "animal" was also defined in the standard references group.<ref name="A" group="G"> info </ref> can be extended by <ref extends="A"> details </ref> and the details will also be shown in group G.
Refined refs can also have a name. e.g. If there was `<ref refines="animal" name="animalpage25"> Page 25 </ref>`, `<ref name="animalpage25" />` would also link to the refined reference.
For compatibility with all the different languages the Cite extension works for, refined references are labeled with Arabic numbers after the main reference. E.g. 1.1, 1.2 etc.
It is not possible to refine a reference more than once (i.e. 1.1.1 never exists).
This is a concretchange needs to be implementation task for the proposal that was discussed in T138601.ed both for parsoid and the cite extension (see subtasks (which are to come ;) )
Currently, when referencing different secThis is a concrete implementations of the same book, task for the whole source always needs to be repeatedproposal that was discussed in T138601.
The wish to improve the referencing of multiple parts of the same source was part of the German-speaking community's technical wishlist in 2013, 2015 and of the international technical wishlist in 2015. For more info, see T100645.