== MediaWiki 1.27.7 == This is a maintenance release of the MediaWiki 1.27 branch. === Changes since MediaWiki 1.27.6 === * Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php. * Remove broken tests from ApiBlockTest.php. == MediaWiki 1.27.6 == This is a security and maintenance release of the MediaWiki 1.27 branch. === Changes since MediaWiki 1.27.5 === * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query all titles when asked for none. * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested libraries. * (T207241) Augment precision of updatelist time. * (T207540) Include IP address in "Login for $1 succeeded" log entry. * (T205765) Don't link to the obsolete "Extension Matrix" page in installer. * (T207603) SECURITY: User JS may no longer be loaded with mime type text/javascript if there is no account associated with the username. * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME type if non-admins can edit the page. * (T207541) Pass email address to mail(). * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself. * (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1. * (T208871) The hard-coded Google search form on the database error page was removed. * (T216968) Return pageid as int in both list=iwbacklinks and list=langbacklinks. * (T218608) Fix an issue that prevents Extension:OAuth working when $wgBlockDisablesLogin is true. * (T219728) Added support for new Japanese era name "Reiwa". * (T25227) SECURITY: action=logout now requires to be posted and have a csrf token. * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when reauthenticating. * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if getLoginSecurityLevel() returns non-false. * (T197279) SECURITY: Fix reauth in Special:ChangeEmail. * (T208881) SECURITY: blacklist CSS var(). * (T209794) SECURITY: rate-limit and prevent blocked users from changing email. * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block. * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query. * (T222036, T222038) SECURITY: Add permission check for user is permitted to view the log type. * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358. == MediaWiki 1.27.5 == This is a security and maintenance release of the MediaWiki 1.27 branch. === Changes since 1.27.4 === * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides 'newbie'. * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's account lock. * Upgraded Moment.js from v2.8.4 to v2.19.3. * (T160298) Fixed Special:ActiveUsers due to bad backport. * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array. * Updated list of SPDX licenses for extensions. * (T189567) the CLI installer (maintenance/install.php) learned to detect and include extensions. Pass --with-extensions to enable that feature. * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds(). * Add default edit rate limit of 90 edits/minute for all users. * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported. * (T196672) The mtime of extension.json files is now able to be zero. * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete hook. * (T180403) Validate $length in padleft/padright parser functions. * (T143790) Make $wgEmailConfirmToEdit only affect edit actions. * Special:BotPasswords now requires reauthentication. * (T191608, T187638) Add 'logid' parameter to Special:Log. * (T193829) Indicate when a Bot Password needs reset. * (T151415) Log email changes. * (T118420) Unbreak Oracle installer. == MediaWiki 1.27.4 == This is a security and maintenance release of the MediaWiki 1.27 branch. === Changes since 1.27.3 === * (T100085) Better handling of jobs execution in post-connection shutdown. * (T141604) Support conditionally registered namespaces. * (T167798) Fix highlighting for phrase queries and phrase search. * (T151136) Provide credits information to callbacks. * (T160462) Allow namespaces defined in extension.json to be overwritten locally. * (T168856) Allow SVGs created by Dia to be uploaded. * (T144705) (T148662) Password reset link is no longer shown when no reset options are available. * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support. * (T66795) $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC policies. * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and core. * (T175439) Unbreak Postgres Updater when setting defaults for a column. * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager. * (T142304) Allow putting the app ID in the password for bot passwords. * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36. * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and browser sends non-standard url escaping. * (T165846) SECURITY: BotPassword login attempts weren't throttled. * (T128209) SECURITY: Reflected File Download from api.php. * (T134100) SECURITY: Do not reveal if user exists during login failure. * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS. * (T125163) SECURITY: Make anchor for headlines escape > and <. * (T180237) SECURITY: Protect vendor folder with .htaccess. * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in update.php. * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit. * (T119158) SECURITY: Handle -{}- syntax in attributes safely. == MediaWiki 1.27.3 == Due to a packaging error, the wrong version of the SyntaxHighlight extension was included in the tarball version of MediaWiki 1.27.2. The version included had a serious security issue in it (T158689). There was also some minor code fixes in MediaWiki itself since 1.27.2, but none of them were security relevant. === Changes since 1.27.2 === * (T145664) Fix broken wincache merge() implementation * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility * (T153505) Fix php warnings on php 7.1 due to use of &$this == MediaWiki 1.27.2 == This is a security and maintenance release of the MediaWiki 1.27 branch. ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as deprecated (rather than already removed) in the RELEASE-NOTES at the point 1.27.0 was released. === Changes since 1.27.1 === * (T68404) CSS3 attr() function with url type argument is no longer allowed in inline styles. * $wgRunJobsAsync is now false by default (T142751). This change only affects wikis with $wgJobRunRate > 0. * (T152717) Better escaping for PHP mail() command * Submitting the lgtoken and lgpassword parameters in the query string to action=login is now deprecated and outputs a warning. They should be submitted in the POST body instead. * Submitting sensitive authentication request parameters to action=clientlogin, action=createaccount, action=linkaccount, and action=changeauthenticationdata in the query string is now deprecated and outputs a warning. They should be submitted in the POST body instead. * (T158766) Avoid SQL error on MSSQL when using selectRowCount() * (T145635) Fix too long index error when installing with MSSQL. * (T156184) $wgRawHtml will no longer apply to internationalization messages. * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is installed. * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow redirect to interwiki links. * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when $wgAdvancedSearchHighlighting is true. * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep their values out of the logs. * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a CSRF token. * (T156184) SECURITY: Escape content model/format url parameter in message. * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD declaration. * (T161453) SECURITY: LocalisationCache will no longer use the temporary directory in it's fallback chain when trying to work out where to write the cache. * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file inclusion syntax's link parameter. * (T108138) SECURITY: Sysops can undelete pages, although the page is protected against it. == MediaWiki 1.27.1 == This is a maintenance release of the MediaWiki 1.27 branch. === Changes since 1.27.0 === * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests made by MediaWiki via a proxy. Relying on the http_proxy environment variable is no longer supported. * (T139565) SECURITY: API: Generate head items in the context of the given title * (T137264) SECURITY: XSS in unclosed internal links * (T133147) SECURITY: Escape '<' and ']]>' in inline