login id as parameter ? Here's an apparently simple question who's solution is evading me. We have mediawiki running on Ubuntu in a windows intranet (in a school). Everyone who gains access to the wiki has already logged on. I can easily grab their login name and pass it as a parameter to the weblink to the wiki.
So I want a use to launch the wiki with something like http://localintranetserver/wiki?mylogin=fredbloggs which would mean that all editing that Fred Bloggs does bears his name. Sounds easy... would solve lots of issues... but can't quite figure it out.
________________________________
From: mediawiki-l-bounces@Wikimedia.org on behalf of mediawiki-l-request@Wikimedia.org Sent: Sun 4/09/2005 2:42 PM To: mediawiki-l@Wikimedia.org Subject: MediaWiki-l Digest, Vol 24, Issue 11
Send MediaWiki-l mailing list submissions to mediawiki-l@Wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.wikipedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@Wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@Wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. RE: Create New Page button (Robert Hartmann) 2. Re: table user_rights gone! (Brion Vibber) 3. Default template for a Namespace (Ken) 4. Re: Default template for a Namespace (Mike Valstar) 5. Re: Member database auth plugin (Josh) 6. The file you uploaded seems to be empty. (Sy Ali) 7. Re: repeated spambot attacks (Muzaffer Ozakca) 8. Re: repeated spambot attacks (Sy Ali) 9. How does wfDebug work? (Rick DeNatale) 10. Re: encrypt mySQL password? (Anthony DiPierro)
----------------------------------------------------------------------
Message: 1 Date: Sat, 3 Sep 2005 20:32:03 +0200 From: "Robert Hartmann" rob.hartmann@gmx.de Subject: RE: [Mediawiki-l] Create New Page button To: "'MediaWiki announcements and site admin list'" mediawiki-l@Wikimedia.org Message-ID: 000f01c5b0b5$c9859070$4b7107d5@RoboterScience Content-Type: text/plain; charset="us-ascii"
For this yoh have to install version 1.5 and install the inputbox-plugin! Look here: http://meta.wikimedia.org/wiki/Help:Inputbox
-----Original Message----- From: Craig Hoffman [mailto:choffman@eclimb.net] Sent: Saturday, September 03, 2005 12:01 AM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Create New Page button
Hi There, I just installed latest version 1.4.9 of MediaWiki and I'm learning to use it. Please bear with me if my questions seem trivial.
Q1 - Can anyone recommend a tutorial site? Q2 - On a few wiki sites I saw handy button (Create New Page) -- How can I get this button to appear or is it some sort of hack I need to do?
Thanks, Craig Hoffman
_______________________ Craig Hoffman choffman@eclimb.net iChat / AIM: m0untaind0g _______________________
------------------------------
Message: 2 Date: Sat, 03 Sep 2005 12:23:15 -0700 From: Brion Vibber brion@pobox.com Subject: Re: [Mediawiki-l] table user_rights gone! To: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Message-ID: 4319F823.20700@pobox.com Content-Type: text/plain; charset="iso-8859-1"
Christian Parpart wrote:
I've had some serous disk trouble and now, I'm missing the user_rights table, however, I'd simply create a new one, so, that every little user should just recreate their accounts.
but how do I do?
could anyone gimme a short hint on what the schema of this table usually looks like *AND* wether this would lead into other problems when I do it that way? (I do not wanna loose the page contents)....
See maintenance/tables.sql for the schema. Create the table, then a blank row for each user:
INSERT INTO user_rights (ur_user,ur_rights) SELECT user_id,'' FROM user;
You'd want to set up some account as a sysop, probably, putting 'sysop,bureaucrat' or such into its ur_rights field.
(Note that this table is no longer used in 1.5, as it's been replaced by user_groups.)
-- brion vibber (brion @ pobox.com)
Chris Blake wrote:
login id as parameter ? Here's an apparently simple question who's solution is evading me. We have mediawiki running on Ubuntu in a windows intranet (in a school). Everyone who gains access to the wiki has already logged on. I can easily grab their login name and pass it as a parameter to the weblink to the wiki.
So I want a use to launch the wiki with something like http://localintranetserver/wiki?mylogin=fredbloggs which would mean that all editing that Fred Bloggs does bears his name. Sounds easy... would solve lots of issues... but can't quite figure it out.
Try creating an extension function that sets $wgUser appropriately.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
mediawiki-l@lists.wikimedia.org