This template should always be substituted (i.e., use {{subst:ਫਰਮਾ:URL to diff}}). Any accidental transclusions will be automatically substituted by a bot.
This template converts a diff URL to use the {{diff}} template. Diff URLs must be from the host "en.wikipedia.org", and they must contain one of the query strings |title=, |diff= or |oldid=. In other words, they must be of the format en.wikipedia.org/w/index.php?query. URLs of the format en.wikipedia.org/wiki/Page name will not work.