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:
James D. Forrester 2015-01-06 18:17:48 -08:00 committed by Alex Monk
parent 9b11db5f18
commit 152a507e11
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class ApiVisualEditor extends ApiBase {
public function __construct( ApiMain $main, $name, Config $config ) { public function __construct( ApiMain $main, $name, Config $config ) {
parent::__construct( $main, $name ); parent::__construct( $main, $name );
$this->veConfig = $config; $this->veConfig = $config;
$fowardCookies = false; $forwardCookies = false;
if ( $config->get( 'VisualEditorParsoidForwardCookies' ) && !User::isEveryoneAllowed( 'read' ) ) { if ( $config->get( 'VisualEditorParsoidForwardCookies' ) && !User::isEveryoneAllowed( 'read' ) ) {
$forwardCookies = RequestContext::getMain()->getRequest()->getHeader( 'Cookie' ); $forwardCookies = RequestContext::getMain()->getRequest()->getHeader( 'Cookie' );
} }

View file

@ -17,7 +17,7 @@ class VisualEditorHooks {
// parties who attempt to install VisualEditor onto non-alpha wikis, as // parties who attempt to install VisualEditor onto non-alpha wikis, as
// this should have no impact on deploying to Wikimedia's wiki cluster; // 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. // is fine for release tarballs because 1.22wmf11 < 1.22alpha < 1.22.0.
wfUseMW( '1.25wmf13' ); wfUseMW( '1.25wmf14' );
} }
/** /**