MediaWiki REL1_34
|
Static Public Member Functions | |
static | categoryCondition ( $category, &$tables, &$conds) |
static | doSearchQuery ( $search, $namespaces, $category, $prefix, $use_regex=false) |
static | getMatchingTitles ( $str, $namespaces, $category, $prefix, $use_regex=false) |
static | getReplacedText ( $text, $search, $replacement, $regex) |
Do a replacement on a string. | |
static | getReplacedTitle (Title $title, $search, $replacement, $regex) |
Do a replacement on a title. | |
static | prefixCondition ( $prefix, &$conds) |
static | regexCond ( $dbr, $column, $regex) |
Definition at line 24 of file ReplaceTextSearch.php.
|
static |
string | $category | |
array | &$tables | |
array | &$conds |
Definition at line 72 of file ReplaceTextSearch.php.
Referenced by doSearchQuery(), and getMatchingTitles().
|
static |
string | $search | |
array | $namespaces | |
string | $category | |
string | $prefix | |
bool | $use_regex |
Definition at line 34 of file ReplaceTextSearch.php.
References $dbr, categoryCondition(), DB_REPLICA, prefixCondition(), regexCond(), and wfGetDB().
Referenced by ReplaceAll\execute(), SpecialReplaceText\getAnyWarningMessageBeforeReplace(), and SpecialReplaceText\getTitlesForEditingWithContext().
|
static |
string | $str | |
array | $namespaces | |
string | $category | |
string | $prefix | |
bool | $use_regex |
Definition at line 122 of file ReplaceTextSearch.php.
References $dbr, $sort, categoryCondition(), DB_REPLICA, prefixCondition(), regexCond(), and wfGetDB().
Referenced by ReplaceAll\execute(), SpecialReplaceText\getAnyWarningMessageBeforeReplace(), and SpecialReplaceText\getTitlesForMoveAndUnmoveableTitles().
|
static |
Do a replacement on a string.
string | $text | |
string | $search | |
string | $replacement | |
bool | $regex |
Definition at line 161 of file ReplaceTextSearch.php.
Referenced by getReplacedTitle().
|
static |
Do a replacement on a title.
Title | $title | |
string | $search | |
string | $replacement | |
bool | $regex |
Definition at line 178 of file ReplaceTextSearch.php.
References $title, and getReplacedText().
Referenced by SpecialReplaceText\getTitlesForMoveAndUnmoveableTitles(), ReplaceAll\listTitles(), and ReplaceTextJob\run().
|
static |
string | $prefix | |
array | &$conds |
Definition at line 85 of file ReplaceTextSearch.php.
References $dbr, $title, DB_REPLICA, and wfGetDB().
Referenced by doSearchQuery(), and getMatchingTitles().
|
static |
IDatabase | $dbr | |
string | $column | |
string | $regex |
Definition at line 105 of file ReplaceTextSearch.php.
References $dbr.
Referenced by doSearchQuery(), and getMatchingTitles().