diff --git a/changelog.php b/changelog.php index 906021baf0..b0f8b0124b 100644 --- a/changelog.php +++ b/changelog.php @@ -50,10 +50,6 @@ if (@is_readable($filename)) { */ $changelog = htmlspecialchars($changelog); -$tracker_url = 'https://sourceforge.net/support/tracker.php?aid=\\1'; -$tracker_url_bug = 'https://sourceforge.net/p/phpmyadmin/bugs/\\1/'; -$tracker_url_rfe = 'https://sourceforge.net/p/phpmyadmin/feature-requests/\\1/'; -$tracker_url_patch = 'https://sourceforge.net/p/phpmyadmin/patches/\\1/'; $github_url = 'https://github.com/phpmyadmin/phpmyadmin/'; $faq_url = 'https://docs.phpmyadmin.net/en/latest/faq.html'; @@ -61,53 +57,18 @@ $replaces = array( '@(https?://[./a-zA-Z0-9.-_-]*[/a-zA-Z0-9_])@' => '\\1', - // sourceforge users - '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*)@users.sourceforge.net>/i' - => '\\1 \\2', - '/thanks to ([^\(\r\n]+) \(([-\w]+)\)/i' - => 'thanks to \\1', - '/thanks to ([^\(\r\n]+) -\s+([-\w]+)/i' - => 'thanks to \\1', - // mail address '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*@.*)>/i' => '\\1 \\2', - // linking patches - '/patch\s*#?([0-9]{6,})/i' - => 'patch #\\1', - - // linking RFE - '/(?:rfe|feature)\s*#?([0-9]{6,})/i' - => 'RFE #\\1', - // FAQ entries '/FAQ ([0-9]+)\.([0-9a-z]+)/i' => 'FAQ \\1.\\2', - // linking bugs - '/bug\s*#?([0-9]{6,})/i' - => 'bug #\\1', - - // all other 6+ digit numbers are treated as bugs - '/(? 'bug #\\1', - // GitHub issues '/issue\s*#?([0-9]{4,5}) /i' => 'issue #\\1 ', - // transitioned SF.net project bug/rfe/patch links - // by the time we reach 6-digit numbers, we can probably retire the above links - '/patch\s*#?([0-9]{4,5}) /i' - => 'patch #\\1 ', - '/(?:rfe|feature)\s*#?([0-9]{4,5}) /i' - => 'RFE #\\1 ', - '/bug\s*#?([0-9]{4,5}) /i' - => 'bug #\\1 ', - '/(? 'bug #\\1 ', - // CVE/CAN entries '/((CAN|CVE)-[0-9]+-[0-9]+)/' => '\\1', diff --git a/libraries/classes/Config/Descriptions.php b/libraries/classes/Config/Descriptions.php index 70d007bbf0..c86a3ebace 100644 --- a/libraries/classes/Config/Descriptions.php +++ b/libraries/classes/Config/Descriptions.php @@ -1038,8 +1038,8 @@ class Descriptions return __('Hide databases matching regular expression (PCRE).'); case 'Servers_DisableIS_desc': return __( - 'More information on [a@https://sourceforge.net/p/phpmyadmin/bugs/2606/]PMA ' - . 'bug tracker[/a] and [a@https://bugs.mysql.com/19588]MySQL Bugs[/a]' + 'More information on [a@https://github.com/phpmyadmin/phpmyadmin/issues/8970]phpMyAdmin ' + . 'issue tracker[/a] and [a@https://bugs.mysql.com/19588]MySQL Bugs[/a]' ); case 'Servers_DisableIS_name': return __('Disable use of INFORMATION_SCHEMA'); diff --git a/libraries/classes/Core.php b/libraries/classes/Core.php index 8a67d60cff..28d904661e 100644 --- a/libraries/classes/Core.php +++ b/libraries/classes/Core.php @@ -800,8 +800,6 @@ class Core /* php.net domains */ 'php.net', 'secure.php.net', - /* sourceforge.net domain */ - 'sourceforge.net', /* Github domains*/ 'github.com','www.github.com', /* Percona domains */ diff --git a/libraries/classes/DatabaseInterface.php b/libraries/classes/DatabaseInterface.php index 7526a37580..142e5d8e9e 100644 --- a/libraries/classes/DatabaseInterface.php +++ b/libraries/classes/DatabaseInterface.php @@ -769,8 +769,7 @@ class DatabaseInterface // MySQL returns // with SHOW DATABASES or information_schema.SCHEMATA: `Test` // but information_schema.TABLES gives `test` - // bug #2036 - // https://sourceforge.net/p/phpmyadmin/bugs/2036/ + // see https://github.com/phpmyadmin/phpmyadmin/issues/8402 return $tables[mb_strtolower($database)]; } diff --git a/libraries/classes/Dbi/DbiMysqli.php b/libraries/classes/Dbi/DbiMysqli.php index 358a17da7c..f6fc5694d9 100644 --- a/libraries/classes/Dbi/DbiMysqli.php +++ b/libraries/classes/Dbi/DbiMysqli.php @@ -456,7 +456,7 @@ class DbiMysqli implements DbiExtension // MySQL returns MYSQLI_TYPE_STRING for CHAR // and MYSQLI_TYPE_CHAR === MYSQLI_TYPE_TINY // so this would override TINYINT and mark all TINYINT as string - // https://sourceforge.net/p/phpmyadmin/bugs/2205/ + // see https://github.com/phpmyadmin/phpmyadmin/issues/8569 //$typeAr[MYSQLI_TYPE_CHAR] = 'string'; $typeAr[MYSQLI_TYPE_GEOMETRY] = 'geometry'; $typeAr[MYSQLI_TYPE_BIT] = 'bit'; diff --git a/libraries/classes/Server/Privileges.php b/libraries/classes/Server/Privileges.php index 8f314c134f..d643aa719f 100644 --- a/libraries/classes/Server/Privileges.php +++ b/libraries/classes/Server/Privileges.php @@ -3923,7 +3923,7 @@ class Privileges if (! $GLOBALS['dbi']->tryQuery($sql_query0)) { // This might fail when the executing user does not have // ALL PRIVILEGES himself. - // See https://sourceforge.net/p/phpmyadmin/bugs/3270/ + // See https://github.com/phpmyadmin/phpmyadmin/issues/9673 $sql_query0 = ''; } if (! empty($sql_query1) && ! $GLOBALS['dbi']->tryQuery($sql_query1)) { diff --git a/libraries/classes/Util.php b/libraries/classes/Util.php index 069d0d5718..941b34aae0 100644 --- a/libraries/classes/Util.php +++ b/libraries/classes/Util.php @@ -1546,7 +1546,7 @@ class Util $ret = strftime($date, $timestamp); // Some OSes such as Win8.1 Traditional Chinese version did not produce UTF-8 - // output here. See https://sourceforge.net/p/phpmyadmin/bugs/4207/ + // output here. See https://github.com/phpmyadmin/phpmyadmin/issues/10598 if (mb_detect_encoding($ret, 'UTF-8', true) != 'UTF-8') { $ret = date('Y-m-d H:i:s', $timestamp); } diff --git a/libraries/config.default.php b/libraries/config.default.php index 884602bc1f..579ae4ecde 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -554,7 +554,7 @@ $cfg['Servers'][$i]['AllowDeny']['rules'] = array(); /** * Disable use of INFORMATION_SCHEMA. * - * @see https://sourceforge.net/p/phpmyadmin/bugs/2606/ + * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970 * @see https://bugs.mysql.com/19588 * @global boolean $cfg['Servers'][$i]['DisableIS'] */