https://bugzilla.wikimedia.org/show_bug.cgi?id=67522
Bug ID: 67522
Summary: Saving pages broken in MW 1.24 - "Fatal error: Cannot
access protected property EditPage::$mTokenOk"
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: Unprioritized
Component: SemanticForms
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
The following MW 1.24 change made some member variables of the MW EditPage
class protected:
https://gerrit.wikimedia.org/r/#/c/133484/
As a result, saving a page using a form fails with "Fatal error: Cannot access
protected property EditPage::$mTokenOk".
That member variable is accessed in SF's includes/SF_AutoeditAPI.php on line
465.
I can think of these 2 solutions:
1. Get a core change accepted that makes EditPage::$mTokenOk public again. (Or
alternatively, since SF only reads it: a core change that adds a method to
return it, and then changing SF to use that.)
2. Have SF derive the EditPage class and add a method to return $mTokenOk, then
use the new class and its method instead.
--
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