Last modified: 2013-09-23 14:41:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54919, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52919 - Data about oldest revisions of edit filters from (some?) WMF wikis is not available in the logs
Data about oldest revisions of edit filters from (some?) WMF wikis is not ava...
Status: PATCH_TO_REVIEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Low minor (vote)
: ---
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 12:27 UTC by Helder
Modified: 2013-09-23 14:41 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2013-08-16 12:27:43 UTC
We are not able to get logs for any of the 131 oldest AbuseFilter modifications on Portuguese Wikipedia:
https://pt.wikipedia.org/wiki/Special:AbuseFilter/history?offset=20090704151453&limit=131&uselang=en
either by the API query
https://pt.wikipedia.org/w/api.php?action=query&list=logevents&format=jsonfm&leprop=ids|title|type|user|userid|timestamp|comment|parsedcomment|details|tags&leaction=abusefilter/modify&ledir=newer&lelimit=1
or by the UI:
https://pt.wikipedia.org/wiki/Special:Log/abusefilter?dir=prev&uselang=en

Compare with
https://en.wikipedia.org/wiki/Special:Log/abusefilter?dir=prev
where the oldest log is from 17 March 2009, and corresponds to the oldest change listed in the AbuseFilter's history:
https://en.wikipedia.org/w/index.php?title=Special:AbuseFilter/history/&dir=prev
(I wasn't able to check the analogous API query for enwiki, because of bug 52918)

Would it be possible to run some maintenance script to add the missing changes to the logs of the affected WMF wikis? This would allow us to get this information from Wikipedias using the MediaWiki API.
Comment 1 Sam Reed (reedy) 2013-08-16 12:33:57 UTC
(In reply to comment #0)
> Would it be possible to run some maintenance script to add the missing
> changes
> to the logs of the affected WMF wikis? This would allow us to get this
> information from Wikipedias using the MediaWiki API.

One would have to exist first...
Comment 2 Helder 2013-08-16 12:39:33 UTC
(In reply to comment #0)
> Compare with
> https://en.wikipedia.org/wiki/Special:Log/abusefilter?dir=prev
> where the oldest log is from 17 March 2009, and corresponds to the oldest
> change listed in the AbuseFilter's history:
> https://en.wikipedia.org/w/index.php?title=Special:AbuseFilter/history/
> &dir=prev
> (I wasn't able to check the analogous API query for enwiki, because of bug
> 52918)

Hmm... Actually, these 1108 entries
https://en.wikipedia.org/w/index.php?title=Special:AbuseFilter/history&offset=20090703235800&limit=1108
are missing from enwiki's log:
https://en.wikipedia.org/wiki/Special:Log/abusefilter?dir=prev
Comment 3 Alex Monk 2013-09-21 18:59:18 UTC
Caused by r48501 deployed around 2009-03-17, fixed from deployment of r52734 on 2009-07-03 (this bug is about fixing up the entries made in between)
Comment 4 Gerrit Notification Bot 2013-09-23 14:41:00 UTC
Change 85675 had a related patch set uploaded by Alex Monk:
Add maintenance script to restore missing log entries for each filter history entry

https://gerrit.wikimedia.org/r/85675

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links