Page MenuHomePhabricator

test.wikipedia.org should pull skin/style/javascript files from NFS
Closed, DeclinedPublic

Description

Currently test.wikipedia.org is served out of the main Wikipedia docroot and has the deployed copies of the skin CSS/JS/icon files. This makes it difficult to test new changes which require CSS and JS files.

It should pull the live copies from the NFS master. (Since it's on an isolated system this shouldn't be a perf/stability issue)


Version: unspecified
Severity: enhancement
URL: http://test.wikipedia.org

Details

Reference
bz16784

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:30 PM
bzimport set Reference to bz16784.
bzimport added a subscriber: Unknown Object (MLST).

#$wgStyleSheetPath = '/w/skins-1.17';
if ( $wgDBname == 'testwiki' ) {

// Make testing skin/JS changes easier
$wgExtensionAssetsPath = 'http://test.wikipedia.org/w/extensions-1.17';
$wgStyleSheetPath = 'http://test.wikipedia.org/w/skins-1.17';

} else {

$wgExtensionAssetsPath = 'http://bits.wikimedia.org/w/extensions-1.17';
$wgStyleSheetPath = 'http://bits.wikimedia.org/skins-1.17';

}

I'm presuming this isn't the case any more?

That code has been in there for a long time, at least since the 1.17 deployment. However, per this http://wikitech.wikimedia.org/index.php?title=How_to_deploy_code&diff=34863&oldid=34586 this bug is not fixed yet.