https://bugzilla.wikimedia.org/show_bug.cgi?id=71828
--- Comment #2 from wikiposta@gmail.com --- I wrote this function to trunk but it was not perfect as didn't watch the threads. Just made a simple count of initiated page saves without checking the actual saves, which is good enough in most cases (a page deletion/protection between loading and saving or an edit conflict is not too likely). I have never used and developed rewrite. Once this function is ported to core, should be written better than the original.