מדיה ויקי:Gadget-browsertab.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 1: שורה 1:
var params = {
var params = {
action: "expandtemplates",
action: "expandtemplates",
text: "{{קיצור מרחב השם|" + mw.config.get('wgPageName') + "}}",
text: "{{קיצור מרחב השם|" + mw.config.get('wgPageName').replaceAll('_', ' ') + "}}",
prop: "wikitext",
prop: "wikitext",
format: "json"
format: "json"
שורה 9: שורה 9:
.done( function ( data ) {
.done( function ( data ) {
$( document ).prop('title', data.expandtemplates.wikitext);
$( document ).prop('title', data.expandtemplates.wikitext);
//mw.config.get('wgPageName').replaceAll('_', ' '));
} );
} );