Widget:Contribution:修订间差异
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
| 第1行: | 第1行: | ||
<script> | |||
$(function() { | |||
$('#pt-userpage').before($('<li id="pt-avatar"></li>').append(link)); | |||
$('.ns-2 #firstHeading').prepend( | |||
$('<a>').attr({ | |||
href: 'https://hmoegirl.com/Special:Viewavatar?user=' + mw.config.get("wgPageName").replace(/^user:/i, ''), | |||
title: '查看头像' | |||
}).prepend( | |||
$('<img>') | |||
.attr('src', '//hmoegirl.com/extensions/Avatar/avatar.php?user=' + mw.config.get("wgPageName").replace(/^user:/i, '')) | |||
.css({ | |||
width: '1.2em', | |||
height: '1.2em', | |||
'border-radius': '10px', | |||
padding: '4px' | |||
}) | |||
) | |||
); | |||
}); | |||
</script> | |||
<style> | <style> | ||
.mw-body-content p { | .mw-body-content p { | ||