https://bugzilla.wikimedia.org/show_bug.cgi?id=33424
--- Comment #44 from Harold Solbrig <[email protected]> 2012-01-31 20:14:37 UTC --- Whoops - sorry about the line number. Must have been thinking about emergencies or some such thing. It should have read "311". In any case, yes - it is the line above. The return type of internalAttemptSave used to be an integer, but it got changed into a class named "Status". I just checked out 2.4-alpha from SVN and it appears that the issue has been corrected (correctly). If you look for "internalAttemptSave" in SF_FormEdit.php, you will note that the following lines have been added: // Return value was made an object in MW 1.19 if ( is_object( $saveResult ) ) $saveResultCode = $saveResult->value; } else { $saveResultCode = $saveResult; } Apparently the return value was made into an object a bit earlier, as I'm running 1.18. Again, if you're getting the "Object of class Status..." message pasted earlier in this thread, the fix above or, if you're just trying to get a local wiki running: change: $saveResult = $editor->internalAttemptSave( $resultDetails ); to: $saveResult = $editor->internalAttemptSave( $resultDetails )->value; -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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
