Compact links: Set href for langugage links in ULS panel
Based on jquery.uls upstream version 982e2c32e7b3 https://github.com/wikimedia/jquery.uls/commit/982e2c32e7b3 Bug: 64797 Change-Id: Ia8b2ad22913693d2f88693091d288ca74d7d8c87
This commit is contained in:
committed by
Santhosh Thottingal
parent
2eecd4de00
commit
7865a65bb0
@@ -267,7 +267,8 @@
|
||||
quickList: this.options.quickList,
|
||||
clickhandler: $.proxy( this.select, this ),
|
||||
source: this.$languageFilter,
|
||||
showRegions: this.options.showRegions
|
||||
showRegions: this.options.showRegions,
|
||||
languageDecorator: this.options.languageDecorator
|
||||
} ).data( 'lcd' );
|
||||
|
||||
this.$languageFilter.languagefilter( {
|
||||
@@ -400,7 +401,8 @@
|
||||
languages: $.uls.data.getAutonyms(), // Languages to be used for ULS, default is all languages
|
||||
quickList: null, // Array of language codes or function that returns such
|
||||
compact: false, // Show ULS in compact mode
|
||||
showRegions: [ 'WW', 'AM', 'EU', 'ME', 'AF', 'AS', 'PA' ]
|
||||
showRegions: [ 'WW', 'AM', 'EU', 'ME', 'AF', 'AS', 'PA' ],
|
||||
languageDecorator: null // Callback function to be called when a language link is prepared - for custom decoration.
|
||||
};
|
||||
|
||||
// Define a dummy i18n function, if jquery.i18n not integrated.
|
||||
|
||||
Reference in New Issue
Block a user