dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b8ce7
)
Fix for querypage changes
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 21 May 2004 18:56:56 +0000
(18:56 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 21 May 2004 18:56:56 +0000
(18:56 +0000)
includes/SpecialDeadendpages.php
patch
|
blob
|
history
diff --git
a/includes/SpecialDeadendpages.php
b/includes/SpecialDeadendpages.php
index
0c39280
..
84641a5
100644
(file)
--- a/
includes/SpecialDeadendpages.php
+++ b/
includes/SpecialDeadendpages.php
@@
-15,13
+15,11
@@
class DeadendPagesPage extends PageQueryPage {
}
function getSQL( $offset, $limit ) {
- return "SELECT cur_title " .
+ return "SELECT cur_title
as title, 0 as value
" .
"FROM cur LEFT JOIN links ON cur_id = l_from " .
"WHERE l_from IS NULL " .
"AND cur_namespace = 0 " .
- "AND cur_is_redirect = 0 " .
- "ORDER BY cur_title " .
- "LIMIT {$offset}, {$limit}";
+ "AND cur_is_redirect = 0";
}
}