Bug#789377: www.debian.org: update browsers section in content negotiation page (cn.wml)

2016-03-26 Thread Holger Wansing
Hi,

Paul Wise  wrote:
> On Sat, Mar 26, 2016 at 4:55 AM, Holger Wansing wrote:
> 
> > If noone objects, I will commit it shortly.
> 
> Galeon should be removed, it is dead for a long time.

Since you propagate for keeping entries for old Firefox and Netscape
browsers, there is also no point in removing Galeon. So I left Galeon as is.


> There appears to be some missing space after the Voyager and IBrowse sections.

I cannot see any issue here, looks fine. You can also look at the html file,
I have build locally (attached) with the today's patch (also attached).

> I would suggest putting the W3C link at the very top since it covers
> modern browsers in common use.

Done, see new patch.

> I noticed the W3C page links back to Debian because we show obscure
> and older browsers, so maybe we shouldn't remove those?

Done, even if I'm unsure if users should really be encouraged in using 
Firefox 0.x or 1.x or 3.x these days ...

> The page needs a much bigger overhaul IMO but I guess this is a good start.

Please find the new patch attached, and the resulting html file.


Holger


-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/

Index: cn.wml
===
RCS file: /cvs/webwml/webwml/english/intro/cn.wml,v
retrieving revision 1.90
diff -u -r1.90 cn.wml
--- cn.wml	15 Aug 2014 14:36:25 -	1.90
+++ cn.wml	26 Mar 2016 21:39:44 -
@@ -31,6 +31,9 @@
 To change your default language, you need to change your language
 preferences in the configuration of your browser, as explained below.
 
+You can also find additional informations about selecting language preferences on this
+http://www.w3.org/International/questions/qa-lang-priorities;>W3C page.
+
 
 What to do if a Debian web page is in the wrong language
 How to set up the language settings
@@ -150,19 +153,32 @@
 
 
 
-  Mozilla /
-  Netscape 4.x and later
-  versions
+  Chrome and Chromium
   
+  Customize and control Chromium - Settings - Show advanced settings - Languages - Language and input settings
+  
+
+  ELinks
+  You can set up the default interface language at:
   
- Edit - Preferences - Navigator - Languages
+Setup - Language
+  
+  This will also change the requested language from web sites.
+  You can change this behaviour and fine-tune the accepted languages HTTP
+  variable at:
+  
+Setup - Options manager - Protocols - HTTP
   
-  Note: with Netscape 4.x you need to make sure you select the
-  language from the available choices. A number of people
-  reported problems because they typed in the language by hand.
   
 
-  Mozilla Firefox
+  Epiphany
+  
+  
+ Edit - Preferences - Language - Languages
+  
+  
+
+  Firefox
   
   Version 3.0 and newer:
   Linux:
@@ -204,79 +220,50 @@
   the value of intl.accept_languages.
   
 
-  Iceweasel
+  Galeon
   
   
- Edit - Preferences - Content - Languages - Choose
-  
-  
-
-  Internet Explorer
-  Windows:
-  
- Tools or View or Extras - Internet Options - (General) Languages
+ Settings - Preferences - Rendering - Languages
   
   
 
-  Mac OS:
-  
- Edit - Preferences - Web Browser - Language/Fonts
-  
+  IBrowse
+  Go into Preferences, then Settings, then Network.  Under "Accept
+  language" it will probably show a "*" by default.  If you click on the
+  "Locale" button, it should add your preferred language.  If not, you
+  can enter it manually.  After that, click "OK".
   
 
-  Pocket Internet Explorer
+  iCab
   
-  # Windows Mobile 2003/2003SE/5.0
   
- Create the string registry key AcceptLanguage in
- HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\\
- with value fr; q=1.0, en; q=0.5 (without quotes).
+ Edit - Preferences - Browser - Fonts, Languages
   
   
 
