>From what I understand, your wiki works fine, except it throws that
error. If this is the case, then you can turn off the errors by setting
$wgShowSQLErrors=false; in LocalSettings.php. The error won't be shown
any more (though it will still happen).
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Graham Chiu
Sent: Monday, July 11, 2005 1:08 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] sql error
Can anyone help here?
I talked to the company hosting my site, and they said that they do
not know if, or when, they will be upgrading their mysql version.
Graham
On 7/9/05, Graham Chiu <compkarori(a)gmail.com> wrote:
> Is there some change I can make to the mysql statement so that it
> becomes compatible with this ealier version of mysql?
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Sorry, I overlooked that. You can include the entire array in
Localsettings.php as I have done:
/**
* Permission keys given to users in each group.
* All users are implicitly in the '*' group including anonymous
visitors;
* logged-in users are all implicitly in the 'user' group. These will be
* combined with the permissions of all groups that a given user is
listed
* in in the user_groups table.
*
* This replaces wgWhitelistAccount and wgWhitelistEdit
*/
$wgGroupPermissions = array();
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['user' ]['move'] = true;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;
$wgGroupPermissions['user' ]['upload'] = true;
$wgGroupPermissions['bot' ]['bot'] = true;
$wgGroupPermissions['sysop']['block'] = true;
$wgGroupPermissions['sysop']['read'] = true;
$wgGroupPermissions['sysop']['edit'] = true;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['delete'] = true;
$wgGroupPermissions['sysop']['editinterface'] = true;
$wgGroupPermissions['sysop']['import'] = true;
$wgGroupPermissions['sysop']['importupload'] = true;
$wgGroupPermissions['sysop']['move'] = true;
$wgGroupPermissions['sysop']['patrol'] = true;
$wgGroupPermissions['sysop']['protect'] = true;
$wgGroupPermissions['sysop']['rollback'] = true;
$wgGroupPermissions['sysop']['upload'] = true;
$wgGroupPermissions['bureaucrat']['userrights'] = true;
// Used by the Special:Renameuser extension
$wgGroupPermissions['bureaucrat']['renameuser'] = true;
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Joshua Oreman
Sent: Friday, September 02, 2005 12:34 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] How to Temp. Disable Wiki.
On 9/2/05, Bass, Joshua L <joshua.l.bass(a)lmco.com> wrote:
> For 1.5 mediawiki add this to your Localsettings.php. It will allow
> only registered members to read and edit the wiki and prevent
> newcomers from
> registering:
>
> $wgGroupPermissions = array();
Watch out. This clears the permissions array; see below.
I'd recommend removing this line.
>
> $wgGroupPermissions['*' ]['createaccount'] = false;
> $wgGroupPermissions['*' ]['read'] = false;
> $wgGroupPermissions['*' ]['edit'] = false;
>
> $wgGroupPermissions['user' ]['move'] = true;
> $wgGroupPermissions['user' ]['read'] = true;
> $wgGroupPermissions['user' ]['edit'] = true;
> $wgGroupPermissions['user' ]['upload'] = true;
There's no "sysop" entries in there. If you use this code, sysops won't
have any special permissions. Thus, there will be no type of user
allowed to delete pages. I doubt this is what you want.
-- Josh
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Aaron Crayne
> Sent: Friday, September 02, 2005 10:39 AM
> To: mediawiki-l(a)Wikimedia.org
> Subject: [Mediawiki-l] How to Temp. Disable Wiki.
>
>
> Is there a way I can install a wiki, but disable it for casual
> visitors until we have most of our content and templates added. We
> have been preparing to install a new wiki at its own domain, we have a
> lot of documents (that are unfortuneatley not in a sql dump),
> templates, graphics etc that are all part of it. It would be nice to
> have the time to get all of our info inplace before we open the doors.
>
> Thanks
> Aaron
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
For 1.5 mediawiki add this to your Localsettings.php. It will allow only
registered members to read and edit the wiki and prevent newcomers from
registering:
$wgGroupPermissions = array();
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['user' ]['move'] = true;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;
$wgGroupPermissions['user' ]['upload'] = true;
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Aaron Crayne
Sent: Friday, September 02, 2005 10:39 AM
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] How to Temp. Disable Wiki.
Is there a way I can install a wiki, but disable it for casual visitors
until we have most of our content and templates added. We have been
preparing to install a new wiki at its own domain, we have a lot of
documents (that are unfortuneatley not in a sql dump), templates,
graphics etc that are all part of it. It would be nice to have the time
to get all of our info inplace before we open the doors.
Thanks
Aaron
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
The new Invisionboard allow external member database authentication. I
am trying to link it to my wiki member database. I was able to
authenticate against Drupals (blogger) database and another
Invisionboard using this code. However, it is not working for mediawiki
database.
I hope to use this method to bridge several sites into 1 community of
members. Can someone help me with the database queries on the mediawiki
side? See link below for the authentication code. My guess is that the
member names and passwords are encrypted differently on mediawiki.
http://www.350z-tech.com/wiki/index.php/User:Toykilla/Wiki_Login
Is there a way I can install a wiki, but disable it for casual visitors
until we have most of our content and templates added. We have been
preparing to install a new wiki at its own domain, we have a lot of
documents (that are unfortuneatley not in a sql dump), templates, graphics
etc that are all part of it. It would be nice to have the time to get all
of our info inplace before we open the doors.
Thanks
Aaron
Edit skins/monobook.php and put the link where you want it.
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of dug
Sent: Friday, September 02, 2005 10:15 AM
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] Add HTML fragment to default page
(Definitely a noob, sorry for the ignorance.)
I'm setting up a public site with a MW wiki for a purpose similar to
Wikipedia, but in my humble greed I would like to add an Amazon.com
Associate link to trickle a little money in the door. This link should
appear on all new pages created, in the same general-user-untouchable
areas
that the navigation and footer elements appear.
How do I customize the default HTML generated?
Or, failing this, is there a better Wiki for this purpose?
TIA
--doug
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
(Definitely a noob, sorry for the ignorance.)
I'm setting up a public site with a MW wiki for a purpose similar to
Wikipedia, but in my humble greed I would like to add an Amazon.com
Associate link to trickle a little money in the door. This link should
appear on all new pages created, in the same general-user-untouchable areas
that the navigation and footer elements appear.
How do I customize the default HTML generated?
Or, failing this, is there a better Wiki for this purpose?
TIA
--doug
MW folk,
A few days ago I posted a patch to Title::userCan() to prevent users from
editing any user page but their own.
I found a small(?) bug in the code and fixed it as documented on meta:
code:
<http://meta.wikimedia.org/w/index.php?title=User:Yeidel#User_Pages_Editable
_Only_By_User>
talk:
<http://meta.wikimedia.org/wiki/User_talk:Yeidel#User_Page_Editing_--_Anon_U
ser_Test_Removed>
I removed from the User Page Editing patch the line
+ && $wgUser->getID() != 0 #not anonymous user
The intention was to protect the following "$wgUser->getName()" from being
undefined if the test were run for anonymous users. However, that's not
really a problem, since $wgUser->getName() returns the IP number for
anonymous users.
In our environment, this line has no impact, since anonymous users are not
permitted to edit anything.
In an environment where anon users can edit, this line would cause the
disqualifying test not to be applied to anon users; thus an anon user could
edit any user page.
It was just a mistake that proved to be harmless in our environment, but
could be a problem if the code were imported into another environment.
Hello *!
I have created a "New page Wizard" collecting all necessary data for new
entries using input forms, but creating new articles by 'external' routines
seems to be tricky.
Calling "index.php?title=<NEWPAGENAME>&action=submit" and providing markup
in "wpTextbox1", for good reason, is not enough. But what's the best
approach (from "localhost")?
Any hints (or links to documentation) are welcome!
Kind regards,
Mike
www.dienstag-abend.de
Hello,
Topic 1: This seems like the sort of question that could be
immediately referred to documentation, FAQ's or letters in a forum,
but I have just spent several hours fruitlessly seeking a solution. I
hope someone might tell me how to import the Help files into my newly
installed version of Mediawiki.
The only thing I have been able to find on the meta site is a one-
line suggestion to dump what appears to be the whole database, but
even that--which surely is not the right answer--contained no
suggestion as to what to do with it.
There are a number of unanswered queries on the same question on the
Help talk pages, too.
Topic 2: Following the configuration instructions, I'm trying to make
some changes in the Language.php file, such as changing "portal" to "-
", but they have no effect. I have cleared the cache, too. Any
suggestions?
Thank you for your help on questions that surely must have been asked
already!
B. Magilavy
Avalon Internet
email: bmagilavy(a)avalon-internet.com
web: http://avalon-internet.com
Telephone: +1 415-864-2089