On Jul 9, 2013, at 10:29 PM, Andre Engels <andreengels(a)gmail.com> wrote:
On Wed, Jul 10, 2013 at 4:28 AM, Andre Engels <andreengels(a)gmail.com> wrote:
On Wed, Jul 10, 2013 at 4:07 AM, William H. Magill <magill(a)icloud.com> wrote:
I'm working on a non wikipedia mediawiki -- lotrowiki.com
Attempting to use the browser function on replace (b) yields a 404 because it is looking
Not being a Python programmer, so far I have not been able to figure out where this
"prefix" is coming from.
It is correctly finding the hostname and the pagename... but it is inserting
"wiki/" in front of the pagename.
Can someone tell me what module is doing this?
It's nicepath() in family.py. In the family file, add:
def nicepath(self, code):
And to avoid having you back here for a very similar problem tomorrow, also add:
def scriptparth(self, code):
Just as I hit 'send' I noticed that there's a typo there: It should be
"scriptpath", not "scriptparth".
"This family file was auto-generated by $Id: generate_family_file.py 11542
2013-05-17 19:58:40Z drtrigon $
It already contains:
def scriptpath(self, code):
Is that ok, or should I truncate it to match your insert...
William H. Magill