Skip to content

Commit 99aa8d1

Browse files
committed
mysql: fix XML to remove useless wrapping para tags via script
1 parent b82cd7c commit 99aa8d1

50 files changed

Lines changed: 1421 additions & 1779 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

reference/mysql/changelog.xml

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 5fabd07880ab15b0ad2cf7eb055c7c2b36d7120f Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
3-
4-
<appendix xmlns="http://docbook.org/ns/docbook" xml:id="changelog.mysql" xmlns:xlink="http://www.w3.org/1999/xlink">
2+
<!-- EN-Revision: bb0f34cf97860c362ff10ebb050fc80daff9876b Maintainer: leonardolara Status: ready -->
3+
<!-- CREDITS: leonardolara -->
4+
<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="changelog.mysql">
55
<title>&ChangelogListingTitle;</title>
66
<para>&ChangelogListingDescription;</para>
77

@@ -17,29 +17,27 @@
1717
<para>
1818
Uma lista de modificações à extensão ext/mysql está apresentada a seguir.
1919
</para>
20-
<para>
21-
<informaltable xml:id="changelog.mysql.global.table">
22-
<tgroup cols="2">
23-
<thead>
24-
<row>
25-
<entry>&Version;</entry>
26-
<entry>&Description;</entry>
27-
</row>
28-
</thead>
29-
<tbody>
30-
<row>
31-
<entry>7.0.0</entry>
32-
<entry>
33-
<para>
34-
Esta extensão foi removida do PHP. Para detalhes, consulte
35-
<xref linkend="mysqlinfo.api.choosing"/>.
36-
</para>
37-
</entry>
38-
</row>
39-
</tbody>
40-
</tgroup>
41-
</informaltable>
42-
</para>
20+
<informaltable xml:id="changelog.mysql.global.table">
21+
<tgroup cols="2">
22+
<thead>
23+
<row>
24+
<entry>&Version;</entry>
25+
<entry>&Description;</entry>
26+
</row>
27+
</thead>
28+
<tbody>
29+
<row>
30+
<entry>7.0.0</entry>
31+
<entry>
32+
<para>
33+
Esta extensão foi removida do PHP. Para detalhes, consulte
34+
<xref linkend="mysqlinfo.api.choosing"/>.
35+
</para>
36+
</entry>
37+
</row>
38+
</tbody>
39+
</tgroup>
40+
</informaltable>
4341
</simplesect>
4442

4543
<simplesect xml:id="changelog.mysql.functions">
@@ -52,7 +50,6 @@
5250
</simplesect>
5351

5452
</appendix>
55-
5653
<!-- Keep this comment at the end of the file
5754
Local variables:
5855
mode: sgml
@@ -73,4 +70,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
7370
vim: et tw=78 syn=sgml
7471
vi: ts=1 sw=1
7572
-->
76-

reference/mysql/functions/mysql-affected-rows.xml

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 65e697ff671608989432a6e6bf8ae8128b2be2c7 Maintainer: fernandoc Status: ready -->
3-
<refentry xml:id="function.mysql-affected-rows" xmlns="http://docbook.org/ns/docbook">
2+
<!-- EN-Revision: bb0f34cf97860c362ff10ebb050fc80daff9876b Maintainer: fernandoc Status: ready -->
3+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-affected-rows">
44
<refnamediv>
55
<refname>mysql_affected_rows</refname>
66
<refpurpose>Obtém o número de linhas afetadas na operação anterior do MySQL</refpurpose>
@@ -30,11 +30,9 @@
3030

3131
<refsect1 role="parameters">
3232
&reftitle.parameters;
33-
<para>
34-
<variablelist>
35-
&mysql.linkid.description;
36-
</variablelist>
37-
</para>
33+
<variablelist>
34+
&mysql.linkid.description;
35+
</variablelist>
3836
</refsect1>
3937

4038
<refsect1 role="returnvalues">
@@ -69,10 +67,9 @@
6967

7068
<refsect1 role="examples">
7169
&reftitle.examples;
72-
<para>
73-
<example>
74-
<title>Exemplo <function>mysql_affected_rows</function></title>
75-
<programlisting role="php">
70+
<example>
71+
<title>Exemplo <function>mysql_affected_rows</function></title>
72+
<programlisting role="php">
7673
<![CDATA[
7774
<?php
7875
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
@@ -90,20 +87,18 @@ mysql_query('DELETE FROM mytable WHERE 0');
9087
printf("Registro excluídos: %d\n", mysql_affected_rows());
9188
?>
9289
]]>
93-
</programlisting>
94-
&example.outputs.similar;
95-
<screen>
90+
</programlisting>
91+
&example.outputs.similar;
92+
<screen>
9693
<![CDATA[
9794
Registro excluídos: 10
9895
Registro excluídos: 0
9996
]]>
100-
</screen>
101-
</example>
102-
</para>
103-
<para>
104-
<example>
105-
<title>Exemplo de <function>mysql_affected_rows</function> usando transações</title>
106-
<programlisting role="php">
97+
</screen>
98+
</example>
99+
<example>
100+
<title>Exemplo de <function>mysql_affected_rows</function> usando transações</title>
101+
<programlisting role="php">
107102
<![CDATA[
108103
<?php
109104
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
@@ -118,15 +113,14 @@ printf ("Registros atualizados: %d\n", mysql_affected_rows());
118113
mysql_query("COMMIT");
119114
?>
120115
]]>
121-
</programlisting>
122-
&example.outputs.similar;
123-
<screen>
116+
</programlisting>
117+
&example.outputs.similar;
118+
<screen>
124119
<![CDATA[
125120
Registros atualizados: 10
126121
]]>
127-
</screen>
128-
</example>
129-
</para>
122+
</screen>
123+
</example>
130124
</refsect1>
131125

132126
<refsect1 role="notes">
@@ -158,15 +152,12 @@ Registros atualizados: 10
158152

159153
<refsect1 role="seealso">
160154
&reftitle.seealso;
161-
<para>
162-
<simplelist>
163-
<member><function>mysql_num_rows</function></member>
164-
<member><function>mysql_info</function></member>
165-
</simplelist>
166-
</para>
155+
<simplelist>
156+
<member><function>mysql_num_rows</function></member>
157+
<member><function>mysql_info</function></member>
158+
</simplelist>
167159
</refsect1>
168160
</refentry>
169-
170161
<!-- Keep this comment at the end of the file
171162
Local variables:
172163
mode: sgml

reference/mysql/functions/mysql-client-encoding.xml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 65e697ff671608989432a6e6bf8ae8128b2be2c7 Maintainer: leonardolara Status: ready -->
3-
<refentry xml:id="function.mysql-client-encoding" xmlns="http://docbook.org/ns/docbook">
2+
<!-- EN-Revision: bb0f34cf97860c362ff10ebb050fc80daff9876b Maintainer: leonardolara Status: ready -->
3+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-client-encoding">
44
<refnamediv>
55
<refname>mysql_client_encoding</refname>
66
<refpurpose>Retorna o nome do conjunto de caracteres</refpurpose>
@@ -28,11 +28,9 @@
2828

2929
<refsect1 role="parameters">
3030
&reftitle.parameters;
31-
<para>
32-
<variablelist>
33-
&mysql.linkid.description;
34-
</variablelist>
35-
</para>
31+
<variablelist>
32+
&mysql.linkid.description;
33+
</variablelist>
3634
</refsect1>
3735

3836
<refsect1 role="returnvalues">
@@ -44,10 +42,9 @@
4442

4543
<refsect1 role="examples">
4644
&reftitle.examples;
47-
<para>
48-
<example>
49-
<title>Exemplo de <function>mysql_client_encoding</function></title>
50-
<programlisting role="php">
45+
<example>
46+
<title>Exemplo de <function>mysql_client_encoding</function></title>
47+
<programlisting role="php">
5148
<![CDATA[
5249
<?php
5350
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
@@ -56,28 +53,24 @@ $charset = mysql_client_encoding($link);
5653
echo "O conjunto de caracteres atual é: $charset\n";
5754
?>
5855
]]>
59-
</programlisting>
60-
&example.outputs.similar;
61-
<screen>
56+
</programlisting>
57+
&example.outputs.similar;
58+
<screen>
6259
<![CDATA[
6360
O conjunto de caracteres atual é: latin1
6461
]]>
65-
</screen>
66-
</example>
67-
</para>
62+
</screen>
63+
</example>
6864
</refsect1>
6965

7066
<refsect1 role="seealso">
7167
&reftitle.seealso;
72-
<para>
73-
<simplelist>
74-
<member><function>mysql_set_charset</function></member>
75-
<member><function>mysql_real_escape_string</function></member>
76-
</simplelist>
77-
</para>
68+
<simplelist>
69+
<member><function>mysql_set_charset</function></member>
70+
<member><function>mysql_real_escape_string</function></member>
71+
</simplelist>
7872
</refsect1>
7973
</refentry>
80-
8174
<!-- Keep this comment at the end of the file
8275
Local variables:
8376
mode: sgml

reference/mysql/functions/mysql-close.xml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 5dd7ff3e72db8436523e5eaeba2e44b8a7daa8bf Maintainer: fernandoc Status: ready -->
3-
<refentry xml:id="function.mysql-close" xmlns="http://docbook.org/ns/docbook">
2+
<!-- EN-Revision: bb0f34cf97860c362ff10ebb050fc80daff9876b Maintainer: fernandoc Status: ready -->
3+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-close">
44
<refnamediv>
55
<refname>mysql_close</refname>
66
<refpurpose>Fecha a conexão MySQL</refpurpose>
@@ -33,11 +33,9 @@
3333

3434
<refsect1 role="parameters">
3535
&reftitle.parameters;
36-
<para>
37-
<variablelist>
38-
&mysql.linkid-noreopen.description;
39-
</variablelist>
40-
</para>
36+
<variablelist>
37+
&mysql.linkid-noreopen.description;
38+
</variablelist>
4139
</refsect1>
4240

4341
<refsect1 role="returnvalues">
@@ -49,10 +47,9 @@
4947

5048
<refsect1 role="examples">
5149
&reftitle.examples;
52-
<para>
53-
<example>
54-
<title>Exemplo <function>mysql_close</function></title>
55-
<programlisting role="php">
50+
<example>
51+
<title>Exemplo <function>mysql_close</function></title>
52+
<programlisting role="php">
5653
<![CDATA[
5754
<?php
5855
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
@@ -63,15 +60,14 @@ echo 'Conectado com sucesso';
6360
mysql_close($link);
6461
?>
6562
]]>
66-
</programlisting>
67-
&example.outputs;
68-
<screen>
63+
</programlisting>
64+
&example.outputs;
65+
<screen>
6966
<![CDATA[
7067
Conectado com sucesso
7168
]]>
72-
</screen>
73-
</example>
74-
</para>
69+
</screen>
70+
</example>
7571
</refsect1>
7672

7773
<refsect1 role="notes">
@@ -88,15 +84,12 @@ Conectado com sucesso
8884

8985
<refsect1 role="seealso">
9086
&reftitle.seealso;
91-
<para>
92-
<simplelist>
93-
<member><function>mysql_connect</function></member>
94-
<member><function>mysql_free_result</function></member>
95-
</simplelist>
96-
</para>
87+
<simplelist>
88+
<member><function>mysql_connect</function></member>
89+
<member><function>mysql_free_result</function></member>
90+
</simplelist>
9791
</refsect1>
9892
</refentry>
99-
10093
<!-- Keep this comment at the end of the file
10194
Local variables:
10295
mode: sgml

0 commit comments

Comments
 (0)