User "Siebrand" posted a comment on MediaWiki.r100269.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100269#c24590
Commit summary:

SocialProfile: allow specifying and showing the user's year of birth on social 
profile pages. Patch by Rinat Silnov.

To use this feature, go to Special:UpdateProfile/preferences, toggle the new 
"Show year of birth" option, save preferences, then add your birthday on 
Special:UpdateProfile, save again and now your birthday will be shown on your 
profile.

Do note that because of the mw.loader.using() call in 
UserProfile/UpdateProfile.js, this breaks backwards compatibility with 
pre-ResourceLoader MediaWikis (that is, 1.16 and older). I don't know if this 
works with 1.17, but I tested this against the current 1.18 branch.

Comment:

<pre>
+       'user-profile-personal-birthdate-with-year' => 'Date (MM/DD/YYYY)',
</pre>

Can this be changed based on the content language somehow? Month Day Year 
notation is very American, and confuses the heck out of most Europeans I know 
(including me). 

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to