Cms mediawiki faq
From Reto
Bot 11:34, 8 June 2007 (CEST)
| See also |
| A – Z |
2 Frequently Asked Questions & Answers
Home >
MediaWiki Reference >
CMS::MediaWiki >
Frequently Asked Questions & Answers
| ← 1.3.2 fixwikicache.pl | [ up ] - [ top ] | 2.1 Compatibility → |
| 2.1 | Compatibility |
Is it possible to upload a simple attachment with CMS::MediaWiki?
Not yet. Please upload files with LWP. Or, much better with rsync - depending on your environment and possibilities of your systems.
CMS::MediaWiki and MediaWiki Versions
It deals successfully with MediaWiki from version 1.5.3 to 1.7.1. I assume it will work with other MediaWiki releases as well but I have not tested this yet.
I have successfully tested the interoperability with following versions by myself:
- 1.10.1 — CMS::MediaWiki 0.8012 — Reto 10:32, 30 August 2007 (CEST)
- 1.7.1
- 1.6.8
- 1.5.3
Can't publish to a Wiki page
You might increase the debug level up to 2 and you should see where the connection fails or at least get more output back. Just some thoughts, ...
- Try to create or update a fresh page for a first testing.
- It might be necessary your "Bot" should have Sysop privileges in case the page is protected against non Sysop users.
- Check if your user that runs the Perl script had write access to the current directory (Cookie file stuff).
- Verify if your Wikis's directory is not protected against a Basic Auth or by rules in a .htaccess file.
A section title is being cropped every time after publishing
Check if your text attribute contatins the section title in Wiki style followed by at least one newline. Example:
my $rc = $mw->editPage(
title => $Options{'title'},
section => 2,
text => "== A Section ==\n\n" . (scalar localtime) . " / pid $$\n\n",
summary => 'Hi'
);
