Last modified: 2009-08-11 10:10:33 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 T22171, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20171 - EditWarning gives a fatal error when used with the old skins
EditWarning gives a fatal error when used with the old skins
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UsabilityInitiative (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Trevor Parscal
:
: 20169 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-11 05:47 UTC by Tim Starling
Modified: 2009-08-11 10:10 UTC (History)
3 users (show)

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


Attachments

Description Tim Starling 2009-08-11 05:47:00 UTC
If EditWarning is enabled, editing is totally impossible when using classic, cologne blue or nostalgia. The error is:

PHP Fatal error:  Cannot access protected property SkinCologneBlue::$skinname in /usr/local/apache/common-local/wmf-deployment/extensions/UsabilityInitiative/EditWarning/EditWarning.hooks.php on line 21

I suggest using the public method getSkinName() instead.
Comment 1 Tim Starling 2009-08-11 05:49:31 UTC
*** Bug 20169 has been marked as a duplicate of this bug. ***
Comment 2 Roan Kattouw 2009-08-11 10:10:33 UTC
Fixed in r54778

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


Navigation
Links