MediaWiki:Citizen.js:修订间差异
添加页脚logo |
小 补充class以匹配自带格式 |
||
| 第10行: | 第10行: | ||
if ($smw.length) { | if ($smw.length) { | ||
$smw.after( | $smw.after( | ||
'<li id="footer-poweredbycitizenico">' + | |||
'<a href="https://github.com/StarCitizenTools/mediawiki-skins-Citizen" ' + | |||
'class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled" ' + | |||
'target="_blank">' + | |||
'<img src="/resources/assets/poweredby-citizen-dark.svg" alt="Powered by Citizen" width="88" height="31" loading="lazy">' + | |||
'</a>' + | |||
'</li>' | |||
); | |||
} | } | ||
} | } | ||