X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRecentchanges.php;h=96d512c4a5e01b3b6fa39c1b29b98dd0181ccc43;hb=e2af4108ae9b0cdada47bf2ca66497384ac9016a;hp=4b2d2d4e35f6f97a20e6bc4e45a7b0b26f271fb3;hpb=4f985950ba5df1efa0f6d91ccaf52a55e33ece00;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 4b2d2d4e35..96d512c4a5 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -83,7 +83,6 @@ class SpecialRecentChanges extends ChangesListSpecialPage { $opts->add( 'hideliu', false ); $opts->add( 'hidepatrolled', $user->getBoolOption( 'hidepatrolled' ) ); $opts->add( 'hidemyself', false ); - $opts->add( 'hidecategorization', $user->getBoolOption( 'hidecategorization' ) ); $opts->add( 'categories', '' ); $opts->add( 'categories_any', false ); @@ -139,9 +138,6 @@ class SpecialRecentChanges extends ChangesListSpecialPage { if ( 'hidemyself' === $bit ) { $opts['hidemyself'] = true; } - if ( 'hidecategorization' === $bit ) { - $opts['hidecategorization'] = true; - } if ( is_numeric( $bit ) ) { $opts['limit'] = $bit; @@ -727,8 +723,7 @@ class SpecialRecentChanges extends ChangesListSpecialPage { 'hideanons' => 'rcshowhideanons', 'hideliu' => 'rcshowhideliu', 'hidepatrolled' => 'rcshowhidepatr', - 'hidemyself' => 'rcshowhidemine', - 'hidecategorization' => 'rcshowhidecategorization' + 'hidemyself' => 'rcshowhidemine' ); $showhide = array( 'show', 'hide' ); @@ -746,8 +741,7 @@ class SpecialRecentChanges extends ChangesListSpecialPage { // The following messages are used here: // rcshowhideminor-show, rcshowhideminor-hide, rcshowhidebots-show, rcshowhidebots-hide, // rcshowhideanons-show, rcshowhideanons-hide, rcshowhideliu-show, rcshowhideliu-hide, - // rcshowhidepatr-show, rcshowhidepatr-hide, rcshowhidemine-show, rcshowhidemine-hide, - // rcshowhidecategorization-show, rcshowhidecategorization-hide. + // rcshowhidepatr-show, rcshowhidepatr-hide, rcshowhidemine-show, rcshowhidemine-hide. $linkMessage = $this->msg( $msg . '-' . $showhide[1 - $options[$key]] ); // Extensions can define additional filters, but don't need to define the corresponding // messages. If they don't exist, just fall back to 'show' and 'hide'.