jenkins-bot has submitted this change and it was merged.
Change subject: CategoryOverlay: use more human readable title name
......................................................................
CategoryOverlay: use more human readable title name
getNameText transforms underlines to white-spaces.
Change-Id: I3554aa70dac0c9bfabe62425dde2eabb78c2508d
---
M javascripts/modules/categories/CategoryOverlay.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/javascripts/modules/categories/CategoryOverlay.js
b/javascripts/modules/categories/CategoryOverlay.js
index fce226d..3ab05ab 100644
--- a/javascripts/modules/categories/CategoryOverlay.js
+++ b/javascripts/modules/categories/CategoryOverlay.js
@@ -32,7 +32,7 @@
var title = mw.Title.newFromText(
category, 14 );
options.items.push( {
url: title.getUrl(),
- title: title.getName()
+ title: title.getNameText()
} );
} );
}
--
To view, visit https://gerrit.wikimedia.org/r/173474
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3554aa70dac0c9bfabe62425dde2eabb78c2508d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits