From: Prodos (Melbourne, Australia)
Good afternoon.
I've set up my MediaWiki script to prevent
new user registration. As I understand it, I
should still be able to add users by logging in
as Admin and going to [[Special:Userlogin]]
However, when I try this I get an error message.
DETAILS ....
I've followed the instructions at:
http://meta.wikimedia.org/wiki/Preventing_Access
i.e.
- - -
In order to prevent new user registrations, the following line could be
added to the LocalSettings.php file:
$wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );
- - -
And then it says:
- - -
Note: New users will still be able to be created by sysops, in the
following manner:
Go to [[Special:Userlogin]], when logged in as a sysop.
Enter a username and an email address, and click the "by email" button.
The account will be created with a random password which is then emailed
to the given address.
- - -
But that's where I'm running into problems.
I'm logged in as Admin (which I assume includes all the permissions of
SySop, right?)
I go to:
http://www.mydomain.org/index.php?title=Special:Userlogin
The heading says:
Create an account or log in
I fill out the fields along these lines ....
Your user name: typicalmalechauvinist
Your password: ultracleverhardtoguesspassword
Retype password: ultracleverhardtoguesspassword
Your email*: typicalmalechauvinist(a)mydomain.org
Your real name*: Typical M Chauvinist
I click the "by email" button
And then I get red coloured text at the top of the form which says:
"You have not specified a valid user name."
What am I doing wrong?
Thanks for any assistance on this.
Best Wishes,
PRODOS
http://CelebrateCapitalism.ORG
"Why? Because I own my life!"
.
From: Prodos
Oops! Sorry about my earlier message going through
several times. My webmail kept saying the "send"
hadn't worked so I kept clicking the "send" button.
Hopefully, there'll only be ONE of this message! :-)
Best Wishes,
PRODOS
http://prodos.com
Hi all !
After looking for many solutions, I have found the one coming from Nick Kossifidis
available at http://bugzilla.wikimedia.org/show_bug.cgi?id=1924
which is exactly the one I was looking for !
His patch allows to restrict sub-regions of the wiki to a "user right"
which can be assigned to a user group. For instance ( inside LocalSettings.php ) :
1 ) create a new namespace
$wgExtraNamespaces = array(100 => "Sysopspace", 101 => "Sysopspace_Talk");
2 ) Assign it a user right :
$wgGroupPermissions['sysop']['namespaceGrp1'] = true;
$wgGroupPermissions['sysop']['namespaceGrp2'] = true;
3 ) then restrict the namespace for the desired right
$wgRestrictedNamespaces = array(100 => "namespaceGrp1", 101 => "namespaceGrp2");
All these steps can be repeated as may times as you need !
After that, you can organize your wiki by creating customized namespaces
and restricting their access and MW becomes a true CMS solution !
Thanks to Nick and hope it will be integrated in the final 1.5 version of Mediawiki
DC
On Tue, Aug 09, 2005 at 10:36:02AM -0400, Gregory Szorc wrote:
> Currently, there are two places where MediaWiki handles permissions.
>
> 1) At the user level in User.php. MediaWiki assigns generic
> permissions like read, edit, move, etc. (See DefaultSettings.php for
> a list)
>
> 2) At the page level in Title.php (see the UserCan function around
> line 900). MediaWiki checks whether a user has permissions for a
> selected page. In order for the user to have edit permissions on
> article Foo, the user must first have the edit permission at the user
> level and edit permissions at the article level. However,
> permissions at the article level seem to be non-existent.
>
> The new permission system in 1.5 only seems to apply to users and
> groups, not to articles. As you can see from the UserCan function,
> some limitations are hard-imposed based on namespace, but these
> aren't customizable without editing the MediaWiki code base. If you
> want to start a hack on the permissions system, this is the place to
> start looking. Also, individual pages can have specific restrictions
> put on them (see page.page_restrictions in the database), but this
> layout is not desirable for a CMS (a whole new table for this field
> is desirable). If you want to hack MediaWiki to be a true CMS, some
> more major changes to the permissions system are necessary.
>
> Greg
>
>
> On Aug 9, 2005, at 9:30 AM, Didier Courtaud wrote:
>
> > Hi
> >
> > I am a newbie to Mediawiki and I apologize if this question has
> > already been posted to this list but I did not see it in the
> > archives !
> >
> > I have just installed Mediawiki 1.5 beta 4 since I wanted to test
> > the new permissions sytem of this release to make an Intranet CMS !
> >
> > I try with success to disable the access for anonymous users, to
> > create groups of users, ....
> >
> > But I have not understood if it is possible to make thinks like this :
> >
> > Let say we have two groups of users named G1 and G2 and a set of
> > articles named A1 to An
> >
> > What I want to do is to say that users from the G1 group can
> > access ( read and/or write ) to articles A1 to A100 , that
> > uers from the group G2 can access articles A101 to A200 and that
> > users from the both groups can access to articles A201 to An
> >
> > I have seen the patch made to create a restrict group but :
> >
> > - it does not yet work with the version 1.5 of MediaWiki
> > - it is not sufficient because it only creates a group restrict
> > and it clearily not sufficient to make what I want to make
> >
> > Does anyone can help me ?
> >
> > Thanks by advance
> >
> > DC
> > _______________________________________________
> > 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
Hello everybody.
I have a mediawiki installation in a linux (Debian). I would like to
know which permission must have the mediawiki code (the php files). The
root is the owner of all the php files, except LocalSettings.php which
has 640 privilege and www-data as its owner, and the image directory
with 666 privilege and www-data, too. It works well right now, but i
would like to know if i am wrong, or something could be better.
And which is the best directory to make the installation?? /var/www/...
o another one else??
Thanks very much!!
--
Javier Lázaro Jareño
Secretariado de Nuevas Tecnologías y Recursos Virtuales
Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura
Plaza Caldereros S/N
Edificio Rectorado
10071 - Cáceres (Cáceres) España
Extensión: 1110, 7250
You can't do that with the current version of the software (it's to
prevent people from injecting script and HTML into wiki pages) but you
could link to the "email user" page for your wiki user account,
provided you have the email options enabled.
Rob Church
On 20/09/05, Jonah Winters <jonah(a)winterswebworks.com> wrote:
> I'm trying to put an HTML contact form in my wiki page,
> http://physics911.ca/index.php?title=Contact .
>
> I had thought I could find an extension for this purpose, but no
> luck. And I can't find any alternative for, or wiki markup for, the
> <form>, <input>, and <submit> tags.
>
> What are my best options?
>
> Thank you VERY much for your help!
>
> -Jonah
>
> --
> -- Jonah & Kari Winters: http://winterswebworks.com
> -- Baha'i Library Online: http://bahai-library.com
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
From: Prodos (Melbourne, Australia)
Good afternoon.
I've set up my MediaWiki script to prevent
new user registration. As I understand it, I
should still be able to add users by logging in
as Admin and going to [[Special:Userlogin]]
However, when I try this I get an error message.
DETAILS ....
I've followed the instructions at:
http://meta.wikimedia.org/wiki/Preventing_Access
i.e.
- - -
In order to prevent new user registrations, the following line could be
added to the LocalSettings.php file:
$wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );
- - -
And then it says:
- - -
Note: New users will still be able to be created by sysops, in the
following manner:
Go to [[Special:Userlogin]], when logged in as a sysop.
Enter a username and an email address, and click the "by email" button.
The account will be created with a random password which is then emailed
to the given address.
- - -
But that's where I'm running into problems.
I'm logged in as Admin (which I assume includes all the permissions of
SySop, right?)
I go to:
http://www.mydomain.org/index.php?title=Special:Userlogin
The heading says:
Create an account or log in
I fill out the fields along these lines ....
Your user name: typicalmalechauvinist
Your password: ultracleverhardtoguesspassword
Retype password: ultracleverhardtoguesspassword
Your email*: typicalmalechauvinist(a)mydomain.org
Your real name*: Typical M Chauvinist
I click the "by email" button
And then I get red coloured text at the top of the form which says:
"You have not specified a valid user name."
What am I doing wrong?
Thanks for any assistance on this.
Best Wishes,
PRODOS
http://CelebrateCapitalism.ORG
"Why? Because I own my life!"
.
From: Prodos (Melbourne, Australia)
Good afternoon.
I've set up my MediaWiki script to prevent
new user registration. As I understand it, I
should still be able to add users by logging in
as Admin and going to [[Special:Userlogin]]
However, when I try this I get an error message.
DETAILS ....
I've followed the instructions at:
http://meta.wikimedia.org/wiki/Preventing_Access
i.e.
- - -
In order to prevent new user registrations, the following line could be
added to the LocalSettings.php file:
$wgWhitelistAccount = array ( "sysop" => 1, "developer" => 1 );
- - -
And then it says:
- - -
Note: New users will still be able to be created by sysops, in the
following manner:
Go to [[Special:Userlogin]], when logged in as a sysop.
Enter a username and an email address, and click the "by email" button.
The account will be created with a random password which is then emailed
to the given address.
- - -
But that's where I'm running into problems.
I'm logged in as Admin (which I assume includes all the permissions of
SySop, right?)
I go to:
http://www.mydomain.org/index.php?title=Special:Userlogin
The heading says:
Create an account or log in
I fill out the fields along these lines ....
Your user name: typicalmalechauvinist
Your password: ultracleverhardtoguesspassword
Retype password: ultracleverhardtoguesspassword
Your email*: typicalmalechauvinist(a)mydomain.org
Your real name*: Typical M Chauvinist
I click the "by email" button
And then I get red coloured text at the top of the form which says:
"You have not specified a valid user name."
What am I doing wrong?
Thanks for any assistance on this.
Best Wishes,
PRODOS
http://CelebrateCapitalism.ORG
"Why? Because I own my life!"
.
Has anyone come across a plugin or source changes that allows a user to
submit/create a new page in media wiki via an email?
Example use case:
- Someone writes an email in wiki format
- The subject or a keyword attribute in the mail is used for the page name
- email is sent to newpage@wikihost
- new page is created in mediawiki
Thanks in advance.
--
Christopher Chan
SpikeSource, Inc.
cchan(a)spikesource.com
http://www.spikesource.com
Hmm, I took out any and all blank lines at the start and end of any
files I may have touched. Here is the link:
http://www.350z-tech.com/zwiki?title=Special:Recentchanges&action=purge&
feed=rss
when you view the source, it appears to be working?
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber
Sent: Sunday, September 18, 2005 4:15 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Recent Changes RSS not working.
Bass, Joshua L wrote:
> I get the following error on my RSS:
>
> XML Parsing Error: xml processing instruction not at start of external
> entity
> Location:
> http://www.350z-tech.com/zwiki?title=Special:Recentchanges&feed=rss
> Line Number 3, Column 1:<?xml version="1.0" encoding="utf-8"?>
> ^
Remove the extra spaces or blank lines at the start or end of any .php
files you have edited.
-- brion vibber (brion @ pobox.com)