I'm planning to host wikis for several different subjects. One will be
a wiki for statistics programmers, another will be for natural
childbirth, another will be for local politics. It is unlikely the
groups will interact.
They'll all run on the same box. My question: is it better to run
multiple instances of mediawiki, where I extract the tarball to
/var/www/wiki1, /var/www/wiki2, etc... or is there some internal support
for this?
Is running multiple wikis more CPU intensive than one single one?
TIA
hello,
I've started with installing a media wiki server on a linux computer.
I did it twice one at home (arch linux 0.7) and one at my job (mandrake
10.0). I used for both the same installation: XAMPP Linux 1.4.11 (Apache
2.0.52, MySQL 4.1.8, PHP 5.0.3 ...) and MediaWiki 1.3.9.
On the "mandrake" one I can't upload, neither locally nor from a remote
Windows computer. But on the "arch" one it works, at least locally.
I have the setting in php.ini: "file_uploads = On" and
"upload_max_filesize = 2M". The images directory is given free.
I get always this error:
> Upload error
> # 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.
I get this error independent how big the file is, 100k or low. Even I
figured out that I get the same error if the access to folder images
isn't allowed or if it is at all not here.
I dont know where to search anymore, please help. Are there more
settings and dependcies I missed?
Thanks a lot
Dietmar
hello,
I've started with installing a media wiki server on a linux computer.
I did it twice one at home (arch linux 0.7) and one at my job (mandrake 10.0). I used for both the same installation: XAMPP Linux 1.4.11 (Apache 2.0.52, MySQL 4.1.8, PHP 5.0.3 ...) and MediaWiki 1.3.9.
On the "mandrake" one I can't upload, neither locally nor from a remote Windows computer. But on the "arch" one it works, at least locally.
I have the setting in php.ini: "file_uploads = On" and "upload_max_filesize = 2M". The "images" directory is given free.
I get always this error:
---
Upload error
# 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.
---
I get this error independent how big the file is, 100k or lower. Even I figured out that I get the same error if the access to folder "images" isn't allowed or if it isn't at all here.
I don't know where to search anymore, can you give me any pointer? Are there more settings and dependencies I missed?
Thanks a lot
Dietmar
Thanks for all of your input. I resolve the image caching issue by
adjusting the Content Expiration settings on IIS. Beware of using the
"expire immediately" setting - as this will break all image downloads. I
set mine on 1 minute and that fixed the issue.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeremy Vignaux wrote:
| We're having a lot of issues with pages (especially re-uploaded
images)
| not being displayed properly on end-user workstations because the
local
| browser is caching the pages even though they have been updated.
| Obviously manually clearing the cache (globally or with CTRL-F5) fixes
| the problem), but this simply doesn't scale well to end users.
|
| We're running MediaWiki on MS IIS 6.0 (Windows 2003) and all users are
| using IE 6 to view the site.
Images are not sent from the wiki, but come directly off the filesystem
through the web server, and we do not control the cache-related HTTP
headers that go with them.
Typically a changed image file (just like any other changed file with no
special cache headers) will require the user to manually reload to
actually get the browser go to the network to check for a short-term
change. If you do this sort of thing a lot, you might consider modifying
your web server's configuration to shorten the expiration time on images
on the uploads directory.
MediaWiki is developed and deployed primarily on Apache; most of us do
not have convenient access to IIS so if you are having problems with
caching of the actual wiki pages I'm afraid you'll have to debug it
yourself.
You should check that the correct cache headers are being sent. You can
use a network packet sniffer (such as ethereal) to grab HTTP traffic
between client and server, or if the problems are not IE-specific you
can use Mozilla Firefox with the 'Live HTTP Headers' extension
installed, which conveniently shows all the sent and received headers
for requested pages.
- -- brion vibber (brion @ pobox.com)
Is the a way to put into an article a list of all the categories on a wiki?
I know I can link to the Special:Category page and see the list but I
want to embed this list into an article.
Thanks,
Jc
Note: This e-mail contains privileged and confidential information and is for the sole use of the intended recipient(s). If you are not an intended recipient, you are hereby kindly requested to refrain from printing, copying, or distributing the information contained herein. Furthermore, any other use of the information contained herein is strictly prohibited. If you have received this transmission in error, please kindly notify the sender immediately and destroy all copies of the original message.
hiya -
I want to enable using "wiki text" within an existing site. that is,
a site that already has its own navigation, other database features,
but i want to allow people to edit text areas that have all the wiki
features (hot linking, categories...)
I get the feeling it would be really difficult to do this with
mediawiki - has anyone experience of this? or, are there
recommendations for another much more liteweight wiki tool to do this?
thanks,
/dc
_______________________________________________
David "DC" Collier
mobile business creator |モバイル・ビジネス・クリエーター
dc(a)pikkle.com
http://www.pikkle.com
+81 (0)90-7414-6107
Hi,
Is there a list of all the commands like __NOTOC__ and #REDIRECT somewhere?
thanks
--
Tim McKenna
BU, CNS dept.
(617)353-7677(office)
(617)524-0938(home)
(857)498-2574(mobile)
Hi -- I'd like to create a template something like:
[http://www.google.com/search?q={{{1}}} {{{1}}}]
so that a link is created, linking to a search for that word (or
phrase). this works great when the term is a single word, but when it
a phrase I'm getting behavior like this:
in the article, I have
{{search|one two}}
and it is rendered
<a href='http://www.google.com/search?q=one' class='external'
title="http://www.google.com/search?q=one">one two one</a>
so, the text that shows up in the link is "two one two". I'd like the
text to be "one two" and the search string parameter in the URL to be
"one+two". Is there a way to replace a space with a '+' in a template
parameter?
thanks,
Jon
I'm sorry about the cryptical comment line, but I'll try to explain:
My personal wiki is in Danish. But I have noticed a lot of internatiol
visitors to a single page <http://wiki.wegge.dk/MediaWiki>, probably
because of the mod_rewrite stuff. To be a nicer person to everyone, I
made an english translation
<http://wiki.wegge.dk/MediaWiki_customizations>, and linked the two
pages with interlanguage links. The interlanguage prefixes for da and
en both point to the same site, and this is where my trouble
starts. Because the site language is danish, both pages are served
with the samle html declaration, ... xml:lang="da" lang="da" ... And
this is exdactly wrong for the english version. So I was wondering if
anybody had had some similar problems, and how they solved them.
If nobody have a final solution, I'll try to hack something together
myself. In that case, I will probably list the spacial pages in an
array, and check for that in Output::headElement(). Am I correct in
guessing that $wgTitle will be valid at this point?
--
/Wegge <http://wiki.wegge.dk>
echo mail: !#^."<>"|tr "<> mail:" dk@wegge
mailto:awegge@gmail.com - Invitationer på FCFS basis