MediaWiki/常用插件

来自站长百科
跳转至: 导航、​ 搜索

MediaWiki | 安装升级 | 功能使用 | 配置 | 插件使用 | FAQ

CharInsert[ ]

Charinsert插件的功能时使得MediaWiki可以解释<charinsert></charinsert>标签,从而实现,在编辑界面时,点击此标签内的字符即可以将其输入到编辑区内。

插件地址:http://www.mediawiki.org/wiki/Extension:CharInsert

安装[ ]

1、将CharInsert.php文件置于extensions文件夹内,在localsettings.php文件中加入如下代码:

include("extensions/CharInsert.php");

2、进入特殊页面--->系统界面,修改编辑界面下的文本所在的name,直接修改Mediawiki:Copyrightwarning,尝试加入<charinsert>代码在其中加入符号,举例如下: 中文标点:<charinsert>”+“ ‘+’ 【+】《+》 <+></charsert>

此时,编辑界面下应该就有可以点击输入的中文标点了。

DynamicPageList[ ]

Dynamic Page List (DPL)是MediaWiki的一个插件,它可以按照一定的规则显示特定目录的文章。

下载[ ]

http://semeb.com/dpldemo/images/f/fe/Semeb_extensions.zip

安装[ ]

  1. 把DynamicPageList目录上传到extensions目录中
  2. LocalSettings.php 中增加一行:
    require_once("extensions/DynamicPageList/DynamicPageList2.php");
  3. There is a special feature in DPL which needs another extension: If you use page inclusion and want to use images as link symbols for the original source you must install the LinkedImage extension. For details see there.
  4. In some special cases (when DPL queries refer to uncategorized pages) DPL needs a special database view in the MySQL database. You should run the database statement which creates that view if you want to use DPL statements which refer to uncategorized pages. Many installations work well without that and you can postpone this step until you really need it. If DPL cannot execute a DPL statement without that view it will issue a corresponding warning.
    You must have admin rights in your database to execute the "create view" statement; if you defined a database table prefix at installation time of your wiki, you must use that prefix in the statement, otherwise delete "prefix_" before you issue the statement:
CREATE VIEW prefix_dpl_clview AS 
 SELECT IFNULL(cl_from, page_id) AS cl_from, IFNULL(cl_to, '') AS cl_to, cl_sortkey 
  FROM `prefix_page` LEFT OUTER JOIN `prefix_categorylinks` ON page_id=cl_from

Note that you may get a misleading error message from the SQL interpreter (1084 syntax error) if you do not have sufficient privileges to create that view.

If you are using this extension with IIS on a Windows box, make sure to give Read & Execute rights to the user IUSR_MACHINENAME (Anonymous Internet Guest Account) for the extensions directory and the DynamicPageList2.php file itself.

MediaWiki使用手册导航

安装升级

安装 | 升级

功能使用

MediaWiki语法 | MediaWiki后台 | MediaWiki上传图片

配置

MediaWiki界面设置 | MediaWiki基础设置 | MediaWiki上传图片 | MediaWiki导航栏设置 | MediaWiki权限修改 | MediaWiki的Logo修改 | MediaWiki用户权限MediaWiki的页面缓冲机制MediaWiki繁简共存版本的界面修改MediaWiki修改wiki式网址MediaWiki新开窗口打开外链MediaWiki Rewrite设置 | MediaWiki自定义皮肤 | MediaWiki流量统计 | MediaWiki数据库存储 | Mediawiki数据备份 | MediaWiki增加Google AdSense | MediaWiki默认时区修改 | 隐藏MediaWiki首页标题 | MediaWiki设置站点版权 | MediaWiki页脚 | MediaWiki名字空间 | MediaWiki重置密码 | MediaWiki页面分类 | URL重写 | 名字空间 | 添加广告 | 添加统计代码 | 左侧导航栏设置 | 页脚设置

插件使用

如何引用插件 | 常用插件

FAQ