X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPreferences.php;h=248b308d4d1deb3bad15583ea31b9f340f23f261;hb=32d052537191da40afcd3d50f1f93cdba34db463;hp=fbb7b510ef2bb7ca49564cd258bb1f3074037137;hpb=ef9a75c4d545c2edde9d3f0ea78ba92cf6b9658b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Preferences.php b/includes/Preferences.php index fbb7b510ef..248b308d4d 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -751,7 +751,11 @@ class Preferences { 'type' => 'select', 'section' => 'rendering/advancedrendering', 'options' => $stubThresholdOptions, - 'label-raw' => $context->msg( 'stub-threshold' )->text(), // Raw HTML message. Yay? + // This is not a raw HTML message; label-raw is needed for the manual + 'label-raw' => $context->msg( 'stub-threshold' )->rawParams( + '' . + $context->msg( 'stub-threshold-sample-link' )->parse() . + '' )->parse(), ); $defaultPreferences['showhiddencats'] = array( @@ -888,12 +892,6 @@ class Preferences { 'section' => 'rc/advancedrc', ); - $defaultPreferences['hidecategorization'] = array( - 'type' => 'toggle', - 'label-message' => 'tog-hidecategorization', - 'section' => 'rc/advancedrc', - ); - if ( $user->useRCPatrol() ) { $defaultPreferences['hidepatrolled'] = array( 'type' => 'toggle', @@ -1001,12 +999,6 @@ class Preferences { 'label-message' => 'tog-watchlisthideliu', ); - $defaultPreferences['watchlisthidecategorization'] = array( - 'type' => 'toggle', - 'section' => 'watchlist/advancedwatchlist', - 'label-message' => 'tog-watchlisthidecategorization', - ); - if ( $user->useRCPatrol() ) { $defaultPreferences['watchlisthidepatrolled'] = array( 'type' => 'toggle',