Topic on Project:Support desk

delete watchlisttoken

5
Marienberg2 (talkcontribs)

Hi, im using MediaWiki 1.24, PHP 5.3, MySQL 5.1.72 and VectorSkin on my Site (matura.marienberg.at )

How can I delete the watchlisttoken (the white/blue star next to the searchbox) for all users who are logged in. I've already hidden the watchlist-Link in the personal-url with css (MediaWiki:Common.css) but I can't find how to get rid of this token.

Thanks, Ray

88.130.83.246 (talkcontribs)

Adding

#ca-watch { display:none!important; }

will hide the star symbol just as you hide the other tabs currently.

91.114.194.144 (talkcontribs)

Thanks a lot!

By adding

  1. ca-watch { display:none!important; }
  2. ca-unwatch { display:none!important; }

the token was gone.

Ricordisamoa (talkcontribs)

I don't know what the proper name for the #ca-watch star is, but I'm almost sure the real "watchlist token" is the one described in MediaWiki:Prefs-watchlist-token.

88.130.83.246 (talkcontribs)

What my CSS hides is the star symbol.

What Ricordisamoaā€ˇ speaks about is a text, which shows up in the user preferences (I believe?). If you in fact want to hide options in the user preferences, then you should not use CSS to do that, but you should use the configuration variable $wgHiddenPrefs in the LocalSettings.php file!

$wgHiddenPrefs[] = 'watchlisttoken';

in LocalSettings.php should hide that entry (according to the docs, but untested).

Reply to "delete watchlisttoken"