Template talk:Diff2

Start your own template

You know you could, like, start your own template. That's what I had to do because the owner of the other one didn't see the point in making something simple enough that only the revision number was needed, not the page title, not the adjacent revision, etc. Apropos of nothing, you could try fixing popups first. CharlotteWebb 19:38, 13 April 2009 (UTC)Reply

It's still as easy to use as it was, it just has one additional feature. I do see the point of only needing the revision parameter for simple diffs, and I have no plans to change that. :)
And concerning popups, feel very free to help me out there. It's harder (read: even more confusing, and with even more potential security holes) than I hoped, and I only have so much time.
Amalthea 10:37, 14 April 2009 (UTC)Reply

Simplify?

There are two things I'd like to simplify on this template but I need someone to tell me why the current form was chosen:

  1. {{SERVER}}{{SCRIPTPATH}}/index.php?{{SERVER}}?
  2. diff=prev&oldid={{{1}}}diff={{{1}}} (But that depends on what this edit summary was referring to)

Waldir talk 02:43, 30 April 2011 (UTC)Reply

Don't know about your second point, but the first change would break popups and links on the secure server. Amalthea 09:53, 30 April 2011 (UTC)Reply
But how about at least getting rid of the empty title= parameter (and the ampersand)? --Florian Blaschke (talk) 05:01, 24 December 2012 (UTC)Reply

Comparison with Diff

The documentation claims: "Unlike {{Diff}}, this template does not require the page name." This isn't correct. The page name is optional in {{Diff}}. You can omit it just with an empty parameter. In the documentation examples, substituting Diff|| for Diff2| gives the same results with the same number of typed characters, except in the last 2 examples using named headers, which aren't supported by {{diff}} (see the test cases). —Salton Finneger (talk) 15:55, 20 December 2013 (UTC)Reply

Yes! I actually updated the sandbox to totally implement {{diff2}} in terms of {{diff}}. You can see comparisons in the latter parts of the test cases. If someone wants to copy the sandbox to the main template that would be great. 50.53.15.59 (talk) 14:09, 23 January 2014 (UTC)Reply

Specifying a section but no label

Any thoughts on Template talk:Diff2/doc § Specifying a section but no label?

Thanks.

--Mathieu ottawa (talk) 21:30, 28 November 2016 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.