Re: [Mediawiki-l] Sending DB reads to master if slave replication fails?

2011-04-06 Thread Jani Patokallio
Thanks for the fast and authoritative reply! Brion Vibber wrote: > It sounds like you mainly want to use replication to maintain a hot standby > database, not for load balancing. It may actually be best here to not tell > MediaWiki about the slave at all: use the master only, and consider using >

Re: [Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Brion Vibber
2011/4/6 Dorem - Jérémie Bouillon > I would like to link a specific namespace (let's say "bar") to its own > URL, outside of /foo/. > > Ok, to rephrase, hopefully better: > > I would like: > domain.tld/wiki/Bar:SomePage > to be in fact: > domain.tld/Bar/SomePage > I think the best way to do this

Re: [Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

2011-04-06 Thread Tim Starling
On 04/06/2011 11:50 PM, monkey wrote: >> $DP = $IP; >> >> This is setting a global variable which has been obsolete since >> MediaWiki 1.2 (2004). I'm not saying it's not a good idea to start >> again every once in a while, I'm just saying that it's possible to go >> a long, long way without doing

Re: [Mediawiki-l] Sending DB reads to master if slave replication fails?

2011-04-06 Thread Brion Vibber
On Wed, Apr 6, 2011 at 5:40 PM, Jani Patokallio wrote: > So I've got a small wiki cluster which doesn't have particularly high > load, but where reliability is important. There is one MySQL DB > master (load 0 = write only) and one slave (load 1 = read only). > > By default, if MySQL's replicati

Re: [Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Brion Vibber
2011/4/6 Dorem - Jérémie Bouillon > On 07/04/2011 02:07, Brion Vibber wrote: > > I think the best way to do this would be to whip up an extension using > the > > 'GetLocalURL' hook to change the URLs that MediaWiki outputs when they > look > > clean (no extra query params etc). > > I think I unde

[Mediawiki-l] Sending DB reads to master if slave replication fails?

2011-04-06 Thread Jani Patokallio
Greetings, So I've got a small wiki cluster which doesn't have particularly high load, but where reliability is important. There is one MySQL DB master (load 0 = write only) and one slave (load 1 = read only). By default, if MySQL's replication fails, MediaWiki doesn't seem to notice and users g

Re: [Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Dorem - Jérémie Bouillon
On 07/04/2011 02:07, Brion Vibber wrote: > I think the best way to do this would be to whip up an extension using the > 'GetLocalURL' hook to change the URLs that MediaWiki outputs when they look > clean (no extra query params etc). I think I understand the theory, what you mean. > For general in

Re: [Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Dorem - Jérémie Bouillon
On 07/04/2011 02:04, Daniel Friesen wrote: > Though... ;) you do make me want to implement something like that as a > feature. :-) I'm sure I'm not the only one. In fact I have a wiki to handle some specific KB about a specific subjet covered by the website, but I also want the wiki to handle t

Re: [Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Daniel Friesen
On 11-04-06 04:35 PM, Dorem - Jérémie Bouillon wrote: > Kind of a newbie question... I'm not even sure of the appropriate > taxonomy for my request, maybe that's why Google didn't help. > > Using last stable (1.16.2 I believe), I'm trying to achieve this: > > Got a default setup, Mediawiki installe

[Mediawiki-l] Different URL path for different namespace?

2011-04-06 Thread Dorem - Jérémie Bouillon
Kind of a newbie question... I'm not even sure of the appropriate taxonomy for my request, maybe that's why Google didn't help. Using last stable (1.16.2 I believe), I'm trying to achieve this: Got a default setup, Mediawiki installed in /w, Apache conf edited with an Alias. So now my wiki is a

Re: [Mediawiki-l] different texts for different users

2011-04-06 Thread Scheid, Bernhard
Thx! This is exactly what I need. Is it possible/feasible to update to 1.18? B. -Ursprüngliche Nachricht- Von: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] Im Auftrag von Krinkle Gesendet: Mittwoch, 6. April 2011 16:41 An: MediaWiki announcemen

Re: [Mediawiki-l] different texts for different users

2011-04-06 Thread Krinkle
Platonides wrote: > Scheid, Bernhard wrote: >> Is there any method (Magic Word, etc.) to determine the status/ >> usergroup of the user viewing the page? >> Something like "{{#if: sysop |... }}" ? >> >> I would need this in a template that produces different texts for >> different users. >> >> I

Re: [Mediawiki-l] different texts for different users

2011-04-06 Thread Platonides
Scheid, Bernhard wrote: > Is there any method (Magic Word, etc.) to determine the status/usergroup of > the user viewing the page? > Something like "{{#if: sysop |... }}" ? > > I would need this in a template that produces different texts for different > users. > > I tried Extension:Conditiona

Re: [Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

2011-04-06 Thread monkey
> $DP = $IP; > > This is setting a global variable which has been obsolete since > MediaWiki 1.2 (2004). I'm not saying it's not a good idea to start > again every once in a while, I'm just saying that it's possible to go > a long, long way without doing that. > > You should be able to remove the e

[Mediawiki-l] different texts for different users

2011-04-06 Thread Scheid, Bernhard
Is there any method (Magic Word, etc.) to determine the status/usergroup of the user viewing the page? Something like "{{#if: sysop |... }}" ? I would need this in a template that produces different texts for different users. I tried Extension:ConditionalShow but it did not work (probably not

Re: [Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

2011-04-06 Thread Tim Starling
On 04/06/2011 07:49 PM, monkey wrote: > Hi everyone, > > I searched the archive for a while and couldn't find any advice on this > subject, nor on Mediawiki really. > > Right now I have the "feeling", the wiki has so many problems, it would be > good to have a clean install and start "from scratch"

Re: [Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

2011-04-06 Thread Daniel Friesen
On 11-04-06 02:49 AM, monkey wrote: > Hi everyone, > > I searched the archive for a while and couldn't find any advice on this > subject, nor on Mediawiki really. > > Right now I have the "feeling", the wiki has so many problems, it would be > good to have a clean install and start "from scratch" -

[Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

2011-04-06 Thread monkey
Hi everyone, I searched the archive for a while and couldn't find any advice on this subject, nor on Mediawiki really. Right now I have the "feeling", the wiki has so many problems, it would be good to have a clean install and start "from scratch" - without loosing all the content obviously... de

Re: [Mediawiki-l] breadcrumbs: tagline with internal links

2011-04-06 Thread Scheid, Bernhard
That's not the problem. (Actually I had [[Hauptseite|Religion-in-Japan]], which should work in a German wiki...) -Ursprüngliche Nachricht- Von: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] Im Auftrag von mrthetooth Gesendet: Dienstag, 5. April