MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Mepis Wiki links not working from manual 
Author Message
Forum Regular
Forum Regular

Joined: Sat Sep 09, 2006 1:29 pm
Posts: 173
Location: DFW
Has thanked: 23 times
Have thanks: 24 times
Post # 258762
Post Mepis Wiki links not working from manual
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


Sun Jan 16, 2011 12:31 pm

oldhoghead thanked by: Jerry3904, Utopia
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10093
Location: Geneva NY
Has thanked: 2885 times
Have thanks: 1864 times
Post # 258763
Post Re: Mepis Wiki links not working from manual
Quote:
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: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sun Jan 16, 2011 12:47 pm
Profile
Forum Regular
Forum Regular

Joined: Sat Sep 09, 2006 1:29 pm
Posts: 173
Location: DFW
Has thanked: 23 times
Have thanks: 24 times
Post # 258764
Post Re: Mepis Wiki links not working from manual
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


Sun Jan 16, 2011 12:50 pm

oldhoghead thanked by: Jerry3904
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10093
Location: Geneva NY
Has thanked: 2885 times
Have thanks: 1864 times
Post # 258765
Post Re: Mepis Wiki links not working from manual
That would be great! Are you all set up with github and all that?

_________________
Production: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sun Jan 16, 2011 12:52 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4471
Has thanked: 445 times
Have thanks: 598 times
Post # 258766
Post Re: Mepis Wiki links not working from manual
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)


Sun Jan 16, 2011 1:06 pm

Adrian thanked by: oldhoghead
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Apr 29, 2007 11:53 am
Posts: 2784
Location: Stockholm, Sweden
Has thanked: 863 times
Have thanks: 677 times
Post # 258767
Post Re: Mepis Wiki links not working from manual
While looking into this, can you change the "forum: mepislovers.org" ?
Henry


Sun Jan 16, 2011 1:12 pm
Profile
Forum Regular
Forum Regular

Joined: Sat Sep 09, 2006 1:29 pm
Posts: 173
Location: DFW
Has thanked: 23 times
Have thanks: 24 times
Post # 258768
Post Re: Mepis Wiki links not working from manual
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


Sun Jan 16, 2011 1:20 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10093
Location: Geneva NY
Has thanked: 2885 times
Have thanks: 1864 times
Post # 258771
Post Re: Mepis Wiki links not working from manual
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: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sun Jan 16, 2011 2:12 pm

Jerry3904 thanked by: oldhoghead
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10093
Location: Geneva NY
Has thanked: 2885 times
Have thanks: 1864 times
Post # 258786
Post Re: Mepis Wiki links not working from manual
This from Karen:
Quote:
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: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sun Jan 16, 2011 5:27 pm

Jerry3904 thanked by: Adrian
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 7015
Has thanked: 380 times
Have thanks: 2254 times
Post # 258790
Post Re: Mepis Wiki links not working from manual
Jerry3904 wrote:
This from Karen:
Quote:
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.



Sun Jan 16, 2011 6:09 pm

kmathern thanked by: Jerry3904
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 55 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.