A useful feature, thanks Andy, and the developer who knocked it out. ☺
I would be cautious of changing URLs to templates for larger reports. For example I have created lists of diff's when matching edit histories against a pattern. I have had to remove templates from pages where they run into the too many templates problem. Some reports are also better with URLs if they are likely to be shared cross wiki or emailed. Something worth mentioning in the usage document, though for most discussions onwiki this will never be a problem.
By the way, does anyone know if we have a way of centralising templates that are likely to be useful or recommended for all wikis?
Fae On 2 Jan 2015 09:31, "Andy Mabbett" andy@pigsonthewing.org.uk wrote:
A new, Lua based template:
https://en.wikipedia.org/wiki/Template:Url_to_diff
has been made (at my request) for teh English Wikipedia.
Given a URL like:
https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVillage_pump_%28techn...
and label text (say "example")
it returns a formatted "Diff" template like:
{{diff|Wikipedia:Village pump (technical)|640631079|640620995|example}}
You may wish to import it into other Wikis.
-- Andy Mabbett @pigsonthewing http://pigsonthewing.org.uk
Wikimedia-l mailing list, guidelines at: https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines Wikimedia-l@lists.wikimedia.org Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/wikimedia-l, mailto:wikimedia-l-request@lists.wikimedia.org?subject=unsubscribe