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
Merge "Convert MovePage to startAtomic()/endAtomic()"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialLinkSearch.php
diff --git
a/includes/specials/SpecialLinkSearch.php
b/includes/specials/SpecialLinkSearch.php
index
67683f2
..
f474867
100644
(file)
--- a/
includes/specials/SpecialLinkSearch.php
+++ b/
includes/specials/SpecialLinkSearch.php
@@
-80,7
+80,7
@@
class LinkSearchPage extends QueryPage {
return false;
}
return false;
}
- function execute( $par ) {
+
public
function execute( $par ) {
$this->initServices();
$this->setHeaders();
$this->initServices();
$this->setHeaders();
@@
-91,7
+91,7
@@
class LinkSearchPage extends QueryPage {
$request = $this->getRequest();
$target = $request->getVal( 'target', $par );
$request = $this->getRequest();
$target = $request->getVal( 'target', $par );
- $namespace = $request->getIntOrNull( 'namespace'
, null
);
+ $namespace = $request->getIntOrNull( 'namespace' );
$protocols_list = array();
foreach ( $this->getConfig()->get( 'UrlProtocols' ) as $prot ) {
$protocols_list = array();
foreach ( $this->getConfig()->get( 'UrlProtocols' ) as $prot ) {
@@
-218,7
+218,7
@@
class LinkSearchPage extends QueryPage {
return $params;
}
return $params;
}
- function getQueryInfo() {
+
public
function getQueryInfo() {
$dbr = wfGetDB( DB_SLAVE );
// strip everything past first wildcard, so that
// index-based-only lookup would be done
$dbr = wfGetDB( DB_SLAVE );
// strip everything past first wildcard, so that
// index-based-only lookup would be done