nmadhire / jwpl

Automatically exported from code.google.com/p/jwpl
0 stars 0 forks source link

[Utils] Duplicate tpl-name indices when creting rev-tpl-idx and page-tpl-idx at the same tim #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The WikipediaTemplateInfoGenerator can generate template indices for revisions 
and pages at the same time.
However, the WikipediaTemplateInfoDumpWritercreates separate tpl-name-ids for 
the page and revision index - resulting in duplicate entries in the 
tpl-name-tpl-id table.

Currently, the option to create both indices at the same time has been disables.
A fixme-marker has been created in WikipediaTemplateInfoDumpWriter.

Workaround: Create one index, import into db, create other index, import into 
db.

Original issue reported on code.google.com by oliver.ferschke on 21 Jul 2012 at 9:52