From 766537035ea2f04c5aa3c59c15edc15f4ecd050f Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sat, 9 Jul 2011 15:28:33 +0200 Subject: [ticket/10258] Change the DOCTYPE to HTML5 PHPBB3-10258 --- phpBB/docs/CHANGELOG.html | 10 ++++------ phpBB/docs/FAQ.html | 10 ++++------ phpBB/docs/INSTALL.html | 10 ++++------ phpBB/docs/README.html | 10 ++++------ phpBB/docs/auth_api.html | 10 ++++------ phpBB/docs/coding-guidelines.html | 10 ++++------ phpBB/docs/hook_system.html | 10 ++++------ 7 files changed, 28 insertions(+), 42 deletions(-) (limited to 'phpBB/docs') diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 6437fef1d5..b74d06ec4c 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/FAQ.html b/phpBB/docs/FAQ.html index 83d7a342e0..654bcfc4f9 100644 --- a/phpBB/docs/FAQ.html +++ b/phpBB/docs/FAQ.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index 3c3ccf9f28..cdf969ee24 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/README.html b/phpBB/docs/README.html index 7a0a42b34f..552af6c479 100644 --- a/phpBB/docs/README.html +++ b/phpBB/docs/README.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/auth_api.html b/phpBB/docs/auth_api.html index 88618fa640..94ebde4080 100644 --- a/phpBB/docs/auth_api.html +++ b/phpBB/docs/auth_api.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 8365e3c301..64707010ab 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1,10 +1,8 @@ - - + + - - - - + + diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a5fad0d530..5cce659a82 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -1,10 +1,8 @@ - - + + - - - - + + -- cgit v1.2.1 From 854c14f9f6ae78318e159e27724178579ff48dcc Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 23:04:14 +0200 Subject: [ticket/10258] Remove X-UA-Compatible and imagetoolbar meta tags These meta tags are IE specific and do not validate as HTML5. PHPBB3-10258 --- phpBB/docs/CHANGELOG.html | 2 -- phpBB/docs/FAQ.html | 2 -- phpBB/docs/INSTALL.html | 2 -- phpBB/docs/README.html | 2 -- phpBB/docs/auth_api.html | 2 -- phpBB/docs/coding-guidelines.html | 2 -- phpBB/docs/hook_system.html | 2 -- 7 files changed, 14 deletions(-) (limited to 'phpBB/docs') diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index b74d06ec4c..50c80dd33f 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/FAQ.html b/phpBB/docs/FAQ.html index 654bcfc4f9..69c7a64e2c 100644 --- a/phpBB/docs/FAQ.html +++ b/phpBB/docs/FAQ.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index cdf969ee24..9c5cc611e1 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/README.html b/phpBB/docs/README.html index 552af6c479..265226f67f 100644 --- a/phpBB/docs/README.html +++ b/phpBB/docs/README.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/auth_api.html b/phpBB/docs/auth_api.html index 94ebde4080..c40b33a85c 100644 --- a/phpBB/docs/auth_api.html +++ b/phpBB/docs/auth_api.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 64707010ab..b27a0f46c4 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index 5cce659a82..db190bf965 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,8 +2,6 @@ - - -- cgit v1.2.1 From 70a904335f63a7b7d16164aadd48f33cad9ab4f0 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 23:13:25 +0200 Subject: [ticket/10258] Remove resource-type and distribution meta tags They break HTML5 validation. PHPBB3-10258 --- phpBB/docs/CHANGELOG.html | 2 -- phpBB/docs/FAQ.html | 2 -- phpBB/docs/INSTALL.html | 2 -- phpBB/docs/README.html | 2 -- phpBB/docs/auth_api.html | 2 -- phpBB/docs/coding-guidelines.html | 2 -- phpBB/docs/hook_system.html | 2 -- 7 files changed, 14 deletions(-) (limited to 'phpBB/docs') diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 50c80dd33f..2b18ba8620 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/FAQ.html b/phpBB/docs/FAQ.html index 69c7a64e2c..03d0e4c1d0 100644 --- a/phpBB/docs/FAQ.html +++ b/phpBB/docs/FAQ.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index 9c5cc611e1..8570fff8cd 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/README.html b/phpBB/docs/README.html index 265226f67f..845c12a02d 100644 --- a/phpBB/docs/README.html +++ b/phpBB/docs/README.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/auth_api.html b/phpBB/docs/auth_api.html index c40b33a85c..d98df35632 100644 --- a/phpBB/docs/auth_api.html +++ b/phpBB/docs/auth_api.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index b27a0f46c4..59513cb81f 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -2,8 +2,6 @@ - - diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index db190bf965..a806896bd3 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,8 +2,6 @@ - - -- cgit v1.2.1 From f5947439b21353d9cda357fa41292cc95f390eab Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Mon, 11 Jul 2011 00:27:10 +0200 Subject: [ticket/10258] Remove copyright meta tag from docs It fails HTML5 validation and we already have a 'copyright and disclaimer' section in all of those documents. We can always represent the copyright more semantically later (such as the HTML5 tag). PHPBB3-10258 --- phpBB/docs/CHANGELOG.html | 1 - phpBB/docs/FAQ.html | 1 - phpBB/docs/INSTALL.html | 1 - phpBB/docs/README.html | 1 - phpBB/docs/auth_api.html | 1 - phpBB/docs/coding-guidelines.html | 1 - phpBB/docs/hook_system.html | 1 - 7 files changed, 7 deletions(-) (limited to 'phpBB/docs') diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 2b18ba8620..d0511c0336 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -2,7 +2,6 @@ - phpBB3 • Changelog diff --git a/phpBB/docs/FAQ.html b/phpBB/docs/FAQ.html index 03d0e4c1d0..14925bd530 100644 --- a/phpBB/docs/FAQ.html +++ b/phpBB/docs/FAQ.html @@ -2,7 +2,6 @@ - phpBB3 • FAQ diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index 8570fff8cd..6b564ce415 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -2,7 +2,6 @@ - phpBB3 • Install diff --git a/phpBB/docs/README.html b/phpBB/docs/README.html index 845c12a02d..70df5deb8d 100644 --- a/phpBB/docs/README.html +++ b/phpBB/docs/README.html @@ -2,7 +2,6 @@ - phpBB3 • Readme diff --git a/phpBB/docs/auth_api.html b/phpBB/docs/auth_api.html index d98df35632..200a8d815c 100644 --- a/phpBB/docs/auth_api.html +++ b/phpBB/docs/auth_api.html @@ -2,7 +2,6 @@ - phpBB3 • Auth API diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 59513cb81f..aa937d5bfb 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -2,7 +2,6 @@ - phpBB3 • Coding Guidelines diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a806896bd3..82dc44a082 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,7 +2,6 @@ - phpBB3 • Hook System -- cgit v1.2.1 From af1c8747ce5de2b0b056be851e08f7578b2c3807 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Mon, 11 Jul 2011 00:39:19 +0200 Subject: [ticket/10258] Adjust some deprecated tags for HTML5 in coding-guidelines PHPBB3-10258 --- phpBB/docs/coding-guidelines.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'phpBB/docs') diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index aa937d5bfb..dcbbc011a0 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1763,7 +1763,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

