https://bugzilla.wikimedia.org/show_bug.cgi?id=36523
Web browser: ---
Bug #: 36523
Summary: File namespace specific magic words
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: File management
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Magic words such as {{FILEWIDTH}}, {{FILEHEIGHT}}, {{FILESIZE}},
{{FILEEXTENSION}} would be helpful to me. I want to categorize files on commons
based on these values.
For example, I want to be able to be able to determine if an images resolution
(height x width) is within a certain threshold. Likewise I want to be able to
determine if the image is widescreen or not.
I would also like to check the filesize is reasonable so that it isn't too
large or perhaps too small.
I also want to know the file extension so as to be able to eliminate file-types
such as "pdf", "svg", "ogg", "ogv" and etc when trying to compile a list of
files that may be worthy for desktop backgrounds.
I could achieve all of these and more if I had such magic words. The
information I seek is present on file description pages already though I am
unsure how those are generated.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l