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

Change subject: Mark ApiULSLocalization internal
......................................................................


Mark ApiULSLocalization internal

Per suggestion in T91457#1944256

Change-Id: I27956c3f14188b3ae9f1c21e3f5c0e02ecb9e8f7
---
M api/ApiULSLocalization.php
1 file changed, 5 insertions(+), 0 deletions(-)

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



diff --git a/api/ApiULSLocalization.php b/api/ApiULSLocalization.php
index 2699a4d..8bcbe3e 100644
--- a/api/ApiULSLocalization.php
+++ b/api/ApiULSLocalization.php
@@ -91,4 +91,9 @@
                                => 'apihelp-ulslocalization-example-2',
                );
        }
+
+       // Try to scare people away from using this externally
+       public function isInternal() {
+               return true;
+       }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I27956c3f14188b3ae9f1c21e3f5c0e02ecb9e8f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to