mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-23 10:59:03 +01:00
Changes for MW 1.34 see https://phabricator.wikimedia.org/T187037
This commit is contained in:
parent
078f9c258c
commit
cd06863d2e
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user