Changes to PHP support in MediaWiki core or components bundled with official MediaWiki releases, must follow the Support policy for PHP.
Privileged Gerrit users must follow the Gerrit privilege policy when exercising their +2 rights.
Changes to MediaWiki core that have impact on extensions must follow the Stable interface policy.
Database queries and schema changes must follow the MediaWiki database policy.
PHP's built in serialization mechanism (the
unserialize() functions) should not be used for data stored (or read from) outside of the current process (RFC T161647).
See also the relevant section of the PHP coding convention.