[Samba] including wiki pages in one another

Andrew Bartlett abartlet at samba.org
Tue Sep 22 08:11:00 UTC 2020


On Tue, 2020-09-22 at 09:03 +0100, Rowland penny via samba wrote:
> 
> I think the idea was that it was easier to maintain the pages if they 
> 
> were on separate pages and could be linked to, problem is,as you have 
> 
> found, it doesn't make the wiki easy to use and readers of the wiki do 
> 
> tend to miss hyperlinks.

There is a really useful feature allowing a page to be included in
another:
https://www.mediawiki.org/wiki/Transclusion

I used this a fair bit when building the new contribute page, so as not
to have duplicated source when we want the same content on multiple
pages (eg the short and long instructions).

Anther good use is to put the introduction in a transcluded page and
include that in both the source article and the top of the main
article. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





More information about the samba mailing list