如何更改MediaWiki工具栏图标?

如何更改MediaWiki工具栏图标?,mediawiki,Mediawiki,我正在使用MediaWiki 1.21.3版的作为内部文档。我已将WikiEditor工具栏从标准工具栏更改为增强的编辑工具栏 问题:以粗体和斜体显示的图标显示为A,A。我想将增强编辑工具栏中显示的粗体图标和斜体图标更改为B,I 我在中替换了参数图标的值: jquery.wikiEditor.toolbar.config 在WikiEditor模块中,从 'icon':{'default':'format bold.png','en':'format-bold-B.png', “cs”:“for

我正在使用MediaWiki 1.21.3版的作为内部文档。我已将WikiEditor工具栏从标准工具栏更改为增强的编辑工具栏

问题:以粗体和斜体显示的图标显示为A,A。我想将增强编辑工具栏中显示的粗体图标和斜体图标更改为B,I

我在中替换了参数图标的值:

jquery.wikiEditor.toolbar.config

在WikiEditor模块中,从

'icon':{'default':'format bold.png','en':'format-bold-B.png', “cs”:“format-bold-B.png”,“de”:“format-bold-F.png”,“fr”: 'format-bold-G.png','gl':'format-bold-N.png','es': 'format-bold-N.png','eu':'format-bold-L.png','he': 'format-bold-B.png','hu':'format-bold-F.png','it': 'format-bold-G.png','ka':'format-bold-ka.png','nl': 'format-bold-V.png','os':'format-bold-os.png','pt': 'format-bold-N.png','pt br':'format-bold-N.png','pl': 'format-bold-B.png','ru':'format-bold-ru.png','ml': 'format-bold-B.png'}

'icon':'en':'format-bold-B.png'

但它似乎并没有解决这个问题

非常感谢您的帮助

谢谢


Gowri

首先检查相关PNG是否确实存在于MediaWiki的资产目录中,然后按照Suriyaa建议的操作说明进行操作。

此MediaWiki页面可能会帮助您:。