Last modified: 2011-02-16 01:07:04 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 T28018, the corresponding Phabricator task for complete and up-to-date bug report information.
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