Last modified: 2011-02-16 01:07:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 26018 - documentation to fix my screwup
documentation to fix my screwup
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Documentation (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-19 19:27 UTC by Russ Nelson
Modified: 2011-02-16 01:07 UTC (History)
2 users (show)

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


Attachments

Description Russ Nelson 2010-11-19 19:27:57 UTC
I have set up mediawiki a couple of times before, but am not an expert (yet). Thus I made a naive mistake which I would like to prevent others from making. I believe this patch improves the documentation so that nobody will look at $wmLocalFileRepo to true as I did.

Index: includes/DefaultSettings.php
===================================================================
--- includes/DefaultSettings.php	(revision 76954)
+++ includes/DefaultSettings.php	(working copy)
@@ -365,8 +365,13 @@
  *   - apibase              Use for the foreign API's URL
  *   - apiThumbCacheExpiry  How long to locally cache thumbs for
  *
- * The default is to initialise these arrays from the MW<1.11 backwards compatible settings:
- * $wgUploadPath, $wgThumbnailScriptPath, $wgSharedUploadDirectory, etc.
+ * If you leave $wgLocalFileRepo set to false, Setup will fill in appropriate values.
+ * Otherwise, set $wgLocalFileRepo to a repository structure as described above.
+ * If you set $wgUseInstantCommons to true, it will add an entry for Commons.
+ * If you set $wgForeignFileRepos to an array of repostory structures, those will
+ * be searched after the local file repo.
+ * Otherwise, you will only have access to local media files.
+ * 
  */
 $wgLocalFileRepo = false;
Comment 1 Mark A. Hershberger 2011-02-12 04:07:05 UTC
See r82007

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


Navigation
Links