X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fskins%2FSkinTemplate.php;h=4d7c03a1ee5056a981117b27054ca02601adf07b;hb=3de7e73bd0f0ddf5d7c38fd46edfae96d1a64e40;hp=baf9d95478cdc5b50d1ca2d4c588c8c5d75049ee;hpb=35f61c7c4b38388dc498f898193f1dda0461e0b3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php index baf9d95478..4d7c03a1ee 100644 --- a/includes/skins/SkinTemplate.php +++ b/includes/skins/SkinTemplate.php @@ -928,7 +928,7 @@ class SkinTemplate extends Skin { // section link if ( $showNewSection ) { // Adds new section link - //$content_navigation['actions']['addsection'] + // $content_navigation['actions']['addsection'] $content_navigation['views']['addsection'] = array( 'class' => ( $isEditing && $section == 'new' ) ? 'selected' : false, 'text' => wfMessageFallback( "$skname-action-addsection", 'addsection' ) @@ -1019,12 +1019,11 @@ class SkinTemplate extends Skin { * the global versions. */ $mode = $user->isWatched( $title ) ? 'unwatch' : 'watch'; - $token = WatchAction::getWatchToken( $title, $user, $mode ); $content_navigation['actions'][$mode] = array( 'class' => $onPage && ( $action == 'watch' || $action == 'unwatch' ) ? 'selected' : false, // uses 'watch' or 'unwatch' message 'text' => $this->msg( $mode )->text(), - 'href' => $title->getLocalURL( array( 'action' => $mode, 'token' => $token ) ) + 'href' => $title->getLocalURL( array( 'action' => $mode ) ) ); } }