I want to include some links from the SpecialPages, e.g. Allpages and
Categories, but I see there is no such a 'allpages-url' or
'categories-url' variables. I would like to put them like this:
$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
array( 'text'=>'randompage', 'href'=>'randompage-url' ),
array( 'text'=>'allpages', 'href'=>'allpages-url]]' ),
array( 'text'=>'categories', 'href'=>'[[allpages-url]]' ),
and, in general, how can I include a custom link under navitationlinks or
Thank you very much,
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
Thank You for your advice Rowan, :-)
IŽm just a beginner,
yet I tried calling up a different image from a URL, without the hotspots
and all, but it didnŽt work either...Nescape, IE and Opera donŽt have any
trouble at all...ItŽs just firefox :-(
I suggest this as 1.4.1 - it is fully based on REL1_4 .
E-Mail Notification for page and user-page changes and E-Mail-Address
Authentication. Many further innovative features such as direct links to
difference view between current and last-seen versions (of watched pages).
See http://bugzilla.wikipedia.org/show_bug.cgi?id=454 for
further information and http://meta.wikipedia.org/wiki/Enotif (download,
installation instructions, screenshots, documentation - there are
already many pages; the pages refer to the last version but will be
updated in the forthcoming days)
Comes with full installer and updater code, as usual.
Implementation details: It fully uses DATETIME type for timestamps.
It uses again the effective user_newtalk table, which allows efficient
memcaching for newtalk signalling. Sysops, Developers and Bureaucrats
need _not_ to authenticate their e-mail addresses, when they enter or
change them (for convenience; this can be switched on or off in
DefaultSettings as many other options). On the Create Account screen you
can now also enter the email address as you create the new account (this
is an old bug of mediawiki, but solved within my ENotif patch).
Please may I ask you, that you add your e-mail address to the CC list of
http://bugzilla.wikipedia.org/show_bug.cgi?id=454 , if you want kept
up-to-date ? This saves my time for writing to the many different
Avoid the most common pitfalls when you want to test E-Mail
Notifications as a newbie to it:
1. Do not forget to enter an e-mail address (user preferences) !!
2. Be aware, that you never receive an notification for your own changes
(you need to log in as another user B to invoke and check ENotifs sent
to watching user A )
3. ENotifs are sent only for the first change on a page you are watching
4. ENotifs are automatically retriggered when the watching users visits
the current version - may be direct or indirectly by visiting the
difference to it.
I've googled and looked over the documenatation at
http://meta.wikimedia.org/wiki/ and havn't found answers to the
First, some images show correctly for at least some logged-in users
but show as "Missing image" when I'm not logged in. Any ideas?
Second, I'm trying to add to the list of allowable file types.
the best reference I found. It says to add, for example,
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'zip', 'mpg');
to LocalSettings.php. I did that but it still won't let me upload a
.mpg. It tells me
The file you uploaded seems to be empty. This might be due to a typo in the
file name. Please check whether you really want to upload this file.
Is there something I need to do to make the changes take effect?
I've just installed a fresh copy of MediaWiki 1.4 and imported data into it.
Everything seemed to be running fine until I upgraded to MySQL 4.1 and set
the fulltext searching down to 3 characters.
Now when I submit articles, I'm often getting Internal Errors. I followed
instructions to display these errors, and this is what I'm seeing:
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:
REPLACE INTO `wiki_searchindex` (si_page,si_title,si_text) VALUES
('2338','community portal',' wiki_kb categories current category list[snip]
from within function "SearchUpdate::doUpdate". MySQL returned error "1034:
Incorrect key file for table 'wiki_searchindex'; try to repair it
So I opened MySQL and repaired that database, and then ran again and got the
same error. I can now replicate this:
- Submit article, get error
- Repair database, database checks as OK
- Submit article, get error
- Check database, database shows warning:
"Table is marked as crashed"
Rinse & repeat. Is this a MediaWiki error, or a problem w/ my MySQL install,
or a problem using 3 character fulltext searching, or what? Lost as to where
to go from here...
Hello, I am developing (as a Project Final Career) a collaborative
editor for translation of .po files based on Mediawiki. The idea is to
have the interface with a part non-editable (original, in English) and
one editable (for translation).
I have looked the documentation (design.doc, schema.doc...), but I
don't know if I should to modify the database to accept two sections
of text (editable and non-editable). I suppose it should be better
editing to .php level, as a BD modify of tables would be a bit
non-coherent with Mediawiki.
Also, I don't know exactly how to have a part of a page-non editable.
Thanks in advance
I've been at the same poing. I thought of starting with the MediaWiki
Software and then stripping it till I have the raw rendering engine.
Unfortunately it's not very well design and/or modular. So I soon gave
up on this and since I've wirtten many wiki syntax parsers bvefore I
figured I'd start from the bottom up.
Basic formattign and linking was easy, but MediaWiki has a lot of
extra features that other wikies don't have, such as namespaces,
templates and categories. So far I got most things working, including
variables and links nested inside templets (I haven't done templates
as variables to tamplates yet). and most pages I cehcked look fine.
All I have to do now is build a backlinks database so I can enable te
category functionality and perhaps see if I can insert images from
The formatting code is largely the MediaWiki one, but my linking and
tempalte code is all regex based, rather then parser based.
I know of many users having asked for implementing this, but how do
_you_ like this ?
Shall we notify changes on both pages ?
I have 1.4.1 code ready for allowing old or new behaviour (settable in
Would be nice to learn, how you think about this.
I've seen this posted here before (found in the archives), but never saw a
solution. I first tried installing an RC of 1.4, and hit this same problem.
I installed the last 1.3 release, and that went ok. Just trying to upgrade
to 1.4 final now, and hitting this again. Installation went ok, no errors,
but now when saving changes to a page, getting...
The page actually *does* save ok, and the change appears in RecentChanges.
Creating a new page gives the same error, and again the page is created, but
the interesting thing in this case is that the link on the referring page
(where the new page link was created) *stays red* and still links to
'...action=edit', even if the page is refreshed.
Looks like whatever is referred to to find out if the page exists hasn't
been updated. I've tried reading through the code, but it's really
stretching my PHP abilities - I'm only really up to copy 'n' paste PHP, not
understanding this complicated stuff ;)
Apache/1.3.33 (Unix) PHP/4.3.10
Any suggestions would be much appreciated.
Michael Randall - http://pigpog.com/michael/
PigPog - It's just words and pictures - http://pigpog.com