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.
Version: unspecified
Severity: normal
Whiteboard: storypoints: 8