I'm missing something obvious - how do I rebuild the system messages in 1.4?
In 1.3 I would call "php.exe rebuildmessages.php" which would do the job for
me. But in 1.4 I get prompted to update or rebuild. From the description
provided for these I'm not sure which one does what :-(
What do I need to call to simply refresh the messages based on our updated
Special:Allmessages ?
Cheers,
al.
I noticed on Wikipedia that there are many Wikipedia:Naming_conventions
articles with parenthetical elements in them -- for example,
Wikipedia:Naming_conventions_(capitalization). Now, it doesn't seem as
though they are ever used in links where the title is piped to suppress
the parenthetical text, so I was wondering if there was some other
reason why they are named this way.
Is this simply a stylistic convention? Is there a technical reason? Was
it thought that they might be used in piped links? Is there some
historical reason that has been obscured through changes in the
software? Some other reason?
John Blumel
Hi,
A client of mine (a small business) wants to be able
to modify and maintain the content of their website
themselves and minimise their dependence on web
developers. I've suggested that they consider using a
wiki (I mentioned mediawiki) however they would need
the site to be configured and customized for the look
they want (after basic LAMP installation).
They are ready to pay (decent rates) for someone who
knows what they are doing, so I'm looking for
expressions of interest; someone with experience in
mediawiki admin and skin customisation. I would expect
any work that added to mediawiki functionality
including new skins to be contributed back to the
mediawiki project.
Thanks for you consideration,
Simon
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
The starting position for the entire side-column (less the logo) is
determined by the line:
#column-one { padding-top: 160px; }
in skins/monobook/main.css
On Wed, 30 Mar 2005 15:45:49 -0500 astronouth7303(a)gmail.com wrote:
> I'm changing my CSS using [[MediaWiki:Monobook.css]]. I have a logo
> that is 132x158 (vs. the default 135x135 and Wikipedia's 135x135). I
> have added to the CSS page this code:
> #p-logo {
> height: 178px;
> }
> #p-logo a,
> #p-logo a:hover {
> height: 178px;
> }
> The logo has expanded appropriately, but #p-nav (The links right below
> it) have not. I can not find the CSS rule that would say to it "stay
> put". It is positioned relatively, and no mods have been applied to
> it.
>
> I am using FireFox 1.0.
>
> -- Jamie
> -------------------------------------------------------------------
> http://endeavour.zapto.org/astro73/
> Thank you to JosephM for inviting me to Gmail!
> Has lots of invites.
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
try http://mail.rembrandt.co.nz/mediawikiskin.jpg
al.
-----Original Message-----
From: Jan Steinman [mailto:Jan@Bytesmiths.com]
Sent: Wednesday, 30 March 2005 12:37 p.m.
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for interested parties for polishing
up customised skin f or MW
On 29 Mar 2005, at 16:29, Alistair Johnson wrote:
> That was unreadable
And so was the next one, for those who prefer proportional fonts!
How about a screen snapshot? Or does this list not allow attachments?
How about a screen snap on a website with a link, then?
:::: He who joyfully marches to music in rank and file has already
earned my contempt. He has been given a large brain by mistake, since
for him the spinal cord would fully suffice. -- Albert Einstein
:::: Jan Steinman <http://www.Bytesmiths.com/Item/99-6313-16>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Today i tried to update to mediawiki 1.3.5 to version 1.4.0
I am afraid that the included instructions are at all not clear (for
someone whose native language is not English)
As far as I understand there is the Web installer, it doesn't say; but
that would mean installing everything from the bottom up, risking to
loose everything if a contradicting answer is given?
So I decided to take option 2: Command line upgrade.
Here my english failes: 'Additionally' does that mean you have to run
the Web-installer AND the command line upgrade? Or is the command line
script an additional option ('Additionally you *can* run...)?? Or can
you just run the update script???
Then I spent a *long* time looking for the correct syntax of
AdminSettings.php, until I noticed I had to copy AdminSettings.sample
and edit it. It is not written in the UPGRADE, perhaps I am stupid and
should have known!
So I decided t just run the command mode script, edited
AdminSettings.php, and then I got the output:
============
> php update.php
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.10
No input file specified.
============
And when I point my browser to the new install I get a blank screen...
Can somebody tell me what I have done wrong, and moreover: what I should
have done? And then please no more guesses, just a cookbook recipe how
to upgrade 1.3.5 to 1.4.0
Thanks!
Daniel
I'm changing my CSS using [[MediaWiki:Monobook.css]]. I have a logo
that is 132x158 (vs. the default 135x135 and Wikipedia's 135x135). I
have added to the CSS page this code:
#p-logo {
height: 178px;
}
#p-logo a,
#p-logo a:hover {
height: 178px;
}
The logo has expanded appropriately, but #p-nav (The links right below
it) have not. I can not find the CSS rule that would say to it "stay
put". It is positioned relatively, and no mods have been applied to
it.
I am using FireFox 1.0.
-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Has lots of invites.
Just edit the corresponding MediaWiki:Nogomatch page in your own wiki. You
don't need to hack the source.
On Wed, 30 Mar 2005 13:34:00 0200 adam.julius.angel(a)gmail.com wrote:
> Thank You! But where can i add the Nogomatch? I can`t found a "good
> place" in the
> searchengine.php ? What about a false true item?
>
> best,
> adam
>
>
>
>
> On Tue, 29 Mar 2005 23:10:56 -0800, Kynnin Scott <kynnins(a)sfu.ca> wrote:
> > Take a look at the contents of
> > http://en.wikipedia.org/wiki/MediaWiki:Nogomatch
> >
> > On Tue, 29 Mar 2005 12:13:15 0200 adam.julius.angel(a)gmail.com wrote:
> > > how can i add "create new article" in the search engine with the
> > > search item!
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)Wikimedia.org
> > http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> >
>
Thanks Jamie. From quickly looking at it I *think* AuthPlugin is designed to
operate through the normal logon process. I'm bypassing that and
transparently authenticating against NTLM (for Intranet users - Internet
users will be prompted for a domain username and password).
If anyone's planning on using the code below I just found out that it breaks
the preferences screen. The way to fix that is to set cookies by adding:
//set cookies with this info to make life easier for us in the future
global $wgCookieExpiration, $wgCookiePath, $wgCookieDomain, $wgDBname;
$exp = time() + $wgCookieExpiration;
setcookie( $wgDBname.'UserID', $row['user_id'], $exp, $wgCookiePath,
$wgCookieDomain );
setcookie( $wgDBname.'UserName', $row['user_name'], $exp, $wgCookiePath,
$wgCookieDomain );
setcookie( $wgDBname.'Token', $row['user_token'], $exp, $wgCookiePath,
$wgCookieDomain );
immediately underneath:
//set the variables we need to transparently authenticate
$sId = $row['user_id'];
$_SESSION['wsUserID'] = $row['user_id'];
$_SESSION['wsUserName'] = $row['user_name'];
$_SESSION['wsToken'] = $row['user_token'];
Cheers,
al.
-----Original Message-----
From: Jamie Bliss [mailto:astronouth7303@gmail.com]
Sent: Wednesday, 30 March 2005 12:01 p.m.
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] NTLM authentication for MediaWiki
Check AuthPlugin.php, as that may let you do it.
On Wed, 30 Mar 2005 11:57:43 +1200, Alistair Johnson
<JohnsonA(a)rembrandt.co.nz> wrote:
> Based on a post from David Cameron (19 Feb 2005) I've hacked up the
> following modification to loadFromSession (in User.php) which allows
> authentication against our NTLM database (based on the variable AUTH_USER
> passed from IIS).
>
> I'm trying to avoid hacking the code for 1.4 so if you know a way to
achieve
> this without modifying User.php (or another core file) then feedback would
> be most appreciated.
>
> Cheers,
>
> al.
>
> /**
> * Read datas from session
> * @static
> */
> function loadFromSession() {
> global $wgMemc, $wgDBname;
>
> if ( isset( $_SESSION['wsUserID'] ) ) {
> if ( 0 != $_SESSION['wsUserID'] ) {
> $sId = $_SESSION['wsUserID'];
> } else {
> return new User();
> }
> } else if ( isset( $_COOKIE["{$wgDBname}UserID"] ) ) {
> $sId = IntVal( $_COOKIE["{$wgDBname}UserID"] );
> $_SESSION['wsUserID'] = $sId;
> } else if ( isset($_SERVER["AUTH_USER"])) {
> //Rembrandt modification to allow logon via authentication
> information
> //passed from IIS
> global $wgUser;
> global $wgDeferredUpdateList;
>
> //get the username
> $temp = explode('DOMAINNAME', $_SERVER["AUTH_USER"]);
//remove
> the domain name from AUTH_USER
> $name = $temp[1];
>
> //pull in the usernames and passwords we'll need for the
> database lookup
> global $wgDBprefix;
> global $wgDBuser;
> global $wgDBpassword;
> global $wgDBserver;
> global $wgDBname;
>
> //we'll use PHP's MYSQL module to access the mediawiki
> database as it's Q&D
> mysql_connect($wgDBserver,$wgDBuser,$wgDBpassword);
> @mysql_select_db($wgDBname) or die( "Unable to select user
> database for NTLM authentication");
> $query="SELECT * FROM " . $wgDBprefix . "user WHERE
> LOWER(user_name) = '" . strtolower($name) . "'";
> $result = mysql_query($query);
> $row = mysql_fetch_array($result, MYSQL_ASSOC);
> mysql_close();
>
> //set the variables we need to transparently authenticate
> $sId = $row['user_id'];
> $_SESSION['wsUserID'] = $row['user_id'];
> $_SESSION['wsUserName'] = $row['user_name'];
> $_SESSION['wsToken'] = $row['user_token'];
>
> } else {
> return new User();
> }
> if ( isset( $_SESSION['wsUserName'] ) ) {
> $sName = $_SESSION['wsUserName'];
> } else if ( isset( $_COOKIE["{$wgDBname}UserName"] ) ) {
> $sName = $_COOKIE["{$wgDBname}UserName"];
> $_SESSION['wsUserName'] = $sName;
> } else {
> return new User();
> }
>
> $passwordCorrect = FALSE;
> $user = $wgMemc->get( $key = "$wgDBname:user:id:$sId" );
> if($makenew = !$user) {
> wfDebug( "User::loadFromSession() unable to load
> from memcached\n" );
> $user = new User();
> $user->mId = $sId;
> $user->loadFromDatabase();
> } else {
> wfDebug( "User::loadFromSession() got from
cache!\n"
> );
> }
>
> if ( isset( $_SESSION['wsToken'] ) ) {
> $passwordCorrect = $_SESSION['wsToken'] ==
> $user->mToken;
> } else if ( isset( $_COOKIE["{$wgDBname}Token"] ) ) {
> $passwordCorrect = $user->mToken ==
> $_COOKIE["{$wgDBname}Token"];
> } else {
> return new User(); # Can't log in from session
> }
>
> if ( ( strtolower($sName) == strtolower($user->mName) ) &&
> $passwordCorrect ) { //modified to allow for case differences between
> mediawiki and NTLM usernames
> if($makenew) {
> if($wgMemc->set( $key, $user )) {
> wfDebug( "User::loadFromSession()
> successfully saved user\n" );
> } else {
> wfDebug( "User::loadFromSession()
> unable to save to memcached\n" );
> }
> }
> $user->spreadBlock();
> return $user;
> }
>
> return new User(); # Can't log in from session
> }
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
--
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Has lots of invites.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l