https://bugzilla.wikimedia.org/show_bug.cgi?id=17795

           Summary: Don't report views count if $wgDisableCounters=true
           Product: MediaWiki
           Version: 1.14.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@home.nl
        ReportedBy: jida...@jidanni.org
                CC: bryan.tongm...@gmail.com, vasi...@gmail.com


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to