Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Release 2.2.4 (#356)
Browse files Browse the repository at this point in the history
* Revert " Replace usge of long deprecated and removed wfSuppressWarnings and wfRestoreWarnings (#352)"

This reverts commit fff0786.

* Prep for release 2.2.4
  • Loading branch information
Hutchy68 committed Jan 18, 2020
1 parent a7509d4 commit b0fa210
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 2.2.4
* [bug] PR #352 Breaks Compatibility with MW < 1.34 - Rollback for re-release as v2.3.0
* [compatibility] Final Release v2.x.x requires MW <= 1.33

## Version 2.2.3
* [bug, compatibility] PR #352 Replace usge of wfSuppressWarnings and wfRestoreWarnings MW 1.34 compatibility

Expand Down
4 changes: 2 additions & 2 deletions Foreground.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class foregroundTemplate extends BaseTemplate {
public function execute() {
global $wgUser;
global $wgForegroundFeatures;
Wikimedia\AtEase\AtEase::suppressWarnings();
wfSuppressWarnings();
$this->html('headelement');
switch ($wgForegroundFeatures['enableTabs']) {
case true:
Expand Down Expand Up @@ -278,7 +278,7 @@ public function execute() {
</html>

<?php
Wikimedia\AtEase\AtEase::suppressWarnings( true );
wfRestoreWarnings();
}
}
?>
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Foreground",
"version": "2.2.3dev",
"version": "2.2.4",
"author": [
"Garrick Van Buren",
"Jamie Thingelstad",
Expand Down

0 comments on commit b0fa210

Please sign in to comment.