From a8ed01738f47198c678441aecfea2ce7b4e51269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Fri, 26 Jun 2026 14:19:22 -0300 Subject: [PATCH 1/7] Example of transforming DTD entities into XML entities --- contributors.ent | 12 ------------ docbookcs.xml | 1 - entities/entities-remove.ent | 31 +++++++++++++++++++++++++++++++ entities/entities.ent | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 13 deletions(-) delete mode 100644 contributors.ent create mode 100644 entities/entities-remove.ent create mode 100644 entities/entities.ent diff --git a/contributors.ent b/contributors.ent deleted file mode 100644 index efa9ec9ce992..000000000000 --- a/contributors.ent +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/docbookcs.xml b/docbookcs.xml index a5f428f2483d..7c874f321686 100644 --- a/docbookcs.xml +++ b/docbookcs.xml @@ -21,7 +21,6 @@ - contributors.ent extensions.ent language-defs.ent language-snippets.ent diff --git a/entities/entities-remove.ent b/entities/entities-remove.ent new file mode 100644 index 000000000000..761979e0ed0d --- /dev/null +++ b/entities/entities-remove.ent @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/entities/entities.ent b/entities/entities.ent new file mode 100644 index 000000000000..61948b52e515 --- /dev/null +++ b/entities/entities.ent @@ -0,0 +1,33 @@ + + + + + + + + Extension List/Categorization + This appendix categorizes more than 150 extensions documented + in the PHP Manual by several criteria. + + +Alphabetical +Alphabetical + + \ No newline at end of file From fc1d921e222f2af9a0d7d0414081c83ecf7d2fd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Fri, 26 Jun 2026 14:44:54 -0300 Subject: [PATCH 2/7] Per extension entities example --- entities/entities-remove.ent | 8 ++++---- entities/entities.ent | 10 ++++++---- reference/entities.ent | 37 ++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 8 deletions(-) create mode 100644 reference/entities.ent diff --git a/entities/entities-remove.ent b/entities/entities-remove.ent index 761979e0ed0d..5ea5eb7ee0fa 100644 --- a/entities/entities-remove.ent +++ b/entities/entities-remove.ent @@ -5,8 +5,8 @@ This is a "remove" XML Entity file. See doc-base/script/text-entities.php for details. -Place here only deprecated entities that are expected NOT -be being used in any part of the manual. +Place here only deprecated or removed entities that are +expected NOT be being used in any part of the manual. If an entity moved here is used in a language in your control, this means that the entity on the original file is planned to be @@ -15,7 +15,7 @@ removed, or already was removed. DO NOT TRANSLATE THIS FILE. This file is tracked by revcheck, so translations have a heads up -when a entity is removed from doc-en. On translations, leave an +when an entity is removed from doc-en. On translations, leave an empty element at the end of file, only updating the revtag. --> @@ -28,4 +28,4 @@ empty element at the end of file, only updating the revtag. - + \ No newline at end of file diff --git a/entities/entities.ent b/entities/entities.ent index 61948b52e515..97c699d45e2f 100644 --- a/entities/entities.ent +++ b/entities/entities.ent @@ -2,8 +2,6 @@ diff --git a/reference/entities.ent b/reference/entities.ent new file mode 100644 index 000000000000..38ee50cce865 --- /dev/null +++ b/reference/entities.ent @@ -0,0 +1,37 @@ + + + + + + + + + \ No newline at end of file From b44182684a82141302c391aedad70284d7918499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Fri, 26 Jun 2026 14:56:50 -0300 Subject: [PATCH 3/7] Remove example file --- reference/entities.ent | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 reference/entities.ent diff --git a/reference/entities.ent b/reference/entities.ent deleted file mode 100644 index 38ee50cce865..000000000000 --- a/reference/entities.ent +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - \ No newline at end of file From ef0d750dee64bbaf0d47737ac00f3ff6e9c9f8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Fri, 26 Jun 2026 15:47:41 -0300 Subject: [PATCH 4/7] EOF EOL --- entities/entities.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/entities.ent b/entities/entities.ent index 97c699d45e2f..fc3452edffe1 100644 --- a/entities/entities.ent +++ b/entities/entities.ent @@ -32,4 +32,4 @@ contexts. Alphabetical Alphabetical - \ No newline at end of file + From c1dc55da580473d9bcd6d41a58c7e6746cf83df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Fri, 3 Jul 2026 13:25:08 -0300 Subject: [PATCH 5/7] Reviews --- entities/entities-remove.ent | 4 ++-- entities/entities.ent | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/entities/entities-remove.ent b/entities/entities-remove.ent index 5ea5eb7ee0fa..eb2a4c29e358 100644 --- a/entities/entities-remove.ent +++ b/entities/entities-remove.ent @@ -1,5 +1,5 @@ - - + + + + + + + + +  Text. +  + + + +``` \ No newline at end of file From 8ee3aa024ee806e64120701f55c5e698b9aef47c Mon Sep 17 00:00:00 2001 From: lacatoire Date: Fri, 19 Jun 2026 09:40:32 +0200 Subject: [PATCH 7/7] Remove 11 unused entities still referenced by translations Record them as tombstones in entities/entities-remove.ent (translate="remove") so revcheck gives translations a heads up, instead of a plain deletion. --- entities/entities-remove.ent | 13 +++++++++++++ language-snippets.ent | 26 -------------------------- 2 files changed, 13 insertions(+), 26 deletions(-) diff --git a/entities/entities-remove.ent b/entities/entities-remove.ent index eb2a4c29e358..254047bc4f2d 100644 --- a/entities/entities-remove.ent +++ b/entities/entities-remove.ent @@ -28,4 +28,17 @@ empty element at the end of file, only updating the revtag. + + + + + + + + + + + + + \ No newline at end of file diff --git a/language-snippets.ent b/language-snippets.ent index fbac1d5b12cb..2558eae27747 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -4,8 +4,6 @@ -4.2.0The random -number generator is seeded automatically.'> This feature has been @@ -92,9 +90,6 @@ do not support some characters in filenames, namely <|>*?":'> -Instead of a function name, an -array containing an object reference and a method name can also be -supplied.'> Callbacks registered with functions such as call_user_func and call_user_func_array will not be @@ -254,10 +249,6 @@ xmlns="http://docbook.org/ns/docbook">This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.'> -This feature has been -DEPRECATED as of PHP 5.3.0 and REMOVED -as of PHP 5.4.0.'> This function has been @@ -300,10 +291,6 @@ xmlns="http://docbook.org/ns/docbook">This function has been REMOVED as of PHP 7.2.0. Relying on this function is highly discouraged.'> -This feature has been -DEPRECATED as of PHP 7.2.0. Relying on this feature -is highly discouraged.'> This feature has been @@ -340,10 +327,6 @@ xmlns="http://docbook.org/ns/docbook">This feature has been DEPRECATED as of PHP 7.4.0. Relying on this feature is highly discouraged.'> -This function has been -DEPRECATED as of PHP 7.4.0. Relying on this function -is highly discouraged.'> This function has been @@ -447,8 +430,6 @@ xmlns="http://docbook.org/ns/docbook">This function was xmlns="http://docbook.org/ns/docbook">This function was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.'> -This alias was -DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.'> This feature was @@ -636,9 +617,7 @@ is highly discouraged. Output of the above example in PHP 5:'> -Output of the above example in PHP 5.3:'> -Output of the above example in PHP 5.4:'> Output of the above example in PHP 5.5:'> @@ -1647,9 +1626,6 @@ It is strongly recommended to avoid timezone abbreviations. Every call to a date/time function will generate a E_WARNING if the time zone is not valid. See also date_default_timezone_set'> -5.1.0 -Now issues the E_STRICT and E_NOTICE -time zone errors.'> timestamp @@ -2177,8 +2153,6 @@ or named arguments. This extension has no configuration directives defined in &php.ini;.'> -This extension has no resource types defined.'> -This extension has no constants defined.'> No external libraries are needed to build this extension.'> There is no installation needed to use these functions; they are part of the PHP core.'>