https://bugzilla.wikimedia.org/show_bug.cgi?id=37682
Web browser: ---
Bug #: 37682
Summary: ItemViewAction should use Article::view
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l