updated calls to getEditToken and updated stuff for v1.1.6

Change-Id: Ieaaa384947ba42683068d7d19a6d1d9ab08f36d1
This commit is contained in:
jeroendedauw 2012-08-17 16:43:17 +02:00
parent 907b60e2cd
commit 8ee8bbb8da
4 changed files with 20 additions and 10 deletions

11
INSTALL
View file

@ -1,7 +1,7 @@
These is the install file for the Nuke extension. These is the install file for the Nuke extension.
Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke 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 == == Requirements ==
@ -12,14 +12,15 @@ Nuke requires:
== Download == == 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 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/). 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 == == Installation ==

View file

@ -92,7 +92,7 @@ class SpecialNuke extends SpecialPage {
. '<td></td>' . '<td></td>'
. '<td>' . Xml::submitButton( $this->msg( 'nuke-submit-user' )->text() ) . '</td>' . '<td>' . Xml::submitButton( $this->msg( 'nuke-submit-user' )->text() ) . '</td>'
. '</tr></table>' . '</tr></table>'
. Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) . Html::hidden( 'wpEditToken', $this->getUser()->getEditToken() )
. Xml::closeElement( 'form' ) . Xml::closeElement( 'form' )
); );
} }
@ -136,7 +136,7 @@ class SpecialNuke extends SpecialPage {
'method' => 'post', 'method' => 'post',
'name' => 'nukelist' ) 'name' => 'nukelist' )
) . ) .
Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) . Html::hidden( 'wpEditToken', $this->getUser()->getEditToken() ) .
Xml::tags( 'p', Xml::tags( 'p',
null, null,
Xml::inputLabel( Xml::inputLabel(

2
README
View file

@ -1,7 +1,7 @@
These is the readme file for the Nuke extension. These is the readme file for the Nuke extension.
Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke 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 == == About ==

View file

@ -1,10 +1,19 @@
These are the release notes for the Nuke extension. These are the release notes for the Nuke extension.
Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke 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 == === Version 1.1.5 ==
(2012-03-14) (2012-03-14)
* (bug 35214) Special:Nuke allows deletions even when blocked * (bug 35214) Special:Nuke allows deletions even when blocked
* (bug 16985) Show number of recent edits in Special:Nuke * (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 * (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. * Implemented sql like match feature as suggested in bug 5835.
* Removed inline JavaScript and make use of jQuery loaded via the resource loader instead. * 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. * 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 === === Version 1.1.1 ===
(2011-10-19) (2011-10-19)