Embedding Recent Changes on Main Page on MediaWiki

梦想与她 提交于 2019-12-18 05:52:44

问题


I am a complete and total newbie with MediaWiki. I would like to find a way to include Recent Changes directly on the Main Page, without having to have the user navigate to the recent changes page. What are my options for this?

Thanks!


回答1:


One way would be to put

{{Special:RecentChanges}}

in [[Main_Page]].




回答2:


The News extension (available at http://www.mediawiki.org/wiki/Extension:News ) is a way to do this very simply, and can be customized so that the entire recent changes page is not displayed. Just install the extension and then adding the

<news/>

tag will include the 10 most recent changes. Parameters to change the number of items shown, exclude minor changes, or format how they are displayed are available on the website linked above.




回答3:


There is also an extension : Dynamic Article List - which allows you more control over what to display in your list of recent changes.

http://meta.wikimedia.org/wiki/User:Socoljam/DynamicArticleList_%28enhanced%29

This is an enhanced version of a MediaWiki extension of the same name. It also provides slightly clearer instructions to install it and get it working.



来源:https://stackoverflow.com/questions/2419917/embedding-recent-changes-on-main-page-on-mediawiki

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!