[MediaWiki-l] RevisionDelete not working for me

Krenair krenair at gmail.com
Sat Mar 9 17:15:07 UTC 2013

It's definitely resolved (in master), but not in any release.
This happened because someone decided to include unapproved code in a 
release. Sorry.
You can fix it on your install by making this change: 
Of course, going to that special page alone with no parameters (which 
should be the only case this bug is triggered) is useless (it's just the 
target used by the revision deletion forms), so this is a very minor 
issue, all it hides is this error:

  Invalid target revision

You have either not specified a target revision(s) to perform this 
function, the specified revision does not exist, or you are attempting 
to hide the current revision.

Return toMediaWiki <https://www.mediawiki.org/wiki/MediaWiki>.

Alex Monk

On 09/03/13 17:09, Dan Fisher wrote:
> Is Special:RevisionDelete working for anyone with 1.20.2 or 3?
> To test if its working, go to: www.MyWiki.com/wiki/Special:RevisionDelete
>   (replace mywiki.com with your own)
> After the update this is still not working (at least for me). Can anyone
> test it and let me know if its working for you?
> Copy pasted below is the bug report that was submitted by someone. It was
> marked as 'resolved' but it may still be broken?
> thanks
> Dan
> -----------------------------
> When I go to Special:RevisionDelete with proper permissions, I get this
> error:
> Fatal error: Call to a member function isSpecial() on a non-object in
> /includes/specials/SpecialRevisiondelete.php on line 150
> Here is line 150:
> if ( $this->targetObj->isSpecial( 'Log' ) ) {
> https://bugzilla.wikimedia.org/show_bug.cgi?id=43012
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list