Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -644,6 +644,13 @@ |
645 | 645 | if ( $this->section == 'new' && $request->getVal( 'preloadtitle' ) ) { |
646 | 646 | $this->summary = $request->getVal( 'preloadtitle' ); |
647 | 647 | } |
| 648 | + elseif ( $this->section != 'new' && $request->getVal( 'summary' ) ) { |
| 649 | + $this->summary = $request->getText( 'summary' ); |
| 650 | + } |
| 651 | + |
| 652 | + if ( $request->getVal( 'minor' ) ) { |
| 653 | + $this->minoredit = true; |
| 654 | + } |
648 | 655 | } |
649 | 656 | |
650 | 657 | $this->oldid = $request->getInt( 'oldid' ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -34,6 +34,7 @@ |
35 | 35 | * Added "__\" magic word to eat up all whitespace and newlines to the next |
36 | 36 | non-whitespace character, to facilitate writing readable template code where |
37 | 37 | whitespace is significant. |
| 38 | +* (bug 17002) Add &minor= and &summary= as parameters in the url when editing, to automatically add a summary or a minor edit. |
38 | 39 | |
39 | 40 | === Bug fixes in 1.15 === |
40 | 41 | * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class) |