Open main menu

Community Wishlist Survey 2019/Editing/Easy way to reference pictures

< Community Wishlist Survey 2019‎ | Editing

 ◄ Back to Editing  The survey has concluded. Here are the results!


  • Problem: If you want an unambiguous reference to a figure in the text, you currently have to number all figures manually or write "see figure on left/right/below... the second one in this paragraph... the one where the electric field lines are marked in red" and hope that nobody changes the picture or its location and the reader already knows how to distinguish electric from the magnetic field lines. Re-submission of Community_Wishlist_Survey_2017/Editing#Automatically_create_a_reference_id_for_pictures_with_a_label
  • Who would benefit:
  • Proposed solution: If you write <figref>Particle-path.png</figref> in the source code, all figures in the article are numbered automatically and <figref>Particle-path.png</figref> is replaced with the number that [[File:Particle-path.png|caption of the figure]] has been assigned. See scholarpedia for an example of how it can be implemented.
  • More comments:
  • Phabricator tickets: T7600
  • Proposer: Debenben (talk) 17:05, 11 November 2018 (UTC)

DiscussionEdit

  • File names do not uniquely identify files on a page. --Tgr (talk) 09:31, 25 November 2018 (UTC)

VotingEdit

  •   Support Debenben (talk) 18:37, 16 November 2018 (UTC)
  •   Support Boehm (talk) 19:02, 16 November 2018 (UTC)
  •   Support SEMMENDINGER (talk) 19:20, 16 November 2018 (UTC)
  •   Support Tom Ja (talk) 20:05, 16 November 2018 (UTC)
  •   Support DonBarredora (talk) 23:51, 16 November 2018 (UTC)
  •   Support Liuxinyu970226 (talk) 04:42, 17 November 2018 (UTC)
  •   Support Afernand74 (talk) 09:15, 17 November 2018 (UTC)
  •   Support Atsme📞📧 15:48, 17 November 2018 (UTC)
  •   SupportThanks for the fish! talkcontribs 20:04, 17 November 2018 (UTC)
  •   Support Megatherium (talk) 20:34, 17 November 2018 (UTC)
  •   Support Agusbou2015 (talk) 20:56, 17 November 2018 (UTC)
  •   Support PopularOutcast (talk) 00:47, 18 November 2018 (UTC)
  •   Support Temp3600 (talk) 05:53, 18 November 2018 (UTC)
  •   Support Zeromonk (talk) 07:52, 19 November 2018 (UTC)
  •   Support Noé (talk) 09:02, 19 November 2018 (UTC)
  •   Support JAn Dudík (talk) 12:15, 20 November 2018 (UTC)
  •   Support Lord van Tasm (talk) 13:58, 20 November 2018 (UTC)
  •   Support Vulphere 15:15, 20 November 2018 (UTC)
  •   Support Automatik (talk) 16:43, 20 November 2018 (UTC)
  •   Support Rachel Helps (BYU) (talk) 18:59, 20 November 2018 (UTC)
  •   Support Novak Watchmen (talk) 01:09, 21 November 2018 (UTC)
  •   Support Penegal (talk) 08:46, 21 November 2018 (UTC)
  •   Support Lyokoï (talk) 12:35, 21 November 2018 (UTC)
  •   Support Ji.rodriguezmarin (talk) 20:23, 21 November 2018 (UTC)
  •   Support No such user (talk) 19:18, 22 November 2018 (UTC)
  •   Support Wargo (talk) 23:17, 22 November 2018 (UTC)
  •   Support Siddhant (talk) 01:05, 23 November 2018 (UTC)
  •   Support Gryllida 07:34, 23 November 2018 (UTC)
  •   Support BBCLCD (talk) 08:09, 24 November 2018 (UTC)
  •   Support Matěj Suchánek (talk) 08:56, 24 November 2018 (UTC)
  •   Support Hmxhmx 11:04, 24 November 2018 (UTC)
  •   Support This will be very useful, especially if it's not confined to pictures: it's good to be able to also reference media files, as well as pieces of text (e.g. theorems/lemmas in maths articles, glossed text in linguistics articles etc.) Uanfala (talk) 19:52, 24 November 2018 (UTC)
  •   Support Alexei Kopylov (talk) 20:04, 24 November 2018 (UTC)
  •   Support Arne (Amjaabc) (talk) 08:49, 25 November 2018 (UTC)
  •   Support IKhitron (talk) 19:34, 25 November 2018 (UTC)
  •   Support Ranjithsiji (talk) 22:46, 25 November 2018 (UTC)
  •   Support Dvorapa (talk) 13:08, 27 November 2018 (UTC)
  •   Support Minoo (talk) 20:22, 27 November 2018 (UTC)
  •   Support Daniel Case (talk) 04:22, 28 November 2018 (UTC)
  •   Support Alvarosinde (talk) 16:44, 29 November 2018 (UTC)
  •   Support XanonymusX (talk) 17:01, 29 November 2018 (UTC)
  •   Support A two-part system consisting of a reference in running text and a unique identifier connected to the referenced element (image link parameter for media, HTML/XML argument for tables and formulae etc.) would address Tgr’s and Uanfala’s concerns. Inline references without a referenced object would get an error message similar to what Cite uses (actually, this functionality might be part of Cite as well). Tacsipacsi (talk) 16:58, 30 November 2018 (UTC)