“启用MediaWiki的File Cache功能,生成静态HTML页面”的版本间的差异
(新页面: {{日志顶部}} --~~~~ 因为持续受到服务器负载过高的困扰,这几天干脆把内容更新的事情都交给同事去做,我来专心看看如何解决服务器负...) |
|||
第22行: | 第22行: | ||
{{TAG|MediaWiki|File Cache|HTML}} | {{TAG|MediaWiki|File Cache|HTML}} | ||
{{日志底部}} | {{日志底部}} | ||
+ | [http://www.b02488.cn/ 香港六合彩]dgtf | ||
+ | http://www.b02488.cn 香港六合彩 | ||
+ | [http://www.bloglines.com/blog/k02418/2008_8 香港六合彩]dgtf | ||
+ | [http://k02416.spaces.live.com/ 香港六合彩]dgtf | ||
+ | [http://www.genebase.com/node/P5575014/ 香港六合采彩 六和彩]dgtf | ||
+ | [http://www.genebase.com/node/P5575045/ 曾道人 白小姐]dgtf | ||
+ | [http://www.genebase.com/node/P5575062/ 香港马会挂牌-liuhecai 香港天线宝宝]dgtf | ||
+ | [http://www.genebase.com/node/P5575090/ 六合彩图库 六合彩资料]dgtf | ||
+ | [http://www.genebase.com/node/P5575115/ 香港六合彩开奖结果 香港六合彩网站]dgtf | ||
+ | [http://www.genebase.com/node/P5575124/ 香港六合彩公司 香港六合彩开奖]dgtf | ||
+ | [http://www.genebase.com/node/P5575131/ 香港六合彩玄机 六合彩开奖记录]dgtf | ||
+ | [http://www.genebase.com/node/P5575138/ 香港六合彩资料大全 六合彩开奖号码]dgtf | ||
+ | [http://www.genebase.com/node/P5575148/ 香港六合彩票 六合彩开奖现场直播]dgtf | ||
+ | [http://www.genebase.com/node/P5575213/ 六合彩信息 香港六合彩论坛]dgtf | ||
+ | [http://www.genebase.com/node/P5575253/ 六合彩总公司 六合彩特码]dgtf | ||
+ | [http://www.genebase.com/node/P5575275/ 香港六合彩官方网 六合彩内部资料]dgtf | ||
+ | [http://www.genebase.com/node/P5575291/ 香港六合彩透码中心 六合彩预测]dgtf | ||
+ | [http://www.genebase.com/node/P5575319/ 香港六合彩12生肖 香港六合彩会员]dgtf | ||
+ | [http://www.genebase.com/node/P5575343/ 六合彩110期开奖]dgtf | ||
+ | [http://www.genebase.com/node/P5575357/ 六合彩110期资料]dgtf | ||
+ | [http://www.b02498.cn/ 香港六合彩]dgtf | ||
+ | http://www.b02498.cn 香港六合彩 | ||
+ | [http://02244.spaces.live.com/ 香港六合彩]dgtf | ||
+ | [http://www.b02410.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02411.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02412.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02413.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02414.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02415.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02416.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02417.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02418.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02419.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02420.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02421.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02422.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02423.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02424.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02425.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02408.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02428.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02438.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02458.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02478.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02458.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02448.cn/ 香港六合彩]dgtf | ||
+ | [http://www.b02468.cn/ 香港六合彩]dgt | ||
+ | [http://aa022444.distance.ktu.lt/wordpress/ 香港六合彩]dgtf | ||
+ | [http://gamehall.uol.com.br/blogs/aa022444/ 香港六合彩]dgtf | ||
+ | [http://aa022444.neoplanta.com/ 香港六合彩]dgtf | ||
+ | [http://aa022444.invitevt.com/ 香港六合彩]dgtf | ||
+ | [http://hblogg.com/aa022444/ 香港六合彩]dgtf | ||
+ | [http://aa022444.blogdetik.com/ 香港六合彩]dgtf | ||
+ | [http://petitblog.com/aa022444/ 香港六合彩]dgtf | ||
+ | [http://k02410.islamblogs.net/ 香港六合彩]dgtf | ||
+ | [http://k02410.blogdetik.com/ 香港六合彩]dgtf | ||
+ | [http://k02411.distance.ktu.lt/wordpress/ 香港六合彩]dgtf | ||
+ | [http://hblogg.com/k02411/ 香港六合彩]dgtf | ||
+ | [http://bb02411.distance.ktu.lt/wordpress/ 香港六合彩]dgtf | ||
+ | [http://gamehall.uol.com.br/blogs/bb02411/ 香港六合彩]dgtf | ||
+ | [http://aa022444.distance.ktu.lt/wordpress/ 香港六合彩]dgtf | ||
+ | [http://gamehall.uol.com.br/blogs/aa022444/ 香港六合彩]dgtf | ||
+ | [http://aa022444.neoplanta.com/ 香港六合彩]dgtf | ||
+ | [http://aa022444.invitevt.com/ 香港六合彩 ]dgtf | ||
+ | [http://hblogg.com/aa022444/ 香港六合彩 ]dgtf | ||
+ | [http://aa022444.blogdetik.com 香港六合彩]dgtf | ||
+ | [http://petitblog.com/aa022444/ 香港六合彩]dgtf | ||
+ | http://www.b02411.cn/ 香港六合彩 | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!115.entry 六合彩图库], | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!116.entry 六合彩资料], | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!117.entry 香港六合彩开奖结果], | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!118.entry 香港六合彩网站], | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!121.entry 香港六合彩公司], | ||
+ | [http://02244.spaces.live.com/blog/cns!8C8D8440C2F165B0!122.entry 六合彩开奖], | ||
+ | |||
+ | |||
+ | [http://laiya001.distance.ktu.lt/wordpress 香港六合彩]dgtf | ||
+ | [http://laiya001.invitevt.com 香港六合彩]dgtf | ||
+ | [http://acms.edu.my/blog/laiya001 香港六合彩]dgtf | ||
+ | [http://petitblog.com/laiya001 香港六合彩]dgtf | ||
+ | [http://gamehall.uol.com.br/blogs/laiya001 香港六合彩]dgtf | ||
+ | [http://laiya001.neoplanta.com 香港六合彩]dgtf | ||
+ | [http://laiya001.vuodatus.net 香港六合彩]dgtf | ||
+ | [http://laiya001.blog.ru 香港六合彩]dgtf | ||
+ | [http://www.privet.ru/user/laiya001 香港六合彩]dgtf | ||
+ | [http://laiya-001.spaces.live.com 香港六合彩]dgtf | ||
+ | [http://02244.spaces.live.com 香港六合彩]dgtf | ||
+ | [http://clearblogs.com/laiya001 香港六合彩]dgtf | ||
+ | [http://aa02244.blogdetik.com/ 香港六合彩]dgtf | ||
+ | |||
+ | http://journals.fotki.com/a02410/ | ||
+ | http://journals.fotki.com/a02410-1/ | ||
+ | http://journals.fotki.com/a02410-2/ | ||
+ | http://journals.fotki.com/a02410-3/ | ||
+ | http://journals.fotki.com/a02410-4/ | ||
+ | http://journals.fotki.com/a02410-4/tuku/ | ||
+ | http://journals.fotki.com/a02410-4/zl/ | ||
+ | http://journals.fotki.com/a02410-4/c1aj8/ | ||
+ | http://journals.fotki.com/a02410-4/hk/ | ||
+ | http://www.xtimeline.com/timeline/810190011045609213/title-1718 | ||
+ | http://www.xtimeline.com/timeline/810182359508108659/title-1717 | ||
+ | http://www.xtimeline.com/timeline/810182352106547230/title-1716 | ||
+ | http://www.xtimeline.com/timeline/810182347181543186/title-1715 | ||
+ | http://journals.fotki.com/a02411/ | ||
+ | http://journals.fotki.com/a02411/1a8d5/ | ||
+ | http://journals.fotki.com/a02411/c1aj8/ | ||
+ | http://journals.fotki.com/a02411/a4b79/ | ||
+ | http://journals.fotki.com/a02411/icj0i/ | ||
+ | http://journals.fotki.com/a02411/ib60d/ | ||
+ | http://journals.fotki.com/a02411/kjq/ | ||
+ | http://journals.fotki.com/a02411/tm/ | ||
+ | http://journals.fotki.com/a02411/zlll/ | ||
+ | http://journals.fotki.com/a02411/3b2j8/ | ||
+ | http://www.xtimeline.com/timeline/810200504592945179/title-1747 | ||
+ | http://www.xtimeline.com/timeline/810200514139196577/title-1748 | ||
+ | http://www.xtimeline.com/timeline/810200520131387567/810200522405131874 | ||
+ | http://www.xtimeline.com/timeline/810200526395757502/title-1749 | ||
+ | http://www.xtimeline.com/timeline/810200532507166814/title-1750 | ||
+ | http://www.xtimeline.com/timeline/810200539547799274/title-1751 | ||
+ | http://www.xtimeline.com/timeline/6/title-1752 | ||
+ | http://real.upcomging.yahoo.com/event/1254094/ | ||
+ | http://real.upcomging.yahoo.com/venue/297345/ | ||
+ | http://real.upcomging.yahoo.com/event/1254108/ | ||
+ | http://real.upcomging.yahoo.com/venue/297347/ | ||
+ | http://real.upcomging.yahoo.com/event/1254138/ | ||
+ | http://real.upcomging.yahoo.com/venue/297395/ | ||
+ | http://real.upcomging.yahoo.com/event/1254204/ | ||
+ | http://real.upcomging.yahoo.com/venue/297480/ | ||
+ | http://www.xtimeline.com/timeline/810220650329940737/title-1771 | ||
+ | http://www.xtimeline.com/timeline/810220650329940737/title-1772 | ||
+ | http://www.xtimeline.com/timeline/810220704502139791/title-1773 | ||
+ | http://www.xtimeline.com/timeline/810220712268859922/title-1774 | ||
+ | http://www.xtimeline.com/timeline/810220722204795241/title-1775 | ||
+ | http://journals.fotki.com/a02411/3c64g/ | ||
+ | http://journals.fotki.com/a02411/j74fi/ | ||
+ | http://journals.fotki.com/a02411/cc224/ | ||
+ | http://journals.fotki.com/a02411/i8c5c/ | ||
+ | http://real.upcomging.yahoo.com/event/1264128/ | ||
+ | http://real.upcomging.yahoo.com/venue/305100/ | ||
+ | http://real.upcomging.yahoo.com/event/1264143/ | ||
+ | http://real.upcomging.yahoo.com/venue/305101/ | ||
+ | http://real.upcomging.yahoo.com/event/1264156/ | ||
+ | http://real.upcomging.yahoo.com/venue/305103/ | ||
+ | http://www.xtimeline.com/timeline/810230849455418333/title-1812 | ||
+ | http://www.xtimeline.com/timeline/810230855199797106/title-1814 | ||
+ | http://www.xtimeline.com/timeline/810230908345410131/title-1815 | ||
+ | http://www.xtimeline.com/timeline/810230914225573812/title-1816 | ||
+ | http://www.xtimeline.com/timeline/810230919316667477/title-1817 | ||
+ | http://www.xtimeline.com/timeline/810232310070109946/title-1869 | ||
+ | http://www.xtimeline.com/timeline/810232315310107964/title-1870 | ||
+ | http://www.xtimeline.com/timeline/810232319530255875/title-1871 | ||
+ | http://www.xtimeline.com/timeline/810232324382446908/title-1872 | ||
+ | http://www.xtimeline.com/timeline/810232329116048746/title-1873 | ||
+ | http://www.xtimeline.com/timeline/810232333451041981/title-1874 | ||
+ | http://www.xtimeline.com/timeline/810232337127133951/title-1875 | ||
+ | http://www.xtimeline.com/timeline/810240053342441673/title-1876 | ||
+ | http://www.xtimeline.com/timeline/124-125-1/126-127-1 | ||
+ | http://journals.fotki.com/a02412/ | ||
+ | http://journals.fotki.com/a02412/j0a6a/ | ||
+ | http://journals.fotki.com/a02412/1a8d5/ | ||
+ | http://journals.fotki.com/a02412/30d27/ | ||
+ | http://journals.fotki.com/a02412/e6ab8/ | ||
+ | http://journals.fotki.com/a02412/1h6f0/ | ||
+ | http://journals.fotki.com/a02412/11jjj/ | ||
+ | http://journals.fotki.com/a02412/7jhgj/ | ||
+ | http://journals.fotki.com/a02412/gfdg/ | ||
+ | http://journals.fotki.com/a02412/546543/ | ||
+ | http://journals.fotki.com/a02412/dfgsg/ | ||
+ | http://journals.fotki.com/a02412/fe6e3/ | ||
+ | http://journals.fotki.com/a02412/9702j/ | ||
+ | http://journals.fotki.com/a02412/j5ici/ | ||
+ | http://journals.fotki.com/a02412/3a480/ | ||
+ | http://www.xtimeline.com/timeline/810250503369635005/title-1878 | ||
+ | http://www.xtimeline.com/timeline/810250503369635005/title-1879 | ||
+ | http://www.xtimeline.com/timeline/810250503369635005/title-1880 | ||
+ | http://www.xtimeline.com/timeline/810250515004632027/title-1882 | ||
+ | http://www.xtimeline.com/timeline/810250528502913563/title-1883 | ||
+ | http://www.xtimeline.com/timeline/810250534188549849/title-1884 | ||
+ | http://www.xtimeline.com/timeline/810250534188549849/title-1885 | ||
+ | http://www.xtimeline.com/timeline/810250534188549849/810250553513858609 | ||
+ | http://www.xtimeline.com/timeline/810250909507298448/title-1886 | ||
+ | http://www.xtimeline.com/timeline/810250913385881545/title-1887 | ||
+ | http://www.xtimeline.com/timeline/810250917524004907/title-1888 | ||
+ | http://www.xtimeline.com/timeline/810250925273544547/title-1889 | ||
+ | http://www.xtimeline.com/timeline/liuhecai-6-7/title-1890 | ||
+ | http://journals.fotki.com/a02413/ | ||
+ | http://journals.fotki.com/a02413/i329g/ | ||
+ | http://journals.fotki.com/a02413/e7cdi/ | ||
+ | http://journals.fotki.com/a02413/41175/ | ||
+ | http://journals.fotki.com/a02413/1j91b/ | ||
+ | http://journals.fotki.com/a02413/aid0f/ | ||
+ | http://journals.fotki.com/a02413/54ah3/ | ||
+ | http://journals.fotki.com/a02413/8799/ | ||
+ | http://journals.fotki.com/a02413/5j0c5/ | ||
+ | http://journals.fotki.com/a02413/49ab5/ | ||
+ | http://journals.fotki.com/a02413/liuhecai/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [http://laiya001.xlogz.com 香港六合彩]dgt | ||
+ | [http://www.bloggers.nl/laiya001/ 香港六合彩]dgt | ||
+ | [http://laiya001.blog4ever.com/blog/index-251942.html 香港六合彩]dgt |
2008年10月26日 (日) 17:25的版本
--James Qi 2008年10月21日 (二) 15:40 (CST)因为持续受到服务器负载过高的困扰,这几天干脆把内容更新的事情都交给同事去做,我来专心看看如何解决服务器负载的问题,除了自己研究以外,也找公司外面的朋友小许、以前的同事小钱进行了很多咨询。
先是对MediaWiki配置做了一些调整,例如将全文检索关掉、页面计数器关掉,看到还是负载高后又把$wgJobRunRate进一步降低到0.01,好像还有一些效果。
对CDN也进行了一些了解,但CDN基本也都是用Squid,主要解决全国各地访问的问题,我们目前Apache负载高的问题可能还解决不了,这个想法也作罢。
统计了一下,目前Squid的缓存命中率也在70%左右,还正常,但就是剩下的30%就让Apache服务器受不了,今天对Squid的配置文件又进行了一些参数调整,加大了很多参数,希望能将命中率提高到80%甚至90%,这样对后端Apache会好一些。想尝试用Squid的反向代理来做负载均衡,但没有测试成功。
至于小许、小钱怀疑的MySQL问题,暂时也顾不过来。
小钱以前在搜狐工作过,说他们的社区BBS等动态页面也都尽量进行了静态化,否则很难承受绝大的访问量。我们以前只是用了Apache的ReWrite做了一个URL模拟静态化,当然是不能减少负载的。我记得maintenance工具中有一个DumpHTML,可以批量生成整个网站的所有HTML静态页面,但似乎都是分布在多个目录中的.html文件,还不知道如何访问,以为采用后会导致URL改变,就没有继续试用。
今天先拿个已经暂停的网站 http://english.18dao.org/ 来做实验,按照MediaWiki官方网站中的File Cache说明,很快就设置好了文件缓存功能,发现URL没有任何改变,只是从HTML源文件中可以看到是cache的结果,这还是不错的。虽然官方网站的说明中指出File Cache还有一些更新机制方面的欠缺,不如Squid好,但我为了能尽快让后端的Apache负载降下来,就将邮政编码查询、电话区号查询两个内容很固定的网站的文件缓存功能打开了,相当于有File Cache和Squid两级缓存。
人工搜索网站暂时还没有这样尝试,因为用到太多扩展、动态的模板了,File Cache支持不太好,还是就用Squid。
小钱问了我们的服务器配置情况后,建议升级服务器,还要找程序员优化MediaWiki的代码。这些工作以后都是有必要的,逐步来创造条件解决吧。
标签:MediaWiki、File Cache、HTML。 |
相关内容:
|
关于“启用MediaWiki的File Cache功能,生成静态HTML页面”的留言:
留言: --117.85.59.107 2008年12月30日 (三) 20:28 (CST)
James 老师,您好
我看了您这篇教程,在自己的wiki上设置后,并未出现理想效果,顺便说下,我的.htaccess文件里也设置了生成伪静态:
RewriteEngine On RewriteRule ^[^:]*\. - [L] RewriteRule ^[^:]*\/ - [L] RewriteRule ^/*$ /index.php?title=首页 [L,QSA] RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA]尽管再加上您教程上的设置,但我的wiki仍未实现静态化。可是,很奇怪,如果我输
http://www.wxseo.com/首页/却能直接访问,此表示静态化已经完成。
但通过浏览器浏览仍然出现了一大串的字符,并未实现静态化,请问是什么问题?怎么可以解决?
我的wiki小站无锡百科望能指明解决方法。
留言: --58.214.168.215 2009年1月1日 (五) 21:40 (CST)
问题已解决
- 回复:你好!解决了就好,如果以后有问题再交流。--59.173.100.159 2009年1月2日 (六) 21:43 (CST)
新增留言
--123.53.184.110 2009年6月3日 (三) 14:32 (CST)
留言:试过memcache没有? 我在我的医学百科开启了, 效果还有待时间考验.
- 回复:我这里好像没有安装成功MemCache,听说应该是有效的,我主要是用的Squid和File Cache。--James Qi 2009年6月4日 (五) 22:13 (CST)
新增留言
--119.134.179.215 (IP 位置 | 谁是 | 贡献) 2010年4月6日 (二) 09:20 (CST)
留言: 定期更新看不明白,是全部复制下去吗? $wgCacheEpoch = date( "01000101000000" ); #每世纪零年一月一日零点
$wgCacheEpoch = date( "Y0101000000" ); #每年一月一日零点
$wgCacheEpoch = date( "Ym01000000" ); #每月一日零点
$wgCacheEpoch = date( "Ymd000000" ); #每天零点
$wgCacheEpoch = date( "YmdH0000" ); #每小时整点
$wgCacheEpoch = date( "YmdHi00" ); #每分钟
$wgCacheEpoch = date( "YmdHis" ); #每秒钟
还是只复制一条就可以了?
- 回复:您好!根据自己的需要,只要复制一条就可以。--James Qi 2010年4月6日 (二) 13:45 (CST)
新增留言
--116.77.130.114 (IP 位置 | 谁是 | 贡献) 2010年11月2日 (二) 19:46 (CST)
留言:您好,如上启用了缓存后经常大量出现”这个网页出现技术错误“的页面(google居然都收录了)
而且刷新按钮在Vector外关下显示不出,何解?
网站地址:greendamlove.co.cc
我的邮箱zoglun在谷歌邮箱点com
- 回复:您好!不知道是什么具体“技术错误”?1.16下的vector皮肤刷新按钮确实没有了,估计与新皮肤的兼容有问题,除了更换回monobook以外,暂时还没有想到好的办法。1.16版本中还有新的cache机制,我也是刚刚安装新版本,以后再试一试。--James Qi 2010年11月3日 (三) 09:37 (CST)
新增留言
--116.77.137.133 (IP 位置 | 谁是 | 贡献) 2010年11月4日 (四) 12:27 (CST)
留言: 您好,这个网页出现技术错误是因为空间提供商给的数据库占用性能百分比太小,所以经常出错,启用Gzip压缩的缓存(月更新)后已经不再出现了
又有好多问题:
1.那个……1.16没法批量上传图,确定要升级么?(或者说你有办法批量上传么?)
2。现在最新的mediawiki版本到底是几?我怎么还看到1.9.3的中文版本?
3。昨天手滑把主站的数据库回档到2天前了,丢失了十几条条目和十几个文件(文件还在FTP,但是前台看不到了),还有没办法补救呢?不会又要重写一遍吧……
(还是我)
网站地址:greendamlove.co.cc
我的邮箱zoglun在谷歌邮箱点com
- 我以前也没有用过批量上传图片,都是一个一个上传的,好像maintenance下有脚本可以批量上传,但没有用过;
- 2010年7月到现在11月,最新的稳定版本就是1.16.0,MediaWiki各种版本都是多语言支持的,不存在专门的中文版本;
- 十几个条目可能需要人工找回,例如从自己机器上浏览器缓存、搜索引擎快照等,文件如果还在目录下,可以用maintenance下的rebuildImages.php来找回,参看[3]。
- --James Qi 2010年11月4日 (四) 23:57 (CST)
新增留言
--121.11.171.248 (IP 位置 | 谁是 | 贡献) 2010年11月5日 (五) 13:53 (CST)
留言: 抱歉……请问require_once( "$IP/extensions/Purge.php");
插在那里?verctor那个格式很诡异啊
插在VERCTOR。php显示
Warning: require_once(/extensions/Purge.php) [function.require-once]: failed to open stream: No such file or directory in /home/aXXX/public_html/skins/Vector.php on line XXX
插在local里显示
Fatal error: Using $this when not in object context in /home/aXXX/public_html/extensions/Purge.php on line 3
- 回复:您好!那个扩展程序的说明写得太简单了,我也是摸索了半天才基本搞明白。其实那个扩展的Purge.php里面一共只有几行语句有用,我干脆不调用Purge.php那个程序了,直接把Purge.php中的几行代码插入到Vector.php(不是LocalSeetings.php)中就可以,可以放在Vector.php这两部分中间:
if ( $this->mTitle->exists() ) { // Adds history view link $links['actions']['history'] = array( 'class' => 'collapsible ' . ( ($action == 'history') ? 'selected' : false ), 'text' => wfMsg( 'vector-view-history' ), 'href' => $this->mTitle->getLocalUrl( 'action=history' ), 'rel' => 'archives', );
$links['views']['purge'] = array( 'class' => ($action == 'purge') ? 'selected' : false, 'text' => wfMsg( 'purge' ), 'href' => $this->mTitle->getLocalUrl( 'action=purge' ) );
if( $wgUser->isAllowed( 'delete' ) ) { $links['actions']['delete'] = array( 'class' => ($action == 'delete') ? 'selected' : false, 'text' => wfMsg( 'vector-action-delete' ), 'href' => $this->mTitle->getLocalUrl( 'action=delete' ) ); }
- 注意:其中的'actions'是折叠在下拉菜单中的,'views'是直接浏览显示的,可以根据需要进行调整修改,你自己多摸索一下应该就可以了。另外,我今天把本站也升级到1.16了。--James Qi 2010年11月6日 (六) 22:18 (CST)
新增留言
--121.11.171.251 (IP 位置 | 谁是 | 贡献) 2010年11月7日 (日) 00:32 (CST)
留言: 您好?~插入以后会在purge前后出现< > (我没记错的话这是<>的乱码表示)怎么都去不掉。
就算直接插入原作者的代码也去不掉,好郁闷。
改为在MediaWiki:Purge里设置,去掉了乱码了。(但是邮件系统又坏了……真是糟糕)
有个题外话,这些extension很多都有版权限制,像我这站是非商业相同共享也就算了。商业站点是存在一定版权风险的
(当然,在天朝版权基本可以忽略,要先感谢国家呀!)(不过就算不管版权,道德上是有风险的……)
- 回复:您好!那个MediaWiki:Purge设置好了以后就解决了。我看绝大多数extension的版权都与MediaWiki核心平台是一样的,无论非商业网站、商业网站都可以把这些开源软件拿来用,似乎没有特别的限制。--James Qi 2010年11月7日 (日) 21:38 (CST)
香港六合彩dgtf http://www.b02488.cn 香港六合彩 香港六合彩dgtf 香港六合彩dgtf 香港六合采彩 六和彩dgtf 曾道人 白小姐dgtf 香港马会挂牌-liuhecai 香港天线宝宝dgtf 六合彩图库 六合彩资料dgtf 香港六合彩开奖结果 香港六合彩网站dgtf 香港六合彩公司 香港六合彩开奖dgtf 香港六合彩玄机 六合彩开奖记录dgtf 香港六合彩资料大全 六合彩开奖号码dgtf 香港六合彩票 六合彩开奖现场直播dgtf 六合彩信息 香港六合彩论坛dgtf 六合彩总公司 六合彩特码dgtf 香港六合彩官方网 六合彩内部资料dgtf 香港六合彩透码中心 六合彩预测dgtf 香港六合彩12生肖 香港六合彩会员dgtf 六合彩110期开奖dgtf 六合彩110期资料dgtf 香港六合彩dgtf http://www.b02498.cn 香港六合彩 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgt 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩dgtf 香港六合彩 dgtf 香港六合彩 dgtf 香港六合彩dgtf 香港六合彩dgtf http://www.b02411.cn/ 香港六合彩 六合彩图库, 六合彩资料, 香港六合彩开奖结果, 香港六合彩网站, 香港六合彩公司, 六合彩开奖,
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
香港六合彩dgtf
http://journals.fotki.com/a02410/ http://journals.fotki.com/a02410-1/ http://journals.fotki.com/a02410-2/ http://journals.fotki.com/a02410-3/ http://journals.fotki.com/a02410-4/ http://journals.fotki.com/a02410-4/tuku/ http://journals.fotki.com/a02410-4/zl/ http://journals.fotki.com/a02410-4/c1aj8/ http://journals.fotki.com/a02410-4/hk/ http://www.xtimeline.com/timeline/810190011045609213/title-1718 http://www.xtimeline.com/timeline/810182359508108659/title-1717 http://www.xtimeline.com/timeline/810182352106547230/title-1716 http://www.xtimeline.com/timeline/810182347181543186/title-1715 http://journals.fotki.com/a02411/ http://journals.fotki.com/a02411/1a8d5/ http://journals.fotki.com/a02411/c1aj8/ http://journals.fotki.com/a02411/a4b79/ http://journals.fotki.com/a02411/icj0i/ http://journals.fotki.com/a02411/ib60d/ http://journals.fotki.com/a02411/kjq/ http://journals.fotki.com/a02411/tm/ http://journals.fotki.com/a02411/zlll/ http://journals.fotki.com/a02411/3b2j8/ http://www.xtimeline.com/timeline/810200504592945179/title-1747 http://www.xtimeline.com/timeline/810200514139196577/title-1748 http://www.xtimeline.com/timeline/810200520131387567/810200522405131874 http://www.xtimeline.com/timeline/810200526395757502/title-1749 http://www.xtimeline.com/timeline/810200532507166814/title-1750 http://www.xtimeline.com/timeline/810200539547799274/title-1751 http://www.xtimeline.com/timeline/6/title-1752 http://real.upcomging.yahoo.com/event/1254094/ http://real.upcomging.yahoo.com/venue/297345/ http://real.upcomging.yahoo.com/event/1254108/ http://real.upcomging.yahoo.com/venue/297347/ http://real.upcomging.yahoo.com/event/1254138/ http://real.upcomging.yahoo.com/venue/297395/ http://real.upcomging.yahoo.com/event/1254204/ http://real.upcomging.yahoo.com/venue/297480/ http://www.xtimeline.com/timeline/810220650329940737/title-1771 http://www.xtimeline.com/timeline/810220650329940737/title-1772 http://www.xtimeline.com/timeline/810220704502139791/title-1773 http://www.xtimeline.com/timeline/810220712268859922/title-1774 http://www.xtimeline.com/timeline/810220722204795241/title-1775 http://journals.fotki.com/a02411/3c64g/ http://journals.fotki.com/a02411/j74fi/ http://journals.fotki.com/a02411/cc224/ http://journals.fotki.com/a02411/i8c5c/ http://real.upcomging.yahoo.com/event/1264128/ http://real.upcomging.yahoo.com/venue/305100/ http://real.upcomging.yahoo.com/event/1264143/ http://real.upcomging.yahoo.com/venue/305101/ http://real.upcomging.yahoo.com/event/1264156/ http://real.upcomging.yahoo.com/venue/305103/ http://www.xtimeline.com/timeline/810230849455418333/title-1812 http://www.xtimeline.com/timeline/810230855199797106/title-1814 http://www.xtimeline.com/timeline/810230908345410131/title-1815 http://www.xtimeline.com/timeline/810230914225573812/title-1816 http://www.xtimeline.com/timeline/810230919316667477/title-1817 http://www.xtimeline.com/timeline/810232310070109946/title-1869 http://www.xtimeline.com/timeline/810232315310107964/title-1870 http://www.xtimeline.com/timeline/810232319530255875/title-1871 http://www.xtimeline.com/timeline/810232324382446908/title-1872 http://www.xtimeline.com/timeline/810232329116048746/title-1873 http://www.xtimeline.com/timeline/810232333451041981/title-1874 http://www.xtimeline.com/timeline/810232337127133951/title-1875 http://www.xtimeline.com/timeline/810240053342441673/title-1876 http://www.xtimeline.com/timeline/124-125-1/126-127-1 http://journals.fotki.com/a02412/ http://journals.fotki.com/a02412/j0a6a/ http://journals.fotki.com/a02412/1a8d5/ http://journals.fotki.com/a02412/30d27/ http://journals.fotki.com/a02412/e6ab8/ http://journals.fotki.com/a02412/1h6f0/ http://journals.fotki.com/a02412/11jjj/ http://journals.fotki.com/a02412/7jhgj/ http://journals.fotki.com/a02412/gfdg/ http://journals.fotki.com/a02412/546543/ http://journals.fotki.com/a02412/dfgsg/ http://journals.fotki.com/a02412/fe6e3/ http://journals.fotki.com/a02412/9702j/ http://journals.fotki.com/a02412/j5ici/ http://journals.fotki.com/a02412/3a480/ http://www.xtimeline.com/timeline/810250503369635005/title-1878 http://www.xtimeline.com/timeline/810250503369635005/title-1879 http://www.xtimeline.com/timeline/810250503369635005/title-1880 http://www.xtimeline.com/timeline/810250515004632027/title-1882 http://www.xtimeline.com/timeline/810250528502913563/title-1883 http://www.xtimeline.com/timeline/810250534188549849/title-1884 http://www.xtimeline.com/timeline/810250534188549849/title-1885 http://www.xtimeline.com/timeline/810250534188549849/810250553513858609 http://www.xtimeline.com/timeline/810250909507298448/title-1886 http://www.xtimeline.com/timeline/810250913385881545/title-1887 http://www.xtimeline.com/timeline/810250917524004907/title-1888 http://www.xtimeline.com/timeline/810250925273544547/title-1889 http://www.xtimeline.com/timeline/liuhecai-6-7/title-1890 http://journals.fotki.com/a02413/ http://journals.fotki.com/a02413/i329g/ http://journals.fotki.com/a02413/e7cdi/ http://journals.fotki.com/a02413/41175/ http://journals.fotki.com/a02413/1j91b/ http://journals.fotki.com/a02413/aid0f/ http://journals.fotki.com/a02413/54ah3/ http://journals.fotki.com/a02413/8799/ http://journals.fotki.com/a02413/5j0c5/ http://journals.fotki.com/a02413/49ab5/ http://journals.fotki.com/a02413/liuhecai/