This requires 1.42 for some new names
Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: I9a7df2df9407ef10d855bc19db247983682a5fc8
It's kind of useless to not give this right to anyone by default since
the whole point of introducing the userright was to use it.
Bots are a good place to start as they're usually pre-vetted and
normally just copying already existing links when being blocked
(e.g. archive bots).
Bug: T313107
Bug: T334344
Change-Id: Ib0ff42ed730d3fe5f5bb6c06f0a87b4959c1f989
This is where the `tboverride` right (similar to
`sboverride`) is. In an ideal world, all existing rights
should be assigned to a grant, so they can be used via
OAuth / bot passwords.
Change-Id: I6fd90d9ca27a93f5e8ecd8a8772b197288f46ae3
The instrumentation attempted here has been implemented more correctly
by https://phabricator.wikimedia.org/T214706. This change removes
instrumentation from this extension. It should not affect much,
because emitting events was already disabled.
Bug: T162365
Change-Id: I8f02c62d41260a62b37a7738d69c039d2ce7562f
Bumped MediaWiki requirement for usage of Maintenance::fatalError(),
which was introduced in 1.31.
Change-Id: I24446b93d47184907847ed825b42735a74fbddf0
The main rationale for keeping this log private is to that scanners and things
don't see a huge list of spammy URLs and treat that website as spam itself.
There's no actual private content in here since the regular expressions are
public, so making it available to all users is fine.
Change-Id: I6da473b7cbac2c6fd507bde5c970d701e5ac249e
If a page is being deleted, use the ArticleDelete hook to queue a list
of URLs that are being "removed" from the page. The
ArticleDeleteComplete hook will trigger actually sending the logs - so
if something prevents the deletion, nothing will be logged.
Bug: T115119
Change-Id: I32e357bb88305a46251b05714a4ff75b75ae37aa
It was only needed for MediaWiki prior to 1.25
(09a5febb7b024c0b6585141bb05cba13a642f3eb).
We no longer support those versions after
5d882775f6.
Bug: T137832
Change-Id: I97f6a3c20476f1a42e3fadc701df5870a30c790c
If enabled, changes in URLs on a page will be logged to the
"ExternalLinkChange" schema. To avoid extra lookups, the diff of URLs is
calculated during the filter step of the SpamBlacklist, and stored in
the SpamBlacklist instance state until the post-save hook is called, and
then they are queued to go to EventLogging.
Bug: T115119
Change-Id: I9a5378dca5ab473961f9fe8f7a6d929dc6d32bba
* This works via plugging into ApiStashEdit.
* The query is relatively slow per performance.wikimedia.org/xenon/svgs/daily/2016-02-15.index.svgz.
Change-Id: I0ad5289324b5482db7e2276f58fc1ac140250d47