Selaa lähdekoodia

Release 2.2.4 (#357)

* Merging in changes to address issues and compatability, see CHANGELOG.md

* Set version to 2.2.1dev for develop branch

* More changes to CSS for issue #342

* Fix license visibility on GitHub

* Duh, need License in top line too

* Fixing extra bracket in CSS and moving some code to select attribute

* Fix for issue #345 and other improvements, notes in CHANGELOG.md

* Fixed issue with annoying "->" in top bar. (#350)

In my use of Foreground, I don't need the left dropdown menu in the top bar. Disabling it revealed a bug in which an annoying "->" appears in the top bar. It is caused by a missing "</li>" tag and unbalanced PHP curly brackets. This change fixes the problem.

* Bump version for bug fix

* Prep for Version Release (#351)

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Bump version for bug fix

*  Replace usge of long deprecated and removed wfSuppressWarnings and wfRestoreWarnings (#352)

*  Replace usge of long deprecated and removed wfSuppressWarnings

* Update Foreground.skin.php

* Update Foreground.skin.php

Thanks @paladox

* Prep for Version Bump, merge to master for release

* Reset version to 2.2.3dev

* Dev updates with Localization (#355)

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Bump version for bug fix

* Prep for Version Bump, merge to master for release

* Reset version to 2.2.3dev

Co-authored-by: translatewiki.net <l10n-bot@translatewiki.net>

* Revert " Replace usge of long deprecated and removed wfSuppressWarnings and wfRestoreWarnings (#352)"

This reverts commit fff0786ee390c26b0f68b834e79f354f22c13edb.

* Prep for release 2.2.4

Co-authored-by: Kai Özer <robo-fish@users.noreply.github.com>
Co-authored-by: paladox <paladox@users.noreply.github.com>
Co-authored-by: translatewiki.net <l10n-bot@translatewiki.net>
Tom Hutchison 5 vuotta sitten
vanhempi
sitoutus
2695828a25
3 muutettua tiedostoa jossa 7 lisäystä ja 3 poistoa
  1. 4 0
      CHANGELOG.md
  2. 2 2
      Foreground.skin.php
  3. 1 1
      skin.json

+ 4 - 0
CHANGELOG.md

@@ -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
 

+ 2 - 2
Foreground.skin.php

@@ -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:
@@ -278,7 +278,7 @@ class foregroundTemplate extends BaseTemplate {
 		</html>
 
 <?php
-		Wikimedia\AtEase\AtEase::suppressWarnings( true );
+		wfRestoreWarnings();
 	}
 }
 ?>

+ 1 - 1
skin.json

@@ -1,6 +1,6 @@
 {
 	"name": "Foreground",
-	"version": "2.2.3",
+	"version": "2.2.4",
 	"author": [
 		"Garrick Van Buren",
 		"Jamie Thingelstad",