Last modified: 2014-11-17 21:49:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66622 - Inconsistent $wgUseInstantCommons setting
Inconsistent $wgUseInstantCommons setting
Status: NEW
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-14 18:24 UTC by TeleComNasSprVen
Modified: 2014-11-17 21:49 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description TeleComNasSprVen 2014-06-14 18:24:01 UTC
It seems my vagrant installation sometimes sets $wgUseInstantCommons to true and sometimes sets it to false, because whether or not I can access Commons images is different with almost every `vagrant up` instance.

I've reason to suspect it may be a conflict with how vagrant is set up; in vagrant/LocalSettings.php, $wgUseInstantCommons = true, but in vagrant/mediawiki/LocalSettings.php, $wgUseInstantCommons = false (by default).
Comment 1 Bryan Davis 2014-11-17 21:36:22 UTC
Bulk unassigning bugs from Ori.
Comment 2 Bryan Davis 2014-11-17 21:49:01 UTC
(In reply to TeleComNasSprVen from comment #0)
> It seems my vagrant installation sometimes sets $wgUseInstantCommons to true
> and sometimes sets it to false, because whether or not I can access Commons
> images is different with almost every `vagrant up` instance.
> 
> I've reason to suspect it may be a conflict with how vagrant is set up; in
> vagrant/LocalSettings.php, $wgUseInstantCommons = true, but in
> vagrant/mediawiki/LocalSettings.php, $wgUseInstantCommons = false (by
> default).

The settings in /vagrant/LocalSettings.php override the defaults in /vagrant/mediawiki/LocalSettings.php that are created by the installer.

As far as I can tell from grepping the MediaWiki-Vagrant puppet code, $wgUseInstantCommons should always be true except when the "commons" role is enabled. That role explicitly disables  $wgUseInstantCommons and instead configures the wiki farm to use the local commons.wiki.local.wmftest.net as the remote image source.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links