要想外部电脑能访问你的网站,网站部署好后,在LocalSettings.php 里将这句 $wgServer = "http://localhost"; 改成 $wgServer = "http://your_domain";

要想显示某个链接的Special:SpecialPages的地址,可以先将 LocalSettings.php 里的 $wgLanguageCode 改成:

$wgLanguageCode = "en";

这时,鼠标悬停在某个Special page 的地方,会提示英文的地址。如最近修改的条目显示在首页可以这样:

在首页里直接加入:

{{Special:RecentChanges}}

或设置显示的条数:
{{Special:RecentChanges/5}}

若要想使用更多的Special page:

Go to Special:SpecialPages of a given wiki, and check if it has Special:PopularPages; example:



If you want to have your wiki in a certain language and not allow users to change this setting, there is a new variable in 1.16 and above, $wgHiddenPrefs:
// disable language selection
$wgHiddenPrefs[] = 'language';
// if you want to disable variants as well
$wgHiddenPrefs[] = 'variant';
$wgHiddenPrefs[] = 'noconvertlink';
$wgLanguageCode = 'pt-br';


最新文章

  1. Skyfree退休公告
  2. --查询nvarchar(max)的表和字段
  3. 获取MS SQL TABLE列名列表
  4. Chrome Crx 插件下载
  5. jQuery Easy UI 开发笔记
  6. C#调用百度云存储接口上传文件
  7. C#关于AutoResetEvent的使用介绍(用AutoResetEvent实现同步)
  8. 中美HTML5市场发展的简单对比
  9. POJ 2593 Max Sequence
  10. Selenium2 (python)
  11. 让程序跳转到绝对地址0x100000去执行
  12. 09_组件三大属性(3)_refs和事件处理
  13. .netcore-FreeSql的使用-搭建context
  14. 洛谷 P2224 [HNOI2001]产品加工 解题报告
  15. WCF 客户端调用服务操作的两种方法
  16. bzoj1084&&洛谷2331[SCOI2005]最大子矩阵
  17. MVC使用StructureMap实现依赖注入Dependency Injection
  18. STM32 SPI接口的NSS引脚
  19. Python里seed()函数
  20. 《effective c++》读书笔记(上)

热门文章

  1. 【转+分析】JAVA: 为什么要使用"抽象类"? 使用"抽象类"有什么好处?
  2. iconv字符编码转换
  3. golang 常用网址收藏
  4. CodeSmith listview属性
  5. css中图片的四种地址引用
  6. UVa 11210 (DFS) Chinese Mahjong
  7. 30个实用的Linux find命令
  8. Linux 查找文件方法
  9. POJ 2084 Game of Connections
  10. 使用dev http client调试restful API开发