Page MenuHomePhabricator

Attach source files (in their original file format) to uploaded images
Closed, ResolvedPublic

Description

Author: ryan.reich

Description:
As a mathematician editor of Wikipedia, all of my file uploads are diagrams I have created using LaTeX. Although now I upload them as SVG files, which are at least editable, there is no real indication of the logical structure of the image, only its elements (however logically described as images). I think it would be a useful service to allow somehow attaching the source LaTeX file (or files) to the image so that it could actually be edited by someone else, rather than laboriously and imprecisely recreated.

One technique is simply to rename the LaTeX source with an acceptable image file suffix (i.e. file.tex -> file.svg but is still a TeX file) and upload it alongside with the image, but this is confusing both to editors and the software, if it is even possible (I haven't tried). Also, it is impossible to indicate the association between versions of the source code and versions of the final image, which would be useful for exactly the same reason revision histories are useful in articles.


Version: unspecified
Severity: enhancement

Details

Reference
bz17012

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:24 PM
bzimport set Reference to bz17012.
bzimport added a subscriber: Unknown Object (MLST).

mike.lifeguard+bugs wrote:

LaTeX can maybe be done as <math> markup in a template then included.

However for other stuff (and maybe LaTeX too) we still want some way to accomplishing this. Uploading .tex files is a perrennial request, and we really should be able to get it done, along with other file types for graphing, music sequencer files etc etc

Currently some music sequencer filetypes are in the dependency, however there are some bug reports for others as well. I couldn't immediately find them, but listing them there would be nice.

Aklapper renamed this task from Attach source files to uploaded images to Attach source files (in their original file format) to uploaded images.Oct 12 2020, 5:38 AM
Aklapper removed a subscriber: wikibugs-l-list.
JoKalliauer claimed this task.
JoKalliauer subscribed.

1)For LaTeX there is no need to need to upload a LaTeX-file just put it the source-code into the description.
Gnuplot-Example: https://commons.wikimedia.org/wiki/File:Drini_nonuniformconvergence_SVG.svg#filedesc
LaTeX-Example: https://commons.wikimedia.org/wiki/File:LaTeX_logo.svg#filedesc

2)Any source files could be uploaded to https://commonsarchive.wmflabs.org
AutoCAD-example: https://commonsarchive.wmflabs.org/wiki/File:Det_JoKa008-Model.dwg
LaTeX-example: https://commonsarchive.wmflabs.org/wiki/File:LaTeX_logo.tex