Last modified: 2012-06-19 19:41:44 UTC
MediaWiki version 1.20wmf5 (2dfca45) When attempting to view an Institution page, the following error is displayed: Wikimedia Foundation Error Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again in a few minutes. You may be able to get further information in the #wikipedia channel on the Freenode IRC network. The Wikimedia Foundation is a non-profit organisation which hosts some of the most popular sites on the Internet, including Wikipedia. It has a constant need to purchase new hardware. If you would like to help, please donate. If you report this error to the Wikimedia System Administrators, please include the details below. PHP fatal error in /usr/local/apache/common-local/php-1.20wmf5/extensions/FlaggedRevs/frontend/FlaggedRevsUI.hooks.php line 199: Argument 5 passed to FlaggedRevsUIHooks::overrideRedirect() must be an instance of Article, instance of OrgPage given
This is definitely not a bug in MediaWiki core. Whether it's something that needs fixing in EducationProgram or FlaggedRevs, I don't know off the top of my head.
What's an 'Institution page'? Can you provide a URL?
I might have reported this the wrong way, sorry about that. See http://test2.wikipedia.org/w/index.php?title=Special:Institutions
Course pages are doing this as well when a viewing attempt is made: http://test2.wikipedia.org/w/index.php?title=Special:Courses
FlaggedRevs hooks InitializeArticleMaybeRedirect with overrideRedirect(Title $title, WebRequest $request, &$ignoreRedirect, &$target, Article &$article) This hook lives in MediaWiki::initializeArticle() An OrgPage extends EEPage extends Page
The pages are viewable now after the type hint change.
Works now, thanks! :)