Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database: custom parser cache #42

Closed
23 tasks done
lahwaacz opened this issue Aug 10, 2017 · 0 comments
Closed
23 tasks done

Database: custom parser cache #42

lahwaacz opened this issue Aug 10, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@lahwaacz
Copy link
Owner

lahwaacz commented Aug 10, 2017

  • recomputable tables from MediaWiki (info only for the latest revisions)
  • implement a function to recursively expand templates transcluded on a page
  • parse latest revisions and cache data in these tables:
    • pagelinks
    • templatelinks
    • imagelinks
    • categorylinks
    • langlinks
    • iwlinks
    • externallinks
    • category (discarded - tracks only the number of category members, which can be found online from joins)
    • redirect
  • recursive per-page invalidation
  • implement select queries for these tables
    • pagelinks (prop=links, prop=linkshere)
    • templatelinks (prop=templates, prop=transcludedin)
    • imagelinks (prop=images)
    • categorylinks (prop=categories)
    • langlinks (prop=langlinks)
    • iwlinks (prop=iwlinks)
    • externallinks (prop=extlinks)
    • redirect (prop=redirects)
  • cache custom info specific to wiki-scripts:
@lahwaacz lahwaacz self-assigned this Aug 10, 2017
@lahwaacz lahwaacz added this to the someday maybe milestone Aug 10, 2017
lahwaacz added a commit that referenced this issue Aug 15, 2018
preparation for custom parser cache, see #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant