Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/217234
Change subject: In Wikibase linking, check the target title instead of source
......................................................................
In Wikibase linking, check the target title instead of source
Follow up to
Iba7e6abb01ad8b1f4c207c705ff079517aa0bb03
Bug: T101410
Change-Id: Iaa680513b0b2cda92a6c42ba08b6fec9b6ff859f
---
M modules/publish/ext.cx.wikibase.link.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/34/217234/1
diff --git a/modules/publish/ext.cx.wikibase.link.js
b/modules/publish/ext.cx.wikibase.link.js
index 6b7207a..722da5f 100644
--- a/modules/publish/ext.cx.wikibase.link.js
+++ b/modules/publish/ext.cx.wikibase.link.js
@@ -17,7 +17,7 @@
var title, sourceApi;
// Link only pages in the main space
- title = new mw.Title( sourceTitle );
+ title = new mw.Title( targetTitle );
if ( title.getNamespaceId() !== 0 ) {
return;
}
--
To view, visit https://gerrit.wikimedia.org/r/217234
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa680513b0b2cda92a6c42ba08b6fec9b6ff859f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits