MediaWiki:Gadget-Navbox-link.js:修订间差异
imported>=海豚= 希望这回能好使 |
小 →top:bad link repair, replaced: hmoegirl.com → hmoegirl.info (3) |
||
| 第1行: | 第1行: | ||
/** | /** | ||
Author: ZUO Haocheng [[zhwiki:User:zuohaocheng]] | Author: ZUO Haocheng [[zhwiki:User:zuohaocheng]] | ||
Explanations for this javaScript code in http://www.hmoegirl. | Explanations for this javaScript code in http://www.hmoegirl.info/User:AnnAngela/js | ||
*/ | */ | ||
(function(mw) { | (function(mw) { | ||
var apiURIprefix = '//www.hmoegirl. | var apiURIprefix = '//www.hmoegirl.info/api.php', | ||
pageName = encodeURIComponent(mediaWiki.config.get('wgPageName')), | pageName = encodeURIComponent(mediaWiki.config.get('wgPageName')), | ||
navboxLinksGet = function() { | navboxLinksGet = function() { | ||
| 第58行: | 第58行: | ||
'title': pageTitle, | 'title': pageTitle, | ||
'text': pageTitle, | 'text': pageTitle, | ||
'href': '//www.hmoegirl. | 'href': '//www.hmoegirl.info/' + encodeURIComponent(pageTitle) | ||
}); | }); | ||
$('<li>').append(link).appendTo(targetUl); | $('<li>').append(link).appendTo(targetUl); | ||