mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-27 07:59:59 +00:00
Add $ignoreHidden param to getOption() call
Needed if 'contextchars' is set to be a hidden preference. Bug: T370868 Change-Id: I793bb75dca4e34918e842a744f50b46e8e5627ad
This commit is contained in:
parent
222a236201
commit
8d906b0822
|
@ -957,7 +957,7 @@ class SpecialReplaceText extends SpecialPage {
|
|||
* @return string
|
||||
*/
|
||||
function extractContext( $text, $target, $use_regex = false ) {
|
||||
$cw = $this->userOptionsLookup->getOption( $this->getUser(), 'contextchars', 40 );
|
||||
$cw = $this->userOptionsLookup->getOption( $this->getUser(), 'contextchars', 40, true );
|
||||
|
||||
// Get all indexes
|
||||
if ( $use_regex ) {
|
||||
|
|
Loading…
Reference in a new issue