* (bug 16697) Unicode combining characters are difficult to edit in some browsers
Adds font style option to preferences and adds default override for Lingala (ln)
message 'interwiki-desc-PREFIX', not really used anywhere yet though
* (bug 9691) Add type (signup or login) parameter to AuthPlugin::ModifyUITemplate()
* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
message 'interwiki-desc-PREFIX', not really used anywhere yet though
* (bug 9691) Add type (signup or login) parameter to AuthPlugin::ModifyUITemplate()
* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
+* (bug 16697) Unicode combining characters are difficult to edit in some browsers
=== Bug fixes in 1.16 ===
=== Bug fixes in 1.16 ===
'min' => 4,
'max' => 1000,
);
'min' => 4,
'max' => 1000,
);
+
+ $defaultPreferences['editfont'] =
+ array(
+ 'type' => 'select',
+ 'section' => 'editing/advancedediting',
+ 'label-message' => 'editfont-style',
+ 'options' => array(
+ wfMsg( 'editfont-default' ) => 'default',
+ wfMsg( 'editfont-monospace' ) => 'monospace',
+ wfMsg( 'editfont-sansserif' ) => 'sans-serif',
+ wfMsg( 'editfont-serif' ) => 'serif',
+ )
+ );
$defaultPreferences['previewontop'] =
array(
'type' => 'toggle',
$defaultPreferences['previewontop'] =
array(
'type' => 'toggle',
if( !$wgUser->getOption( 'editsection' ) ) {
$s .= ".editsection { display: none; }\n";
}
if( !$wgUser->getOption( 'editsection' ) ) {
$s .= ".editsection { display: none; }\n";
}
+ $fontstyle = $wgUser->getOption( 'editfont' );
+ if ( $fontstyle !== 'default' ) {
+ $s .= "textarea { font-family: $fontstyle; }\n";
+ }
'underline-never' => 'Never',
'underline-default' => 'Browser default',
'underline-never' => 'Never',
'underline-default' => 'Browser default',
+'editfont-style' => 'Edit area font style',
+'editfont-default' => 'Browser default',
+'editfont-monospace' => 'Monospaced font',
+'editfont-sansserif' => 'Sans-serif font',
+'editfont-serif' => 'Serif font',
+
# Dates
'sunday' => 'Sunday',
'monday' => 'Monday',
# Dates
'sunday' => 'Sunday',
'monday' => 'Monday',
+$defaultUserOptionOverrides = array(
+ 'editfont' => 'sans-serif', # poor font support
+);
+
$linkPrefixExtension = true;
# Same as the French (bug 8485)
$linkPrefixExtension = true;
# Same as the French (bug 8485)
'underline-never',
'underline-default',
),
'underline-never',
'underline-default',
),
+ 'editfont' => array(
+ 'editfont-style',
+ 'editfont-default',
+ 'editfont-monospace',
+ 'editfont-sansserif',
+ 'editfont-serif',
+ ),
'dates' => array(
'sunday',
'monday',
'dates' => array(
'sunday',
'monday',