Jump to content

Extension talk:Wiretap

About this board

Chart display not working

1
Hoopid (talkcontribs)

Getting errors on chart display after upgrading to 1.40 LTS:

Call to undefined method Wikimedia\Rdbms\DatabaseMysqli::fetchRow()

Looks like this is known, fetchRow deprecated:

Release notes/1.39#Breaking changes in 1.39

The raw Individual Hit values still show, but chart display and any of the other lists fail on fetchRow().

I've used this extension for several years to get details and have quick traffic charts, so sad to see this finally dying. (Yes, I know it is unmaintained.)

Reply to "Chart display not working"

Mismatch between wiretap and user page view tracker

1
This post was hidden by Mycarebudget (history)
Reply to "Mismatch between wiretap and user page view tracker"

Feature request - store data locally as csv

4
Revansx (talkcontribs)

Great extension. Thanks! .. One additional feature that I think would be easy to implement would be to have the extension save the data locally to a csv file that could also be used by outside processes to do more with the data.

For example.. line 144 of ../w/extensions/wiretap/modules/charts/ext.wiretap.charts.js is var myLineChart = new Chart( ctx ).Line( data, options );.

Is the variable data the data i'm interested in?

Could a line be added below 145 that would write that data to a file?

Could it be that straightforward?

Revansx (talkcontribs)
Beaujjeffrey (talkcontribs)

I second that. It would be great to be able to do this.

2A02:C7F:9885:AD00:8CF6:53B2:790:DC9D (talkcontribs)

Would love this feature too!

Reply to "Feature request - store data locally as csv"

Trending Pages and other topics

1
Revansx (talkcontribs)

Hi James, Great extension. Thanks! .. I see that you are tinkering with this extension to add a "trending pages" feature. cool. Could you say a word or two about how hard/easy it might be to add the following other features:

  1. List of IP address and/or users to ignore in the stats. (My host scans my sites monthly with thousands of hits and as a result is "always" the largest number making the "Daily page hits" metric meaningless.)
  2. Easiest way to get the the access statistics directly (via API call, cURL, or otherwise) (currently I am only aware of seeing them plotted or in a fully-rendered wiki table page)

Any words you can provide (or tricks) would be welcomed.

Thanks!

-Rich

Reply to "Trending Pages and other topics"

filter OUT user(s)?

2
Revansx (talkcontribs)

How hard would it be add a configuration option that would ignore users whose usernames are the values of an array in LocalSettings.php?

This would be handy to track the usage by say, non-admins.

Revansx (talkcontribs)
Reply to "filter OUT user(s)?"
GregRundlett (talkcontribs)

On https://demo.qualitybox.us/wiki/Special:Wiretap?requestDebug=true&useskin=vector

I get Fatal error: Call to undefined method SkinVector::link() in /opt/htdocs/mediawiki/extensions/Wiretap/SpecialWiretap.php on line 528

That line is

$page = $this->getSkin()->link( $pageTitle );

I tried inserting a 'context' (property) or getContext() method into the chain, but that too errored:

$page = $this->getContext->getSkin()->link( $pageTitle );

I could only find a 'link' method in the Linker class. https://doc.wikimedia.org/mediawiki-core/master/php/classLinker.html#ad97e40cfea2343c5cae8307cf1fe47a4

Reply to "Fatal error w/ 1.28"
Deli68 (talkcontribs)

Hi,

very good extension, works great! I'm curious about new features. Thanks a lot!

Just one tip: Maybe it would be helpful to add the following line to the Installation section

  • Run the update script which will automatically create the necessary database tables that this extension needs.

- even if the advice is in the infobox. Otherwise newbies will get an SQL error.

Greetings

MikeDarling (talkcontribs)

This was added. Thank you.

Reply to "run the update.php"
Krabina (talkcontribs)

I installed it on MW 1.27. Installation works, but when I visit Special:Wiretap, I get: "Fatal error: Call to undefined function wfCheckLimits() in ../extensions/Wiretap/SpecialWiretap.php on line 18"

Reply to "error on MW 1.27"
There are no older topics