https://bugzilla.wikimedia.org/show_bug.cgi?id=19078
Web browser: ---
Summary: new #pos functions differs from version in
StringFunctions (SVN 1.16)
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Normal
Component: ParserFunctions
AssignedTo: [email protected]
ReportedBy: [email protected]
The definition of the behaviour of pos in
http://www.mediawiki.org/wiki/Extension:StringFunctions is:
"If the search term is found, the return value is a zero-based integer of the
first position within the string. If the search term is not found, the function
returns an empty string."
The current revision SVN 51470 of String functions 1.2.0 returns -1 if the
string is not found.
Wikis which had string functions installed will currently no longer display
their templates correctly.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l