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

From Meta, a Wikimedia project coordination wiki

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

Voting