LeHubca / lehub-mediawiki

1 stars 0 forks source link

Page count seems low because by default it only tracks pages with links. Make it track any page. #22

Closed alberto56 closed 1 year ago

alberto56 commented 1 year ago

This from @tliacas by Signal:

Just a quick sub-question and no need for deep investigation as we can override with a 'manual' count... the list of 'content pages' on the wiki stats seems well out of whack with the full list of pages, which appears just below: https://en.wiki.lehub.ca/index.php?title=Special:AllPages&hideredirects=1

alberto56 commented 1 year ago

According to https://www.mediawiki.org/wiki/Manual:Article_count we can change the count strategy by adding:

$wgArticleCountMethod = 'any';

I tried this and it does not work, perhaps due to a caching issue, I'll see again in 24hours.

alberto56 commented 1 year ago

The French site currently shows 42 pages; the English site currently shows 69. I have set $wgArticleCountMethod = 'any'; I will after Wednesday 9am.

alberto56 commented 1 year ago

Still no change, I opened the support ticket https://www.mediawiki.org/wiki/Topic:Xbsmv4kcn10vvi7p

alberto56 commented 1 year ago

This now works as per answer on https://www.mediawiki.org/wiki/Topic:Xbsmv4kcn10vvi7p, closing this ticket