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
Add numerous missing @throws to method documentation
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnwatchedpages.php
diff --git
a/includes/specials/SpecialUnwatchedpages.php
b/includes/specials/SpecialUnwatchedpages.php
index
4bd0232
..
d397149
100644
(file)
--- a/
includes/specials/SpecialUnwatchedpages.php
+++ b/
includes/specials/SpecialUnwatchedpages.php
@@
-35,15
+35,20
@@
class UnwatchedpagesPage extends QueryPage {
parent::__construct( $name, 'unwatchedpages' );
}
parent::__construct( $name, 'unwatchedpages' );
}
- function isExpensive() { return true; }
- function isSyndicated() { return false; }
+ function isExpensive() {
+ return true;
+ }
+
+ function isSyndicated() {
+ return false;
+ }
function getQueryInfo() {
return array (
'tables' => array ( 'page', 'watchlist' ),
function getQueryInfo() {
return array (
'tables' => array ( 'page', 'watchlist' ),
- 'fields' => array ( '
page_namespace AS
namespace',
- '
page_title AS
title',
- '
page_namespace AS valu
e' ),
+ 'fields' => array ( '
namespace' => 'page_
namespace',
+ '
title' => 'page_
title',
+ '
value' => 'page_namespac
e' ),
'conds' => array ( 'wl_title IS NULL',
'page_is_redirect' => 0,
"page_namespace != '" . NS_MEDIAWIKI .
'conds' => array ( 'wl_title IS NULL',
'page_is_redirect' => 0,
"page_namespace != '" . NS_MEDIAWIKI .
@@
-54,7
+59,9
@@
class UnwatchedpagesPage extends QueryPage {
);
}
);
}
- function sortDescending() { return false; }
+ function sortDescending() {
+ return false;
+ }
function getOrderFields() {
return array( 'page_namespace', 'page_title' );
function getOrderFields() {
return array( 'page_namespace', 'page_title' );