Summary: documentation to fix my screwup
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Documentation

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
+ * Otherwise, set $wgLocalFileRepo to a repository structure as described
+ * If you set $wgUseInstantCommons to true, it will add an entry for Commons.
+ * If you set $wgForeignFileRepos to an array of repostory structures, those
+ * be searched after the local file repo.
+ * Otherwise, you will only have access to local media files.
+ * 
 $wgLocalFileRepo = false;

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to