{"head":"6922d380ac4596716cb648edd63c46fc07b2424a","size":1,"push_id":47420668,"ref":"refs/heads/master","commits":[{"sha":"6922d380ac4596716cb648edd63c46fc07b2424a","author":{"name":"hashar","email":"6673b20d02a0fec0f4ada156ad913a0e309f35b4@dd0e9695-b195-4be7-bd10-2dea1a65a6b6"},"url":"https://api.github.com/repos/mediawiki/mediawiki-trunk-extensions/commits/6922d380ac4596716cb648edd63c46fc07b2424a","message":"(bug 31656) AbuseFilter skips non null edits\n\nThat bug is triggering when a user submit an old revision unchanged.\nThe previous Article->getContent() would fetch the old revision which is\nthen compared to the user submitted text. Since they are identical, filtering\nis skipped entirely.\nAny editor can then reinstate an old \"bad\" revision.\n\nFix:\n* Get latest stored revision to compare user submitted text against. This is\n  done by using: Article->getRevision()->getRawText().\n* Move caching related calls after that.\n\nFollow up r52740.\nRedo r100687 I had reverted.\n\n\n\ngit-svn-id: svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions@100692 dd0e9695-b195-4be7-bd10-2dea1a65a6b6"}],"legacy":{"head":"6922d380ac4596716cb648edd63c46fc07b2424a","size":1,"push_id":47420668,"shas":[["6922d380ac4596716cb648edd63c46fc07b2424a","hashar@dd0e9695-b195-4be7-bd10-2dea1a65a6b6","(bug 31656) AbuseFilter skips non null edits\n\nThat bug is triggering when a user submit an old revision unchanged.\nThe previous Article->getContent() would fetch the old revision which is\nthen compared to the user submitted text. Since they are identical, filtering\nis skipped entirely.\nAny editor can then reinstate an old \"bad\" revision.\n\nFix:\n* Get latest stored revision to compare user submitted text against. This is\n  done by using: Article->getRevision()->getRawText().\n* Move caching related calls after that.\n\nFollow up r52740.\nRedo r100687 I had reverted.\n\n\n\ngit-svn-id: svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions@100692 dd0e9695-b195-4be7-bd10-2dea1a65a6b6","hashar"]],"ref":"refs/heads/master"}}