Problem: I'm a fairly heavy editor, but I mainly do smaller copy edits (capitalization, metric units, ndashes) and fairly often I hoist content into a lead that fails to summarize. It's only a small percentage of my edits where I add new material with citation, so I haven't gone hardcore on citation tools. But what surprises me in the raw out-of-the-box edit window is that you can add a citation with a known URL, and when you press "submit" for your partially completed citation, it never says, "hey, someone else on this or another page entered a citation with the same title or URL, would you like to crib some of those fields?" Citation is supposed to be a default activity on Wikipedia, like breathing. So it strikes me that I shouldn't have to install something or activate a special/fancy/cozy/streamlined edit mode (fie to all of them) to get basic assistance in not duplicating prior work.
Proposed solution: URL and/or title of incomplete citation templates automatically checked for duplicate citations on same or other pages when doing a preview submission. (There could also be a dedicated button to preview citations only.)
Who would benefit: Anyone who wants to add cited material who isn't already an expert in the citation system.
More comments: I don't want to create another ticket for this, but it's very clearly a barrier to entry and self-evident paper cut how annoying it is to reuse an existing citation (from the same article) amending only the quotation field or page number fields on subsequent reuse. In my own editing, 90% of the time I notice resources that have been exploited by others, and that's how my bag of tricks expands over time; only in rare instances do I do a deliberate deep dive into the documentation pages. If an easy way to re-use a citation exists, amending only the page number, I sure haven't seen much evidence of other editors making use of this in the thousands of pages I visit in a typical year. Another aspect of citation that should be as painless as breathing. Also, when editing a section and some of the named citations won't resolve (because they are defined outside the section) would it be crazy to offer an button to *really* preview the edited section in the context of the whole page (as found when clicking "edit" on the current section heading? (The section edit URL would somehow need to capture the source page ID to make this work.)
I also get irritated when I see that there several independent references to the same work. If the references use the same URL or ISBN or DOI, they seem easy to recognize as duplicates. Otherwise it can be hard to identify. I think that there is a way to produce references to the same work that differ only in the page number, but they are difficult enough for me that I don't remember how to find them. --Error (talk) 18:22, 11 January 2022 (UTC)[reply]
Yes, please! I have been using refill to fix this for ages, which works pretty well. I think that AWB might do it automatically too but I'm not as familiar with that. It might be possible for visual editor to automatically fix this on publish, which can be done manually by copying and pasting the same citation. It would be nice to see a citation tool that can automate bibliography-style citations as well. Asukite (talk) 16:03, 12 January 2022 (UTC)[reply]
Take into account that there might be nearly equal entries which only differ in page, section etc. This should be handled too.—Hfst (talk) 06:54, 20 January 2022 (UTC)[reply]
Yep, that's something that makes this a little trickier than it might at first seem. But it's still worthwhile, I think. {{u|Sdkb}}talk19:13, 28 January 2022 (UTC)[reply]
Why is this a problem that needs to be addressed? If a page has say:
Here is some text ... here is some more <ref>ReferenceA</ref> ... maybe a few paragraphs of text ... some more text <ref>That SAME ReferenceA</ref>...more text...more text.
I'm missing why having a "duplicate" full reference is a problem. Specifically because of this use-case: I edit that page and just delete the first referenced text along with the reference attached to it. If the second instance was just some sort of pointer to the first, now the second statement that I, the editor, didn't even see has a broken reference. @Ahecht: can you explain a bit more? — xaosfluxTalk16:22, 2 February 2022 (UTC)[reply]
@Xaosflux Not sure why you pinged me on this, as I neither created nor supported this proposal (yet). That said, the issue is that it clogs up the references section, making it longer than necessary, and makes it difficult to "browse" the references or assess notability. In regards to your use case, at least on enwiki, en:User:AnomieBOT/source/tasks/OrphanReferenceFixer.pm will automatically search for and fix those broken references. -- Ahecht (TALK PAGE) 16:38, 2 February 2022 (UTC)[reply]
@Ahecht: oops, bad copy and paste from above, that was meant for @MaxEnt: - but thanks for the input, feel free to stop replying to this. I don't think it would be a good idea to implement a software feature that may lead to a situation that would be dependent on other editors (even if via bots) to clean up orphaned reference labels (where the immediate affect from that use case is that readers will have no reference provided). — xaosfluxTalk16:50, 2 February 2022 (UTC)[reply]
Support One day, we'll centralize citations at Wikidata, rather than copying info for a work every time it's used. But until then, finding duplicates within the same article is at least a good start. {{u|Sdkb}}talk19:14, 28 January 2022 (UTC)[reply]
Support It seems like this could be done relatively easily with structured data citations (i.e. hosted on Wikidata), and I support efforts to get us there. Silver hr (talk) 19:33, 1 February 2022 (UTC)[reply]
Oppose per my note above, having a reference in the text multiple times can be a feature, some options like putting references in a shared repository seem useful - but that isn't what this is proposing as a solution. — xaosfluxTalk16:52, 2 February 2022 (UTC)[reply]
Also the proposed solution seems incomplete. It is asking for some software to be made to "find" something, but then what? Think it is very important that we never discourage contributors from making an edit with a refernce; even a notice "Hey you, your references is a duplicate!" could lead to them just abandoning their edit. — xaosfluxTalk16:55, 2 February 2022 (UTC)[reply]
Oppose I support an "Automatic duplicate citation finder", as in a tool that can be run to automatically detect and consolidate references, but this proposal just seems to be for displaying an error message when previewing an edit with duplicate citations. -- Ahecht (TALK PAGE) 18:00, 2 February 2022 (UTC)[reply]
But manually finding and consolidating years of built-up duplicate refs in an article is a major chore, so we shouldn't be warning every editor who makes a minor spelling correcting that they need to do it before saving their changes. -- Ahecht (TALK PAGE) 18:00, 8 February 2022 (UTC)[reply]
Support Wow, i love this idea.. for the fact that i always have to look down to the reference list to confirm whether the new reference I was adding doesnt already exist on the same page. Thumbs up Uncle Bash007 (talk) 21:59, 7 February 2022 (UTC)[reply]
Support overall, though I wonder how feasible it is when it comes to stealth duplicates – for example, citing two separate editions of a book with different ISBN numbers but otherwise identical text (though I imagine "say where you saw it" applies here...). -BRAINULATOR9 (TALK)17:19, 11 February 2022 (UTC)[reply]