Last modified: 2014-03-11 19:53:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57927, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55927 - Italian Wikivoyage page count in Wikistats seems too low
Italian Wikivoyage page count in Wikistats seems too low
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikistats (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 56383
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-20 01:41 UTC by Erik Zachte
Modified: 2014-03-11 19:53 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Erik Zachte 2013-10-20 01:41:01 UTC
See discussion at https://en.wikipedia.org/wiki/User_talk:Erik_Zachte#Wikivoyage_Stats
Comment 1 Diederik van Liere 2013-10-20 01:56:28 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/analytics/cards/1214
Comment 2 Nemo 2013-10-30 19:43:41 UTC
MariaDB [itwikivoyage_p]> SELECT
    ->   COUNT(*)
    -> FROM page
    -> WHERE page.page_namespace = 0
    -> AND page.page_is_redirect = 0;
+----------+
| COUNT(*) |
+----------+
|     3246 |
+----------+
1 row in set (0.03 sec)

MariaDB [itwikivoyage_p]> SELECT
    ->   page_namespace,
    ->   page_title
    -> FROM page
    -> LEFT JOIN pagelinks
    -> ON pl_from = page_id
    -> WHERE pl_namespace IS NULL
    -> LIMIT 1;
+----------------+------------+
| page_namespace | page_title |
+----------------+------------+
|              0 | Bug_54831  |
+----------------+------------+
1 row in set (0.10 sec)

----

[[voy:it:Special:Statistics]] says 3485 and it's surely wrong, there can be at most 3246 countable articles. However, only 1 page (which I just created) has no links, AFAICS, so the article count should not be lower than 3200. As mentioned in the URL, Special:Statistics is wrong due to bug 40009; why Wikistats is wrong, I don't know. I'm going to file a site request to fix the former.
Comment 3 Nemo 2013-10-30 19:54:27 UTC
Actually, I doubt the second query does what it's advertised for... no time to fix it now though.
Comment 4 Diederik van Liere 2013-10-30 19:56:52 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/analytics/cards/1248
Comment 5 Nemo 2013-10-30 20:03:06 UTC
(In reply to comment #4)
> Prioritization and scheduling of this bug is tracked on Mingle card
> https://mingle.corp.wikimedia.org/projects/analytics/cards/1248

Is this really you, Diederik, or Bingle? :) You created a duplicate.
Comment 6 Andyrom75 2013-10-30 23:21:14 UTC
Just one note on the above query. The article count should be based not only on NS:0 but also on "Portale" and "Tematica".
Comment 7 Nemo 2013-10-31 05:48:20 UTC
Right, so now Special:Statistics is correct (thanks to Reedy) and it's exactly 3400 as of now, it was off by 85 only.
Comment 8 Diederik van Liere 2013-10-31 05:56:40 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/analytics/cards/1255
Comment 9 Erik Zachte 2013-12-19 19:07:40 UTC
There was indeed an undercount, as follows:

Wikistats script did not expect pages with missing sha1. If looked ahead to next <sha1>..</sha1> and missed pages with <sha1 />.

Compare numbers
old http://stats.wikimedia.org/wikivoyage/WikivoyageItalianPrev.htm
new http://stats.wikimedia.org/wikivoyage/EN/draft/TablesWikipediaIT.htm

This affects other wikis as well. I will reprocess all dumps in coming week and when new numbers are report on impact.
Comment 10 Erik Zachte 2014-03-11 16:43:38 UTC
All wikis have been reprocessed in Dec 2013 after issue had been fixed
Comment 11 Andyrom75 2014-03-11 19:06:39 UTC
Thanks. One question.
The various https://en.wikivoyage.org/wiki/Special:Statistics (I mean for each language), do not reflect the real amount of articles, images, etc...

Can all this numbers be "reprocessed" too?
Comment 12 Erik Zachte 2014-03-11 19:53:46 UTC
@Andyrom75 That is outside the realm of Wikistats, which this bug is about. Sorry I can't give you more specific pointers.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links