# Apply the same CSS class used on the input to the message:
'cssclass' => $emailauthenticationclass,
);
- $defaultPreferences['emailaddress']['cssclass'] = $emailauthenticationclass;
}
}
'section' => 'watchlist/advancedwatchlist',
'label-message' => 'tog-watchlisthideliu',
);
+ $defaultPreferences['watchlistreloadautomatically'] = array(
+ 'type' => 'toggle',
+ 'section' => 'watchlist/advancedwatchlist',
+ 'label-message' => 'tog-watchlistreloadautomatically',
+ );
if ( $config->get( 'RCWatchCategoryMembership' ) ) {
$defaultPreferences['watchlisthidecategorization'] = array(
* @param IContextSource $context
* @param string $formClass
* @param array $remove Array of items to remove
- * @return HtmlForm
+ * @return PreferencesForm|HtmlForm
*/
static function getFormObject(
$user,