-
-  Opera
-  Most versions:
-  
- File - Preferences - Languages
-  
-  
-  Linux/*BSD versions 5.x and 6.x:
-  
- File - Preferences - Document - Languages
-  
-  
-  Nokia 770 Web Browser:
- Edit the file /home/user/.opera/opera.ini and add the following
- line in the section [Adv User Prefs]:
+  Iceweasel
+  
   
- HTTP Accept Language=fr;q=1.0,en;q=0.5
+ Edit - Preferences - Content - Languages - Choose
   
   
 
-  Galeon
-  
+  Internet Explorer
+  Windows:
   
- Settings - Preferences - Rendering - Languages
+ Tools or View or Extras - Internet Options - (General) Languages
   
   
 
-  Epiphany
-  
+  Mac OS:
   
- Edit - Preferences - Language - Languages
+ Edit - Preferences - Web Browser - Language/Fonts
   
   
 
   Konqueror
   
-  If you want to set only one language, it should be quite easy as soon as bug
-  https://bugs.debian.org/358459;>#358459 is fixed, just select it
-  in the KDE Control Center and restart 

Bug#789377: www.debian.org: update browsers section in content negotiation page (cn.wml)

2016-03-25 Thread Paul Wise
On Sat, Mar 26, 2016 at 4:55 AM, Holger Wansing wrote:

> If noone objects, I will commit it shortly.

Galeon should be removed, it is dead for a long time.

There appears to be some missing space after the Voyager and IBrowse sections.

I would suggest putting the W3C link at the very top since it covers
modern browsers in common use.

I noticed the W3C page links back to Debian because we show obscure
and older browsers, so maybe we shouldn't remove those?

The page needs a much bigger overhaul IMO but I guess this is a good start.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Bug#789377: www.debian.org: update browsers section in content negotiation page (cn.wml)

2016-03-25 Thread Holger Wansing
Hi,

Stéphane Blondon  wrote:
> I think the browsers section ('Setting the preferred language in a
> browser') of https://www.debian.org/intro/cn.en.html can be improved
> by:
> 
> - removing old browsers (Netscape 3 and 4, old versions of Firefox).
> - renaming "Chromium" to "Chrome and Chromium"
> - removing the workaround for a bug in Konqueror (bug fixed in 2008)
> - sorting browsers alphabetically
> - adding W3C page about content negotiation, as suggested by pabs
> 
> 
> There is a patch attached to this message to do it.

This long standing proposal should be dealed with IMO, the site is heavily
outdated.
The patch is still applying cleanly. I have added some commas and colons
here and there, only minor.
If noone objects, I will commit it shortly.


Holger


-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Bug#789377: www.debian.org: update browsers section in content negotiation page (cn.wml)

2015-06-20 Thread Stéphane Blondon
Package: www.debian.org
Severity: minor
Tags: patch

I think the browsers section ('Setting the preferred language in a
browser') of https://www.debian.org/intro/cn.en.html can be improved
by:

- removing old browsers (Netscape 3 and 4, old versions of Firefox).
- renaming Chromium to Chrome and Chromium
- removing the workaround for a bug in Konqueror (bug fixed in 2008)
- sorting browsers alphabetically
- adding W3C page about content negotiation, as suggested by pabs


There is a patch attached to this message to do it.


-- 
Stéphane
Index: cn.wml
===
RCS file: /cvs/webwml/webwml/english/intro/cn.wml,v
retrieving revision 1.90
diff -u -r1.90 cn.wml
--- cn.wml  15 Aug 2014 14:36:25 -  1.90
+++ cn.wml  20 Jun 2015 12:46:58 -
@@ -150,21 +150,33 @@
 
 dl
 
-  dtstrongtoc-add-entry name=mozillaMozilla/toc-add-entry /
-  toc-add-entry name=netscapeNetscape 4.x/toc-add-entry and later
-  versions/strong/dt
+  dtstrongtoc-add-entry name=chromiumChrome and 
Chromium/toc-add-entry/strong/dt
+  dd
+  preCustomize and control Chromium -gt; Settings -gt; Show advanced 
settings -gt; Languages -gt; Language and input settings/pre
+  /dd
+
+  dtstrongtoc-add-entry name=elinksELinks/toc-add-entry/strong/dt
+  ddYou can set up the default interface language at:
+  pre
+Setup -gt; Language
+  /pre
+  This will also change the requested language from web sites.
+  You can change this behaviour and fine-tune the accepted languages HTTP
+  variable at:
+  pre
+Setup -gt; Options manager -gt; Protocols -gt; HTTP
+  /pre
+  /dd
+
+  dtstrongtoc-add-entry 
name=epiphanyEpiphany/toc-add-entry/strong/dt
   dd
   pre
- Edit -gt; Preferences -gt; Navigator -gt; Languages
+ Edit -gt; Preferences -gt; Language -gt; Languages
   /pre
-  Note: with Netscape 4.x you need to make sure you select the
-  language from the available choices. A number of people
-  reported problems because they typed in the language by hand.
   /dd
 
-  dtstrongtoc-add-entry name=mozillafirefoxMozilla 
Firefox/toc-add-entry/strong/dt
+  dtstrongtoc-add-entry 
name=mozillafirefoxFirefox/toc-add-entry/strong/dt
   dd
-  Version 3.0 and newer:br /
   Linux:
   pre
  Edit -gt; Preferences -gt; Content -gt; Languages -gt; Choose...
@@ -177,31 +189,27 @@
   pre
  Firefox -gt; Preferences -gt; Content -gt; Languages -gt; Choose...
   /pre
+  /dd
 
-  br /
-  Version 1.5 and newer:br /
-  Linux:
-  pre
- Edit -gt; Preferences -gt; Advanced -gt; General -gt; Edit Languages
-  /pre
-  Windows:
+  dtstrongtoc-add-entry name=galeonGaleon/toc-add-entry/strong/dt
+  dd
   pre
- Tools -gt; Options -gt; Advanced -gt; General -gt; Edit Languages
+ Settings -gt; Preferences -gt; Rendering -gt; Languages
   /pre
+  /dd
 
-  br /
-  Version 0.9 and newer:br /
-  Linux:
-  pre
- Edit -gt; Preferences -gt; General -gt; Languages
-  /pre
-  Windows:
+  dtstrongtoc-add-entry 
name=ibrowseIBrowse/toc-add-entry/strong/dt
+  ddGo into Preferences, then Settings, then Network.  Under Accept
+  language it will probably show a * by default.  If you click on the
+  Locale button it should add your preferred language.  If not, you
+  can enter it manually.  After that, click OK.
+  /dd
+
+  dtstrongtoc-add-entry name=icabiCab/toc-add-entry/strong/dt
+  dd
   pre
- Tools -gt; Options -gt; General -gt; Languages
+ Edit -gt; Preferences -gt; Browser -gt; Fonts,Languages
   /pre
-
-  In older versions you have to go to kbdabout:config/kbd and change
-  the value of kbdintl.accept_languages/kbd.
   /dd
 
   dtstrongtoc-add-entry 
name=iceweaselIceweasel/toc-add-entry/strong/dt
@@ -224,16 +232,26 @@
   /pre
   /dd
 
-  dtstrongtoc-add-entry name=piePocket Internet 
Explorer/toc-add-entry/strong/dt
+  dtstrongtoc-add-entry 
name=konquerorKonqueror/toc-add-entry/strong/dt
   dd
-  # Windows Mobile 2003/2003SE/5.0
+  Edit your
+  kbd~/.kde/share/config/kio_httprc/kbd file to include a line like the
+  following:
   pre
- Create the string registry key qAcceptLanguage/q in
- HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\\
- with value qfr; q=1.0, en; q=0.5/q (without quotes).
+ Languages=fr;q=1.0, en;q=0.5
   /pre
   /dd
 
+  dtstrongtoc-add-entry name=lynxLynx/toc-add-entry/strong/dt
+  ddYou can either edit the kbdpreferred_language/kbd variable in your
+  kbd.lynxrc/kbd or set it using the 'O' command while in lynx.
+
+  pFor example, use the following line in your kbd.lynxrc/kbd/p
+
+  pre
+  preferred_language=fr; q=1.0, en; q=0.5
+  /pre
+  /dd
 
   dtstrongtoc-add-entry name=operaOpera/toc-add-entry/strong/dt
   ddMost versions:
@@ -254,45 +272,27 @@
   /pre
   /dd
 
-  dtstrongtoc-add-entry name=galeonGaleon/toc-add-entry/strong/dt
-  dd
-  pre
- Settings -gt; Preferences -gt; Rendering -gt; Languages
-  /pre
-  /dd
-
-  dtstrongtoc-add-entry 
name=epiphanyEpiphany/toc-add-entry/strong/dt
+  dtstrongtoc-add-entry