login-improvements
Tom Hutchison 2020-04-05 07:55:20 -04:00
parent 078f9c258c
commit cd06863d2e
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
## Version 2.2
* [compatibility, deprecated] Fix for deprecated wfSuppressWarnings and wfRestoreWarnings with new Wikimedia\...
* [b/c break] Version minor bump, MW >= 1.31.0 now required
* [enhancement] Use of requires MW version in skin.json
## Version 2.1.1 ## Version 2.1.1
* [CSS, enhancement] Improvements correcting Issues #72 and #69, images the MW way * [CSS, enhancement] Improvements correcting Issues #72 and #69, images the MW way

View File

@ -60,7 +60,7 @@ class pivotTemplate extends BaseTemplate {
public function execute() { public function execute() {
global $wgUser; global $wgUser;
global $wgPivotFeatures; global $wgPivotFeatures;
wfSuppressWarnings(); Wikimedia\suppressWarnings();
$this->html('headelement'); $this->html('headelement');
switch ($wgPivotFeatures['usePivotTabs']) { switch ($wgPivotFeatures['usePivotTabs']) {
case true: case true:
@ -296,7 +296,7 @@ class pivotTemplate extends BaseTemplate {
</html> </html>
<?php <?php
wfRestoreWarnings(); Wikimedia\restoreWarnings;
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "Pivot", "name": "Pivot",
"version": "2.1.1-dev", "version": "2.2.0",
"author": [ "author": [
"Tom Hutchison", "Tom Hutchison",
"..." "..."
@ -12,6 +12,9 @@
"ValidSkinNames": { "ValidSkinNames": {
"pivot": "Pivot" "pivot": "Pivot"
}, },
"requires": {
"MediaWiki": ">= 1.31.0"
},
"MessagesDirs": { "MessagesDirs": {
"Skinpivot": [ "Skinpivot": [
"i18n" "i18n"