> > $wgGroupPermissions['user' ]['edit'] = false;
>
> That's your problem. You can't create any kind of page if you
> aren't allowed to edit. You'll need to allow users to edit,
> and then protect all but the talk namespace using
> $wgNamespaceProtection (see DefaultSettings.php and
> http://www.mediawiki.org/wiki/Manual:Preventing_access for more info).
Ho no, it pretty sucks :-( I can't handle the protection of each new
page. That's the only know way to allow discussion & not edit pages ?
Thanks anyway for the answer!
"Les informations contenues dans ce message electronique peuvent etre de nature confidentielles et soumises a une obligation de secret. Elles sont destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message par erreur, merci de le detruire immediatement et de le notifier a son emetteur."
"The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
I have just upgraded my web server from 5.0.2 and now my wiki appears to
be broken.
It displays content fine as far as I can tell. However in Firefox when I
hut save after editing a page I'm taken to Preview and can't saved the
edit whatever I try. When I try the same thing with IE7 just tells me
that The page can not be displayed.
Does anyone have any suggestions to fix this?
Charlie
Hi
I've only just starting using MediaWiki and I'm a novice. I'm trying
to get my wiki to authenticate email addresses by confirming that an
email address is valid. I've had a look at the MediaWiki FAQs and
browsed the MediaWiki site but can't find what I'm looking for.
I have my MediaWiki installation running on an iMac but don't have a
mail server running on my Mac. So I was wondering whether it's
possible to use a remote mail server. I've seen this function:
$wgSMTP = array(
'host' => "localhost",
'IDHost' => "domain for MessageID",
'port' => 25,
'auth' => false,
'username' => "my_user_name",
'password' => "my_password"
);
Would this work and could I use say Gmail as a remote mail server for
my wiki? Does anyone know what settings I should enter and where in
the localsettings file I should place this code? I look forward to any
help you can give me. Thanks.
Jim
It is really basic, but a get a 403 forbidden when i try to access my
extensions directory via http, however, chmod and chown are just the
same as skins directory, and i can access that one!!
An idea, please?
thanks
I just upgraded from 1.10.1 to 1.11.0, and it didn't work very well.
Generally, wiki works, I can search, but I can't edit any page.
If I press "Edit" on any of the pages, it wants to edit the "Index.php"
site. Any clues?
If anyone wants to see, go to
http://wpkg.org/index.php?title=Support&action=edit (or any other
protected page in that wiki).
--
Tomasz Chmielewski
I have apparently missed something really obvious: How do I get our
work wiki to have a row of formatting buttons at the top of the edit
box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions
but didn't find one that did this.)
- d.
Hello,
In my LocalSettings.php, I've put this :
$wgGroupPermissions['user' ]['move'] = false;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = false;
$wgGroupPermissions['user' ]['delete'] = false;
$wgGroupPermissions['user' ]['createpage'] = false;
$wgGroupPermissions['user' ]['createtalk'] = true;
$wgGroupPermissions['user' ]['createaccount'] = false;
$wgGroupPermissions['user' ]['upload'] = false;
$wgGroupPermissions['user' ]['reupload'] = false;
$wgGroupPermissions['user' ]['reupload-shared'] = false;
$wgGroupPermissions['user' ]['minoredit'] = false;
$wgGroupPermissions['user' ]['import'] = false;
$wgGroupPermissions['user' ]['protect'] = false;
I thought ['createtalk'] = true; allow users to creation discution
but it's not the case, did I mist something somewhere ?
Thanks!
"Les informations contenues dans ce message electronique peuvent etre de nature confidentielles et soumises a une obligation de secret. Elles sont destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message par erreur, merci de le detruire immediatement et de le notifier a son emetteur."
"The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
Hi,
I installed a new 1.11.0 wiki and I see the following error after
installation: PHP Fatal error: Only variables can be passed by reference
in C:\Inetpub\testwiki\includes\LinkBatch.php on line 163
First time I see that and my 1.10.X wikis are working fine.
I got this before installing:
* PHP 5.0.5 installed
* Found database drivers for: MySQL
* PHP server API is cgi-fcgi; using ugly URLs
(index.php?title=Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* Warning: A value for session.save_path has not been set in PHP.ini. If
the default value causes problems with saving session data, set it to a
valid path which is read/write/execute for the user your web server is
running under.
* PHP is configured with no memory_limit.
* Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use
these for object caching.
* GNU diff3 not found.
* Found GD graphics library built-in, image thumbnailing will be enabled
if you enable uploads.
* Installation directory: C:\Inetpub\testwiki
* Script URI path: /testwiki
* Installing MediaWiki with php file extensions
* Environment checked. You can install MediaWiki.
Any idea?
Thanks!
Simon
I am doing some hacking and need to call dumpHTML.php after an undelete happens.
However, dumpHTML.php is unsuccessful in retrieving the new pageid during request time even after the page has been restored.
If I wait until the entire request is done, it can find the same article fine from the command line.
I need to find a place in the code during the undelete request so that I can call dumpHTML to get the new restore pushed to HTML.
ANy idea what point in the code I should insert this?
I have been hacking this for days. Very frustrating.
Thanks
I have a MediaWiki extension that invokes a Windows command-line program
(gnuplot.exe) to do some processing. If the MediaWiki user clicks the
browser "stop" button in the middle of processing, or closes the
browser, the external program does not die. It hangs around until you
eventually restart Apache.
What is the proper way to ensure that the external program is killed
when the user clicks the browser's stop button, or closes the browser?
Is this possible?
Specifically, my extension invokes code from the GNUplot extension
(http://meta.wikimedia.org/wiki/Gnuplot):
require_once("gnuplot.php");
...
$output = renderGnuplot($gnuplotSrcString);
renderGnuplot() does a shell_exec().
I suppose "timing out" would be an OK solution (say, after 1 minute).
DanB