There were some more broken links found. The reasons for these being
broken is not in the source, but in the fix-urls.sh script. Attached
patch fixes all of these. Below is a listing of pages, sentences with
faulty links, and the line of the patch that fixes it. The problem is
usually that there is no command to replace the given ghelp:, and
sometimes another command replaces the first part of the ghelp.

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/updates.html
For further reading on keeping your computer up to date and other computer 
safety tips, see Keeping Your Computer Safe. 
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:about-ubuntu#\.\./\.\./about-ubuntu/$lang/#g" 

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
Music and video files require special software to play them, called codecs. 
Some codecs (for example those required to play MP3s) are not included by 
default in Ubuntu because they are proprietary.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:add-applications\#restricted-software#\.\./\.\./add-applications/$lang/restricted-software.html#g"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/updates.html
For further reading on keeping your computer up to date and other computer 
safety tips, see Keeping Your Computer Safe. 
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:keeping-safe#\.\./\.\./keeping-safe/$lang/#g"

http://doc.ubuntu.com/ubuntu/hardware/C/input-devices.html
Touchpads
Information on changing the settings of a laptop touchpad.
-       sed -i build/$y/$lang/*.html -e 
"s#ghelp:hardware\#laptops-touchpads#\.\./\.\./office/$lang/laptops.html#g"
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:hardware\#laptops-touchpads#\.\./\.\./hardware/$lang/laptops.html#g"
The command replaces the ghelp: to point to the wrong page.

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
This will also add support for websites which use Flash video.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:musicvideophotos\#video-playback-flash#\.\./\.\./musicvideophotos/$lang/video-playback.html\#video-playback-flash#g"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
For more instructions about playing music and videos, see Music, Video and 
Photos.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:musicvideophotos#\.\./\.\./musicvideophotos/$lang/#g"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/connecting.html
For further reading or troubleshooting see Internet and Networks.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:internet#\.\./\.\./internet/$lang/#g"

http://doc.ubuntu.com/ubuntu/desktop-effects/C/compiz-default-plugins.html
The Viewport Switcher is used to switch workspaces via different keystrokes and 
buttons. You can use it with the middle mouse button on the desktop and by 
pressing a keybinding and selecting a workspace number.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#overview-workspaces#http://library\.gnome\.org/users/user-guide/stable/overview-workspaces\.html#g";

http://doc.ubuntu.com/ubuntu/hardware/C/input-devices.html
Keyboard Preferences
Change settings related to your keyboard, such as the layout of the keyboard.
-       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#prefs-keyboard#http://library\.gnome\.org/users/user-guide/stable/prefs-mouse\.html#g";
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#prefs-keyboard#http://library\.gnome\.org/users/user-guide/stable/prefs-keyboard\.html#g";
This link is currently broken because of the next problem, but once that is 
fixed, this mislinking to prefs-mouse would surface.

http://doc.ubuntu.com/ubuntu/hardware/C/input-devices.html
Mouse Preferences
Instructions on how to change various settings related to your mouse, such as 
whether the mouse is left-handed and how fast the pointer moves.
-       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#prefs#http://library\.gnome\.org/users/user-guide/stable/prefs\.html#g";
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#prefs#http://library\.gnome\.org/users/user-guide/stable/prefs\.html#g";
The trick in this one is the order of sed commands, the commands replacing the 
prefs-mouse and prefs-keyboard ghelp: pages should go before this one, 
otherwise this replaces only the prefs part - this is why the links are broken 
now. Moving the command a few lines fixes this.

http://doc.ubuntu.com/ubuntu/keeping-safe/C/backup-files.html
You need to change these file or folder permissions using File Browser. 
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#nautilus-permissions#http://library\.gnome\.org/users/user-guide/stable/nautilus-permissions\.html#g";

http://doc.ubuntu.com/ubuntu/musicvideophotos/C/music-listen.html
See the  Nautilus Preferences article for more information.
+       sed -i build/$y/$lang/*.html -e 
"s#ghelp:user-guide\#nautilus-preferences#http://library\.gnome\.org/users/user-guide/stable/nautilus-preferences\.html#g";

** Patch added: "Fix errors in the fix-urls.sh script"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/644291/+attachment/1623552/+files/fix-linkreplaces.patch

-- 
Broken links in various places
https://bugs.launchpad.net/bugs/644291
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to