The mb_strpos() function throws E_WARNING if the offset is longer than the length of the string. This change takes the shorter of the two integers.
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/ParserFunctions/+/473768/
The mb_strpos() function throws E_WARNING if the offset is longer than the length of the string. This change takes the shorter of the two integers.
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/ParserFunctions/+/473768/
Change 473768 had a related patch set uploaded (by Legoktm; owner: Alexia):
[mediawiki/extensions/ParserFunctions@master] The mb_strpos() function throws E_WARNING if the offset is longer than the length of the string.
Change 473768 merged by jenkins-bot:
[mediawiki/extensions/ParserFunctions@master] Fix E_WARNING with {{#pos:}} if the offset is larger than the string
Change 480898 had a related patch set uploaded (by Legoktm; owner: Alexia):
[mediawiki/extensions/ParserFunctions@REL1_32] Fix E_WARNING with {{#pos:}} if the offset is larger than the string
Change 480899 had a related patch set uploaded (by Legoktm; owner: Alexia):
[mediawiki/extensions/ParserFunctions@REL1_31] Fix E_WARNING with {{#pos:}} if the offset is larger than the string
Change 480898 merged by jenkins-bot:
[mediawiki/extensions/ParserFunctions@REL1_32] Fix E_WARNING with {{#pos:}} if the offset is larger than the string
Change 480899 merged by jenkins-bot:
[mediawiki/extensions/ParserFunctions@REL1_31] Fix E_WARNING with {{#pos:}} if the offset is larger than the string