lahwaacz / wiki-scripts

Framework for writing bots, maintenance scripts or performing data analysis on wikis powered by MediaWiki
http://lahwaacz.github.io/wiki-scripts/
GNU General Public License v3.0
27 stars 12 forks source link

Database: tables for ArchWiki-specific page language association #49

Open lahwaacz opened 6 years ago

lahwaacz commented 6 years ago

This would be basically a parser-like cache (#42) because the page titles would have to be parsed. It would be useful for extending db.query with language filters, e.g. generator="allpages", gaplanguage="en".

Note that the page naming scheme may change, see Language namespace(s) in place of suffixes?.

lahwaacz commented 6 years ago

Maybe this will not be necessary, the page table has a page_lang column and even MediaWiki could use it for something useful... See Incorrect metadata and RTL style issues.