allow extensions that use 'UserCreateForm' to add checkboxes into the signup form...
authorJack Phoenix <ashley@users.mediawiki.org>
Fri, 16 Jan 2009 23:04:13 +0000 (23:04 +0000)
committerJack Phoenix <ashley@users.mediawiki.org>
Fri, 16 Jan 2009 23:04:13 +0000 (23:04 +0000)
RELEASE-NOTES
includes/templates/Userlogin.php

index 3d4db25..9cb11ee 100644 (file)
@@ -34,6 +34,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
   to automatically add a summary or a minor edit.
 * (bug 16852) padleft and padright now accept multiletter pad characters
+* When using 'UserCreateForm' hook to add new checkboxes into Special:UserLogin/signup,
+  the messages can now contain HTML to allow hyperlinking to the site's Terms
+  of Service page, for example
   
 === Bug fixes in 1.15 ===
 * (bug 16968) Special:Upload no longer throws useless warnings.
index c4a60b6..1caa7ea 100644 (file)
@@ -242,7 +242,7 @@ class UsercreateTemplate extends QuickTemplate {
                                        if ( $inputItem['type'] == 'checkbox' && !empty( $inputItem['msg'] ) ) {
                                                ?>
                                <label for="<?php echo htmlspecialchars( $inputItem['name'] ); ?>"><?php
-                                       $this->msg( $inputItem['msg'] ) ?></label><?php
+                                       $this->msgHtml( $inputItem['msg'] ) ?></label><?php
                                        }
                                ?>
                        </td>