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

           Summary: Adding a hook to the statistics updater
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi,

Had an idea for an extention for one of my private wikis that would manipulate
the statistics.
ie. not incrementing the counter in certain situations (not for logged in
users, or not when a certain url-parameter is set).

But that is when I found out no hook (that I could find) is present in the
statistics updater, thuss making it impossible without hard-coding to do
anything with it.

The relevant code is in Article.php : line 3242 and on, which calls the
SiteStatsUpdate() class defined in SiteStats.php : line 181 and on.


(line numbers based on mediawiki 1.16.0beta3.tar.gz)

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to