From 3d627a60532227c38ea70b634c7039121cd863bc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 26 Oct 2005 21:29:34 +0000 Subject: [PATCH] * Fix Special:BrokenRedirects on MySQL 5.0 --- RELEASE-NOTES | 1 + includes/SpecialBrokenRedirects.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 471209927d..a2a7f8e59f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -175,6 +175,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 3798) DoubleRedirects no longer has hard coded arrows * (bug 2324) image for redirects should be without text and oriented according to content language * (bug 3803) Fix links on Special:Wantedcategories with miser mode off +* Fix Special:BrokenRedirects on MySQL 5.0 === Caveats === diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php index 604ad8408c..a78319fdae 100644 --- a/includes/SpecialBrokenRedirects.php +++ b/includes/SpecialBrokenRedirects.php @@ -38,7 +38,7 @@ class BrokenRedirectsPage extends PageQueryPage { p1.page_title AS title, pl_namespace, pl_title - FROM $pagelinks, $page AS p1 + FROM ($pagelinks, $page AS p1) LEFT JOIN $page AS p2 ON pl_namespace=p2.page_namespace AND pl_title=p2.page_title WHERE p1.page_is_redirect=1 -- 2.20.1