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◄ Editing  The survey has concluded. Here are the results!

Easy way to reference pictures

  • 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)[reply]

Discussion

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

Voting