Index: trunk/phase3/includes/Article.php |
— | — | @@ -2367,7 +2367,14 @@ |
2368 | 2368 | # Get the edit summary |
2369 | 2369 | $target = Revision::newFromId( $s->rev_id ); |
2370 | 2370 | if( empty( $summary ) ) |
2371 | | - $summary = wfMsgForContent( 'revertpage', $target->getUserText(), $from ); |
| 2371 | + { |
| 2372 | + global $wgLang; |
| 2373 | + $summary = wfMsgForContent( 'revertpage', |
| 2374 | + $target->getUserText(), $from, |
| 2375 | + $s->rev_id, $wgLang->timeanddate(wfTimestamp(TS_MW, $s->rev_timestamp), true), |
| 2376 | + $current->getId(), $wgLang->timeanddate($current->getTimestamp()) |
| 2377 | + ); |
| 2378 | + } |
2372 | 2379 | |
2373 | 2380 | # Save |
2374 | 2381 | $flags = EDIT_UPDATE; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -130,6 +130,7 @@ |
131 | 131 | * (bug 12622) A JavaScript constant to declare whether api.php is available |
132 | 132 | * Add caching to the AJAX search |
133 | 133 | * Added APCOND_INGROUPS |
| 134 | +* (bug 18585) Added a bunch of parameters to the revertpage message |
134 | 135 | |
135 | 136 | |
136 | 137 | === Bug fixes in 1.12 === |