includes/specials/SpecialListfiles.php 1 location
|
@@ 70-78 (lines=9) @@
|
| 67 |
|
* @param int $offset Number of results to skip (usually 0) |
| 68 |
|
* @return string[] Matching subpages |
| 69 |
|
*/ |
| 70 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 71 |
|
$user = User::newFromName( $search ); |
| 72 |
|
if ( !$user ) { |
| 73 |
|
// No prefix suggestion for invalid user |
| 74 |
|
return []; |
| 75 |
|
} |
| 76 |
|
// Autocomplete subpage as user list - public to allow caching |
| 77 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
protected function getGroupName() { |
| 81 |
|
return 'media'; |
includes/specials/SpecialUnblock.php 1 location
|
@@ 258-266 (lines=9) @@
|
| 255 |
|
* @param int $offset Number of results to skip (usually 0) |
| 256 |
|
* @return string[] Matching subpages |
| 257 |
|
*/ |
| 258 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 259 |
|
$user = User::newFromName( $search ); |
| 260 |
|
if ( !$user ) { |
| 261 |
|
// No prefix suggestion for invalid user |
| 262 |
|
return []; |
| 263 |
|
} |
| 264 |
|
// Autocomplete subpage as user list - public to allow caching |
| 265 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 266 |
|
} |
| 267 |
|
|
| 268 |
|
protected function getGroupName() { |
| 269 |
|
return 'users'; |
includes/specials/SpecialBlock.php 1 location
|
@@ 1006-1014 (lines=9) @@
|
| 1003 |
|
* @param int $offset Number of results to skip (usually 0) |
| 1004 |
|
* @return string[] Matching subpages |
| 1005 |
|
*/ |
| 1006 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 1007 |
|
$user = User::newFromName( $search ); |
| 1008 |
|
if ( !$user ) { |
| 1009 |
|
// No prefix suggestion for invalid user |
| 1010 |
|
return []; |
| 1011 |
|
} |
| 1012 |
|
// Autocomplete subpage as user list - public to allow caching |
| 1013 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 1014 |
|
} |
| 1015 |
|
|
| 1016 |
|
protected function getGroupName() { |
| 1017 |
|
return 'users'; |
includes/specials/SpecialDeletedContributions.php 1 location
|
@@ 270-278 (lines=9) @@
|
| 267 |
|
* @param int $offset Number of results to skip (usually 0) |
| 268 |
|
* @return string[] Matching subpages |
| 269 |
|
*/ |
| 270 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 271 |
|
$user = User::newFromName( $search ); |
| 272 |
|
if ( !$user ) { |
| 273 |
|
// No prefix suggestion for invalid user |
| 274 |
|
return []; |
| 275 |
|
} |
| 276 |
|
// Autocomplete subpage as user list - public to allow caching |
| 277 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 278 |
|
} |
| 279 |
|
|
| 280 |
|
protected function getGroupName() { |
| 281 |
|
return 'users'; |
includes/specials/SpecialEmailuser.php 1 location
|
@@ 431-439 (lines=9) @@
|
| 428 |
|
* @param int $offset Number of results to skip (usually 0) |
| 429 |
|
* @return string[] Matching subpages |
| 430 |
|
*/ |
| 431 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 432 |
|
$user = User::newFromName( $search ); |
| 433 |
|
if ( !$user ) { |
| 434 |
|
// No prefix suggestion for invalid user |
| 435 |
|
return []; |
| 436 |
|
} |
| 437 |
|
// Autocomplete subpage as user list - public to allow caching |
| 438 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 439 |
|
} |
| 440 |
|
|
| 441 |
|
protected function getGroupName() { |
| 442 |
|
return 'users'; |
includes/specials/SpecialUserrights.php 1 location
|
@@ 806-814 (lines=9) @@
|
| 803 |
|
* @param int $offset Number of results to skip (usually 0) |
| 804 |
|
* @return string[] Matching subpages |
| 805 |
|
*/ |
| 806 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 807 |
|
$user = User::newFromName( $search ); |
| 808 |
|
if ( !$user ) { |
| 809 |
|
// No prefix suggestion for invalid user |
| 810 |
|
return []; |
| 811 |
|
} |
| 812 |
|
// Autocomplete subpage as user list - public to allow caching |
| 813 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 814 |
|
} |
| 815 |
|
|
| 816 |
|
protected function getGroupName() { |
| 817 |
|
return 'users'; |
includes/specials/SpecialContributions.php 1 location
|
@@ 694-702 (lines=9) @@
|
| 691 |
|
* @param int $offset Number of results to skip (usually 0) |
| 692 |
|
* @return string[] Matching subpages |
| 693 |
|
*/ |
| 694 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 695 |
|
$user = User::newFromName( $search ); |
| 696 |
|
if ( !$user ) { |
| 697 |
|
// No prefix suggestion for invalid user |
| 698 |
|
return []; |
| 699 |
|
} |
| 700 |
|
// Autocomplete subpage as user list - public to allow caching |
| 701 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 702 |
|
} |
| 703 |
|
|
| 704 |
|
protected function getGroupName() { |
| 705 |
|
return 'users'; |