SOLVED:

added these lines to the family file for the wiki in question:

     def nicepath(self, code):

         return '/' #fix the url to have no /wiki in it, when using "open in
[b]rowser"

might be useful to someone.

thanks to Filnik & NicDumZ on IRC.

Chris

On Mon, Nov 23, 2009 at 17:44, Chris Watkins
<[email protected]>wrote:

> Using replace.py, the open in [b]rowser option uses the wrong url (it adds
> a /wiki which our wiki doesn't use):
>
> E.g. it's looking up http://www.appropedia.org/wiki/Permaculture
> when it should be http://www.appropedia.org/Permaculture
>
> How can I change this? The configuration (form of url) doesn't seem to be
> in the family file.
>
> Thanks!
> --
> Chris Watkins
>
> Appropedia.org - Sharing knowledge to build rich, sustainable lives.
>
> blogs.appropedia.org
> identi.ca/appropedia
> twitter.com/appropedia
>



-- 
Chris Watkins

Appropedia.org - Sharing knowledge to build rich, sustainable lives.

blogs.appropedia.org
identi.ca/appropedia
twitter.com/appropedia
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to