https://bugzilla.wikimedia.org/show_bug.cgi?id=70999
Bug ID: 70999
Summary: log_params isn't always serialized
Product: MediaWiki
Version: 1.24-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Logging
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Sometimes log_params isn't serialized. If keys aren't specified, I would think
this would make it harder sometimes to tell at a glance what the data
represents. If keys are specified, though, then one needs to extract the data
using, e.g., substr().
Three examples I notice are changing visibility of revisions and log events;
merging histories; and blocking users (for more details, see [[mw:Manual:Log
actions]]).
When you change visibility of a revision, the raw text inserted into log_params
is, e.g.:
revision
7
ofield=0
nfield=4
Likewise, merging histories generates, e.g.:
Bar
20140916175747
Blocking a user is the same way; something like the following gets inserted:
3 days
nocreate
--
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