Jump to content

Topic on Extension talk:PageViewInfo/Archive 2

Question !! PageViewInfo extension.json endpoint

5
Kokoxg2 (talkcontribs)

Hi ! I'm a person who runs a private wiki. i have a question for PageViewInfo Extension. When I checked the PageView Info source, it seems that page access history is saved through caching. BUT, The number of visits does not increase even if you visit the page several times. so, I tried to find out the cause of the problem. Looking at it so far, it seems that the endpoint attribute in extension.json is set to the default value (https-:-//-wikimedia.org-/-api-/-rest_v1). How should I change the endpoint attribute to cache page visit information in My Media Wiki? OR should I modify the reat.php request path in coreRoutes.json?


Thank you !

Sokote zaman (talkcontribs)

I've been looking for this before, and the result is this: this plugin only works for MediaWiki and other MediaWiki sister projects.

Kokoxg2 (talkcontribs)

I added a hyphen in the middle because of link spam prevention.

Kokoxg2 (talkcontribs)
Tgr (WMF) (talkcontribs)

PageViewInfo doesn't really support non-Wikimedia wikis. In theory you can write your own API binding for it, but it isn't simple (and you need an API in the first place - the extension doesn't gather statistics, just displays them).

Maybe you are looking for something like Extension:HitCounters.

Reply to "Question !! PageViewInfo extension.json endpoint"