Topic on Extension talk:Replace Text

"Replace text in page titles" dependency on "Replace text in page contents" result. (?)

5
MvGulik (talkcontribs)

If "Replace text in page contents" is disabled, OR it could not find a match.

Than (if used) "Replace text in page titles, when possible" will always fail to find any matches too.

v1.4.1 (also seen with earlier versions)


Bug, or intentional ?

If intentional, I don't mind understanding why.


ReplaceText: 1.4.1
MediaWiki: 1.31.0
PHP: 7.0.30-0+deb9u1 (fpm-fcgi)
MariaDB: 10.1.26-MariaDB-0+deb9u1
Sokote zaman (talkcontribs)

As a person who has used this plugin many times and am satisfied, I say that this plugin is very sensitive. This means that if you enter a space after the text and the original text does not have the distance or line, you will be faced with the problem of finding the text. So you have to insert exactly the text you want to find, without any lots, even a lot of distance. Hopefully it will be functional my tips. best regards

MvGulik (talkcontribs)

> Hopefully it will be functional my tips.

Nope. I have no problems with "Replace Text"'s input, or with RE for that matter. It is as I stated, on this side.

Now if you have contrary data to add, I'm all ears. As it might be that there is some local(MW-site) part that plays a role in this. But I doubt that at this moment.

MvGulik (talkcontribs)

Odd. Had a case where I first did the all the target page-text replacing. And after that I did a leftover page-title change (same change as with text part). Which worked without issues. Seems there is something else also playing a role here ...

nts:
- (both actions where done with all name-spaces selected)
- (both actions where done within a short time period. (a few minutes))

MvGulik (talkcontribs)
ReplaceText: 1.4.1
MediaWiki: 1.31.0
PHP: 7.0.30-0+deb9u1 (fpm-fcgi)
MariaDB: 10.1.26-MariaDB-0+deb9u1
Target:"File:Test_File.ext"
Settings:
- "Use regular expressions" (on)
- "Replace text in page titles, when possible" (on)
-- Others: Off.
Search: "(?i)test file"
Replace: ""
Result: Target found.
Search: "(?i)test file"
Replace: "Test File"
Result: Target not found.
(Ok. Could be because there would be no effective change ...)
Search: "(?i)test file"
Replace: "foo/bar"
Result: Target not found.
(... not so in this case though)
Settings change:
- "Use regular expressions" (off)
Search: "Test File"
Replace: "foo bar"
Result: Target found.
Search: "Test File"
Replace: "foo/bar"
Result: Target not found.
(Guess that rules this particular behaviour out as a RE-only related undocumented-feature/issue)
Reply to ""Replace text in page titles" dependency on "Replace text in page contents" result. (?)"