https://bugzilla.wikimedia.org/show_bug.cgi?id=32165
--- Comment #14 from Jeroen De Dauw <jeroen_ded...@yahoo.com> 2011-11-06 04:00:11 UTC --- > Fragile. If user makes a typo I disagree this is an issue. This argument applies to all other settings as well. If an admin enters wrong stuff in the config file, you can't expect the software to magically guess what was intended. As long as it does not horribly break, it's good enough. Although a lot of stuff does break badly when entering crap. > There are many "mandatory" special properties enabled by default, like > Allows value, Has type, etc. These special options are not affected by > $smwgSpecialProperties. Should we name it $smwgExtraSpecialProperties? Good point. I think we can make a distinction between 2 types of special properties. Those that hold info about pages and those that don't. Making the fist ones configurable makes sense, but the second group you can't simply disable without breaking behavior of SMW or extensions. So I propose having a setting such as $smwgaPageSpecialProperties, which holds modification date, creation date, and any other special props applying to pages. > What about adding > define( 'SMW_CreationDate', '_CDAT' ); I don't like the idea of introducing another list of constants. Furthermore, constants are not good for setting values. If you disable SMW, these will causes fatal errors if present in your config. You can just have the user enter '_CDAT' and the like in the setting. As long as this is properly documented, I don't see any issues with this. -- 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