On Montag, 24. September 2007, Louis Gerbarg wrote:
> I have been tinkering with Semantic MediaWiki a bit on and off. Today when
> I tried to setup a new install from SVN on a Mediawiki 1.10 installation I
> experienced a failure going to the Special:SMWAdmin page. Apparently
> sysopRequired has been disabled (it appears to have been deprecated for
> quite some time).
> Attached is a patch that fixed the problem for me. I am not an expert on
> the internals of MediaWiki, but I believe this is the correct credential,
> in my limited testing it prevented the page from working when I was not
> logged in on an admin account, and worked when I was logged in as an admi=
Thanks, I have applied the patch in SVN (although I used=20
permissionRequired('delete') instead of permissionRequired('siteadmin'),=20
since the former is what we require).
In general, making SMWAdmin available to anyone who can delete seems to be=
wrong, but the really restrictive rights like siteadmin require extra=20
configuration to be available to anyone at all. Maybe we will at least add =
option to restrict SMWAdmin to those.
Institut AIFB, Univers=E4t Karlsruhe (TH), 76128 Karlsruhe
phone +49 (0)721 608 7362 fax +49 (0)721 608 5998
mak@... www http://korrekt.org