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

View File

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