Last modified: 2014-11-01 07:26:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32763, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30763 - Cite: If there's no <references /> block on the page, insert the wikitext for one automatically in the right place
Cite: If there's no <references /> block on the page, insert the wikitext for...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-05 06:11 UTC by Sue Gardner
Modified: 2014-11-01 07:26 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sue Gardner 2011-09-05 06:11:10 UTC
When a reference is first added to the page, the list of references at the bottom should be appended automatically using the format that is appropriate (e.g., {{reflist}}).

The purpose of this request is to make life easier for editors. Currently, when an editor adds a citation to an article using the <ref></ref> syntax, the citation is not visible  to readers until the editor also manually adds the wiki syntax (e.g., in enWP, {{Reflist}}). Also, in order to create a title for the references section in normal article style, the editor needs to manually add ==References== above {{Reflist}}. I do not believe there is any use case in which an editor would add a citation to an article, without also wanting to append the list of references at the bottom of the article. Therefore, I think the list of references should be appended automatically whenever a reference is first added to the page. This would save editors two rote manual steps.
Comment 1 Roan Kattouw 2011-09-05 15:17:00 UTC
This may be hairier than it sounds:
* whether the appropriate thing to use is <references /> or {{reflist}} or something else would need to be configurable somehow
* the name of the ==References== section would have to be similarly configurable (and translatable)
* it's not entirely clear where the references list and section should be added. If you look at https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Albert_Einstein&action=edit , the References section is not the last section on the page, and there's a bunch of invisible (language links, categories) and visible (various navigation boxes) things below the last section even. A dumb append to the bottom might be good enough, though, so people can move it elsewhere if they really care.
Comment 2 Brion Vibber 2011-09-19 21:51:28 UTC
I think really the proper thing to do is to go a little farther:

* create a sensible inline/popup view for references; use that for web output instead of an inline list of footnotes

* continue to output the footnote-style list for print view, but...

* let the *entire* printable reference list, including section title, be added and maintained by the plugin, at the end.

For back-compatibility, explicit use of <references/> could continue to output the footnote-style list inline (and like forcing the TOC location, this could suppress the auto-appended section/list).
Comment 3 James Forrester 2014-06-30 22:43:31 UTC
Bug 66860 means that this a references list now /shown/ if there is no <references />, but *not inserted* into the wikitext.

Re-labelling this to be clear, and reducing priority as the main cause of demand (broken pages) is now moot.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links