Also, added a parameters to XmlDumpWriter so that they could be
inject via WikiExporter.
Bug: T325475
Change-Id: I84b82506509e2c09dad0691af2df958a5af5b5b0
so that extensions (i.e. CheckUser) can implement their own comment
store without having a lot of code duplication
basically the comment store version of I3a6486532f2ef36
Bug: T233004
Change-Id: Ib40f99e00a514d41776ce521baf113e46d37e9cd
Move the call to ActorStore::getUnknownActor to the code which calls it.
Avoid that static code analyzer see an possible undeclared actor store
Found by phan (T259172)
Bug: T259172
Change-Id: Ide978380726c60a35250ca67cd0adff603c971b1
In all cases that rc_actor is not given the function returns an
unknown actor as ActorStore::newActorFromRowFields() throw
exception in that cases. It is too strict because, for instance,
RecentChange::newLogEntry() does not provide the attribute.
This changes it.
Bug: T286979
Change-Id: I5668053c30c18755536bfcb98524e79eb2827dda
This helps phan to detect unreachable code and also impossible types
after the functions.
It helps phan to avoid false positives for array keys
when the keys are checked before
Bug: T240141
Change-Id: I895f70e82b3053a46cd44135b15437e6f82a07b2
- RCDatabaseLogEntry::newFromId currently doesn't work, because the parent has
'logging' fields hardcoded. Make the failure explicit with a LogicException to
avoid sneaky failures and/or DB query errors. There's no need to
implement the missing part, given the lack of a use case.
- Same for ::getSelectQueryData
Change-Id: I748733da1a34f9af1cd431c933809c23dc37a3d6
This reverts commit b96d2808fd.
This class should only be used in context of the LogFormatter and the method is not needed there.
This was added in 1.35 and the revert should be part of 1.35 to avoid deprecation process.
Change-Id: I13b5fd2989f9e640718ecf5083f83017abefef25
Depends-On: I3af1e42594f8235be815ce38e3411c762ae01092