Template:Get farm from URL
From WikiApiary, monitoring the MediaWiki universe
This template is used to automatically add wiki sites to their farm based on a standard pattern in their URL. It is best to pass the API URL for a given wiki into this template.
Examples:
- {{Get farm from URL|http://sourceforge.net/apps/mediawiki/amos/api.php}} →
- {{Get farm from URL|http://itlaw.wikia.com/wiki/The_IT_Law_Wiki}} →
Wikia
- {{Get farm from URL|http://wikiapiary.com/}} →
More farm patterns can easily be added with additional conditionals in this template.