dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merging latest master
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWithoutinterwiki.php
diff --git
a/includes/specials/SpecialWithoutinterwiki.php
b/includes/specials/SpecialWithoutinterwiki.php
index
accef8c
..
2988b04
100644
(file)
--- a/
includes/specials/SpecialWithoutinterwiki.php
+++ b/
includes/specials/SpecialWithoutinterwiki.php
@@
-41,10
+41,10
@@
class WithoutInterwikiPage extends PageQueryPage {
}
function getPageHeader() {
}
function getPageHeader() {
- global $wgScript
, $wgMiserMode
;
+ global $wgScript;
- # Do not show useless input form if
wiki is running in misermode
- if( $
wgMiserMode
) {
+ # Do not show useless input form if
special page is cached
+ if( $
this->isCached()
) {
return '';
}
return '';
}
@@
-80,9
+80,9
@@
class WithoutInterwikiPage extends PageQueryPage {
function getQueryInfo() {
$query = array (
'tables' => array ( 'page', 'langlinks' ),
function getQueryInfo() {
$query = array (
'tables' => array ( 'page', 'langlinks' ),
- 'fields' => array ( '
page_namespace AS
namespace',
- '
page_title AS
title',
- '
page_title AS valu
e' ),
+ 'fields' => array ( '
namespace' => 'page_
namespace',
+ '
title' => 'page_
title',
+ '
value' => 'page_titl
e' ),
'conds' => array ( 'll_title IS NULL',
'page_namespace' => MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0 ),
'conds' => array ( 'll_title IS NULL',
'page_namespace' => MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0 ),