Help talk:Diff/Archive 1
This is an archive of past discussions about Help:Diff. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
How to get at an uploaded file's date
I'm working with a company designing its own wiki, and we're facing a sticky point ...
We have many internal company documents, and want to get at a doc's latest update, i.e., when was Image:User dino.jpg last updated? When was the annual report last changed? And that data on interest rates ...
Is there a way to "grab" these data & display them? Or just grab them — we'll figure out how to display them.
I realize, this may seem from left field, but thought I'd toss it out there. Thanks for any ideas. You may reply here or on my talk page.
dino 14:09, 4 September 2007 (UTC)
- For an uploaded file, this is in the file history section of the image page. For instance, Image:User dino.jpg was last updated 03:43, February 2, 2004. Superm401 - Talk 10:32, 21 April 2008 (UTC)
q?
What the heck? nothing seems to work —Preceding unsigned comment added by 24.87.109.8 (talk) 23:43, 11 March 2008 (UTC)
The instructions here don't work
I am attempting to file a complaint of improper behavior by a certain administrator--obviously, I don't want to go into details of that outside the filing itself--and attempted to include a link to the evidence of his behavior. I followed the instructions here to the letter (do not dispute that, as I double and triple checked), but the resulting link goes to Wikipedia's main, introductory ("Welcome") page. Please update these instructions to reflect the system's current requirements as soon as possible, as I have no doubt that a significant delay in filing the complaint will be held against its credibility (or is it possible for this administrator to have put some sort of a block on this?). Thank you. Ted Watson (talk) 20:22, 10 January 2008 (UTC)
- I suggest you set out a full example so that we can all see it not working. Thanks, Bovlb (talk) 20:46, 21 March 2008 (UTC)
- See Wikipedia:Simplest diff guide.
- Try this: Click the "history" tab at the top of the page. Then, in the list of versions, click "last" (the second link from the left) on one of them. You should then be viewing a diff of that version compared to the previous version. See if your browser somehow displays the URL of the page you're then looking at. Copy that URL. Put it between single square brackets. If this doesn't work, tell us which step it stopped working at. For the instructions on this page not working for you: Try it on a page that has nothing to do with your improper behaviour complaint. When it still doesn't work, post the URL here so we can see what you were trying to do. In general, when you'd like help with things, you can usually get a quick response either at the help desk or by putting {{helpme}} on your talk page along with your question. I hope this helps. --Coppertwig (talk) 22:26, 21 March 2008 (UTC)
- As my description above makes crystal clear, there was no "step it stopped working at" but the simple fact that the resultant link went to the "Welcome" page rather than the intended diff. It absolutely amazes me how many responses like this I have received from Wiki administrators, responses which show a complete lack of having studied the situation at hand. I can, if you don't like me saying that, provide links to each and every one of them to prove it. Ted Watson (talk) 17:54, 22 March 2008 (UTC)
- I have had this problem also. If a link or URL is defective, it usually defaults to the "Welcome" page, and it is easy to make a defective link. What I do to get a DIFF is: Go to revision history. RIGHT-click on "last" for the required DIFF. Left-Click on "Copy shortcut" from the drop-down menu which should appear (I am using IE6). The correct URL is now in my clip-board. ControlV (copy) gets the URL into whatever document I am writing, and it needs one square bracket at each end [diff]. That's how it works for me, does that get it for you too? --Newbyguesses - Talk 19:48, 22 March 2008 (UTC)
- As my description above makes crystal clear, there was no "step it stopped working at" but the simple fact that the resultant link went to the "Welcome" page rather than the intended diff. It absolutely amazes me how many responses like this I have received from Wiki administrators, responses which show a complete lack of having studied the situation at hand. I can, if you don't like me saying that, provide links to each and every one of them to prove it. Ted Watson (talk) 17:54, 22 March 2008 (UTC)
Just ran an experiment here and hitting my keyboard's "Ctrl" and letter "v" keys put a link address in this field that certainly seems to be the edit history entry that I right clicked on just before starting this. Tried "Preview" and, yeah, that's it. It look like an external link which is not supposed to be the case, to my understanding, but at least I can do it. After all, I can make the link's true nature clear in the posting. And somebody has as already conceded that the formally posted instructions need to be changed, so I'd agree that this is resolved. I feel that it would be more appropriate for someone on Admin's side to post that tag, rather than me. Thanks. Ted Watson (talk) 18:40, 23 March 2008 (UTC)
- Actually, I changed my mind. The instructions are correct. However, I also inserted simple instructions for making ordinary diff links, copied from Wikipedia:Simplest diff guide. See User talk:Coppertwig#Diff problem. Don't worry: diff links do look like external links when other people do them, too. --Coppertwig (talk) 22:19, 23 March 2008 (UTC)
- Actually, your instructions don't work for either of the top two edit history entries, each of which already has a black dot in the radio button, which (I assume) causes the drop box to be different, almost nothing in it can be selected. I must find time to experiment with the standard instructions and soon. Ted Watson (talk) 20:57, 24 March 2008 (UTC)
Explanation of Colours Section
What is written: "Where whole paragraphs have been removed or inserted, the other side is blank (white)." Since I chose a skin that yields a light-green background while I'm logged in, the above statement seems to be correct only part of the time. The "(white)" in the sentence probably should be removed, or perhaps a statement that the colour depends upon the user's skin that was chosen?
By the way, I made a couple of minor spelling edits--I just changed "is" to "are", and "hilighted" to "highlighted". I sincerely hope you don't mind. .`^) Painediss`cuss (^`. 04:54, 8 March 2009 (UTC)
The Help page made my brain explode: Simplify the Introduction
The primary example at the top of the page says "This is only shown when viewing the diff between the recent version of a page and the last version by an author other than the one of the most current version." *phew* Well that just totally didn't help me it made my brain hurt. I'm afraid the bold red text only made it harder.
What I wanted to see in the first example was (left,yellow) "This text only appears in the old version of the page" and (right,green) "This text only appears in the newer version of the page (it may be a small adjustment or a complete replacement of the block on the left)". In other words, simplify that top example. (I don't know if my descriptions were really accurate. In my diffing systems I usually expect red=removed(left), yellow=changed(both sides), green=added(right).)
Where to put the text I just requested be removed? Well let's simplify that too. Further down the page, add a note/factoid: Wikimedia's diff system simplifies the diffing process by skipping past (compressing) multiple edits made by the same author.
I appreciate that the exact details of the system should be available. But most users going after Help or Documentation would rather get easy info fast, and come back later and scroll down if they want to know the details. Thanks. 82.45.8.208 (talk) 19:56, 21 August 2009 (UTC)
- I certainly agree with that principle. But feel free to edit the page yourself if you think you can improve it.--Kotniski (talk) 08:38, 22 August 2009 (UTC)
Category change
{{editprotected}} I'm having a bash at categorizing help pages, could you change to Category:Wikipedia page help (or add as an extra cat). Whilst we're here not sure if this page really warrants full protection, certainly semi, but first page of its kind I've encountered for a bit. Lee∴V (talk • contribs) 01:09, 15 February 2010 (UTC)
- I've reduced the protection level to semi. You can now make your edit. - Rjd0060 (talk) 12:48, 15 February 2010 (UTC)
- Many thanks !Lee∴V (talk • contribs) 14:17, 15 February 2010 (UTC)
The Help page made my brain explode 2
See above. Yeah, me too. It says "Some of the diffs are dummies", and the page always makes me feel some of the users (=me) are, too. To help the dummies, I've written the Simple diff and link guide: a page that I can understand myself. I have now put it under "See also" in Help:Diff, where the Complete diff and link guide already resided. Please, if you have some fancy options to add to the "guide" series, put them in the Complete, not the Simple (and definitely not the Simplest). Bishonen | talk 13:39, 10 February 2011 (UTC).
Skipping vandalism
Is there a way to step through the diff pages without having to see every instance of reverted vandalism. I work on a page that is often vandalized by some jerk, then immediately reverted by a hero editor. That process covers perhaps 70 or 80% of the edits. Thus it is hard to step through the history to get a sense of how the content is changing over time, and who is contributing. I'd love to be able to go through a history that ignores any entries that were reverted within an hour or so. Phytism (talk) 16:02, 19 August 2011 (UTC)
Simplified diff URLs
I've seen Wikipedians use a simplified style of URL for linking to diffs and was surprised that this little nugget was not covered on the help page, so I decided to be bold and simply add it (yeah, those templates are also neat; cool to learn about them). For newbies who are repelled by complicated-looking URLs, perhaps this style would be even better suitable and should be covered in the "simple" and "simplest" guides? What do you think? --Florian Blaschke (talk) 21:15, 25 September 2011 (UTC)
In fact, I believe that mentioning the possibility of using {{oldid2|12345678}}
in the simple guides is sensible, as well. How's that not simple? You just need the revision ID for this one, and you can simply copy and paste the template code, look for the ID, and replace the placeholder with it. --Florian Blaschke (talk) 16:03, 2 October 2011 (UTC)
Also, using {{diff2|12345678}}
for a diff is just as simple. --Florian Blaschke (talk) 16:10, 2 October 2011 (UTC)
Template simulation
I've created a template for simulating diffs: {{wiki diff}}
. benzband (talk) 19:12, 18 May 2012 (UTC)
Has there been a recent change in Difference between revisions?
My Difference between revisions look very different than the did a few weeks ago. Just wondering if something has changed for everyone or maybe I simply changed some preference I did not mean to? Ottawahitech (talk) 04:47, 15 May 2012 (UTC)
- Yes. The new default scheme is yellow/blue. You can restore the old yellow/green scheme by ticking a preference box: Gadgets > Appearance > Display diffs with the old yellow/green colors and design. -- John of Reading (talk) 07:15, 15 May 2012 (UTC)
- Thank you, John of Reading. I tried to restore the old scheme, but I believe it is more than colors that have changed. It used to be easier to tell what changed from a previous version - sorry I never paid attention to why it worked when it worked. Ottawahitech (talk) 16:04, 22 May 2012 (UTC)
Diff wikilinks
gerrit:63395 was added to MediaWiki 1.23wmf12 which has now been deployed to all Wikimedia wikis. This makes it possible to make diff links with Special:Diff. One of the advantages is that it works in edit summaries. The examples in gerrit:63395:
- Special:Diff/12345 (diff of a revision with the previous one)
- Special:Diff/12345/prev (diff of a revision with the previous one as well)
- Special:Diff/12345/next (diff of a revision with the next one)
- Special:Diff/12345/cur (diff of a revision with the latest one of that page)
- Special:Diff/12345/98765 (diff between arbitrary two revisions)
Will somebody update help pages? PrimeHunter (talk) 23:48, 7 February 2014 (UTC)
Semi-protected edit request on 21 February 2014
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Symbiosis Public School
Dipakdotnet (talk) 06:14, 21 February 2014 (UTC)
- Not done: this is the talk page for discussing improvements to the page Help:Diff. Please make your request at the talk page for the article concerned. — {{U|Technical 13}} (t • e • c) 16:12, 21 February 2014 (UTC)
Semi-protected edit request on 15 October 2014 -- article on Sebhat Ephrem
This edit request to Help:Diff has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
"Sebhat is a secret Jehovah Witness believer." should be removed -- potentially libelous, could result in prison and torture of this man. He might be related to a Witness or studying the Bible with a Witness or even attend meetings of Jehovah's Witnesses, but such actions do not constitute membership as one of Jehovah's Witnesses (please contact Jehovah's Witnesses headquarters for confirmation). Witnesses do not make a secret of membership, but openly and publicly are baptized and preach to others.
97.94.82.53 (talk) 01:50, 15 October 2014 (UTC)
- Not done: That text only appears on Sebhat Ephrem which is not protected. Stickee (talk) 02:19, 15 October 2014 (UTC)
How do I make an internal link to a diff?
This page does a good job of describing how to make external links, as well as general hyperlinks outside of Wikipedia, to an overview of different versions of a page. But how do you make an internal link relevant to the same? I would appreciate it if somebody posted that information to this help page. Thanks in advance, --Luigifan (talk) 15:08, 10 February 2009 (UTC)
- I'm going to bump this 4+ year old thread because my question is: "Why does the Help:Diff#Linking_to_a_diff section not include instructions on using Template:Diff?" Thanks... Technical 13 (talk) 14:10, 8 April 2013 (UTC)
- I'll try to add that information to the section. 8ty3hree (talk) 07:33, 6 August 2013 (UTC)
- Done by User:93 (07:37 6/Aug/13). Thanks, -- -- -- 07:05, 28 August 2015 (UTC)
- I'll try to add that information to the section. 8ty3hree (talk) 07:33, 6 August 2013 (UTC)
'How it looks' section - Link for '(thanks) ?'
Greetings, For the time being, I patched in a (thanks) for the How it looks section, right-column only. That way it matches what the software looks like. Being somewhat new to Wikipedia, I don't know if that can be hotlinked or not; and if it should be done? Regards, JoeHebda (talk) 15:58, 21 January 2016 (UTC)
- I have linked it to Wikipedia:Notifications/Thanks and added an explanation.[1] PrimeHunter (talk) 16:21, 21 January 2016 (UTC)
- PrimeHunter – Thank you for this update. For the Wikipedia:Tip of the day I'm working on three new Help related tips & plan to include your explanation on one of them. Cheers! JoeHebda (talk) 19:14, 21 January 2016 (UTC)
What is the diff algorithm used in Wikipedia, and can we improve it?
I'm an electrical engineer that does a lot of programming and, of recent, I am unimpressed with the diff utility that Wikipedia uses.
Now the essential difference between these two versions is simply the insertion of this text:
- a signal which has no negative-frequency components is called an analytic signal<ref>``Mathematics of the Discrete Fourier Transform (DFT), with Audio Applications --- Second Edition'', by Julius O. Smith III, W3K Publishing, 2007, ISBN 978-0-9745607-4-8. Copyright © 2014-04-21 by Julius O. Smith III Center for Computer Research in Music and Acoustics (CCRMA), Stanford University, https://ccrma.stanford.edu/~jos/r320/Analytic_Signals_Hilbert_Transform.html[7/16/2014 1:07:57 PM]</ref>. The
But the diff shows that the entire remaining paragraph is deleted (highlighted in orange), then shows the identical text inserted as a new paragraph. So it was very difficult to manually compare that the text that was incorrectly shown as "deleted" and "added" to see that the text is verbatim identical.
This is sooo unnecessary. At the very least the algorithm should do a character-by-character compare from the beginnings of the two file to the first byte that is different (which it does) and it should do the same from the ends of the two files going backwards until it hits a difference (which it does not do). In the case that there are changes at disparate spots in the files, it should look for larges swaths of text that are identical (but positioned differently) and make sure that they are not displayed as "different". That's harder, I know, but at least, when the difference is a contiguous insertion of text, the diff utility should show it as such.
What gives about this? What is the software that is used and is the source code available to be modified? Who then makes or builds it into the build of the project? Any email addresses of pertinent developers?
Thanks. 70.109.177.95 (talk) 18:41, 16 July 2014 (UTC)
- Hi. The computer program is called MediaWiki. It is free and open-source. So, yes, you can definitely study and change the algorithm in it – and you may contribute it after that. Wikipedia itself, however, is rather slow and very cautious in adapting the latest versions of MediaWiki. Perhaps User:Whatamidoing (WMF) might be able to tell you more.
- Best regards,
- Codename Lisa (talk) 20:17, 16 July 2014 (UTC)
- I find that particular diff problem to be incredibly annoying, too. It sounds to me that you might want to see part of User:Halfak's presentation today, which starts about half an hour into this recording: https://www.youtube.com/watch?v=1E4JcxTgmco&feature=youtu.be
- For more general information about contributing as a developer, start at mw: How to become a MediaWiki hacker. You can follow the links to more details. Whatamidoing (WMF) (talk) 23:49, 16 July 2014 (UTC)
- I don't know why this is still not fixed. I merely added two line breaks and marked the change as minor in this change, but the diff shows that I deleted a big chunk of paragraph 1, crapped all over paragraph 2 completely changing it into something entirely different, and added new paragraphs 3 and 4. That looks nothing minor! And to anyone checking out this diff, he will be like WTF is Agent007bond doing vandalizing Wikipedia instead of executing top secret missions from the Queen, and having fun with Bond girls... -- ADTC Talk Ctrb 13:33, 3 April 2016 (UTC)
- Hi, Agent007bond (with cc to Whatamidoing (WMF)). I believe that WP:wikEdDiff will solve most of your issues with the stock Diff output. You can enable widEdDiff in the Gadgets tab in your Preferences, in the Editing section. Be sure to save your changes.
- I don't know why this is still not fixed. I merely added two line breaks and marked the change as minor in this change, but the diff shows that I deleted a big chunk of paragraph 1, crapped all over paragraph 2 completely changing it into something entirely different, and added new paragraphs 3 and 4. That looks nothing minor! And to anyone checking out this diff, he will be like WTF is Agent007bond doing vandalizing Wikipedia instead of executing top secret missions from the Queen, and having fun with Bond girls... -- ADTC Talk Ctrb 13:33, 3 April 2016 (UTC)
- The old Diff output will show up below the Improved Wide Diff, so you can still see the discrete version of the changes you made. Cheers!
{{u|Checkingfax}} {Talk}
20:00, 10 April 2016 (UTC)
- The old Diff output will show up below the Improved Wide Diff, so you can still see the discrete version of the changes you made. Cheers!
- Then the question to ask is, why is the "improved" wide diff less improved than the old diff? For the record, I do see the old diff. That is not the point. If someone who has the default settings on Wikipedia looks at the diff (just try loading the diff page in an incognito or private browser window), he or she is only going to see the "improved" but totally incorrect diff. Telling me to change a setting is not useful here because you can't ask everyone to change a setting to fix the problem, and you definitely can't tell Wikipedia to go back to the old diff system. -- ADTC Talk Ctrb 08:38, 16 April 2016 (UTC)
- Agent007bond is right, the Wikimedia diff algorithm is absolutely dreadful and it's been terrible for a long time. Quale (talk) 10:02, 23 April 2016 (UTC)
oldid
Accurate diff codes only seem to show up when clicking a diff directly from a history page.
If we come across them through navigation beyond that, it's instead diff=prev or diff=next.
The only number generated is oldid. I know linking ?oldid= directly just links to an old version of a page. Is there a template for that?
I believe the default, if you use an oldid number as a diff, is that the diff is between that and the previous one. For example:
- https://en.wikipedia.org/w/index.php?diff=68158910&oldid=40636058
- https://en.wikipedia.org/w/index.php?diff=prev&oldid=68158910
These identify the very same change even though there is different numbers in the oldid field.
Given the confusing aspect of numberless diffs (prev/next) a modification in the special:diff function tailored to accept that alternate input could be cool. Ranze (talk) 06:29, 19 December 2016 (UTC)
- I guess by "accurate" you mean that diff= and oldid= are both revision numbers. {{oldid}} links to an oldid. I'm not sure what you mean by default given your examples.
- https://en.wikipedia.org/w/index.php?diff=prev&oldid=68158910 is the diff between oldid=68158910 and the previous edit but that is explicitly requested with diff=prev so I wouldn't call it a default there.
- https://en.wikipedia.org/w/index.php?diff=next&oldid=68158910 is the diff between oldid=68158910 and the next edit.
- https://en.wikipedia.org/w/index.php?diff=cur&oldid=68158910 is the diff between oldid=68158910 and the current version.
- Your example oldid only has one newer version so cur and next is the same.
- Special:Diff already accepts prev, next and cur, e.g.: Special:Diff/68158910/prev, Special:Diff/68158910/next, Special:Diff/68158910/cur. PrimeHunter (talk) 11:38, 19 December 2016 (UTC)
Semi-protected edit request on 3 February 2019
This edit request to Help:Diff has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
116.58.200.189 (talk) 03:23, 3 February 2019 (UTC)
- Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. DannyS712 (talk) 03:29, 3 February 2019 (UTC)
Shouldn't this diff say "(No difference)"?
Thanks CapnZapp (talk) 16:33, 30 April 2019 (UTC)
- @CapnZapp: You don't say why you expect it. I don't think MediaWiki is supposed to say that anywhere but maybe you have enabled wikEdDiff at Special:Preferences#mw-prefsection-gadgets. wikEdDiff sometimes adds "(No difference)" to diff pages. I don't know whether it's supposed to always do it when there is no difference. PrimeHunter (talk) 17:01, 30 April 2019 (UTC)
Rollback vs. undo
"For sysops and those with the rollback flag, a rollback button is shown allowing them to revert from the new version to the old one." But everybody has the "undo" option, right? So what's the difference between rollback and undo? What additional capability does the former give to a sysop? Thanks. –Roy McCoy (talk) 13:04, 21 May 2019 (UTC)
Can I change the colours of the diff page?
Hi, in Help:Diff#Explanation_of_colours, the colours used in diff pages are explained. For me, the colours are not bright enough, and I'd like to change them. Here are the default colours and the colours that I'd like to use for a start, to try if this helps:
Old version | New version |
---|---|
default colour | default colour |
new colour | new colour |
Could I somehow change this, for example in User:Laurier/common.css? Thank you in advance, Laurier (talk) 16:53, 2 June 2019 (UTC)
- @Laurier: Your table looks like you refer to the borders and not the background. Try this in your CSS:
.diff-deletedline {border-color:#FFCC00 !important;}
.diff-addedline {border-color:#4DA9FF !important;}
- PrimeHunter (talk) 18:50, 2 June 2019 (UTC)
- Thank you for your advice, I'll try it! Laurier (talk) 20:40, 2 June 2019 (UTC)
- I tried it, and also used extra bright and very different colours, and it helps a lot on the Wikipedia in English. The only wish I still have is to see this change on all editions of Wikipedia. Is there a way to achieve this? Laurier (talk) 06:12, 3 June 2019 (UTC)
- I found it! I added the css-lines to https://meta.wikimedia.org/wiki/User:Laurier/global.css. Thank you so much! Laurier (talk) 06:15, 3 June 2019 (UTC)
- I'm sorry: it is still not entirely what I hoped for: the border of the 'before' and 'after' are changed, but the background of added or deleted characteres/spaces are still in the old colours... Can you help me again? Laurier (talk) 06:26, 3 June 2019 (UTC)
- In the mean time, I did find this page: User:Cacycle/wikEdDiff. This might help me understand this css-of-diff-pages-thing better. Laurier (talk) 06:43, 3 June 2019 (UTC)
- @Laurier: Change background colors:
.diff-deletedline .diffchange {background:#FFCC00 !important;} .diff-addedline .diffchange {background:#4DA9FF !important;}
- It doesn't have to be the same color as the borders. PrimeHunter (talk) 08:53, 3 June 2019 (UTC)
- It works, thank you so much! Laurier (talk) 11:37, 3 June 2019 (UTC)
- I'm sorry: it is still not entirely what I hoped for: the border of the 'before' and 'after' are changed, but the background of added or deleted characteres/spaces are still in the old colours... Can you help me again? Laurier (talk) 06:26, 3 June 2019 (UTC)
- I found it! I added the css-lines to https://meta.wikimedia.org/wiki/User:Laurier/global.css. Thank you so much! Laurier (talk) 06:15, 3 June 2019 (UTC)
- I tried it, and also used extra bright and very different colours, and it helps a lot on the Wikipedia in English. The only wish I still have is to see this change on all editions of Wikipedia. Is there a way to achieve this? Laurier (talk) 06:12, 3 June 2019 (UTC)
- Thank you for your advice, I'll try it! Laurier (talk) 20:40, 2 June 2019 (UTC)
how to add pictures and details of my project
i want to know complete editing information about WIKIPEDIA Gani7075 (talk) 12:09, 29 November 2019 (UTC)
- Hi Gani7075, Welcome to Wikipedia! I think you can find a lot of helpful information on your very own Talk Page, where someone posted a welcome message with links to manuals etc. Happy editing! Laurier (talk) 12:42, 5 December 2019 (UTC)
Diff link for a page that’s been edited only once
If a page has only ever been edited once, i.e. there is only one revision id link for that page, is it true that no diff link exists for that page? The diff link button that is supposed to be blue in color is colored black instead. And when I manually type the URL for the diff (e.g. https://en.wikipedia.org/w/index.php?title=XXXXXX&diff=cur, where XXXXXX is the pagename), it gives me this. “Bad revision”, it says. Colathewikian (talk) 07:53, 15 November 2020 (UTC)
- The software cannot make a diff if one version is empty. It's like trying to divide by zero. Many years on, that still irks me a little.--Quisqualis (talk) 08:34, 15 November 2020 (UTC)
- Okay, thanks for explaining it to me! Well, when I intend to provide a link for such a page I could only use the “current revision” link of that first edit. Colathewikian (talk) 02:48, 16 November 2020 (UTC)
Simple fix for readability
The above comment points out a lot of quite valid problems. But I have a simple subset of that problem with a straightforward fix: 'just exclude spaces from "matching characters"'. As can be seen in this revision (scroll past the infobox to the lede sentence), every space between words is considered "unchanged," which, in the mobile view, slices up the diff'd section and makes the change unreadable.
This is a very simple fix: add or remove a " " or "\s" from a regex. SSSheridan (talk) 06:27, 25 April 2021 (UTC)
- I've made a bug report: https://phabricator.wikimedia.org/T281056 SSSheridan (talk) 08:43, 25 April 2021 (UTC)
Better white-space handling needed
Current lack of white-space handling leads to some bizarre results, like this one. Some attention to white-space forgiveness (preferably parametrizable in preferences, or commons.js, or on the Diff results page itself as "refinement options") would be nice. (Refinement obviously isn't needed on a brief diff like that one; I'm thinking of longer, more complex diffs, where refinement would be very welcome.) Here are the compare options for one text app I use:
- Ignore differences in leading spaces and tabs
- Ignore differences in trailing spaces and tabs
- Ignore all differences in trailing spaces and tabs
- Ignore added and removed blank lines
- Ignore differences in case
Thanks, Mathglot (talk) 19:57, 2 January 2021 (UTC)
- I added nothing but a newline here, and instead of showing just "+<newline>" in-between the text blocks, it shows the content after the newline as being removed and added. As a result, it's impossible to tell whether or not I changed that content (I did not). I've often found that Wikipedia's diffs infuriate me. Can't they scrap the whole thing, copy-paste code from KDiff3 or Meld, so we can finally have proper diffs? --143.176.30.65 (talk) 12:11, 3 February 2021 (UTC)
- "If Wikipedia is old enough to vote, to fight and die for its country, then it's old enough to have a competent diff." More apropos, our wonderful editors deserve a competent diff. SSSheridan (talk) 06:35, 25 April 2021 (UTC)
- I've opened a request on the MediaWiki Phabricator: [3] SSSheridan (talk) 09:26, 25 April 2021 (UTC)
Diff readability
I've taken a liking to the visual diff view because the source one can be quite hard to see changes in to me. It's not exactly a problem, but something I am noting here, incase anyone else has problems with this too. I'm not sure if it's because I use dark mode, but I don't think so, because I have issues in Huggle too. Skarmory (talk • contribs) 14:22, 4 January 2022 (UTC)
Semi-protected edit request on 23 May 2022
This edit request to Help:Diff has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The example link in the "comparing two pages" section is broken because both articles chosen have since been redirected at AFD. Could someone swap them with two other pages? 192.76.8.78 (talk) 23:57, 23 May 2022 (UTC)
- Done with To the Moon and Finding Paradise 💜 melecie talk - 00:21, 24 May 2022 (UTC)
I accidentally pressed return and undid it by pressing back space. No changes were made.
Have and undo button in case you wind up editing when you don’t want to. 2601:647:100:40C0:B517:F1CE:420C:38CB (talk) 17:09, 20 July 2022 (UTC)
- I don't know which scenario you refer to but backspace cannot undo an edit. Maybe you made chances in an edit window without saving it. We only call it an edit when it's saved. PrimeHunter (talk) 21:27, 20 July 2022 (UTC)
New design for mobile diffs
Hi - I'm the Product Manager on the Moderator Tools team. We've just posted some potential new designs for how diffs are displayed on mobile web. You can view them at Moderator Tools/Content moderation on mobile web/Diff - please share your thoughts and feedback on the talk page there! Samwalton9 (WMF) (talk) 12:00, 16 February 2023 (UTC)
Semi-protected edit request on 18 March 2023
This edit request to Help:Diff has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I would like to edit Donald palm (talk) 17:44, 18 March 2023 (UTC)
- Not done: it's not clear what changes you want to be made. If you wish to edit this help page, then please mention the specific changes in a "change X to Y" format. Otherwise, you may find information on how to get started editing at Help:Editing. stwalkerster (talk) 17:58, 18 March 2023 (UTC)
Internal links
Needs additional explanation. "replace oldid
and diff
with appropriate values seen in the URL" doesn't work for adding "&diffonly=1", for example URL contains "oldid=643813751&diff=prev&diffonly=1" but this doesn't work as expected 213.18.145.207 (talk) 14:46, 26 April 2023 (UTC)