Page MenuHomePhabricator

Uploading different types of files (text files: *.mol, *.pdb)
Open, LowPublicFeature

Description

Author: f.marbach

Description:
Hello,

It would be great if we could upload other types of files such as ".mol" and
".pdb" for example, wich are text files describing molecular structures.

It should not be too complicated to enable uploading these files and show them
as text.

Thank you,


Version: unspecified
Severity: enhancement

Details

Reference
bz5535

Event Timeline

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

*Is the format supported by MediaWiki? Please open a bug for each format, unless you're sure they have the same requirements.

Is this a dupe of bug 16491 (Which is asking for the ability to upload molecule files, and have them display in the wiki with 3d models. Having just upload the files and have them display as text/xml/whatever might be easier, but its of questionable use [at least for wikipedia/wikimedia. I'm assuming you want this on a Wikimedia wiki])

You can upload the file here
https://commonsarchive.wmflabs.org

And add the template:
{{Commons Archive|My_raw_file.dng}}

in your image in commons, look this example:
https://commons.wikimedia.org/w/index.php?title=File:Agraulis_vanillae_at_Isla_Margarita.jpg&action=edit

Also, you can upload any file type like NEF, PSD.

A recent comment on mw.org brought up the request to support the .pdb file format for rendering chemical files. Mentioning it here for consideration.

https://www.mediawiki.org/wiki/Topic:Tpo0eyh0y9lnmd1c

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.