开发者

How can I include another article in MediaWiki?

开发者 https://www.devze.com 2022-12-16 00:40 出处:网络
I have an article already written about a subject, but I want to include a summary of it on another page w开发者_运维技巧ith the \"See also\" link. So how do I include part of the other page?See Exten

I have an article already written about a subject, but I want to include a summary of it on another page w开发者_运维技巧ith the "See also" link. So how do I include part of the other page?


See Extension:Labeled_Section_Transclusion, on mediawiki.org:

This extension allows selective transclusion of marked-off sections of text.


In addition to the extension a previous poster mentioned, you can do a very simple version of this using completely vanilla mediawiki's {{:page}}, and .. (and possibly if you want a slightly differeht effect.

I placed an example in my mediawiki at http://wiki.andy.glew.ca/wiki/Example_of_a_summary_in_vanilla_mediawiki

Note that while I made the summary a complete section, you could make it a single line or just a few words.

0

精彩评论

暂无评论...
验证码 换一张
取 消