discussion pages) now have a tooltip to indicate state, not just colour.
=== External library changes in 1.31 ===
+* pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
+ suggested to required. These packages now must be installed via composer
+ and not via PEAR itself.
==== Upgraded external libraries ====
* Updated jquery.chosen from v0.9.14 to v1.8.2.
"liuggio/statsd-php-client": "1.0.18",
"oojs/oojs-ui": "0.27.0",
"oyejorge/less.php": "1.7.0.14",
+ "pear/mail": "1.4.1",
+ "pear/mail_mime": "1.10.2",
+ "pear/mail_mime-decode": "1.5.5.2",
"php": ">=5.5.9",
"psr/log": "1.0.2",
"wikimedia/assert": "0.2.2",
"ext-wikidiff2": "Diff accelerator",
"monolog/monolog": "Flexible debug logging system",
"nmred/kafka-php": "Send debug log events to kafka",
- "pear/mail": "Mail sending support",
- "pear/mail_mime": "Mail sending support",
- "pear/mail_mime-decode": "Mail sending support",
"wikimedia/avro": "Binary serialization format used with kafka"
},
"autoload": {
private static function isMailMimeUsable() {
static $usable = null;
if ( $usable === null ) {
- // If the class is not already loaded, and it's in the include path,
- // try requiring it.
- if ( !class_exists( 'Mail_mime' ) && stream_resolve_include_path( 'Mail/mime.php' ) ) {
- require_once 'Mail/mime.php';
- }
$usable = class_exists( 'Mail_mime' );
}
-
return $usable;
}
private static function isMailUsable() {
static $usable = null;
if ( $usable === null ) {
- // If the class is not already loaded, and it's in the include path,
- // try requiring it.
- if ( !class_exists( 'Mail' ) && stream_resolve_include_path( 'Mail.php' ) ) {
- require_once 'Mail.php';
- }
$usable = class_exists( 'Mail' );
}
Wikimedia\suppressWarnings();
// Create the mail object using the Mail::factory method
- $mail_object =& Mail::factory( 'smtp', $wgSMTP );
+ $mail_object = Mail::factory( 'smtp', $wgSMTP );
if ( PEAR::isError( $mail_object ) ) {
wfDebug( "PEAR::Mail factory failed: " . $mail_object->getMessage() . "\n" );
Wikimedia\restoreWarnings();