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

Change subject: Correct Title::getInterwiki method name case on call
......................................................................


Correct Title::getInterwiki method name case on call

Change-Id: I5f1aa206106ccfaf31a96e00fd028a81528f58c0
---
M includes/forminputs/SF_TreeInput.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/forminputs/SF_TreeInput.php 
b/includes/forminputs/SF_TreeInput.php
index e6d5600..762a52b 100644
--- a/includes/forminputs/SF_TreeInput.php
+++ b/includes/forminputs/SF_TreeInput.php
@@ -250,7 +250,7 @@
                # The title must be in the category namespace
                # Ignore a leading Category: if there is one
                $t = Title::newFromText( $title, NS_CATEGORY );
-               if ( !$t || $t->getNamespace() != NS_CATEGORY || 
$t->getInterWiki() != '' ) {
+               if ( !$t || $t->getNamespace() != NS_CATEGORY || 
$t->getInterwiki() != '' ) {
                        // If we were given something like "Wikipedia:Foo" or 
"Template:",
                        // try it again but forced.
                        $title = "Category:$title";

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f1aa206106ccfaf31a96e00fd028a81528f58c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to