View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008877mantisbtintegrationpublic2008-02-11 08:282010-08-22 14:45
Assigned To 
PlatformWAMPOSWindowsOS Version
Product Version1.1.1 
Target VersionFixed in Version 
Summary0008877: MediaWiki integration should use Windows/WAMP friendly URL
DescriptionThe MediaWiki integration API (wiki_mediawiki_api.php) uses at function "wiki_mediawiki_get_url_for_page_id" the root namespace as a file name in the article URL. This causes Apache to crash in WAMP servers, due to Windows does not allow a colon (:) in file names.

A solution to this kind of problem, frequently recommended by Apache users, is the use of Apache rules to rewrite the URLs (see [^] and [^] ), but a very simple way of avoid this problem is passing the article title as a parameter to MediaWiki index page instead of call the article title as a file name.

I'm attaching a patch file for the wiki_mediawiki_api.php file. If you agree with this change, please commit it.
Attached Filespatch file icon mantis1.1.1_MediawikiArticlePath.patch [^] (437 bytes) 2008-02-11 08:28 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2008-02-11 08:28 jefersonfoliveira New Issue
2008-02-11 08:28 jefersonfoliveira File Added: mantis1.1.1_MediawikiArticlePath.patch
2010-08-22 14:45 atrol Tag Attached: patch

MantisBT 1.2.17 [^]
Copyright © 2000 - 2014 MantisBT Team
Time: 0.0815 seconds.
memory usage: 3,015 KB
Powered by Mantis Bugtracker