With phpBB3, the output encoding for the forum in now UTF-8, a Universal Character Encoding by the Unicode Consortium that is by design a superset to US-ASCII and ISO-8859-1. By using one character set which simultaenously supports all scripts which previously would have required different encodings (eg: ISO-8859-1 to ISO-8859-15 (Latin, Greek, Cyrillic, Thai, Hebrew, Arabic); GB2312 (Simplified Chinese); Big5 (Traditional Chinese), EUC-JP (Japanese), EUC-KR (Korean), VISCII (Vietnamese); et cetera), this removes the need to convert between encodings and improves the accessibility of multilingual forums.

-

The impact is that the language files for phpBB must now also be encoded as UTF-8, with a caveat that the files must not contain a BOM for compatibility reasons with non-Unicode aware versions of PHP. For those with forums using the Latin character set (ie: most European languages), this change is transparent since UTF-8 is superset to US-ASCII and ISO-8859-1.

+

The impact is that the language files for phpBB must now also be encoded as UTF-8, with a caveat that the files must not contain a BOM for compatibility reasons with non-Unicode aware versions of PHP. For those with forums using the Latin character set (ie: most European languages), this change is transparent since UTF-8 is superset to US-ASCII and ISO-8859-1.

Language Tag:

@@ -1773,8 +1773,8 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

