Last modified: 2011-04-30 01:16:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17795 - Don't report views count if $wgDisableCounters=true
Don't report views count if $wgDisableCounters=true
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal trivial (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-05 10:08 UTC by Dan Jacobson
Modified: 2011-04-30 01:16 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2009-03-05 10:08:48 UTC
if $wgDisableCounters=true, then
api.php?action=query&meta=siteinfo&siprop=statistics should not show
"views",
  <statistics pages="432" articles="247" views="317460" edits="4051"
  images="0" users="172" activeusers="4" admins="1" jobs="0" />
as that data is invalid, and indeed, SpecialStatistics.php
doesn't anymore, so you should follow its lead.

The Sysop has made a decision to give up counting views, so that data is stale/invalid, and you shoud respect his decision by not reporting it.
Comment 1 Chad H. 2009-03-05 13:52:29 UTC
Done in r48060

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links