jenkins-bot has submitted this change and it was merged.

Change subject: Replace deprecated Language::getLanguageNames()
......................................................................


Replace deprecated Language::getLanguageNames()

Change-Id: I15bc57444d589f10f735f9995be7d19d4257df62
---
M PhalanxHelper.class.php
M i18n/en.json
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/PhalanxHelper.class.php b/PhalanxHelper.class.php
index aad1d88..bf19044 100644
--- a/PhalanxHelper.class.php
+++ b/PhalanxHelper.class.php
@@ -433,7 +433,7 @@
                // Code lifted from Preferences::profilePreferences -- because
                // Language::getLanguageNames() does not show the language 
codes and
                // not everyone is i18n-savvy...
-               $languages = Language::getLanguageNames();
+               $languages = Language::fetchLanguageNames();
                ksort( $languages );
 
                $options = array();
diff --git a/i18n/en.json b/i18n/en.json
index 407b409..e2fbad4 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -38,9 +38,9 @@
        "phalanx-format-exact": "exact",
        "phalanx-tab-main": "Manage Filters",
        "phalanx-tab-secondary": "Test Filters",
-       "phalanx-block-success": "The block was successfully added",
+       "phalanx-block-success": "The block was added",
        "phalanx-block-failure": "There was an error during adding the block",
-       "phalanx-modify-success": "The block was successfully modified",
+       "phalanx-modify-success": "The block was modified",
        "phalanx-modify-failure": "There was an error modifying the block",
        "phalanx-modify-warning": "You are editing block ID #$1. Click 
\"{{int:phalanx-edit-block}}\" to save your changes.",
        "phalanx-test-description": "Test provided text against current 
blocks.",
@@ -52,7 +52,7 @@
        "phalanx-reset-form": "Reset Form",
        "phalanx-legend-input": "Create or Modify Filter",
        "phalanx-legend-listing": "Currently applied filters",
-       "phalanx-unblock-message": "Block ID #$1 was successfully removed",
+       "phalanx-unblock-message": "Block ID #$1 was removed",
        "phalanx-help-type-content": "This filter prevents an edit from being 
saved, if its content matches any of the blacklisted phrases.",
        "phalanx-help-type-summary": "This filter prevents an edit from being 
saved, if the summary given matches any of the blacklisted phrases.",
        "phalanx-help-type-title": "This filter prevents a page from being 
created, if its title matches any of the blacklisted phrases.\n\nIt does not 
prevent a pre-existing page from being edited.",

-- 
To view, visit https://gerrit.wikimedia.org/r/275548
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I15bc57444d589f10f735f9995be7d19d4257df62
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Phalanx
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to