Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -9,6 +9,12 @@ |
10 | 10 | |
11 | 11 | function wfSpecialRevisiondelete( $par = null ) { |
12 | 12 | global $wgOut, $wgRequest, $wgUser; |
| 13 | + |
| 14 | + if ( wfReadOnly() ) { |
| 15 | + $wgOut->readOnlyPage(); |
| 16 | + return; |
| 17 | + } |
| 18 | + |
13 | 19 | # Handle our many different possible input types |
14 | 20 | $target = $wgRequest->getText( 'target' ); |
15 | 21 | $oldid = $wgRequest->getArray( 'oldid' ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -40,6 +40,7 @@ |
41 | 41 | * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class) |
42 | 42 | * (bug 16968) Special:Upload no longer throws useless warnings. |
43 | 43 | * (bug 15470) Special:Upload no longer force-capitalizes titles |
| 44 | +* (bug 17000) Special:RevisionDelete now checks if the database is locked before trying to delete the edit. |
44 | 45 | |
45 | 46 | == API changes in 1.15 == |
46 | 47 | * (bug 16798) JSON encoding errors for some characters outside the BMP |