Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/106211
Change subject: Replace deprecated User::editToken with User::getEditToken
(1.19)
......................................................................
Replace deprecated User::editToken with User::getEditToken (1.19)
Change-Id: I69835a74d1e35d94e2a02698a51d80e139c46e59
---
M Collection.templates.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection
refs/changes/11/106211/1
diff --git a/Collection.templates.php b/Collection.templates.php
index d602f86..b95d2b4 100644
--- a/Collection.templates.php
+++ b/Collection.templates.php
@@ -179,7 +179,7 @@
<tr><td> </td><td
id="collection-save-button">
<input id="saveButton" type="submit"
value="<?php $this->msg( 'coll-save_collection' ) ?>"<?php if ( count(
$this->data['collection']['items'] ) == 0 ) { ?> disabled="disabled"<?php } ?>
/>
</tr></tbody></table>
- <input name="token" type="hidden" value="<?php
echo htmlspecialchars( $GLOBALS['wgUser']->editToken() ) ?>" />
+ <input name="token" type="hidden" value="<?php
echo htmlspecialchars( $GLOBALS['wgUser']->getEditToken() ) ?>" />
<input name="bookcmd" type="hidden"
value="save_collection" />
</form>
@@ -333,7 +333,7 @@
<input name="pcollname" type="hidden" value="<?php echo
htmlspecialchars( $this->data['pcollname'] ) ?>" />
<input name="ccollname" type="hidden" value="<?php echo
htmlspecialchars( $this->data['ccollname'] ) ?>" />
<input name="colltype" type="hidden" value="<?php echo
htmlspecialchars( $this->data['colltype'] ) ?>" />
- <input name="token" type="hidden" value="<?php echo htmlspecialchars(
$GLOBALS['wgUser']->editToken() ) ?>" />
+ <input name="token" type="hidden" value="<?php echo htmlspecialchars(
$GLOBALS['wgUser']->getEditToken() ) ?>" />
<input name="bookcmd" type="hidden" value="save_collection" />
</form>
--
To view, visit https://gerrit.wikimedia.org/r/106211
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I69835a74d1e35d94e2a02698a51d80e139c46e59
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits