https://bugzilla.wikimedia.org/show_bug.cgi?id=21795
Summary: Camera categories: parse category and switch in mediawiki namespace Product: MediaWiki Version: 1.16 Platform: All URL: http://commons.wikimedia.org/wiki/MediaWiki:Exif-model- value OS/Version: All Status: NEW Severity: major Priority: Normal Component: Images and files AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: test5...@myway.com CC: innocentkil...@gmail.com Allow categorization based on "model" value in exif data in the following ways: (1) Using "[[Category:Exif model: $1]]" as value for "MediaWiki:Exif-model-value" This currently adds the category to the file description page, but the file doesn't get categorized in the category. If the file description page already contains an identical category, the category is displayed twice. (2) Using the following value for "MediaWiki:Exif-model-value": {{#switch:$1 |NIKON D200=[[Category:Taken with Nikon D200 (exif)]] |[[Category:Taken with $1 (exif)]] }} Currently the switch function doesn't seem to work. Based on: *http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2007Oct#Image_Metadata *the history of http://commons.wikimedia.org/wiki/Template:Exif-make-value (used from http://commons.wikimedia.org/wiki/MediaWiki:Exif-make-value ), it appears that this used to work. (3) Possibly allow a combination of "exif-make-value" and "exif-model-value" to select the category. Fixing at least (1) of the above would allow to generate categories for cameras automatically, see: http://commons.wikimedia.org/wiki/Category:Photographs_by_camera for manually made ones. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l