Is it possible to upload and embed Java applets in a mediawiki? If so, how? Do I need to do anything more than add the appropriate extension to $wgFileExtensions?
--Emma
Hello *! I installed 1.5alpha2, but user WikiSysop has been created as normal 'user', not 'sysop'. Any ideas how to increase rights afterwards? Thanks, Mike
Michael Bartos wrote:
Hello *! I installed 1.5alpha2, but user WikiSysop has been created as normal 'user', not 'sysop'. Any ideas how to increase rights afterwards?
The user/groups system is pretty broken right now, you may have to fiddle with the tables manually.
-- brion vibber (brion @ pobox.com)
Michael Bartos wrote:
The user/groups system is pretty broken right now, you may have to fiddle with the tables manually.
Thanks! Where can I find documentation on how to do this?
Nowhere, probably.
-- brion vibber (brion @ pobox.com)
On 6/8/05, Brion Vibber brion@pobox.com wrote:
Michael Bartos wrote:
The user/groups system is pretty broken right now, you may have to fiddle with the tables manually.
Thanks! Where can I find documentation on how to do this?
Nowhere, probably.
I see that 1.5 has made major changes to the database schema regarding articles, but has it changed in regards to the user table? Would the documentation in http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki no longer be accurate?
On 6/8/05, Rick DeNatale rick.denatale@gmail.com wrote:
I see that 1.5 has made major changes to the database schema regarding articles, but has it changed in regards to the user table?
I should have said user_rights table instead of user table for 1.4 and later.
Rick DeNatale wrote:
The user/groups system is pretty broken right now, you may have to fiddle with the tables manually.
Thanks! Where can I find documentation on how to do this?
I see that 1.5 has made major changes to the database schema regarding articles, but has it changed in regards to the user table? Would the documentation in http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki no longer be accurate?
Ok, I've made some more changes tonight to clean it up to where it should be in a reasonably working state. Hopefully coherent info follows:
The old user_rights field (in 1.4, the ur_rights in the user_rights table) was a comma-delimited list of group names. For instance it might contain "sysop,bureaucrat" or "bot", or just "" for a regular account.
In 1.5 these are now each in a row in the user_groups table, which is easier to track and manipulate programmatically. To manually mark an account as a sysop+bureaucrat, look up its user_id number and insert the group assignments like this:
INSERT INTO user_groups VALUES (1,'sysop'),(1,'bureaucrat');
The actual permissions conferred to a user in a given group are defined in $wgGroupPermissions. DefaultSettings.php contains a default set (which may slightly change yet before final release), but you could customize these in LocalSettings.php.
A sysop+bureaucrat user can use Special:Userrights to set the group assignments of other accounts; this replaces the old Special:Makesysop.
Interactions with $wgWhitelistEdit and $wgWhitelistRead are probably not yet totally resolved.
For a while in 1.5 alpha code there was use of a groups table with definitions, and the user_rights table was still sort of used, but it was all pretty broken. Those are now no longer used and won't be included in a fresh install.
An upgrade from 1.4 or earlier will convert the user_rights info to the new user_groups table when you run the updater (update.php, or via the web installer).
If you update an existing 1.5 alpha wiki to the latest code though it'll give up on the broken intermediate tables and just ask you to manually set up your sysops again.
-- brion vibber (brion @ pobox.com)
Sounds like some good changes which will make user admin much easier.
I haven't been trying 1.5 yet. I'm still trying to think through how to safely migrate my server from RH9 probably to a debian based distro, either sarge or ubuntu hoary(which I'm running on my laptop), so that I can get things like apache and php to a more modern level.
Brion,
Any guess as to when 1.5 will be a stable release?
-ben
On 6/8/05, Brion Vibber brion@pobox.com wrote:
Michael Bartos wrote:
Hello *! I installed 1.5alpha2, but user WikiSysop has been created as normal
'user',
not 'sysop'. Any ideas how to increase rights afterwards?
The user/groups system is pretty broken right now, you may have to fiddle with the tables manually.
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Emma Gottesman wrote:
Is it possible to upload and embed Java applets in a mediawiki? If so, how? Do I need to do anything more than add the appropriate extension to $wgFileExtensions?
You'd probably want to use a custom MediaWiki parser extension which emits the appropriate <applet> tags.
http://meta.wikimedia.org/wiki/Write_your_own_MediaWiki_extension
-- brion vibber (brion @ pobox.com)
After applying rule rewrite to get cleaner-looking article URL's, my search no longer works. It appears that the search parameters aren't being passed in.
If someone has any ideas on why this broke, I'd appreciate it.
Here's my steps to reproduce:
1) I followed the instructions here: http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url#Using_a_re write_rule_in_a_.htaccess_file
2) My MW 1.4.3 runtime files are stored in a /w directory rather than /wiki, per the article's assumptions
3) The rewrites all worked fine
4) Article search no longer works. The "Search results" page says: For query "" Badly formed search query We could not process your query. This is probably because you have attempted to search for a word fewer than three letters long, which is not yet supported. It could also be that you have mistyped the expression, for example "fish and and scales". Please try another query.
This only breaks when I try rule rewrite.
Carlton B wrote:
After applying rule rewrite to get cleaner-looking article URL's, my search no longer works. It appears that the search parameters aren't being passed in.
Use the query string append ([QSA]) option.
-- brion vibber (brion @ pobox.com)
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Brion Vibber Sent: Wednesday, June 08, 2005 8:28 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] URL rewriting breaks my article search?
Carlton B wrote:
After applying rule rewrite to get cleaner-looking article
URL's, my search
no longer works. It appears that the search parameters aren't
being passed
in.
Use the query string append ([QSA]) option.
Worked, thanks
We need to change that in the instructions. I had the same issue. :)
Thanks, -drmike
Quoting Brion Vibber brion@pobox.com:
Carlton B wrote:
After applying rule rewrite to get cleaner-looking article URL's, my search no longer works. It appears that the search parameters aren't being passed in.
Use the query string append ([QSA]) option.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org