Nikerabbit has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/265269

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/69/265269/1

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: newchange
Gerrit-Change-Id: I27956c3f14188b3ae9f1c21e3f5c0e02ecb9e8f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>

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

Reply via email to