Topic on Extension talk:HitCounters

Does it also count action=render and action=raw views?

8
79.249.152.18 (talkcontribs)

When accessing a page through action=raw or action=render, is a view supposed to be counted?

According to my tests, they sometimes count as a view and sometimes do not. Is action=render and action=raw supposed to count or not?

I also tested with action=edit and action=history, which apparently count no views. Correct me if I'm wrong.

MarkAHershberger (talkcontribs)

If there is an inconsistency, that is a bug. Please file a bug with your findings.

79.249.157.79 (talkcontribs)

Sorry for late response.

Like that other comment noted, yes, the apparent inconsistency might be caused by caching and/or delayed database updates.

I might run another test soon.



But, as already asked, is HitCounters supposed to also count views on pages accessed with the action=raw and action=render URL parameters, or only when viewed normally?

79.249.159.65 (talkcontribs)

I have done my own testing. Next to the default action=view, only action=render does count as view. action=raw does not.

I suggest other users to test it as well and share their results here.

84.147.35.92 (talkcontribs)

I can confirm this too, but whether revision views count as a view is not tested so far. Maybe I will do it later.


But I think it does count as well, regarding ?action=render counts.

84.147.35.52 (talkcontribs)

Tested that. It counts as well.

198.24.162.179 (talkcontribs)

I have tested it it as well. Same results.

The render action counts as view, but not raw, and also not info, edit and exporting.

198.24.162.179 (talkcontribs)

Hello, Mark.

I can't speak for the user above, but these perceived inconsistencies might be related to caching.

I came here because I had the same question as IP 79.249:

Which of the actions do supposedly count as view?

(This should be documented on the article.)

Reply to "Does it also count action=render and action=raw views?"