From 8ee8bbb8dadd66e3a1e354b59051ab7c8f5754d3 Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Fri, 17 Aug 2012 16:43:17 +0200 Subject: [PATCH] updated calls to getEditToken and updated stuff for v1.1.6 Change-Id: Ieaaa384947ba42683068d7d19a6d1d9ab08f36d1 --- INSTALL | 11 ++++++----- Nuke_body.php | 4 ++-- README | 2 +- RELEASE-NOTES | 13 +++++++++++-- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/INSTALL b/INSTALL index 5b3b93b9..600ffb0b 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ These is the install file for the Nuke extension. Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke -Latest version of the install file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Nuke/INSTALL?view=co +Latest version of the install file: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Nuke.git;a=blob;f=INSTALL == Requirements == @@ -12,14 +12,15 @@ Nuke requires: == Download == -You can get the code directly from SVN. Tags can be obtained via +You can get the code directly from Git. + + git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Nuke.git + +Old tags can be obtained via SVN: svn checkout http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Nuke/REL_version Where 'version' is the version number of the tag, such as 0_1 (see the available tags at http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Nuke/). -The latest code can be obtained from trunk: - - svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Nuke/ == Installation == diff --git a/Nuke_body.php b/Nuke_body.php index 0ba0fb1e..0d8102b9 100644 --- a/Nuke_body.php +++ b/Nuke_body.php @@ -92,7 +92,7 @@ class SpecialNuke extends SpecialPage { . '' . '' . Xml::submitButton( $this->msg( 'nuke-submit-user' )->text() ) . '' . '' - . Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) + . Html::hidden( 'wpEditToken', $this->getUser()->getEditToken() ) . Xml::closeElement( 'form' ) ); } @@ -136,7 +136,7 @@ class SpecialNuke extends SpecialPage { 'method' => 'post', 'name' => 'nukelist' ) ) . - Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) . + Html::hidden( 'wpEditToken', $this->getUser()->getEditToken() ) . Xml::tags( 'p', null, Xml::inputLabel( diff --git a/README b/README index cfb5f7e2..39b272e0 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ These is the readme file for the Nuke extension. Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke -Latest version of the readme file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Nuke/README?view=co +Latest version of the readme file: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Nuke.git;a=blob;f=README == About == diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 56de5b99..871cf1f8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,10 +1,19 @@ These are the release notes for the Nuke extension. Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke -Latest version of the release notes: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Nuke/RELEASE-NOTES?view=co +Latest version of the release notes: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Nuke.git;a=blob;f=RELEASE-NOTES + +=== Version 1.1.6 == +(2012-08-14) + +* Making use of of the new message methods introduced in MW 1.18 instead of wfMsg*. +* Use of User::getEditToken rather then deprecated User::editToken. +* Updated release notes, readme and install to reflect the Git migration. +* Changed minimum required MediaWiki version from 1.18 to 1.19. === Version 1.1.5 == (2012-03-14) + * (bug 35214) Special:Nuke allows deletions even when blocked * (bug 16985) Show number of recent edits in Special:Nuke * (bug 23600) Nuke extension w/PostgreSQL: column "recentchanges.rc_timestamp" should be in GROUP BY @@ -25,7 +34,7 @@ Latest version of the release notes: http://svn.wikimedia.org/viewvc/mediawiki/t * Implemented sql like match feature as suggested in bug 5835. * Removed inline JavaScript and make use of jQuery loaded via the resource loader instead. * Modernizing of some of the code to make use of newly introduced features. -* Compatibility with MediaWiki < 1.18 broken. +* Changed minimum required MediaWiki version from 1.16 to 1.18. === Version 1.1.1 === (2011-10-19)