Skip to content
Snippets Groups Projects
Commit a962bc06 authored by Andrey Nuzhdov's avatar Andrey Nuzhdov
Browse files

Fixed README

parent 37add6b9
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ Submit bug reports and feature suggestions, or track changes in the
- Requirements
- Installation
- Configuration
- MediaWiki configuration
- Troubleshooting & FAQ
- Maintainers
......@@ -37,6 +38,32 @@ information, see
example.com, you can use sub-domain wiki.example.com for your MediaWiki.
## MediaWiki configuration
In LocalSettings.php enter this:
Common settings:
// Set in Apache .conf 'Alias /w {absolute path to your wiki installation}/index.php' to work
$wgArticlePath = '/w/$1';
$wgUseSharedUploads = true;
$wgHashedSharedUploadDirectory = false;
$wgCacheSharedUploads = false;
$wgCapitalLinkOverrides[NS_FILE] = false;
$wgUseImageResize = true;
For public Drupal files:
$wgSharedUploadDirectory = {absolute path to your Drupal public files directory};
$wgSharedUploadPath = {URL to your public files directory from browser};
For private Drupal files:
$wgSharedUploadDirectory = {absolute path to your Drupal private files directory};
$wgSharedUploadPath = {URL to your private files directory from browser};
## Troubleshooting
Known limitations:
......@@ -50,12 +77,12 @@ If you change any titles, you will get broken links, because of Drupal nodes not
## FAQ
**Q: All the supported index in this module.**
**Q: What markup types is supported in this module?**
**A:** Italic, bold text, lists, sections and hr lines supported
**Q: I want to use public images on site.**
**Q: How can I use public images on the site?**
**A:** If you use public images on site, you can use [[File:filename.png]] as a reference to the image. By default, no href is created for
the image, but if you enter $wgArticlePath setting (for example /w/$1) in the filter, your images will have href on the MediaWiki page
......@@ -63,7 +90,7 @@ with corresponding image. As side effect, you will get workable links to MediaWi
MediaWiki page with same title, IF you don't have a node with the same title (Drupal pages take precedence).
**Q: I want to setup private files on site.**
**Q: How can I setup private files on the site?**
**A:** To set up private files, you need to (as example):
......@@ -84,6 +111,7 @@ and two options together: [[File:filename.png|200px|link=]].
## Maintainers
Current maintainers:
- adam-griffiths - [adam-griffiths](https://www.drupal.org/user/503812)
- Peter Borsa - [asrob](https://www.drupal.org/u/asrob)
- Clemens Tolboom - [clemens.tolboom](https://www.drupal.org/u/clemenstolboom)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment