Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ? a
- ? d
- ? d.diff
- ? scripts/a
- ? scripts/summary
- Index: bug.php
- ===================================================================
- RCS file: /repository/php-bugs-web/bug.php,v
- retrieving revision 1.98
- diff -u -r1.98 bug.php
- --- bug.php 26 Nov 2008 09:56:38 -0000 1.98
- +++ bug.php 30 Mar 2009 21:13:52 -0000
- @@ -202,7 +202,7 @@
- $in['status'] = $RESOLVE_REASONS[$in['resolve']]['status'];
- }
- if ($in['status'] == 'Closed' && $bug['status'] == 'To be documented') {
- - $resolve_message = $FIX_VARIATIONS['fixedcvs']['Documentation problem'];
- + $resolve_message = $FIX_VARIATIONS['fixedcvs']['Documentation'];
- } elseif (isset($FIX_VARIATIONS[$in['resolve']][$bug['bug_type']])) {
- $resolve_message = $FIX_VARIATIONS[$in['resolve']][$bug['bug_type']];
- } else {
- Index: bugtypes.inc
- ===================================================================
- RCS file: /repository/php-bugs-web/bugtypes.inc,v
- retrieving revision 1.52
- diff -u -r1.52 bugtypes.inc
- --- bugtypes.inc 25 Aug 2008 18:43:05 -0000 1.52
- +++ bugtypes.inc 30 Mar 2009 21:13:52 -0000
- @@ -5,9 +5,6 @@
- '*General Issues' => 'General Issues',
- 'Feature/Change Request' => ' Feature/Change Request',
- - 'Documentation problem' => ' Documentation problem',
- - 'Translation problem' => ' Documentation translation problem',
- - 'Doc Build problem' => ' Doc Build (PhD) problem',
- 'Website problem' => ' PHP.net Website problem',
- 'Systems problem' => ' PHP.net Systems Operation problem',
- 'Output Control' => ' Output Control',
- @@ -23,6 +20,13 @@
- 'PDO related' => ' PDO related',
- 'PHAR related' => ' PHAR related',
- + '*Documentation Issues' => ' Documentation Related',
- + 'Documentation' => ' Incorrect Content (en)',
- + 'Translations' => ' Incorrect Content (translations)',
- + 'Doc Build System' => ' Build (PhD) system',
- + 'DocWeb' => ' DocWeb system',
- + 'Online Doc Editor' => ' Online Editor',
- +
- '*Compile Issues' => ' Compile Issues',
- 'Compile Failure' => ' Compile Failure',
- 'Compile Warning' => ' Compile Warning',
- Index: lstats.php
- ===================================================================
- RCS file: /repository/php-bugs-web/lstats.php,v
- retrieving revision 1.23
- diff -u -r1.23 lstats.php
- --- lstats.php 23 Oct 2008 12:02:34 -0000 1.23
- +++ lstats.php 30 Mar 2009 21:13:52 -0000
- @@ -18,14 +18,15 @@
- }
- /* Categories which are excluded from bug count */
- - $excluded = "'Feature/Change Request', 'Systems problem', 'Website Problem', 'PEAR related', 'PECL related', 'Documentation problem', 'Translation problem', 'PHP-GTK related'";
- + $excluded = array('Feature/Change Request', 'Systems problem', 'Website Problem', 'PEAR related', 'PECL related', 'PHP-GTK related');
- + $excluded_in = "'" . implode("','", array_merge($excluded, get_documentation_types())) . "'";
- if ($category != '') {
- $query.= " $status AND bug_type='" . mysql_real_escape_string($category). "' ";
- } else {
- $query.= " status='$status' ";
- }
- - $query.= "AND bug_type NOT IN($excluded)";
- + $query.= "AND bug_type NOT IN($excluded_in)";
- $result=mysql_unbuffered_query($query);
- $row=mysql_fetch_row($result);
- Index: include/functions.inc
- ===================================================================
- RCS file: /repository/php-bugs-web/include/functions.inc,v
- retrieving revision 1.262
- diff -u -r1.262 functions.inc
- --- include/functions.inc 25 Feb 2009 18:37:49 -0000 1.262
- +++ include/functions.inc 30 Mar 2009 21:13:52 -0000
- @@ -525,7 +525,7 @@
- function is_phpversion_irrelevant($bugtype)
- {
- - if (in_array($bugtype, array('Documentation problem','Translation problem','Doc Build problem','DocWeb problem','Website problem','Systems problem'))) {
- + if (is_documentation_type($bugtype) || in_array($bugtype, array('Website problem','Systems problem'))) {
- return true;
- }
- return false;
- @@ -534,20 +534,12 @@
- function get_bugtype_mail($bug_type)
- {
- global $mail_bugs_to;
- -
- - if (eregi("documentation", $bug_type)) {
- - return array("doc-bugs@lists.php.net", "doc-bugs@lists.php.net");
- - }
- - elseif (eregi("translation", $bug_type)) {
- +
- + if (is_documentation_type($bug_type)) {
- return array("doc-bugs@lists.php.net", "doc-bugs@lists.php.net");
- }
- - elseif (eregi("doc build", $bug_type)) {
- - return array("doc-bugs@lists.php.net", "doc-bugs@lists.php.net");
- - }
- - elseif (eregi("docweb", $bug_type)) {
- - return array("doc-web@lists.php.net", "doc-web@lists.php.net");
- - }
- - elseif (eregi("systems", $bug_type)) {
- +
- + if (eregi("systems", $bug_type)) {
- return array("systems@php.net","systems@php.net");
- }
- elseif (eregi("website", $bug_type)) {
- @@ -567,6 +559,23 @@
- }
- }
- +function get_documentation_types()
- +{
- + return array(
- + '*Documentation Issues',
- + 'Documentation',
- + 'Translations',
- + 'Doc Build System',
- + 'DocWeb',
- + 'Online Doc Editor',
- + );
- +}
- +
- +function is_documentation_type($bug_type)
- +{
- + return in_array($bug_type, get_documentation_types());
- +}
- +
- function get_row_color($row)
- {
- if ($row["bug_type"]=="Feature/Change Request") {
- Index: include/resolve.inc
- ===================================================================
- RCS file: /repository/php-bugs-web/include/resolve.inc,v
- retrieving revision 1.60
- diff -u -r1.60 resolve.inc
- --- include/resolve.inc 23 Oct 2008 12:02:34 -0000 1.60
- +++ include/resolve.inc 30 Mar 2009 21:13:52 -0000
- @@ -281,28 +281,42 @@
- Thank you for the report, and for helping us make PHP.net better.',
- - 'Documentation problem' =>
- + 'Documentation issues' =>
- 'This bug has been fixed in the documentation\'s XML sources. Since the
- online and downloadable versions of the documentation need some time
- to get updated, we would like to ask you to be a bit patient.
- Thank you for the report, and for helping us make our documentation better.',
- - 'Translation problem' =>
- + 'Documentation' =>
- 'This bug has been fixed in the documentation\'s XML sources. Since the
- online and downloadable versions of the documentation need some time
- to get updated, we would like to ask you to be a bit patient.
- Thank you for the report, and for helping us make our documentation better.',
- - 'Doc Build problem' =>
- + 'Translations' =>
- +'This bug has been fixed in the documentation\'s XML sources. Since the
- +online and downloadable versions of the documentation need some time
- +to get updated, we would like to ask you to be a bit patient.
- +
- +Thank you for the report, and for helping us make our documentation better.',
- +
- + 'Doc Build System' =>
- 'This bug has been fixed in CVS. Since the websites are not directly
- updated from the CVS server, the fix might need some time to spread
- across the globe to all mirror sites, including PHP.net itself.
- Thank you for the report, and for helping us make PHP.net better.',
- - 'DocWeb problem' =>
- + 'Online Doc Editor' =>
- +'This bug has been fixed in CVS. Since the websites are not directly
- +updated from the CVS server, the fix might need some time to spread
- +to the Online Doc Editor.
- +
- +Thank you for the report, and for helping us make PHP.net better.',
- +
- + 'DocWeb' =>
- 'This bug has been fixed in CVS. Since the PHP Documentation Tools website
- is updated from the CVS repository at a regular interval, the fix might need
- some time to take effect.
Add Comment
Please, Sign In to add comment