Last modified: 2012-12-13 11:17:30 UTC
The ItemViewAction class should use an Article object, possibly with some methods overwritten, to show page content. Action::view implements a *lot* of functionality that is required when showing page content, is not yet supported for Items, and would be pointless and unmaintainable to re-implement. Here are a few things that would need to be addressed: * permission checks * showing old revisions and diffs * messing with the page title for the main page, etc * using the parser cache when appropriate * dealing with redirects ...and there's more. We may need to modify the Article class a bit to make this work for us, e.g. by factoring out some functionality into methods that can easily be overwritten.
under review https://gerrit.wikimedia.org/r/#/c/12857/
reverted, reopening.
Things to check when implementing this: * do non-existing pages work as expected? * can blocked users see the page? (see 37961) * do blocked users see the edit features? * do users see the edit features if the page is protected?
Verified in Wikidata demo time for sprint 8