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

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal ►

 ◄ 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)

Discussion[edit]

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

Voting[edit]

  • Support Support Debenben (talk) 18:37, 16 November 2018 (UTC)
  • Support Support Boehm (talk) 19:02, 16 November 2018 (UTC)
  • Support Support SEMMENDINGER (talk) 19:20, 16 November 2018 (UTC)
  • Support Support Tom Ja (talk) 20:05, 16 November 2018 (UTC)
  • Support Support DonBarredora (talk) 23:51, 16 November 2018 (UTC)
  • Support Support Liuxinyu970226 (talk) 04:42, 17 November 2018 (UTC)
  • Support Support Afernand74 (talk) 09:15, 17 November 2018 (UTC)
  • Support Support Atsme📞📧 15:48, 17 November 2018 (UTC)
  • Support SupportThanks for the fish! talkcontribs 20:04, 17 November 2018 (UTC)
  • Support Support Megatherium (talk) 20:34, 17 November 2018 (UTC)
  • Support Support Agusbou2015 (talk) 20:56, 17 November 2018 (UTC)
  • Support Support PopularOutcast (talk) 00:47, 18 November 2018 (UTC)
  • Support Support Temp3600 (talk) 05:53, 18 November 2018 (UTC)
  • Support Support Zeromonk (talk) 07:52, 19 November 2018 (UTC)
  • Support Support Noé (talk) 09:02, 19 November 2018 (UTC)
  • Support Support JAn Dudík (talk) 12:15, 20 November 2018 (UTC)
  • Support Support Lord van Tasm (talk) 13:58, 20 November 2018 (UTC)
  • Support Support Vulphere 15:15, 20 November 2018 (UTC)
  • Support Support Automatik (talk) 16:43, 20 November 2018 (UTC)
  • Support Support Rachel Helps (BYU) (talk) 18:59, 20 November 2018 (UTC)
  • Support Support Novak Watchmen (talk) 01:09, 21 November 2018 (UTC)
  • Support Support Penegal (talk) 08:46, 21 November 2018 (UTC)
  • Support Support Lyokoï (talk) 12:35, 21 November 2018 (UTC)
  • Support Support Ji.rodriguezmarin (talk) 20:23, 21 November 2018 (UTC)
  • Support Support No such user (talk) 19:18, 22 November 2018 (UTC)
  • Support Support Wargo (talk) 23:17, 22 November 2018 (UTC)
  • Support Support Siddhant (talk) 01:05, 23 November 2018 (UTC)
  • Support Support Gryllida 07:34, 23 November 2018 (UTC)
  • Support Support BBCLCD (talk) 08:09, 24 November 2018 (UTC)
  • Support Support Matěj Suchánek (talk) 08:56, 24 November 2018 (UTC)
  • Support Support Hmxhmx 11:04, 24 November 2018 (UTC)
  • Support 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 Support Alexei Kopylov (talk) 20:04, 24 November 2018 (UTC)
  • Support Support Arne (Amjaabc) (talk) 08:49, 25 November 2018 (UTC)
  • Support Support IKhitron (talk) 19:34, 25 November 2018 (UTC)
  • Support Support Ranjithsiji (talk) 22:46, 25 November 2018 (UTC)
  • Support Support Dvorapa (talk) 13:08, 27 November 2018 (UTC)
  • Support Support Minoo (talk) 20:22, 27 November 2018 (UTC)
  • Support Support Daniel Case (talk) 04:22, 28 November 2018 (UTC)
  • Support Support Alvarosinde (talk) 16:44, 29 November 2018 (UTC)
  • Support Support XanonymusX (talk) 17:01, 29 November 2018 (UTC)
  • Support 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)