issues
search
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: custom parser cache
#42
Closed
lahwaacz
closed
6 years ago
lahwaacz
commented
7 years ago
[x] recomputable tables from MediaWiki (info only for the latest revisions)
[x] implement a function to recursively expand templates transcluded on a page
[x] parse latest revisions and cache data in these tables:
[x] pagelinks
[x] templatelinks
[x] imagelinks
[x] categorylinks
[x] langlinks
[x] iwlinks
[x] externallinks
category
(discarded - tracks only the number of category members, which can be found online from joins)
[x] redirect
[x] recursive per-page invalidation
[x] implement select queries for these tables
[x] pagelinks (prop=links, prop=linkshere)
[x] templatelinks (prop=templates, prop=transcludedin)
[x] imagelinks (prop=images)
[x] categorylinks (prop=categories)
[x] langlinks (prop=langlinks)
[x] iwlinks (prop=iwlinks)
[x] externallinks (prop=extlinks)
[x] redirect (prop=redirects)
[x] cache custom info specific to wiki-scripts:
[x] section headings (useful for e.g.
link-checker.py
)
follow-up in #36
category(discarded - tracks only the number of category members, which can be found online from joins)link-checker.py
)