Last modified: 2013-03-24 14:45:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46490, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44490 - Redirects to Education Program: pages results in fatal error
Redirects to Education Program: pages results in fatal error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: High critical (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks: 43975
  Show dependency treegraph
 
Reported: 2013-01-30 01:21 UTC by Kunal Mehta (Legoktm)
Modified: 2013-03-24 14:45 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-01-30 01:21:36 UTC
https://en.wikipedia.org/wiki/Wikipedia:Ambassadors/Courses/Theater_History_from_1642_%28Amy_E_Hughes%29/Timeline?redirect=no is a redirect to https://en.wikipedia.org/wiki/Education_Program:CUNY,_Brooklyn_College/Theater_History_from_1642_%28Spring_2013%29 which exists. However if you try to use the redirect directly (https://en.wikipedia.org/wiki/Wikipedia:Ambassadors/Courses/Theater_History_from_1642_%28Amy_E_Hughes%29/Timeline), the "Wikimedia Foundation error" screen comes up with:

 PHP fatal error in /usr/local/apache/common-local/php-1.21wmf8/includes/Wiki.php line 387:
Call to undefined method CoursePage::loadPageData()
Comment 1 Jeroen De Dauw 2013-01-30 16:22:32 UTC
This will be fixed when switching to ContentHandler.

If this is very critical I cane come up with a way less nice fix that will nevertheless get rid of the error for now.
Comment 2 Sage Ross 2013-01-30 16:25:33 UTC
We could probably request an edit filter to prevent creation of redirects to course pages, for now. But a less nice quick fix that still permits the use of redirects like this would be better.
Comment 3 Jeroen De Dauw 2013-01-30 16:31:20 UTC
Why no redirects to course pages??! I could look into this, though would need a separate bug (feature request) for this.
Comment 4 Jeroen De Dauw 2013-01-30 16:33:20 UTC
https://gerrit.wikimedia.org/r/#/c/46778/
Comment 5 Sage Ross 2013-01-30 16:34:37 UTC
That's the bug: redirects to course pages cause a fatal error. It'd be nice to be able to redirect to course pages without that error. Is that what the patch does?
Comment 6 Jeroen De Dauw 2013-01-30 16:41:08 UTC
My patch solves the issue. Although switching to content handler would do so more elegantly and prevent similar issues which we perhaps have not uncovered yet.

Are you happy with redirects working now, or should redirects to education pages be disallowed altogether.
Comment 7 Sage Ross 2013-01-30 16:42:23 UTC
Sounds good. Redirects working is better than not working.
Comment 8 Alex Monk 2013-02-01 15:57:54 UTC
(In reply to comment #4)
> https://gerrit.wikimedia.org/r/#/c/46778/

Merged by Chris Steipp on the 30th.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links