[SAC] Re: [OSGeo] #165: Wiki LDAP integration

#165: Wiki LDAP integration
------------------------+---------------------------------------------------
  Reporter: crschmidt | Owner: sac@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Component: SAC
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by tmitchell):

{{{
   RewriteRule /wiki/(.*)$ /index.php?title=$1 [PT,L,QSA]
}}}

Just curious why you rewrote to the "/wiki/" prefix - was there a
particular quirk you were avoiding? I'd love to wiki.osgeo.org/Main_Page,
avoiding "/wiki/" altogether. But I don't understand the technical
implications.

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/165#comment:8&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

Hi Tyler,

On Thu, Feb 21, 2008 at 10:50:42PM -0000, OSGeo wrote:

Just curious why you rewrote to the "/wiki/" prefix - was there a
particular quirk you were avoiding? I'd love to wiki.osgeo.org/Main_Page,
avoiding "/wiki/" altogether.

Yes, this was my intention as well, but MediaWiki exposes some really
strange quirks when doing so. This includes random lower/upper case
mangling: For example "skin" had been converted into "Skin" in some
occasions which means the OSGeo layout didn' display.

MediaWiki docs explicitly state that moving the whole thing into the
root dir is unsupported so I finally decided not to track these issues.

Cheers,
  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

On Fri, Feb 22, 2008 at 07:21:37AM +0100, Martin Spott wrote:

On Thu, Feb 21, 2008 at 10:50:42PM -0000, OSGeo wrote:

> Just curious why you rewrote to the "/wiki/" prefix - was there a
> particular quirk you were avoiding? I'd love to wiki.osgeo.org/Main_Page,
> avoiding "/wiki/" altogether.

Yes, this was my intention as well, but MediaWiki exposes some really
strange quirks when doing so. This includes random lower/upper case
mangling: For example "skin" had been converted into "Skin" in some
occasions which means the OSGeo layout didn' display.

Ok, setting aliases seems to be the method of choice to achieve this
without disturbing MediaWiki - see if you like it,

  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

On Fri, Feb 22, 2008 at 09:45:28AM +0100, Martin Spott wrote:

On Fri, Feb 22, 2008 at 07:21:37AM +0100, Martin Spott wrote:
> On Thu, Feb 21, 2008 at 10:50:42PM -0000, OSGeo wrote:

> > Just curious why you rewrote to the "/wiki/" prefix - was there a
> > particular quirk you were avoiding? I'd love to wiki.osgeo.org/Main_Page,
> > avoiding "/wiki/" altogether.
>
> Yes, this was my intention as well, but MediaWiki exposes some really
> strange quirks when doing so. This includes random lower/upper case
> mangling: For example "skin" had been converted into "Skin" in some
> occasions which means the OSGeo layout didn' display.

Ok, setting aliases seems to be the method of choice to achieve this
without disturbing MediaWiki [...]

.... aside from the fact that it disables user logins. I'm working on
it,

  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

Martin Spott wrote:

On Fri, Feb 22, 2008 at 09:45:28AM +0100, Martin Spott wrote:

On Fri, Feb 22, 2008 at 07:21:37AM +0100, Martin Spott wrote:

On Thu, Feb 21, 2008 at 10:50:42PM -0000, OSGeo wrote:

Just curious why you rewrote to the "/wiki/" prefix - was there a
particular quirk you were avoiding? I'd love to wiki.osgeo.org/Main_Page,
avoiding "/wiki/" altogether.

Yes, this was my intention as well, but MediaWiki exposes some really
strange quirks when doing so. This includes random lower/upper case
mangling: For example "skin" had been converted into "Skin" in some
occasions which means the OSGeo layout didn' display.

Ok, setting aliases seems to be the method of choice to achieve this
without disturbing MediaWiki [...]

.... aside from the fact that it disables user logins. I'm working on
it,

  Martin.

Martin,
we just switched and it works fine for us:
http://www.mapbender.org/GSoC_2008

It would be good to have this soon as I noticed that we are already distributing URLs pointing to the Wiki that will stop to work when you change it again.

Regards, Arnulf.

On Fri, Feb 22, 2008 at 02:42:02PM +0100, Arnulf Christl wrote:

It would be good to have this soon [...]

Oh, certainly - be assured that I don't spend hours of unpaid time
dealing with this wiki just for my pleasure :slight_smile:

To me it looks like the MediaWiki software didn't read its manual, at
least it doesn't work as advertized and I know too little about the
inner workings of MediaWiki to figure why it behaves the way it does.

Maybe you could add some details about your setup to shed some light
onto what's happening at the OSGeo wiki.

Cheerio,
  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

Martin Spott wrote:

On Fri, Feb 22, 2008 at 02:42:02PM +0100, Arnulf Christl wrote:

It would be good to have this soon [...]

Oh, certainly - be assured that I don't spend hours of unpaid time
dealing with this wiki just for my pleasure :slight_smile:

I am sorry. I did not mean to suggest that.

To me it looks like the MediaWiki software didn't read its manual, at
least it doesn't work as advertized and I know too little about the
inner workings of MediaWiki to figure why it behaves the way it does.

Maybe you could add some details about your setup to shed some light
onto what's happening at the OSGeo wiki.

Cheerio,
  Martin.

I send it in a separate mail.

Regards,