https://bugzilla.wikimedia.org/show_bug.cgi?id=41765
Web browser: ---
Bug #: 41765
Summary: Autoedit changes unintended form field
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
I've run across a nasty bug in Semantic Forms (2.5.1) while doing an autoedit
via the API where the autoedit changes the first character of another Template
field that was not part of the intended edit.
This is the autoedit command I'm executing (via python-simplemediawiki)
c = wiki.call({'action': 'sfautoedit', 'form': 'Book', 'target': title,
'Book[Cover]': 'Cover for ' + book['printouts']['Has Amazon ASIN'][0] +
'.jpg'})
It is targeting this Form:
http://rwbookclub.com/wiki/Form:Book
The behavior is very odd. It does update the Book[Cover] field as intended, but
it changes the value of any *dates* in the templates.
Here is an example diff:
http://rwbookclub.com/w/index.php?title=Wired_for_War:_The_Robotics_Revolution_and_Conflict_in_the_21st_Century&curid=884&diff=4584&oldid=4575
Note that "November" has been changed to "Povember" in all cases, including
*other* templates.
It isn't always a P either, see this diff:
http://rwbookclub.com/w/index.php?title=Among_Others&curid=898&diff=4594&oldid=4592
"November" became "Aovember".
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l