https://bugzilla.wikimedia.org/show_bug.cgi?id=32165
--- Comment #20 from Van de Bugger <[email protected]> 2011-11-07 21:00:41 UTC --- Created attachment 9375 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9375 Alternative variant. Compared to the previous patch: 1. `getPropertyId' function added to `SMWLanguage' class. It returns property id (`_MDAT') for given property name (`Modification date'). Localized property names are accepted. 2. `storeData' function is refactored for easier adding more page properties. An implementation of a new property will require 3-4 lines of code (in this function; it will also require additions to language files and to `SMW_SQLStore2.php' and `SMW_DI_Property.php' files). Changes for SMW site admin: $smwgPageSpecialProperties can include localized property names. -- 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
