mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Follow-up I2342fa5b: Bump wfUseMW to 1.25wmf14 for ParsoidVirtualRESTService
I2342fa5b added a dependency on Id658d925 in MediaWiki core which will first be available in 1.25wmf14. Also fix a spelling error. Change-Id: I20a850f5da58b377b3c208d86b7f5c56f518fdb8
This commit is contained in:
parent
9b11db5f18
commit
152a507e11
|
@ -23,7 +23,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
public function __construct( ApiMain $main, $name, Config $config ) {
|
||||
parent::__construct( $main, $name );
|
||||
$this->veConfig = $config;
|
||||
$fowardCookies = false;
|
||||
$forwardCookies = false;
|
||||
if ( $config->get( 'VisualEditorParsoidForwardCookies' ) && !User::isEveryoneAllowed( 'read' ) ) {
|
||||
$forwardCookies = RequestContext::getMain()->getRequest()->getHeader( 'Cookie' );
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ class VisualEditorHooks {
|
|||
// parties who attempt to install VisualEditor onto non-alpha wikis, as
|
||||
// this should have no impact on deploying to Wikimedia's wiki cluster;
|
||||
// is fine for release tarballs because 1.22wmf11 < 1.22alpha < 1.22.0.
|
||||
wfUseMW( '1.25wmf13' );
|
||||
wfUseMW( '1.25wmf14' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue