问题
请问这个插件支持哪些MediaWiki皮肤?
IPE我记得无论哪个版本都是独立一个浮动按钮的,可以认为大部分情况下皮肤无关。
但是我使用在Miraheze的wiki安装插件似乎没有起到作用
那,你启用本用户脚本的方式是?DevTools有没有报错?
首先,我复制了Minecraftwiki的代码(这固然不行) 然后,我使用了你给的导入代码 最后,我简单粗暴地复制了源代码
但是,似乎没有任何作用 我使用的MediaWiki公民皮肤,或者……jQuery需要单独在wiki中导入?
与皮肤无关,Miraheze的安全策略禁止第三方JavaScript运行
请问我有办法解决吗?
有管理员权限的情况下将IPE编译后的版本加入小工具加载之类的?
有管理员权限的情况下将IPE编译后的版本加入小工具加载之类的?
有权限,wiki是我的。编译后的版本可以在哪里获取?
表述有点问题 总之就是,IPE比较依赖外部加载资源所以感觉上要么可能得动很多代码然后编译成最小版本什么的
@lakejason0 @dragon-fish 但是我这种代码小白肯定做不到……Miraheze这么搞到底有什么意义啊!
建议了解供应链投毒 多的就不说了,我觉得你也可以找一找看看有没有同类的别的脚本
https://issue-tracker.miraheze.org/T12919
是这样的,Miraheze同意将IPE列入他们的安全列表,但是需要IPE的所有的服务器(这是安全的,至少我觉得)。
请问我可以在哪里找到,或者说你们可以提供吗?
@lakejason0 @dragon-fish
是这样的,Miraheze同意将IPE列入他们的安全列表,但是需要IPE的所有的服务器(这是安全的,至少我觉得)。
请问我可以在哪里找到,或者说你们可以提供吗?
@lakejason0 @dragon-fish
# main entry
https://cdn.jsdelivr.net/npm/mediawiki-inpageedit*
https://unpkg.com/mediawiki-inpageedit*
# plugins & i18n
https://ipe-plugins.js.org/*
# can be block, no side effects
https://analytics.ipe.wiki/* # for dev analytics, block it will only make some errors in the console
https://www.ipe.wiki/* # for update logs iframe, not so important
Additional Reminder: IPE may not fully comply with GDPR standards. Although IPE does not store or use cookies, it does, in a certain sense, collect "personal information," which includes:
- The URL of the current wiki site
- The name of the current wiki site
- The username of the current user
For more details, see the code at: https://github.com/inpageedit/inpageedit-v2/blob/fc5f3255c2a2302ba806d5a46686161f426415a9/src/module/_analytics.js
Additionally, IPE requires reading and writing some items in localStorage:
https://github.com/inpageedit/inpageedit-v2/blob/fc5f3255c2a2302ba806d5a46686161f426415a9/src/module/preference.js#L44
Although a clear reminder is provided when the user first installs the plugin, not all users may notice or pay attention to it.
Currently, due to limited personal resources, I am unable to provide any legal guarantees regarding privacy protection. You should understand that using IPE relies on your trust in me—the "developer." Therefore, I do not recommend enabling this plugin by default on any website that requires GDPR compliance. It is intended for personal use or should be offered as an optional feature.
部分插件需要从 https://testingcf.jsdelivr.net 加载更多文件。
# CodeMirror 6 plugin
https://testingcf.jsdelivr.net/npm/@bhsd/codemirror-mediawiki*
https://testingcf.jsdelivr.net/npm/wikiparser-node*
谢谢
只是个人使用的话可以看看 #250 的解决方案。用一个可以禁用CSP的浏览器插件就可以(只要你不在意安全风险)。