跳转到内容

User talk:Kanashimi

页面内容不支持其他语言。
添加话题
维基新闻,自由的新闻源
Sheminghui.WU在话题“给您的星章!”中的最新留言:3天前

请求您协助对接Bookmark的MediaWiki页面

[编辑]

亲爱的界面管理员Kanashimi君,enwn那边引入了微信分享功能。那边的界面管理员Asked君说他可以修改出一个适合zhwn的本地化脚本,建立一个MediaWiki页面,到时候可能需要本地界面管理员的一些协助,不知您是否愿意。~ Sheminghui.WU留言2025年11月9日 (日) 10:54 (UTC)回复

先行動吧 讓我們看看有什麼需要幫忙的 Kanashimi留言2025年11月10日 (一) 08:22 (UTC)回复

WeChat integration script

[编辑]

Hi, first of all, sorry for using English. @Sheminghui.WU suggested that you can help with integrating the WeChat share dialog here. I have prepared a script that you can import and localize, probably under MediaWiki:SocialBookmarks.js or any other page you prefer. Please translate the "SocialBookmarksI18n" strings in the script into Chinese. After localization, load the script in MediaWiki:Common.js and for mobile compatibility also load it with MediaWiki:Mobile.js. In the social bookmarks template, now you can add a WeChat share button, for example:

 <div id="social-bookmarks-wechat">[[File:Ionicons logo-wechat.svg|20px|Share on WeChat|link=]]</div> 

The script will be triggered by the social-bookmarks-wechat ID. That should handle the integration. Please let me know if there is any way I can assist further. -- Asked42留言2025年11月10日 (一) 14:12 (UTC)回复

The script code is here: n:en:User:Asked42/sandbox.js. -- Asked42留言2025年11月10日 (一) 14:14 (UTC)回复

给您的星章!

[编辑]
编辑星章(技术)
感谢您对微信分享功能开发所作出的贡献。(由于缺少关于技术的星章,只能先以此替代)。 ~ Sheminghui.WU留言2025年11月11日 (二) 10:53 (UTC)回复