Commit 3bf69ae2 authored by Michael Chaudhary's avatar Michael Chaudhary Committed by Robert Nix

Update Tilesheets for 1.33

parent 70537a35
...@@ -2,6 +2,15 @@ ...@@ -2,6 +2,15 @@
This changelog only shows recent version history, because of the lack of documentation from the former maintainers. The very first changelog (1.1.2) is likely incomplete. This changelog only shows recent version history, because of the lack of documentation from the former maintainers. The very first changelog (1.1.2) is likely incomplete.
## Version 4 ## Version 4
### 4.2.2
* Fix HTML entities breaking input forms on TileTranslator and TileManager (#91)
* Update for MediaWiki 1.32/1.33:
* Updates for ApiBase::dieUsage (#94, #93) (chaud)
* Update Special:ViewTile for MediaWiki 1.32/1.33 (#92)
* Do not try to array_unique or foreach null. (#88) (Alexia E. Smith)
* Use addIndex for add_primary_key schema update, fixes failure when running update.php (#87) (Mischanix)
* Fix GrantPermissions. (#86) (Alexia E. Smith)
### 4.2.1 ### 4.2.1
* Improve grammatical and formatting stuff on WhatUsesThisTile. Proper quotations, periods, colons, and bolding to match WhatLinksHere. * Improve grammatical and formatting stuff on WhatUsesThisTile. Proper quotations, periods, colons, and bolding to match WhatLinksHere.
* Add pagination stuff to the bottom of WhatUsesThisTile. * Add pagination stuff to the bottom of WhatUsesThisTile.
......
{ {
"name": "Tilesheets", "name": "Tilesheets",
"version": "4.2.1", "version": "4.2.2",
"author": [ "author": [
"[http://ftb.gamepedia.com/User:Jinbobo Jinbobo]", "[http://ftb.gamepedia.com/User:Jinbobo Jinbobo]",
"[http://ftb.gamepedia.com/User:Retep998 Peter Atashian]", "[http://ftb.gamepedia.com/User:Retep998 Peter Atashian]",
......
...@@ -61,7 +61,7 @@ class TileManager extends SpecialPage { ...@@ -61,7 +61,7 @@ class TileManager extends SpecialPage {
$id = $opts->getValue('id'); $id = $opts->getValue('id');
$mod = $opts->getValue('mod'); $mod = $opts->getValue('mod');
$item = $opts->getValue('item'); $item = htmlspecialchars_decode($opts->getValue('item'));
$x = $opts->getValue('x'); $x = $opts->getValue('x');
$y = $opts->getValue('y'); $y = $opts->getValue('y');
...@@ -240,7 +240,7 @@ class TileManager extends SpecialPage { ...@@ -240,7 +240,7 @@ class TileManager extends SpecialPage {
global $wgScript; global $wgScript;
$form = "<table>"; $form = "<table>";
$form .= TilesheetsForm::createFormRow('tile-manager', 'id', $id, "text", 'readonly="readonly"'); $form .= TilesheetsForm::createFormRow('tile-manager', 'id', $id, "text", 'readonly="readonly"');
$form .= TilesheetsForm::createFormRow('tile-manager', 'item', $item); $form .= TilesheetsForm::createFormRow('tile-manager', 'item', htmlspecialchars($item));
$form .= TilesheetsForm::createFormRow('tile-manager', 'mod', $mod); $form .= TilesheetsForm::createFormRow('tile-manager', 'mod', $mod);
$form .= TilesheetsForm::createInputHint('tile-manager', 'mod'); $form .= TilesheetsForm::createInputHint('tile-manager', 'mod');
$form .= TilesheetsForm::createFormRow('tile-manager', 'x', $x); $form .= TilesheetsForm::createFormRow('tile-manager', 'x', $x);
......
...@@ -52,8 +52,8 @@ class TileTranslator extends SpecialPage { ...@@ -52,8 +52,8 @@ class TileTranslator extends SpecialPage {
} }
$id = $opts->getValue('id'); $id = $opts->getValue('id');
$description = $opts->getValue('description'); $description = htmlspecialchars_decode($opts->getValue('description'));
$displayName = $opts->getValue('display_name'); $displayName = htmlspecialchars_decode($opts->getValue('display_name'));
$language = $opts->getValue('language'); $language = $opts->getValue('language');
$update = $opts->getValue('update'); $update = $opts->getValue('update');
$delete = $opts->getValue('delete'); $delete = $opts->getValue('delete');
...@@ -192,8 +192,8 @@ class TileTranslator extends SpecialPage { ...@@ -192,8 +192,8 @@ class TileTranslator extends SpecialPage {
global $wgScript; global $wgScript;
$form = "<table>"; $form = "<table>";
$form .= TilesheetsForm::createFormRow('tile-translator', 'id', $id, "text", 'readonly="readonly"'); $form .= TilesheetsForm::createFormRow('tile-translator', 'id', $id, "text", 'readonly="readonly"');
$form .= TilesheetsForm::createFormRow('tile-translator', 'display_name', $displayName); $form .= TilesheetsForm::createFormRow('tile-translator', 'display_name', htmlspecialchars($displayName));
$form .= TilesheetsForm::createFormRow('tile-translator', 'description', $description); $form .= TilesheetsForm::createFormRow('tile-translator', 'description', htmlspecialchars($description));
$form .= TilesheetsForm::createFormRow('tile-translator', 'language', $language); $form .= TilesheetsForm::createFormRow('tile-translator', 'language', $language);
$form .= TilesheetsForm::createInputHint('tile-translator', 'language'); $form .= TilesheetsForm::createInputHint('tile-translator', 'language');
$form .= TilesheetsForm::createDeleteCheckboxRow('tile-translator'); $form .= TilesheetsForm::createDeleteCheckboxRow('tile-translator');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment