Manual talk:$wgDisableCounters
From MediaWiki.org
[edit] Operator Question
Why use "<>" instead of "==" or "===" when comparing user name?
<>is actually an alternative (and deprecated, as far as I know) syntax for!=. —Emufarmers(T|C) 21:02, 26 October 2008 (UTC)
[edit] How to skip update of the view counter when a page is accessed by a particular user
How do I disable the view count for articles when viewed by sysops without screwing the current setting (which doesn't count spider bots as well)? --201.92.106.179 04:04, 25 November 2009 (UTC)
[edit] Hide but don't disable
There should really be a way to hide the display of the counter without actually disabling the function of the counter. I want MW to count my views, I just don't want anyone to see them!
- I think so too. Maybe in 1.16.0 ? Let's hope for it! --SmartK 09:31, 14 July 2010 (UTC)
- #viewcount { display: none; } Max Semenik 09:54, 14 July 2010 (UTC)
- Wow this was fast. Thank you Max Semenik. I'm sorry to ask but where do I edit this line? In the "skins" directory? And is there also the option to turn of the "This page was last modified on..."? Thanks --SmartK 11:30, 14 July 2010 (UTC) again...
- See Manual:CSS. You can learn the IDs or classes of other parts of interface with Firebug or something similar. Max Semenik 11:36, 14 July 2010 (UTC)
- Thanx. I just found the file: skins/MonoBook.php It's perfect. Thank you again! --SmartK 12:33, 14 July 2010 (UTC)
- Don't edit the distribution!!! Just create page called MediaWiki:Common.css and put that into it. Max Semenik 12:45, 14 July 2010 (UTC)
- Ah OK... and this will effect all the skins and especially all the users? --SmartK 13:30, 14 July 2010 (UTC)
- Yes, unless people override it with their personal rules. Max Semenik 13:36, 14 July 2010 (UTC)
- Damm. It is not working..... I changed the MediaWiki:Common.css and inserted these two lines:
- Yes, unless people override it with their personal rules. Max Semenik 13:36, 14 July 2010 (UTC)
- Ah OK... and this will effect all the skins and especially all the users? --SmartK 13:30, 14 July 2010 (UTC)
- Don't edit the distribution!!! Just create page called MediaWiki:Common.css and put that into it. Max Semenik 12:45, 14 July 2010 (UTC)
- Thanx. I just found the file: skins/MonoBook.php It's perfect. Thank you again! --SmartK 12:33, 14 July 2010 (UTC)
- See Manual:CSS. You can learn the IDs or classes of other parts of interface with Firebug or something similar. Max Semenik 11:36, 14 July 2010 (UTC)
- Wow this was fast. Thank you Max Semenik. I'm sorry to ask but where do I edit this line? In the "skins" directory? And is there also the option to turn of the "This page was last modified on..."? Thanks --SmartK 11:30, 14 July 2010 (UTC) again...
- #viewcount { display: none; } Max Semenik 09:54, 14 July 2010 (UTC)
#viewcount { display: none; }
#lastmod { display: none; }
-
-
-
-
-
-
-
-
- But no effect. Any ideas? Good tip with Firebug by the way ;-) --SmartK 15:02, 14 July 2010 (UTC)
- Force-purge your browser's cache. Max Semenik 15:10, 14 July 2010 (UTC)
- Trust me... I thought about that... Also tried IE and FF. But no effect. :-( --SmartK 15:38, 14 July 2010 (UTC)
- I now found the answer here: http://www.mediawiki.org/wiki/Manual:Footer
- The MediaWiki:Common.css did not work for me. --SmartK 09:26, 16 July 2010 (UTC)
- Force-purge your browser's cache. Max Semenik 15:10, 14 July 2010 (UTC)
- But no effect. Any ideas? Good tip with Firebug by the way ;-) --SmartK 15:02, 14 July 2010 (UTC)
-
-
-
-
-
-
-