Last modified: 2014-09-17 11:44:56 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 T56962, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54962 - Missing or wrong information in meta_p.wiki table
Missing or wrong information in meta_p.wiki table
Status: PATCH_TO_REVIEW
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 09:46 UTC by Beta16
Modified: 2014-09-17 11:44 UTC (History)
4 users (show)

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


Attachments

Description Beta16 2013-10-04 09:46:50 UTC
+----------------------+------+------+-------------+-----------------------------------+------+-----------+-----------+----------+-----------------+------------------+--------------+
| dbname               | lang | name | family      | url                               | size | slice     | is_closed | has_echo | has_flaggedrevs | has_visualeditor | has_wikidata |
+----------------------+------+------+-------------+-----------------------------------+------+-----------+-----------+----------+-----------------+------------------+--------------+
| bat_smgwiki          | en   | NULL | wikipedia   | http://bat_smg.wikipedia.org      |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| be_x_oldwiki         | en   | NULL | wikipedia   | http://be_x_old.wikipedia.org     |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| cbk_zamwiki          | en   | NULL | wikipedia   | http://cbk_zam.wikipedia.org      |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| centralauth          | en   | NULL | centralauth | NULL                              |    1 | s7.labsdb |         0 |        0 |               0 |                0 |            0 |
| fiu_vrowiki          | en   | NULL | wikipedia   | http://fiu_vro.wikipedia.org      |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| map_bmswiki          | en   | NULL | wikipedia   | http://map_bms.wikipedia.org      |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| nds_nlwiki           | en   | NULL | wikipedia   | http://nds_nl.wikipedia.org       |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| roa_rupwiki          | en   | NULL | wikipedia   | http://roa_rup.wikipedia.org      |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| roa_rupwiktionary    | en   | NULL | wiktionary  | http://roa_rup.wiktionary.org     |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| roa_tarawiki         | en   | NULL | wikipedia   | http://roa_tara.wikipedia.org     |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| vewikimedia          | en   | NULL | wikimedia   | http://ve.wikimedia.org           |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| zh_classicalwiki     | en   | NULL | wikipedia   | http://zh_classical.wikipedia.org |    1 | s3.labsdb |         0 |        0 |               1 |                1 |            1 |
| zh_min_nanwiki       | en   | NULL | wikipedia   | http://zh_min_nan.wikipedia.org   |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
| zh_min_nanwikibooks  | en   | NULL | wikibooks   | http://zh_min_nan.wikibooks.org   |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| zh_min_nanwikiquote  | en   | NULL | wikiquote   | http://zh_min_nan.wikiquote.org   |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| zh_min_nanwikisource | en   | NULL | wikisource  | http://zh_min_nan.wikisource.org  |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| zh_min_nanwiktionary | en   | NULL | wiktionary  | http://zh_min_nan.wiktionary.org  |    1 | s3.labsdb |         0 |        0 |               0 |                0 |            0 |
| zh_yuewiki           | en   | NULL | wikipedia   | http://zh_yue.wikipedia.org       |    1 | s3.labsdb |         0 |        0 |               0 |                1 |            1 |
+----------------------+------+------+-------------+-----------------------------------+------+-----------+-----------+----------+-----------------+------------------+--------------+

For the wikis reported above lang is 'en', name in NULL and URL is wrong (maybe this is the reason for the other missing information). For example isn't http://roa_tara.wikipedia.org but http://roa-tara.wikipedia.org

For all the wikis, 'size' column is always 1. This information can be get from:
* site_stats.ss_good_articles table of replica db, or
* API /w/api.php?action=query&meta=siteinfo&format=json&siprop=statistics under "articles"
Comment 1 Marc A. Pelletier 2013-10-04 13:09:55 UTC
Yes, the URL being incorrect is likely the cause of the other errors.  Looking into it.
Comment 2 Beta16 2013-10-09 13:42:30 UTC
Also 'is_closed' column is always 0, for all the wikis.
Comment 3 Marc A. Pelletier 2013-10-09 13:55:03 UTC
(In reply to comment #2)
> Also 'is_closed' column is always 0, for all the wikis.

That would be because we do not currently replicate any closed wikis.  :-)

For the other values, things should have been corrected now.  Please check?
Comment 4 Beta16 2013-10-09 15:50:01 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Also 'is_closed' column is always 0, for all the wikis.
> 
> That would be because we do not currently replicate any closed wikis.  :-)
Ah, ok! Alright :)

> For the other values, things should have been corrected now.  Please check?
Now it seems ok, except for the 'size' column, is always 1 yet.
Comment 5 Marc A. Pelletier 2014-05-06 02:13:22 UTC
There was a typo that prevented the size column from being properly set.  Fixed since.
Comment 6 Pietrodn 2014-09-17 06:53:47 UTC
The meta_p.wiki tables now contains only one row: centralauth.

MariaDB [meta_p]> select * from wiki;
+-------------+------+------+-------------+------+------+-----------+-----------+----------+-----------------+------------------+--------------+
| dbname      | lang | name | family      | url  | size | slice     | is_closed | has_echo | has_flaggedrevs | has_visualeditor | has_wikidata |
+-------------+------+------+-------------+------+------+-----------+-----------+----------+-----------------+------------------+--------------+
| centralauth | en   | NULL | centralauth | NULL |    1 | s7.labsdb |         0 |        0 |               0 |                0 |            0 |
+-------------+------+------+-------------+------+------+-----------+-----------+----------+-----------------+------------------+--------------+
1 row in set (0.00 sec)
Comment 7 Pietrodn 2014-09-17 11:42:39 UTC
Now the problem seems to be fixed.
Comment 8 Gerrit Notification Bot 2014-09-17 11:43:24 UTC
Change 160945 had a related patch set uploaded by coren:
Labs: Fix generation of meta_p.meta

https://gerrit.wikimedia.org/r/160945
Comment 9 Gerrit Notification Bot 2014-09-17 11:44:56 UTC
Change 160945 merged by coren:
Labs: Fix generation of meta_p.meta

https://gerrit.wikimedia.org/r/160945

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


Navigation
Links