User:MHolloway (WMF)/Android app page metadata usage analysis
Metadata property name | What it is | Where located in app Java code | Feature using it | Requested in node.js service? | Currently gathered with MW API call in node.js service? | Gathered from Parsoid in gwicke's patch? | Available in Parsoid? |
---|---|---|---|---|---|---|---|
id | Page ID number | PageProperties.java | yes | yes | no | yes <head> | |
revision | Revision number | yes | yes | no | yes <head> | ||
description | Page Description | PageTitle.java | yes | yes | no | yes <head> | |
lastmodified | Last modified date | Page.java,
PageProperties.java |
yes | yes | no | yes <head> | |
displaytitle | Display title | Page.java,
PageProperties.java |
yes | yes | no | yes <head> | |
protection | Whether the page is protected | Page.java | yes | yes | no | yes <head> | |
editable | Whether the page is editable | Page.java | yes | yes | no | yes <head> | |
thumb | PageProperties.java | yes | yes | no | yes <head> | ||
image | PageProperties.java | yes | yes | no | yes <head> | ||
toc | Table of contents information | yes <head> | |||||
images | JSON array of image metadata | yes (end of <body>) | |||||
url | PageProperties.java | ||||||
file | PageProperties.java | ||||||
pageprops | |||||||
mainpage | Is it a wiki main page? | PageProperties.java | |||||
disambiguation | Is it a disambiguation page? | PageProperties.java | |||||
namespace | WM namespace | PageTitle.java | |||||
languagecount | PageProperties.java | ||||||
normalizedtitle | Page.java | yes | yes | no | |||
page | yes | yes | no | ||||
text | yes | yes | no | ||||
sections | yes | yes | no |