Mepis Wiki links not working from manual

Threads concerning the Documentation and Wiki for MEPIS.
Message
Author
User avatar
oldhoghead
Forum Regular
Forum Regular
Posts: 173
Age: 67
Joined: Sat Sep 09, 2006 1:29 pm

Mepis Wiki links not working from manual

#1 Postby oldhoghead » Sun Jan 16, 2011 12:31 pm

While looking through the Mepis Manual 8.5 and testing the links, all the wiki links from the manual result in only going to the Main Page, for example when clicking on this link:

http://www.mepis.org/docs/en/index.php/Aufs

I have tried it in Chrome and also results in only main page.

edit: Going to the wiki and typing aufs in the search gives this result in address bar

http://www.mepis.org/docs/en/index.php?title=Aufs
So, will all these links need to be corrected?

cheers,
ohh
Laptop Dell Inspiron 700M 1gb Ram Graphics Intel 852GM/852GME/855GM PRO Wireless 2915ABG
Desktop Dell Dimension 8200 768mb Ram Nvida Geforce 2 MX/MX400 64mb

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15560
Joined: Wed Jul 19, 2006 6:13 am

Re: Mepis Wiki links not working from manual

#2 Postby Jerry3904 » Sun Jan 16, 2011 12:47 pm

So, will all these links need to be corrected?
I believe that is correct--should not be too bad since it looks like a well-constructed Replace would do it.
Production: 4.7.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
oldhoghead
Forum Regular
Forum Regular
Posts: 173
Age: 67
Joined: Sat Sep 09, 2006 1:29 pm

Re: Mepis Wiki links not working from manual

#3 Postby oldhoghead » Sun Jan 16, 2011 12:50 pm

Ok,

Will work on these links and push them when I'm done

cheers,
ohh
Laptop Dell Inspiron 700M 1gb Ram Graphics Intel 852GM/852GME/855GM PRO Wireless 2915ABG
Desktop Dell Dimension 8200 768mb Ram Nvida Geforce 2 MX/MX400 64mb

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15560
Joined: Wed Jul 19, 2006 6:13 am

Re: Mepis Wiki links not working from manual

#4 Postby Jerry3904 » Sun Jan 16, 2011 12:52 pm

That would be great! Are you all set up with github and all that?
Production: 4.7.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6366
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: Mepis Wiki links not working from manual

#5 Postby Adrian » Sun Jan 16, 2011 1:06 pm

I think Karen said at some point that we shouldn't change that because she might make the changes on the server (but my memory fails me, I think we should ask her again to be sure)

User avatar
Utopia
Forum Veteran
Forum Veteran
Posts: 3640
Joined: Sun Apr 29, 2007 11:53 am

Re: Mepis Wiki links not working from manual

#6 Postby Utopia » Sun Jan 16, 2011 1:12 pm

While looking into this, can you change the "forum: mepislovers.org" ?
Henry

User avatar
oldhoghead
Forum Regular
Forum Regular
Posts: 173
Age: 67
Joined: Sat Sep 09, 2006 1:29 pm

Re: Mepis Wiki links not working from manual

#7 Postby oldhoghead » Sun Jan 16, 2011 1:20 pm

Jerry3904, yes I am set up at github.
Thanks for the heads-up Adrian, I will wait until we hear from Karen.

cheers,
ohh
Laptop Dell Inspiron 700M 1gb Ram Graphics Intel 852GM/852GME/855GM PRO Wireless 2915ABG
Desktop Dell Dimension 8200 768mb Ram Nvida Geforce 2 MX/MX400 64mb

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15560
Joined: Wed Jul 19, 2006 6:13 am

Re: Mepis Wiki links not working from manual

#8 Postby Jerry3904 » Sun Jan 16, 2011 2:12 pm

More generally: you can run the application Development > Web Development >KLinkStatus on the index.html file, and it will test every link in the document--great time saver! Then correct the ones that can be corrected, figure out an alternative for the ones that can't.
Production: 4.7.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15560
Joined: Wed Jul 19, 2006 6:13 am

Re: Mepis Wiki links not working from manual

#9 Postby Jerry3904 » Sun Jan 16, 2011 5:27 pm

This from Karen:
This goes back to the server running php as cgi. When you run as cgi, you have to use what they call ugly urls. We have to use ?title= instead of a slash. So if you have a link like the example in the post

http://www.mepis.org/docs/en/index.php/Aufs

You need to change it to

http://www.mepis.org/docs/en/index.php?title=Aufs

?title= replaces /

As you probably know, I have had no luck getting a rewrite to work using the
htaccess file. So I guess changing them manually is our only option.
So in fact we need to change them all, just be careful that the result works and that no unwanted changes occur.
Production: 4.7.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9167
Age: 58
Joined: Wed Jul 12, 2006 2:26 pm

Re: Mepis Wiki links not working from manual

#10 Postby kmathern » Sun Jan 16, 2011 6:09 pm

Jerry3904 wrote:This from Karen:
This goes back to the server running php as cgi. When you run as cgi, you have to use what they call ugly urls. We have to use ?title= instead of a slash. So if you have a link like the example in the post

http://www.mepis.org/docs/en/index.php/Aufs

You need to change it to

http://www.mepis.org/docs/en/index.php?title=Aufs

?title= replaces /

As you probably know, I have had no luck getting a rewrite to work using the
htaccess file. So I guess changing them manually is our only option.
So in fact we need to change them all, just be careful that the result works and that no unwanted changes occur.

Using kwrite I've done a mass replace to my /usr/share/mepis-manual/en/index.html file that seemed to work.

I replaced all instances (327 total) of 'index.php/' with 'index.php?title='

Does it work differently with the online version of the manual?

edit:
it turns out a better replacement might be

replace: http://www.mepis.org/docs/en/index.php/
with: http://www.mepis.org/docs/en/index.php?title=

otherwise you end up breaking about a dozen other links
Last edited by kmathern on Sun Jan 16, 2011 6:44 pm, edited 1 time in total.


Return to “MEPIS Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests