Manual:Extension support/1.14/RunNewer
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. |
Passing by Reference
edit1.14 was designed to run on with lax error warnings from pre PHP 5.3, as such while you can login and view articles on PHP 5.3, editing an article will produce the following error:
Warning: Parameter 2 to Parser::preSaveTransform() expected to be a reference, value given in /includes/StubObject.php on line 58
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "Revision::insertOn". MySQL returned error "1048: Column 'old_text' cannot be null (localhost)".
If you resolve this error on modern PHP 5.3.x+ using a quick patch or setting, please update this article.
The fix involves backporting the _unstub() call in __call from 1.15 to 1.14