IAlex has uploaded a new change for review. Change subject: (bug 41337) Fix fatal error occuring in Special:Preferences ......................................................................
(bug 41337) Fix fatal error occuring in Special:Preferences The error is Fatal error: Call to a member function msg() on a non-object at includes/Preferences.php on line 1207. The problem is that fields created in Preferences::getPreferences() for validation don't have their parent set and thus an error occurs when the validation fails since they want to use their parent to get a Message object. This commit adds a dummy parent object to these fields to fix the error. No RELEASE-NOTES entry since I don't know in which version this will be backported. Change-Id: I5826d6e3f1262c8d26af0cfe7074a939f80bcaca --- M includes/Preferences.php 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/31321/1 -- To view, visit https://gerrit.wikimedia.org/r/31321 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5826d6e3f1262c8d26af0cfe7074a939f80bcaca Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: IAlex <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
