Jeroen De Dauw has submitted this change and it was merged.

Change subject: Fix regression introduced with If2dc18cabf (SMW_Exp_Element.php)
......................................................................


Fix regression introduced with If2dc18cabf (SMW_Exp_Element.php)

## Error
Unexpected non-MediaWiki exception encountered, of
type "InvalidArgumentException" exception 'InvalidArgumentException'
with message '$lexicalForm needs to be a string' in
...\export\SMW_Exp_Element.php:249

## Analysis
SMWExpLiteral constructor forces the first parameter to be of type
string where $diWikiPage->getNamespace() is an integer

Change-Id: I21dd6e2c261b5ae7141af30d189320d4f17e095b
---
M includes/export/SMW_Exporter.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jeroen De Dauw: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I21dd6e2c261b5ae7141af30d189320d4f17e095b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to