Most language tags consist of a two- or three-letter language subtag (from ISO 639-1/ISO 639-2). Sometimes, this is followed by a two-letter or three-digit region subtag (from ISO 3166-1 alpha-2 or UN M.49). Some examples are:

- - +
Language tag examples
+ @@ -1825,8 +1825,8 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

Next is the ISO 15924 language script code and when one should or shouldn't use it. For example, whilst en-Latn is syntaxically correct for describing English written with Latin script, real world English writing is more-or-less exclusively in the Latin script. For such languages like English that are written in a single script, the IANA Language Subtag Registry has a "Suppress-Script" field meaning the script code should be ommitted unless a specific language tag requires a specific script code. Some languages are written in more than one script and in such cases, the script code is encouraged since an end-user may be able to read their language in one script, but not the other. Some examples are:

-
Examples of various possible language tags as described by RFC 4646 and RFC 4647
Language tag
- +
Language subtag + script subtag examples
+ @@ -1892,8 +1892,8 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

Examples of English using marco-geographical regions:

-
Examples of using a language subtag in combination with a script subtag
Language tag
- +
Coding for English using macro-geographical regions
+ @@ -1918,8 +1918,8 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

Examples of Spanish using marco-geographical regions:

-
Coding for English using macro-geographical regions (examples for English of ISO 3166-1 alpha-2 vs. UN M.49 code)
ISO 639-1/ISO 639-2 + ISO 3166-1 alpha-2
- +
Coding for Spanish macro-geographical regions
+ @@ -1947,7 +1947,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

Example of where the ISO 3166-1 alpha-2 is ambiguous and why UN M.49 might be preferred:

-
Coding for Spanish macro-geographical regions (examples for Spanish of ISO 3166-1 alpha-2 vs. UN M.49 code)
ISO 639-1/ISO 639-2 + ISO 3166-1 alpha-2
+
@@ -2003,7 +2003,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

RFC 4646 anticipates features which shall be available in (currently draft) ISO 639-3 which aims to provide as complete enumeration of languages as possible, including living, extinct, ancient and constructed languages, whether majour, minor or unwritten. A new feature of ISO 639-3 compared to the previous two revisions is the concept of macrolanguages where Arabic and Chinese are two such examples. In such cases, their respective codes of ar and zh is very vague as to which dialect/topolect is used or perhaps some terse classical variant which may be difficult for all but very educated users. For such macrolanguages, it is recommended that the sub-language tag is used as a suffix to the macrolanguage tag, eg:

-
Coding for ambiguous ISO 3166-1 alpha-2 regions
+
@@ -2047,7 +2047,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

For phpBB, the language tags are not used in their raw form and instead converted to all lower-case and have the hyphen - replaced with an underscore _ where appropriate, with some examples below:

-
Macrolanguage subtag + sub-language subtag examples
+
@@ -2101,7 +2101,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

For the English language description, the language name is always first and any additional attributes required to describe the subtags within the language code are then listed in order separated with commas and enclosed within parentheses, eg:

-
Language tag normalisation examples
+
@@ -2153,7 +2153,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

The various Unicode control characters for bi-directional text and their HTML enquivalents where appropriate are as follows:

-
English language description examples for iso.txt
+
@@ -2219,7 +2219,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))

For iso.txt, the directionality of the text can be explicitly set using special Unicode characters via any of the three methods provided by left-to-right/right-to-left markers/embeds/overrides, as without them, the ordering of characters will be incorrect, eg:

-
Unicode bidirectional control characters & HTML elements/entities
+
-- cgit v1.2.1
Unicode bidirectional control characters iso.txt