influence content based on domain

Jump to: navigation, search

We have a wiki installation that is accessed from multiple similar domains. e.g. wiki.mydomain.com, wiki.mydomain.ca, wiki.mydomain.co.uk. Some wiki articles can apply to all domains but other articles apply to only one domain. We want to be able to cause the articles that apply to only one domain to be accessible on only one domain. For example, if you search for text in the article, it will not show up in search results, or the article will not appear in the list of articles belonging to a category.

Is this remotely possible?

One option is to have multiple wiki installations, each with its own database. But then you have a lot of duplicated content (I'm referring to the articles that apply to all domains) and have the extra overhead of, when you have to update an article, having to update the article on all installations. I don't think we want that.

Camcam22:58, 30 March 2011

You could use multiple wikis and enable Manual:$wgEnableScaryTranscluding to transclude pages from other wikis.

-- Bryan (talk|commons)20:10, 2 April 2011

So you would have a master wiki and sub-wikis. The master wiki contains all of the content. The sub-wikis would have articles but the content of these articles would just transclude from the master wiki. Would the sub-wikis still index themselves? What is, if you search a sub-wiki for text that is in a master wiki article, will the sub-wiki return results?

Camcam22:46, 19 April 2011
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox