Okay, very much thanks for the previous answers...
1. I have this little error:
Fatal error: Call to undefined function text() in
C:\Server\htdocs\\wiki\skins\MonoBook.php on line 61
How to solve this?
Where do you see this error? Generally, it should not happen. Which
versions of PHP and MediaWiki do you use?
I use MediaWiki 1.7.1 and PHP 5.2.x-dev, and it showed up when I
accessed my wiki (so the index.php...).
I have solved the problem by reinstalling my wiki (after a DB-backup of
course :-) ), so that problem is over...
Additionally,
I have a bilingual wiki so I need two names for the
Main_Page both accessible
In LocalSettings.php, add the following code:
$wgForceUIMsgAsContentMsg = array( 'mainpage' );
Then, each user can define his language in Special:Preferences, and can
access the main page for him.
Okay, I have done as you said, but there is a little problem... It looks
as there are now two Mainpages, one for each language... An English user
now sees 'Main Page', but a Dutch user 'Hoofdpagina', which are two
separate articles... (My wiki is bilingual, some articles are in
English, others in Dutch, however, the Main Page - and some other
articles - should for both languages be the same, but with a different
title...)
An addition: Is there a possibility to access *any* article by different
names? If not, not *any*, but *some*?
4. I have
written a SSI-footer and header, however, I can't get them
into including them in my index.php (php require('foo.bar') function),
how do I do this, or can't I?
What's the problem, and what do you want to do?
Well, basically, this applies to a skin, I have a particular header
(that is, from the beginning of the html document to the middle of the
body) I use on every page, and I'd like to use it also on my wiki. So,
do I need to open a skin and add " <?php require("header.php"); ?>
" at
the top of the page, (and delete the standard header), or is this placed
in the index.php?
7. The capitalisation of MediaWiki needs to be customised: when a page "
A random noncapitalised page " exists, and a user accesses " A RandOm
NonCapitalIzed PAge ", ... well, those aren't the same... Is it possible
to change the Capitalisation Rules, or to make MediaWiki case-insensitive?
8. While going through 'Language.php', I saw a string " NS_MAIN =>
'' ",
so, I thought I'd add something there (like 'Article'), alas, it didn't
do anything, and so I wondered myself, is there a possibility to add a
prefix (like 'Article') to *any* page not being a Special, User, etc page?
(However, a minor problem would occur: you would need to add 'Article:'
to any page you would request - i.e. /wiki/Article:Main_Page instead of
just /wiki/Main_Page - so could it be modified that the
'Article:'-prefix only shows up in the Title, and not in the URL?
Additionally, I want some special pages (like Main_Page, among other
special-purpose pages) *not* to display the 'Article:'-prefix (don't
worry, the list is short, so it can be done by manually editing the
.php-pages)...
9. The URL rewriting: currently, my wiki uses "
index.php?title=Article&action=edit ", I have no problems with that,
however, I would have even less problems with rewriting it to "
/wiki/Article?action=edit " (this was described in
"http://meta.wikimedia.org/wiki/Talk:Eliminating_index.php_from_the_url#My_edits_for_ABSOLUTELY_NO_index.php_links"
but i have installed mediawiki under /wiki/ and not under /w/ so that
didn't work for some reason) ... I guess I'm not much of a programmer
and so I have no clue how to make it work for me...
That was it for the moment, I might come up later with new ideas :-)
Thanks very much,
Sebastiaan Snoeckx