[Mediawiki-l] Special:Disambiguations doesn't work with table prefixes
Juanma Barranquero
lekktu at gmail.com
Mon Feb 7 17:08:47 UTC 2005
The following patch is needed on 1.4beta6 when using table prefixes.
--
/L/e/k/t/u
--- includes\SpecialDisambiguations.php.orig Mon Feb 7 17:06:53 2005
+++ includes\SpecialDisambiguations.php Mon Feb 7 16:59:38 2005
@@ -42,5 +42,5 @@
$sql = "SELECT ca.cur_namespace AS ns_art, ca.cur_title AS title_art,"
. " cb.cur_namespace AS ns_dis, cb.cur_title AS title_dis"
- . " FROM links as la, links as lb, cur as ca, cur as cb"
+ . " FROM $links as la, $links as lb, $cur as ca, $cur as cb"
. " WHERE la.l_to = '{$dpid}'"
. " AND la.l_from = lb.l_to"
More information about the MediaWiki-l
mailing list