includes/specials/SpecialContributions.php 1 location
|
@@ 662-670 (lines=9) @@
|
| 659 |
|
* @param int $offset Number of results to skip (usually 0) |
| 660 |
|
* @return string[] Matching subpages |
| 661 |
|
*/ |
| 662 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 663 |
|
$user = User::newFromName( $search ); |
| 664 |
|
if ( !$user ) { |
| 665 |
|
// No prefix suggestion for invalid user |
| 666 |
|
return []; |
| 667 |
|
} |
| 668 |
|
// Autocomplete subpage as user list - public to allow caching |
| 669 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 670 |
|
} |
| 671 |
|
|
| 672 |
|
protected function getGroupName() { |
| 673 |
|
return 'users'; |
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/SpecialEmailuser.php 1 location
|
@@ 415-423 (lines=9) @@
|
| 412 |
|
* @param int $offset Number of results to skip (usually 0) |
| 413 |
|
* @return string[] Matching subpages |
| 414 |
|
*/ |
| 415 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 416 |
|
$user = User::newFromName( $search ); |
| 417 |
|
if ( !$user ) { |
| 418 |
|
// No prefix suggestion for invalid user |
| 419 |
|
return []; |
| 420 |
|
} |
| 421 |
|
// Autocomplete subpage as user list - public to allow caching |
| 422 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 423 |
|
} |
| 424 |
|
|
| 425 |
|
protected function getGroupName() { |
| 426 |
|
return 'users'; |
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/SpecialDeletedContributions.php 1 location
|
@@ 338-346 (lines=9) @@
|
| 335 |
|
* @param int $offset Number of results to skip (usually 0) |
| 336 |
|
* @return string[] Matching subpages |
| 337 |
|
*/ |
| 338 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 339 |
|
$user = User::newFromName( $search ); |
| 340 |
|
if ( !$user ) { |
| 341 |
|
// No prefix suggestion for invalid user |
| 342 |
|
return []; |
| 343 |
|
} |
| 344 |
|
// Autocomplete subpage as user list - public to allow caching |
| 345 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 346 |
|
} |
| 347 |
|
|
| 348 |
|
protected function getGroupName() { |
| 349 |
|
return 'users'; |
includes/specials/SpecialUserrights.php 1 location
|
@@ 786-794 (lines=9) @@
|
| 783 |
|
* @param int $offset Number of results to skip (usually 0) |
| 784 |
|
* @return string[] Matching subpages |
| 785 |
|
*/ |
| 786 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 787 |
|
$user = User::newFromName( $search ); |
| 788 |
|
if ( !$user ) { |
| 789 |
|
// No prefix suggestion for invalid user |
| 790 |
|
return []; |
| 791 |
|
} |
| 792 |
|
// Autocomplete subpage as user list - public to allow caching |
| 793 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 794 |
|
} |
| 795 |
|
|
| 796 |
|
protected function getGroupName() { |
| 797 |
|
return 'users'; |
includes/specials/SpecialBlock.php 1 location
|
@@ 1004-1012 (lines=9) @@
|
| 1001 |
|
* @param int $offset Number of results to skip (usually 0) |
| 1002 |
|
* @return string[] Matching subpages |
| 1003 |
|
*/ |
| 1004 |
|
public function prefixSearchSubpages( $search, $limit, $offset ) { |
| 1005 |
|
$user = User::newFromName( $search ); |
| 1006 |
|
if ( !$user ) { |
| 1007 |
|
// No prefix suggestion for invalid user |
| 1008 |
|
return []; |
| 1009 |
|
} |
| 1010 |
|
// Autocomplete subpage as user list - public to allow caching |
| 1011 |
|
return UserNamePrefixSearch::search( 'public', $search, $limit, $offset ); |
| 1012 |
|
} |
| 1013 |
|
|
| 1014 |
|
protected function getGroupName() { |
| 1015 |
|
return 'users'; |