User "Krinkle" posted a comment on MediaWiki.r102796. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102796#c26059 Commit summary:
[RL2] Followup r102789, use bin2hex() instead of md5() to encode gadget IDs. Also apply this technique to repository IDs and category IDs used in preference section IDs; this is now possible because bin2hex() is easy to reverse (needed in preferencesGetLegend()) Comment: Nice, Preferences is using the key of the <code>$preferences</code> array for the database and the <code>name</code> key of the array it contains for interaction with the front-end, mapping it both ways. Kinda makes sense since the array value is passed to HTMLForm (which operates independently), although within the preferences both will be the same in many cases. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
