https://bugzilla.wikimedia.org/show_bug.cgi?id=4421
--- Comment #68 from Rob Lanphier (RobLa) <[email protected]> 2010-04-02 20:42:32 UTC --- > It's extremely hard for me to see why anyone would decide they prefer .jpeg to > .jpg (or vice versa) so much that they'd look through the source code, find > the > code that has the mapping, *and* ignore the comment warning them not to change > it. Even if they do something so pathologically stupid, it will be caught > quickly and isn't that hard to fix manually. I think you may be missing my point, and I also think you need to take a closer look at how things are currently done. Look here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/MimeMagic.php?view=markup (38 mime types, 9 with multiple file extensions) ...and here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/mime.types?view=markup (137 mime types, 36 with multiple file extensions) ...and here: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/docs/conf/mime.types (629 mime types, 86 with multiple file extensions) All current and future media types with multiple choices for file extension would need to be hardcoded to specify the immutable preferred version. Granted, not all or even most of these really matter, but even accounting for that, it still leaves a lot of management headache ensuring things stay "right". > No objection to checking in a preliminary version, but it wouldn't make any > sense to do a schema change only to decide we actually don't need it. r60772 isn't a preliminary version. It's a necessary portion of a complete final version that would be needed regardless of whether storing extensions in the database or using hardcoded extensions is the choice (or any other scheme, for that matter). There are no database changes in r60772. -- 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
