5 |
@Description: |
@Description: |
6 |
@@@: WikiView output partial downgrade for old clients |
@@@: WikiView output partial downgrade for old clients |
7 |
@@lang:en |
@@lang:en |
8 |
@License: %%GPL%% |
@License: %%Perl%% |
9 |
@Author: |
@Author: |
10 |
@@Name: |
@@Name: |
11 |
@@@@: Wakaba |
@@@@: Wakaba |
12 |
@@@lang:ja |
@@@lang:ja |
13 |
@@@script:Latn |
@@@script:Latn |
14 |
@@Mail[list]: w@suika.fam.cx |
@@Mail[list]: w@suika.fam.cx |
15 |
@Date.RCS: $Date$ |
@Date.RCS: |
16 |
@RequiredModule[list]: |
$Date$ |
|
@RequiredPlugin[list]: |
|
17 |
|
|
18 |
PluginConst: |
PluginConst: |
19 |
@NS_XHTML1: |
@NS_XHTML1: |
34 |
my $geckover = $1; |
my $geckover = $1; |
35 |
$flag->{media_type_no_rdf_plus_xml} = 1; |
$flag->{media_type_no_rdf_plus_xml} = 1; |
36 |
$flag->{http_no_see_other} = 1 if $geckover > 20030331; |
$flag->{http_no_see_other} = 1 if $geckover > 20030331; |
37 |
|
$flag->{html_no_table_abbr} = 1; |
38 |
|
|
39 |
## Opera |
## Opera |
40 |
} elsif ($ua_name =~ m#\bOpera/([0-9]\.[0-9]+)#) { |
} elsif ($ua_name =~ m#\bOpera/([0-9]\.[0-9]+)#) { |
47 |
my $mozver = 0+$1; |
my $mozver = 0+$1; |
48 |
$flag->{html_no_pi} = 1; |
$flag->{html_no_pi} = 1; |
49 |
$flag->{html_no_id} = 1; |
$flag->{html_no_id} = 1; |
50 |
|
$flag->{html_no_table_abbr} = 1; |
51 |
$flag->{media_type_no_xml} = 1; |
$flag->{media_type_no_xml} = 1; |
52 |
$flag->{html_no_latin1} = 1 if $mozver < 3; |
$flag->{html_no_latin1} = 1 if $mozver < 3; |
53 |
## ISSUE: Is NN3 support latin-1 character on Japanese Windoze? |
## ISSUE: Is NN3 support latin-1 character on Japanese Windoze? |
92 |
$flag->{http_refresh_no_quoted_url} = 1; |
$flag->{http_refresh_no_quoted_url} = 1; |
93 |
} |
} |
94 |
$flag->{media_type_no_app_js} = 1; |
$flag->{media_type_no_app_js} = 1; |
95 |
|
$flag->{html_no_table_abbr} = 1; |
96 |
$flag->{stylesheet_non_standard} = 1 if $iever >= 3; |
$flag->{stylesheet_non_standard} = 1 if $iever >= 3; |
97 |
$flag->{ua_netscape4} = 0; |
$flag->{ua_netscape4} = 0; |
98 |
} |
} |
100 |
} elsif ($ua_name =~ m#^Microsoft Internet Explorer\b#) { |
} elsif ($ua_name =~ m#^Microsoft Internet Explorer\b#) { |
101 |
$flag->{html_no_id} = 1; |
$flag->{html_no_id} = 1; |
102 |
$flag->{html_no_div} = 1; |
$flag->{html_no_div} = 1; |
103 |
|
$flag->{html_no_table_abbr} = 1; |
104 |
$flag->{http_no_see_other} = 1; |
$flag->{http_no_see_other} = 1; |
105 |
$flag->{stylesheet_no_css} = 1; |
$flag->{stylesheet_no_css} = 1; |
106 |
} elsif ($ua_name =~ /^Infomosaic\b/) { |
} elsif ($ua_name =~ /^Infomosaic\b/) { |
107 |
$flag->{media_type_no_parameter} = 1; |
$flag->{media_type_no_parameter} = 1; |
108 |
$flag->{html_no_id} = 1; |
$flag->{html_no_id} = 1; |
109 |
$flag->{html_no_div} = 1; |
$flag->{html_no_div} = 1; |
110 |
|
$flag->{html_no_table_abbr} = 1; |
111 |
$flag->{stylesheet_no_css} = 1; |
$flag->{stylesheet_no_css} = 1; |
112 |
} |
} |
113 |
|
|
114 |
|
if ($ua_name =~ /[Bb][Oo][Tt]/) { |
115 |
|
$flag->{is_robot} = 1; |
116 |
|
} |
117 |
|
|