MediaWiki REL1_32
|
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 70 of file ReplaceTextSearch.php.
References $tables.
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, $namespaces, $options, $tables, $vars, 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 120 of file ReplaceTextSearch.php.
References $dbr, $namespaces, $sort, $tables, $vars, 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 159 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 176 of file ReplaceTextSearch.php.
References getReplacedText().
Referenced by SpecialReplaceText\getTitlesForMoveAndUnmoveableTitles(), and ReplaceAll\listTitles().
|
static |
string | $prefix | |
array | &$conds |
Definition at line 83 of file ReplaceTextSearch.php.
References $dbr, DB_REPLICA, and wfGetDB().
Referenced by doSearchQuery(), and getMatchingTitles().
|
static |
Database | $dbr | |
string | $column | |
string | $regex |
Definition at line 103 of file ReplaceTextSearch.php.
References $dbr.
Referenced by doSearchQuery(), and getMatchingTitles().