Bitte Fehlerberichte, Anregungen etc. zukünftig auf GitHub posten: https://github.com/FlominatorTM/wikiblame/issues
 



Please post bug reports, suggestions etc. on GitHub: https://github.com/FlominatorTM/wikiblame/issues
 


What am I doing wrong? Bearbeiten

On the en:Muammar_Gaddafi page, I was looking for the edit in which '{{use dmy dates|' was removed (I obtained it manually). Try as I may, I could not obtain a satisfactory search result using the Blame tool: the search results either reveal all results have the string, or all results do not have it. What am I doing wrong? Do you have any tips on how to configure my search?--Ohconfucius talk16:16, 23. Okt. 2011 (CEST)Beantworten

Works for me. Did you use these settings? --Flominator 16:20, 23. Okt. 2011 (CEST)Beantworten
I'm sorry to have troubled you, but I swear I tried many different start dates and many different numbers of edits without finding the search result. Yesterday, when I examined the search results, it seemed that the logarithmic search was only going one way (for example, starting at 250, it then goes down to 125, then 62 etc, without ever swinging the other way to 375). The important thing is that it seems to be working again now. --Ohconfucius 04:44, 25. Okt. 2011 (CEST)Beantworten
So could it be that I did not check the 'Look for removal of text' box for the search? --Ohconfucius 04:47, 25. Okt. 2011 (CEST)Beantworten
I think so. --Flominator 09:32, 25. Okt. 2011 (CEST)Beantworten

How to read the results Bearbeiten

Hello,

In the results, what do the red Xs and green Os mean? NewsAndEventsGuy 16:31, 10. Feb. 2012 (CET)Beantworten

Hi! Does en:User:Flominator/WikiBlame help? --Flominator 19:20, 10. Feb. 2012 (CET)Beantworten

Linear search Bearbeiten

Guten Abend,
Heute abend ist mein deutsch nicht so gut.

Deshalb, auf englisch, I just ran a linear search. Half way into my search, I found the change. Great!

But there is no | Stop | button. I don't want to use server resources that I don't need.

I think hitting Esc worked. Maybe if the screen said "Hit Esc to stop", that would be a good thing.

Vielen Dank für WikiBlame.
Grüße aus Kanada, Varlaam 04:01, 25. Feb. 2012 (CET)Beantworten

Ich möchte mich dem Dank anschließen - ich verwende WikiBlame oft. Toll, wie das funktioniert! -- Graf-Stuhlhofer (Diskussion) 12:01, 16. Mär. 2012 (CET)Beantworten

Q== 300 version limit ==

I started a query and the application executed 5 or 6 tests. Then I realized I had set the wrong parameters and restarted it and it says I have exceeded my 300 version limit. Is that a bug? Jojalozzo (Diskussion) 19:12, 9. Mär. 2012 (CET)Beantworten

No it's a feature. Simple wait for some minutes or start using binary sarch. --Flominator 21:22, 9. Mär. 2012 (CET)Beantworten

Cross-Site-Scripting vulnerability Bearbeiten

Since I think I may have posted this in the wrong place, I want to ask you to fix this XSS problem: http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=en&project=wikipedia&article=%3Cscript%3Ealert%28%27xss%27%29%3B%3C%2Fscript%3E&needle=something&skipversions=0&ignorefirst=0&limit=500&offmon=3&offtag=28&offjahr=2012&searchmethod=int&order=desc&user= (this will open an alert box in a JS-enabled browser), this allows people to insert JavaScript code in URLs and make unsuspecting users execute it. PiRSquared17 (Diskussion) 04:25, 31. Mär. 2012 (CEST)Beantworten

Thanks for reporting it, I'll see what I can do. --Flominator 15:45, 6. Apr. 2012 (CEST)Beantworten

Great idea! (but is it working?) Bearbeiten

This is an extremely valuable tool ... if only it works! Unfortunately, my first attempt to use it failed.

I was trying to find when the word "Rittich" was added to the first paragraph of the en:Pogs article. (I have since removed it.) Your utility told me it could not find the word at all.

Happiliy I was able to (manually) find that the word had been added in the very latest edit (at the time) so I was able to easily undo it.

As it stands now, the word was introduced in the edit of 30 March 2012 and deleted in the following edit (by me) on 2 April 2012. But when I re-run the utility, it still says "Your search term was not found at all>"

Thanks for your efforts. As I say, this is an invaluable tool. I am hoping to make good use of it soon.

Frappyjohn (Diskussion) 01:12, 3. Apr. 2012 (CEST)Beantworten

+1 A great tool indeed (and great time saver), I used it for the first time today and I really like it. thanks--Kmhkmh (Diskussion) 00:40, 6. Mai 2012 (CEST)Beantworten
Thanks for your report. Strings that only have been present for a short time are a problem to the Binary search algorithm used for your query. It doesn't work with 500 but it works with 5. In such cases you might get better results by using linear search. Regards, --Flominator 19:04, 6. Apr. 2012 (CEST)Beantworten

Algorithm Bearbeiten

Hi. Yours is a great tool, but I do not understand fully the algorithm. Why do you compare each time adiacent revisions ("comparing 327 with 326 while coming from 423") and not simply: "500-not present; 250-not; 125-yes; 187-not; 156-yes..." and so on, like in classical binary search? (though I read - I don't remember where and why - that ternary search could be somewhat more efficient). And why you start midway (at 250) rather than from the oldest revision (500), so to discover at once whether the expression was already present there? Thanks. (Please answer here, since my IP changes). --87.10.225.184 09:46, 16. Apr. 2012 (CEST)Beantworten

You forgot to answer to my questions. --87.7.215.99 01:16, 21. Mai 2012 (CEST)Beantworten
Again, you forgot to answer to my questions. --79.19.234.92 17:07, 21. Jun. 2012 (CEST)Beantworten
Dear IP, although you probably gave up on ever receiving an answer from me: This tool is now more than eleven years old and I must admit that I've never had implemented a binary search before back then, so I gave it a try and it worked. A short simulation I performed just now revealed that it probably also would work with looking in the revisions and remembering the ones I checked before until I hit them again. Back then I simply didn't come up with this approach. Thanks a lot for your hint on checking the first revision, which I just implemented after being able to retrieve later revisions than the initial ones meanwhile. Regards, --Flominator 22:09, 22. Okt. 2017 (CEST)Beantworten

Suggestion Bearbeiten

When WikiBlame prints the line "Insertion found ...", could it also include the URL of the diff? (And thanks for a very useful tool). -- John of Reading (Diskussion) 09:46, 3. Mai 2012 (CEST) (en:User:John of Reading).Beantworten

The links within the output are diff links. Regards, --Flominator 10:03, 3. Mai 2012 (CEST)Beantworten
Oh, I see. The final "Comparing" line has the diff link, and then the "Insertion found..." line has the links to the before and after versions. Silly me. -- John of Reading (Diskussion) 18:42, 5. Mai 2012 (CEST)Beantworten
+1. Maybe this is an indication that the current design is not very intuitive.
Anyway, thanks for creating this tool. It is very useful!   Helder.wiki (Diskussion) 16:19, 24. Jun. 2012 (CEST)Beantworten
Indeed, would it be possible to add the link to that diff - which is most important thing - again after the "Insertion found" text, but bigger and easier to click? Something like Link to diff Thank you for this tool! The RedBurn (ϕ) 19:36, 22. Jul. 2016 (CEST)Beantworten

@John of Reading, Helder.wiki, The RedBurn: I tried fixing this, please comment on [1] in case you have ideas how to improve my solution. --Flominator 14:52, 18. Sep. 2016 (CEST)Beantworten

Searching inside a ref Bearbeiten

Hi,
I am trying to determine when a footnote was deleted.
So I check for a unique word inside the footnote. But it is never found.
WikiBlame ignores the content of footnotes?
Varlaam (Diskussion) 02:21, 12. Jun. 2012 (CEST)Beantworten

Try checking "Force searching for wikitext". Regards, --Flominator 08:18, 12. Jun. 2012 (CEST)Beantworten

Multilingual wikisource Bearbeiten

Is it possible to use it on oldwikisource:? Helder.wiki (Diskussion) 14:53, 22. Jun. 2012 (CEST)Beantworten

That's a good one. I'll see what I can do. --Flominator 15:21, 22. Jun. 2012 (CEST)Beantworten
Funny! That was already possible, just not documented: Enter "blank" as language. --Flominator 07:43, 23. Jun. 2012 (CEST)Beantworten
Actually it even IS documented: en:User:Flominator/WikiBlame#Language --Flominator 07:44, 23. Jun. 2012 (CEST)Beantworten
In that case I think there is some bug, because when I leave the field empty the tool insert "pt" by default and I never get the result from multilingual wikisource. For example, if I want to use it on oldwikisource:Talk:Me cal mouri and go to
http://wikipedia.ramselehof.de/wikiblame.php?article=Talk%3AMe_cal_mouri&user_lang=&lang=&needle=Source&force_wikitags=on&project=wikisource
what I get is
which correspond to wikisource:pt:Talk:Me cal mouri Helder.wiki (Diskussion) 16:19, 24. Jun. 2012 (CEST)Beantworten

I didn't say leave it blank, but enter "blank" :) See [2] :) --Flominator 18:12, 24. Jun. 2012 (CEST)Beantworten

 . Thanks!
BTW: in case you want a portlet link which give you easy access to WikiBlame, you can use a script like the one I just fixed. Helder.wiki (Diskussion) 14:55, 26. Jun. 2012 (CEST)Beantworten

Diff link ? Change link, permanetly close diff link?

Have you changed the code for WikiBlame? Bearbeiten

For the past several months, WikiBlame continues to fail every time I use it.
(But I still think of it as being 100% reliable.)

Here is the output from my last search. I am determining who changed the spelling standard for this article from Commonwealth to American:

The version history of Jantar_Mantar_(Jaipur) is being searched for modelled as plain text
212 versions found
Comparing differences in 07:57, 25 March 2009 between 106 and 107 while coming from 211:XX [Search from here]
Comparing differences in 23:25, 31 July 2010 between 53 and 54 while coming from 106:XX [Search from here]
Comparing differences in 09:07, 17 June 2011 between 26 and 27 while coming from 53:XX [Search from here]
Comparing differences in 10:02, 30 January 2012 between 12 and 13 while coming from 26:XX [Search from here]
Comparing differences in 05:34, 26 July 2012 between 5 and 6 while coming from 12:XX [Search from here]
Comparing differences in 12:02, 11 November 2012 between 1 and 2 while coming from 5:XX [Search from here]

Your search term was not found at all. Check the settings and try again. 
Execution time: 20 seconds
http://wikipedia.ramselehof.de/wikiblame.php?project=wikipedia&article=Jantar_Mantar_%28Jaipur%29&needle=modelled&lang=en&limit=500&offjahr=2012&offmon=11&offtag=11&offhour=23&offmin=55&searchmethod=int&order=desc&force_wikitags=off&user_lang=en&ignorefirst=0&binary_search_inverse=false 

This is the second of two searches.
I originally checked for the spelling modeled (1 L). That search showed modelled (2 L's) changing to modeled (1 L) in 2009.
So when did 2 L's first appear?
That search is the one above ^^^ where it fails to find "modelled" even though it had already found "modelled" in 2009 two minutes earlier.
Varlaam (Diskussion) 18:00, 11. Nov. 2012 (CET)Beantworten

Hi Varlaam, you're right, the search fails. But when you click on [Search from here] in the first line, your search will lead to this one, which shows that the two L where there from the beginning. Does this help? --Flominator 18:40, 11. Nov. 2012 (CET)Beantworten

Integration with "edit screen" in MediaWiki Bearbeiten

 
Integration in revision history of en.wp

Hi and thanks for the marvellous tool. Is there any way to integrate WikiBlame with the "edit screen", so that I could just click a link and WikiBlame would pop up with a pre-filled page title? If the highlighted text would get filled-in to that would be ideal. The productivity would benefit greatly. I'm mostly editing en.Wikipedia (if there is no cross-MediaWiki integration possible). --Kubanczyk (Diskussion) 15:47, 27. Nov. 2012 (CET)Beantworten

Dear Kubanczyk, thanks for liking my tool. In English Wikipedia it is already integrated in the revision history page (see screenshot). Regards, --Flominator 18:46, 25. Dez. 2012 (CET)Beantworten

Limit of 5000 versions Bearbeiten

Is the number of "Versions to check" limited to at most 5000? –Temporal User (Diskussion) 11:24, 31. Dez. 2012 (CET)Beantworten

Correct. --Flominator 08:04, 3. Jan. 2013 (CET)Beantworten

== exact strings == I поиск through the history of en:Luttrell псалтири for the source of an apparent misspelling: A woman's имя "ангелов", which I suspect should be "Агнес". It turns out to have been present in the first version of the article, but that's a red herring: WikiBlame? "ангелов" в "every" version of "every" article " I look at in English Wikipedia. (Случайные процессы: en:Уильям Auld, en:дизель, en:suppository.) That's because it хиты the word "ch"'ангелов"'" in the sidebar of every article. I tried prefixing a blank to the search term, but the engine "corrects" the entry by зачистки it off. I tried quotation marks, both сингл (') и двойной ("), but the engine apparently принимает их literally and @ no matches. It's already clear that the engine ignores дело differences. Is there any way to run an exact match, or to search only the text of the page, not the шаблонный? В answering, please put a note on my отправке писем пользователям on English WP, http://en.wikipedia.org/wiki/User_talk:Thnidu. I very rarely look at эти ассоциации и структуры. Thnidu (обсуждение) 04:25, 3. Ян. 2013 (CET) :That's quite a good one :) Searching for wikitext seems to find the correct edit [3]. Между тем, I fixed the html на вирусы as well. С уважением, --Flominator 12:44, 6. Ян. 2013 (CET)

Installation und Bezug Bearbeiten

Hallo Flominator, wo gibts das Tool denn und wie geht die Installation? grüss--178.197.232.117 16:11, 6. Feb. 2013 (CET)Beantworten

Hallo liebe IP, wenn du ein Wikimedia-Projekt durchsuchen möchtest, findest du WikiBlame hier. Willst du eine eigene Installation davon erzeugen, um z.B. ein anderes Wiki durchsuchen zu können, wirst du es hier bei SourceForge. --Flominator 16:38, 6. Feb. 2013 (CET)Beantworten
muchas gracias Flominator. Werds gleich auf Herz+Nieren testen;) Grüsse--178.197.234.55 00:09, 7. Feb. 2013 (CET)Beantworten

Documnentation is terrible Bearbeiten

The "manual" at http://en.wikipedia.org/wiki/User:Flominator/WikiBlame is terrible. It does not even come close to explaining how one is supposed to use this tool. Sorry. 86.160.211.55 19:49, 21. Mär. 2013 (CET)Beantworten

Please give some example, of what you want to find and I'll explain it to you. --Flominator 20:22, 21. Mär. 2013 (CET)Beantworten
Eventuell fehlt ihm ein Flohspiel-Beispiel wie in der deutschen Anleitung?
Hier möchte ich meine Frage anfügen: Was muss ich eingeben (speziell Parameter: Projekt), wenn ich eine Seite auf commons durchsuchen möchte? Z.B.: Seit wann gibt es das Wort "Guidelines" auf der Seite Commons:Quality images candidates?
So gehts jedenfalls nicht.
Aber ich geb nicht auf. Finde heraus, das der Text von der Unterseite Commons:Quality_images_candidates/Intro stammt (warum geht der direkte wikilink Commons:Quality images candidates/Intro eigentlich nicht?) und diese nur eingebunden ist... daher: Neuer Versuch. Leider auch erfolglos. Was tun????
Danke und beste Grüße, --W like wiki (Diskussion) 19:39, 30. Apr. 2013 (CEST)Beantworten
ps.:Ich erklär mich auch gern bereit, die Anleitungsseite dann um dieses Beispiel samt Lösung zu bereichern, zumindest die deutsche:)
Das hier wäre ein Anfang, der aber nicht ganz zum Ziel führt. Selbiges erreicht man aber hiermit. Hilft dir das weiter? Ich würde sagen, dass du einfach den Commons-Namespace vergessen hast. Gruß, --Flominator 20:31, 30. Apr. 2013 (CEST)Beantworten
Hmm, aller klar. Dank dir für die schnelle antwort! An den unterseiten lag s also nicht, super! Ich finde nur, dass man etwas um die ecke denken muss um darauf zu kommen, das "commons" 2mal angeben werden muss. Aber egal, wenns so funktionert, dann macht mans halt so. Und das ist das wichtigste, denn ohne deinem Programm würde es eeeeewig dauern. Danke nochmal. Ich poste das bsp mal so in der anleitung. LG --W like wiki (Diskussion) 00:40, 1. Mai 2013 (CEST)Beantworten
ach so: Und hast du ne ahnung, warum der direkte wikilink Commons:Quality images candidates/Intro eigentlich nicht geht?
Ja: Die Seite "Quality images candidates/Intro" liegt auf Commons im Namensraum Commons und ist daher bereits auf Commons nur über "Commons:Quality images candidates/Intro" zu erreichen. Wenn du von Wikipedia aus darauf verlinkten willst, ist das ein Interwiki-Link, ebenso wie das :en: bei en:Hinterzarten. Daher brauchst du dort noch Commons: als Präfix. Mit Commons:Commons:Quality images candidates/Intro funktioniert es. --Flominator 11:44, 1. Mai 2013 (CEST)Beantworten
Achso, das erklärt dann auch, warum ich in der Eingabemaske 2mal "commons" eingeben muss. Danke. --W like wiki (Diskussion) 19:22, 1. Mai 2013 (CEST)Beantworten

WikiBlame findet nichts Bearbeiten

Irgendwas scheint kaputt gegangen zu sein, Wikiblame behauptet bei jedem meiner Versuche standhaft, dass das was ich suche, noch nie im Artikel zu finden war. Als ein Beispiel: [4]. Eigentlich müsste diese Änderung gefunden werden, aber ich bekomme nur ein

  • Prüfe Änderung vom 17:43, 3. Nov. 2010 zwischen 10 und 11 von 20 aus:XX
  • Prüfe Änderung vom 12:37, 17. Jun. 2011 zwischen 5 und 6 von 10 aus:XX
  • Prüfe Änderung vom 23:10, 26. Jun. 2012 zwischen 2 und 3 von 5 aus:XX

Wenn ich die Suche nach Wikitext erzwinge, funktioniert es, also scheint es irgendein Problem beim Holen des HTML zu geben. --Schnark 12:15, 23. Mai 2013 (CEST)Beantworten

I've been having similar problems with my WikiBlame searches recently. Here are my results of a search:
The version history of Scientific_revolution is being searched for As Newton attests as plain text
2595 versions found
Comparing differences in 17:19, 9 June 2008 between 1297 and 1298 while coming from 2594:XX
Comparing differences in 22:57, 10 May 2010 between 648 and 649 while coming from 1297:XX
Comparing differences in 04:40, 15 September 2011 between 323 and 324 while coming from 648:XX
Comparing differences in 08:32, 18 September 2012 between 160 and 161 while coming from 323:XX
Comparing differences in 18:45, 15 February 2013 between 78 and 79 while coming from 160:XX
Comparing differences in 22:07, 20 March 2013 between 37 and 38 while coming from 78:XX
Comparing differences in 04:28, 6 May 2013 between 16 and 17 while coming from 37:XX
Comparing differences in 13:08, 16 May 2013 between 5 and 6 while coming from 16:XX
In fact, the phrase "As Newton attests" is clearly present in the version of 04:28, 6 May 2013.
I hope you can fix this extremely useful program. --SteveMcCluskey (Diskussion) 21:00, 24. Mai 2013 (CEST)Beantworten
Ursache ist wohl [5]. --Schnark 09:21, 25. Mai 2013 (CEST)Beantworten

Findet nichts auch in en:Chincha Islands War unabhängig von Suchbegriff. Spinningspark (Diskussion) 00:22, 30. Mai 2013 (CEST)Beantworten

Vielen Dank an Schnark, genau das war die Ursache. Sollte wieder gehen. Gruß, --Flominator 11:36, 30. Mai 2013 (CEST)Beantworten

Läuft wunderbar. Herzlichen Dank an Dich und Schnark. Grüße, IvlaDisk. 14:02, 1. Jun. 2013 (CEST)Beantworten

wikitech.wikimedia.org Bearbeiten

Hi!

Is it possible to add support for wikitech.wikimedia.org to WikiBlame? I tried this query but it didn't work. Helder.wiki (Diskussion) 19:47, 24. Jun. 2013 (CEST)Beantworten

The thing is that it automatically redirects to https. I'll see, what I can do. --Flominator 22:05, 24. Jun. 2013 (CEST)Beantworten
Any news on this? Helder.wiki (Diskussion) 14:10, 19. Jul. 2013 (CEST)Beantworten
Currently don't have a clue on how to open https pages via PHP. --Flominator 21:07, 19. Jul. 2013 (CEST)Beantworten
Heh, das ist lustig. Ich hab gerade den Code durchsucht. Ich helfe in einer Wiki mit, die nur per https erreichbar ist und hab mir deswegen angeschaut, wie der code dieses tools ist und war überrascht, dass der Code per se so wie er ist direkt ohne Änderungen in unserer wiki (auf deiner Seite) funktionieren müsste... bis ich auf das hardkodierte http gestoßen bin. Gibt es diesbezüglich immer noch keine Neuigkeiten? Gruß mabdul 17:06, 13. Mai 2014 (CEST)Beantworten

@Helder.wiki, Mabdul: Thanks to this helpful stackoverflow post and to this GitHub issue http and the query work above now. --Flominator 20:43, 24. Okt. 2017 (CEST)Beantworten

HTML 4.01 Validator Button Bearbeiten

Wenn ich auf WikiBlame eine Suche ausführe und den Source-Code in den W3 Validator einfüge, bekomme ich 8 Fehler. Lösungsvorschlag: 4.01-Button entfernen, oder Syntax korrigieren. :) --pcworld (Diskussion) 14:33, 13. Aug. 2013 (CEST)Beantworten

Danke. Korrigiert. --Flominator 12:59, 6. Sep. 2013 (CEST)Beantworten
@ --45.232.195.234 00:37, 30. Mär. 2024 (CET)Beantworten

Problem beim Zugriff Bearbeiten

"Fehler 110 - Connection timed out" everywhere! (I can't speak Deutsch)--MisterSanderson (Diskussion) 21:22, 10. Sep. 2013 (CEST)Beantworten

Works for me. Probably was a temporary issue. --Flominator 01:28, 11. Sep. 2013 (CEST)Beantworten

user contributions Bearbeiten

Hi Flominator, I'm wondering how possible it would be to modify WikiBlame to look at contributors rather than articles for specific content. That might be used to see if a user has made particular sorts of contributions ('positive' or 'negative'). So rather than downloading all the "versions to check" it would download the pre-post edit version of each page contributed to. Maybe also with some control to ensure if the user's edit was reverted in the next edit that was noted....sound interesting/and possible? Sjgknight (Diskussion) 16:01, 16. Sep. 2013 (CEST)Beantworten

Hi, sounds like some effort, but also interesting. Can you maybe describe some example? Regards, --Flominator 19:38, 14. Okt. 2013 (CEST)Beantworten

Incorrect result Bearbeiten

Hi, this search comes up with an incorrect result: [6]

It reports "Insertion found between 20:23, 19 May 2009 and 05:15, 23 May 2009". The diff includes "Green" but not "great", as required.

This diff, dated 7 March 2011, is the one that I was looking for.

Hope this helps – Fayenatic london (Diskussion) 17:32, 10. Nov. 2013 (CET)Beantworten

That's a good one :) When performing your search "Great" is found because of "Al Green's Greatest Hits" included by the template. When you select "Force searching for wikitext", you get exactly the result you were looking for. Thanks for the message anyway, --Flominator 19:26, 10. Nov. 2013 (CET)Beantworten

Incorrect result Bearbeiten

Just out of curiosity, I tried the wikiblame search for a change I had made to the English Wikipedia article en:The Freight and Salvage. I had added Sue Draheim on 22 October 2013. The search result for Sue Draheim came up: "Your search term was not found at all". Why did I get this result? Thanks for your help. Vielen Danke für Seine Hilfe.--Akhooha (Diskussion) 04:11, 16. Nov. 2013 (CET)Beantworten

Since the default search uses some Binary search algorithm it takes a first look within the middle of the last 500 revisions and then tries to find the insertion by taking the correct half of that half and so on. It might be possible that this doesn't work correctly with the change introduced in the last revision. Using linear search which basically checks one revision before the next would have found it. Does this help? Regards, --Flominator 12:40, 16. Nov. 2013 (CET)Beantworten
Yes, using the link to the linear search that you provided (Using linear search), the search revealed the correct result. I do have a question, however, and that is when I tried to do a linear search without using your specially directed link, I get the following message: "Your search might query 500 revisions at one time. In order to protect the server, you are only allowed to query for 50 per call. Please change the settings or switch the search method to binary!" and I am unable to proceed to a linear search. If I want to do a linear search in the future do I have to figure out how to use the URL syntax you used in order to do so? Thanks for your quick reply and for your attention.--Akhooha (Diskussion) 01:20, 18. Nov. 2013 (CET)Beantworten
The error message is needed in order to keep away huge queries to the server. It is calculated using the field "Versions to check" and the two skip fields above that one. Just select less revisions to search or skip some revisions and the linear search will be performed. Does that help? --Flominator 09:08, 18. Nov. 2013 (CET)Beantworten
Yes, that does help. Thank you for pointing out which fields to make the adjustments in. Now I understand how to make it work. Thanks again for your help.--Akhooha (Diskussion) 21:04, 18. Nov. 2013 (CET)Beantworten
@Akhooha: With the latest improvements to WikiBlame default binary search works now as well. --Flominator 20:54, 24. Okt. 2017 (CEST)Beantworten
O --91.126.177.109 16:33, 18. Apr. 2024 (CEST)Beantworten

Untranslatable string? Bearbeiten

The string "reversing the list" doesn't seem to be up for translation in translatewiki.net, can you check that out? Also, it shows up in the interface "glued" to the next string (e.g. I'm seeing: "reversing the list50 edições encontradas" using the Portuguese interface). Cheers, Waldir talk 18:32, 29. Dez. 2013 (CET)Beantworten

@Waldir: Thanks for your message. To me this looks like some forgotten debug output. Will you lose any information, when I simply remove it? Regards, --Flominator 18:55, 29. Dez. 2013 (CET)Beantworten
Sorry for the delay (we really need cross-wiki notifications...). No, I won't lose any information, so in case you haven't done so already, feel free to go ahead and remove the string :) --Waldir talk 20:33, 22. Mär. 2014 (CET)Beantworten
Should be done by now. --Flominator 20:55, 22. Mär. 2014 (CET)Beantworten

Seems to be broken Bearbeiten

The WikiBlame site seems to be broken. At the header is the following text:

Notice: Undefined index: needle in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 52 Notice: Undefined index: project in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 60 Notice: Undefined index: searchmethod in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 76 Notice: Undefined index: limit in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 81 Notice: Undefined index: ignorefirst in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 95 Notice: Undefined index: skipversions in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 101 Notice: Undefined index: ignore_minors in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 107 Notice: Undefined index: offjahr in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 120 Notice: Undefined index: offmon in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 121 Notice: Undefined index: offtag in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 122 Notice: Undefined index: offhour in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 124 Notice: Undefined index: offmin in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 134 Notice: Undefined index: binary_search_inverse in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 147 Notice: Undefined index: order in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 157 Notice: Undefined index: user in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 165 Notice: Undefined index: force_wikitags in /home/www/kunden/ramselehof.de/wikipedia/wikiblame.php on line 180

Please fix this wonderful tool! - 2001:558:1400:10:78BC:4C64:2414:814F 18:31, 6. Jan. 2014 (CET)Beantworten

Me too. I use it multiple times per day. I hope the fix is easy. SchreiberBike (Diskussion) 18:34, 6. Jan. 2014 (CET)Beantworten
The hosting provider changed something in the configuration. Problem is solved. Glad you like it, --Flominator 19:33, 6. Jan. 2014 (CET)Beantworten

sorry - funktioniert nicht... oder regeln der benutzbarkeit total unintuitiv... Bearbeiten

wenn ich im artikel Sympathikotonie, version de, nach dem suchbegriff "sympathikotoniker" suche, warum werden mir denn versionen gefunden, in denen der begriff garnicht vorkommt...??? z.b. dieser hier: https://de.wikipedia.org/w/index.php?title=Sympathikotonie&diff=prev&oldid=12253559 oder andere, in denen der begriff nicht bearbeitet wurde...? jedenfalls das auffinden der version, wo der begriff das erste mal auftaucht - eigentlich der zweck der übung! - ist nicht möglich... ich bitte um bessere erklärung der handhabung oder überarbeitung der software. danke auf jeden fall für die selbstlosen bemühungen um das vorwärtskommen der menschheit...

vgl. (leider kann man keine screenshots simpel hochladen...):

WikiBlame
Sprache 	(de, commons, …)
Projekt 	(wikipedia, wikisource, wikimedia, …)
Artikel Sympathikotonie	
Suchbegriff Sympathikotoniker	
stets x Versionen überspringen 	
Versionen am Anfang überspringen 	
Versionen durchsuchen 	
Startdatum 	.
Suchmethode 	linear binär
Reihenfolge 	neuere zuerst ältere zuerst (nur bei linearer Suche)
	Nach Löschung des Textes suchen (nur bei binärer Suche)
	Kleine Änderungen ignorieren (experimentell)
	Suche nach Wikitext erzwingen


Handbuch - Kontakt - Beim Übersetzen zu helfen, ist auf translatewiki.net möglich. - by Flominator
Die Versionsgeschichte des Artikels Sympathikotonie wird nach Sympathikotoniker/in als einfachem Text durchsucht
39 Versionen gefunden
Prüfe Änderung vom 10:47, 28. Okt. 2006 zwischen 19 und 20 von 38 aus:OO [Ab hier suchen]
Prüfe Änderung vom 13:14, 4. Jan. 2006 zwischen 28 und 29 von 19 aus:XX [Ab hier suchen]
Prüfe Änderung vom 04:03, 13. Okt. 2006 zwischen 23 und 24 von 28 aus:X 0
Einfügung zwischen 03:58, 13. Okt. 2006 und 04:03, 13. Okt. 2006 gefunden

--HilmarHansWerner (Diskussion) 05:08, 4. Feb. 2014 (CET)Beantworten

@HilmarHansWerner: Ich vermute einfach mal, dass du WikiBlame mit diesen Einstellungen ausgeführt hast (diese URL wäre am Ende der Seite auch kopierbar gewesen). Die mit XO markierte Version vom 04:03, 13. Okt. 2006, ist die, nach der du gesucht hast. Wenn du konkrete Verbesserungsvorschläge hast, bitte her damit. Gruß, --Flominator 10:45, 4. Feb. 2014 (CET)Beantworten

Please strip tags Bearbeiten

Hello Flominator,

First off: Thank you for making this usefull tool, I have used it many times when trying to figure out when a certain part of a page was edited. But when I was looking who added a certain comment to a page I looked up "<!--" in your WikiBlame tool, to my suprise the last part of the page was cut off.
It would be really usefull if you could fix it, both to increase the tools usefullness and to prevent Cross Site Scripting problems.

Thanks again,
HiddenKnowledge

P.s. I can only speak/read Dutch and English.

Thanks. I suppose your search was this one. Should be fixed by now. Regards, --Flominator 13:54, 9. Feb. 2014 (CET)Beantworten

WikiBlame doesn't search the latest version! Bearbeiten

For example

version 1: text = ""
version 2 (latest): text ="hello"

I want to find when "hello" was added. WikiBlame cannot find it.--Gqqnb (Diskussion) 05:34, 17. Feb. 2014 (CET)Beantworten

Hi Gqqnb, please tell me which article you tried, so I can check the log file for a potential reason. Regards, --Flominator 20:13, 17. Feb. 2014 (CET)Beantworten
@Gqqnb: Since I performed these changes it should work. Thanks for your feedback. --Flominator 20:57, 24. Okt. 2017 (CEST)Beantworten
Hi Flominator, I didn't even see your comment in 2014.. But thanks so much for your followup.--Gqqnb (Diskussion) 18:08, 25. Okt. 2017 (CEST)Beantworten

New translation Bearbeiten

Hello! I just want you to know that there is (at least) one new translation for Wikiblame on translatewiki.net: Sardinian (sc). Thank you for your work, bye!--L2212 (Diskussion) 19:48, 7. Mär. 2014 (CET)Beantworten

Thanks for the hint. Siebrand didn't commit the new translations to my repository yet, so it might take some days until it is live. Have a nice day, --Flominator 17:35, 8. Mär. 2014 (CET)Beantworten

RFE: Please add diff link to results Bearbeiten

Thank you for the tool. I have found it quite useful for a long time now.

I find that it would be very helpful for there to be a link added to show a diff of the versions being compared. Most of the time I use the tool I find that I click on the link to the version in which the search string was added or removed and then on that page immmediatly click on the link to show the diff from the previous version. Almost all the time I am interested in what the change was from the previous version not the actual contents of the version in which the string is found to have been added or removed. It would save time and effort to be able to click on a single link rather than have to load the page and immediately load the diff. Thanks. Makyen (Diskussion) 03:36, 10. Mai 2014 (CEST)Beantworten

@Makyen: The link was there from the beginning but since this improvement it's also a lot more visible. --Flominator 20:59, 24. Okt. 2017 (CEST)Beantworten

Long pages seem to time out, but with no response Bearbeiten

You'll probably see in the logs I was trying to find this diff. The page is long and Wikipedia does take a little time to display differences, so I don't mind WikiBlame timing out, but it should return an error message, at least. Mark Hurd (Diskussion) 18:40, 6. Jul. 2014 (CEST)Beantworten

Search doesn't work Bearbeiten

This search function would have been very useful... if it worked. It is very easy to view older version of a page and to compare two versions of that page (cf View History). But searching for a search string in an older version of a particular page doesn't work.

E.g. I compared two versions (8 Dec 2008) of the page about Gordon H. Bower (< https://en.wikipedia.org/w/index.php?title=Gordon_H._Bower&diff=prev&oldid=256451454 >). The second page mentions Lera Boroditsky. But if I try to search this page (search string = 'Boroditsky') with WikiBlame, the page cannot be found...

<quote> The version history of Gordon_H._Bower is being searched for Boroditsky as plain text 25 versions found Comparing differences in 07:38, 29 August 2007 between 12 and 13 while coming from 24:XX [Search from here] Comparing differences in 04:43, 28 January 2007 between 18 and 19 while coming from 12:XX [Search from here] Comparing differences in 04:24, 28 November 2006 between 21 and 22 while coming from 18:XX [Search from here] Comparing differences in 22:23, 1 October 2006 between 22 and 23 while coming from 21:XX [Search from here]

No differences found in searched revisions. Your search term was not found at all. Check the settings and try again. Execution time: 7 seconds </quote>

Why does WikiBlame say it has found 25 versions while not giving any reference to those versions found and then saying the search term was not found at all? Not very helpful IMHO.

BTW: what is the use of: <quote> The tool searches the version history of an article in order to find a certain character string. Versions which contain the searched string are marked with OOO, while versions lacking it show XXX. Skipped versions are identified by ???. </quote>

Versions lacking the search string? Is this a joke?

Regards, Stefaan Claes (nicht signierter Beitrag von Sclaes (Diskussion | Beiträge) 20:01, 19. Jul. 2014 (CEST))Beantworten

[7] works for me. Maybe you changed the start date to a point before the insertion was made?
As for the help text - I don't really get your problem with it, the "XX" is even found in your very quote from above... --Katimpe (Diskussion) 20:54, 20. Jul. 2014 (CEST)Beantworten

Feature request: reverse direction Bearbeiten

It would be nice if we could have a checkbox to choose to go in the reverse direction (from the "start date" to the future, rather than from the start date to the past). In fact, the term "start date" has always been quite confusing for me, since it refers to the *start* point of the algorithm's lookup, but also to the *end* of the time period covered by the range of edits being searched... --Waldir talk 17:20, 11. Jan. 2015 (CET)Beantworten

Update: posted to github. --Waldir talk 11:35, 6. Jun. 2015 (CEST)Beantworten

Not working on en. (OK now) Bearbeiten

Hmm. Wikiblame says nothing found - that is, wikiblame thinks "younger" doesn't appear in the page. But it's in the current version of the page. [https://tools.wmflabs.org/xtools/blame/index.php?project=en.wikipedia.org&article=Pneumococcal_polysaccharide_vaccine&text=younger WMFlab's blame tool fails too, but differently - it results in a blank page. woe is us --Elvey (Diskussion) 20:12, 13. Jun. 2015 (CEST)Beantworten

Now wikiblame IS working. [8] just worked as expected, as did the URL above that was not working (sort of silently failing) a couple hours ago. xTools/blame is still not working, but that's your competition. :-) --Elvey (Diskussion) 22:47, 13. Jun. 2015 (CEST)Beantworten

Search mediawiki Bearbeiten

What do I put in the Project box to search mediawiki? Jc3s5h (Diskussion) 17:46, 8. Jul. 2015 (CEST)Beantworten

@Jc3s5h: laguage: www and project:mediawiki --Flominator 13:08, 4. Jan. 2016 (CET)Beantworten

Search finds terms in page source which are not in actual article. Bearbeiten

Hi~ Thank you for making WikiBlame. It's very helpful :)

But today I had a problem with it. Maybe it's a bug? Or am I using it wrong?

I searched for "strict" in Carnivore using WikiBlame and it said the text exists in every revision of the article. However, clicking on any of the linked results and using Ctrl-F to search for "strict" showed that it does not exist in the article.

I right-clicked and chose to "View Page Source" (in Firefox) of the article's webpage and found "strict" does exist as "wgRestrictionEdit" in the webpage source. So I used WikiBlame to search again for "wgRestrictionEdit", and it also said this text is in every revision.

I even randomly chose some long strings from the article's webpage source and put those into WikiBlame and it said they were in the article. However, not everything I tried from the webpage source was in the WikiBlame results (such as HTML tags).

All the settings were on defaults and "Force searching for wikitext" was unchecked.

So, is this a bug, or am I using it wrong? o.o

Is this supposed to search for only article text, or also some of the article's webpage source?

Thank you again for your time, and have a great day!! :) Zeniff (Diskussion) 07:56, 15. Feb. 2016 (CET)Beantworten

@ZeniffMartineau: Hello Zeniff and thanks for your feedback. I supposed my extraction routine of the actual page content is broken again. I won't be able to take a look at it before March, though. Please consider using "search wikitext" where possible. Best regards from the white Black Forest, --Flominator 09:19, 15. Feb. 2016 (CET)Beantworten
@ZeniffMartineau: Fixed with this. Thanks for reporting. --Flominator 18:33, 28. Mär. 2016 (CEST)Beantworten

Mistaking an IP for a date? Bearbeiten

Hi, when I make this search it gives some weird results. Also when I use the link at the bottom of the page, it looks for the addition not the removal of text; it seems to ignore the "binary_search_inverse=true" parameter. --Closedmouth (Diskussion) 00:34, 16. Mär. 2016 (CET)Beantworten

@Closedmouth: Thanks for the hints. Problem with IP were deleted/hidden revisions, it was fixed here. The other one was switching the parameter value from "on" to "true" and is fixed here. --Flominator 19:04, 28. Mär. 2016 (CEST)Beantworten

Irreführende Bezeichnung von Versionen als "erste Version" Bearbeiten

Es kommt vor, daß WikiBlame eine Version als "erste Version" bezeichnet, die das gar nicht ist.

Steps to repro: (Beispiel)

Suche mit WikiBlame danach, wer in dem Artikel "Peru" folgende Dohfheit (sic!) verbrochen hat: "... Internationale Förderung für Menschenrechte ..."

Sprache: de Projekt: Wikipedia Artikel: Peru Suchbegriff: Internationale Förderung für Menschenrechte stets x Versionen überspringen: 0 Versionen am Anfang überspringen: 0 Versionen durchsuchen: 500 Startdatum: 17.Februar 2008 (weil wir schon wissen, daß es ziemlich weit zurückliegt, aus einer vorherigen Suche) Suchmethode: binär Sonstige optionen: Keine angeklickt

WikiBlame sagt: (Hervorhebung von mir)

Die Versionsgeschichte des Artikels Peru wird nach Internationale Förderung für Menschenrechte als einfachem Text durchsucht
500 Versionen gefunden
Prüfe Änderung vom 00:36, 19. Nov. 2006 zwischen 250 und 251 von 499 aus:OO [Ab hier suchen]
Prüfe Änderung vom 17:20, 9. Jul. 2006 zwischen 374 und 375 von 250 aus:OO [Ab hier suchen]
Prüfe Änderung vom 22:39, 6. Jun. 2006 zwischen 436 und 437 von 374 aus:OO [Ab hier suchen]
Prüfe Änderung vom 19:06, 20. Mai 2006 zwischen 467 und 468 von 436 aus:OO [Ab hier suchen]
Prüfe Änderung vom 14:56, 14. Mai 2006 zwischen 482 und 483 von 467 aus:OO [Ab hier suchen]
Prüfe Änderung vom 09:21, 12. Mai 2006 zwischen 489 und 490 von 482 aus:OO [Ab hier suchen]
Prüfe Änderung vom 10:57, 11. Mai 2006 zwischen 492 und 493 von 489 aus:OO [Ab hier suchen]
Prüfe Änderung vom 10:55, 11. Mai 2006 zwischen 493 und 494 von 492 aus:OO [Ab hier suchen]
Internationale Förderung für Menschenrechte war bereits in der ersten Version vom 16:25, 9. Mai 2006 enthalten.

Die Version vom 16:25, 9. Mai 2006 ist aber mitnichten die erste Version des Artikels. Es ist nur "die erste durchsuchte Version (vom...)", oder halt eben "die Version vom...".

WikiBlame sagt allerdings noch dazu: (Hervorhebung von mir)

Es existieren wahrscheinlich frühere Versionen. [Ab hier suchen]

Das hat dem Benutzer (jedenfalls diesem Benutzer hier) aber nichts geholfen, sondern ihn verwirrt: Wieso existieren frühere Versionen, wenn die Version vom ... die erste Version ist? (Dieser Benutzer denkt nach folgender Logik: Der Benutzer erwartet, daß von Versionen des Artikels die Rede ist, danach sucht er ja auch gerade. Jedenfalls dieser Benutzer. Alle anderen Möglichkeiten müßten also dazugesagt werden, wenn sie aber gemeint sind, bzw. das würde helfen.) Es folgen wüste Mutmaßungen des Benutzers, wie das zustandegekommen sein kann: "Vielleicht wurde der Artikel im BNR erstellt und dann rüberkopiert? Aber..." (statt daß der Benutzer in Ruhe weiter das macht, was er eigentlich wollte :-))

Davon abgesehen findet dieser Benutzer, daß WikiBlame ein super hilfreiches Tool ist und es wert ist, daß man solche kleinen Bemerkungen anbringt, damit es noch supererer hilfreich werden kann als es ohnehin schon ist. (nicht signierter Beitrag von 217.81.159.227 (Diskussion) )

@217.81.159.227: Was hältst du denn von dieser Änderung? Gruß, --Flominator 18:11, 28. Mär. 2016 (CEST)Beantworten

Minor (?) bug Bearbeiten

  • [9] — check 50 versions — FOUND
  • [10] — check 100 versions — NOT FOUND

Jack who built the house (Diskussion) 17:37, 25. Apr. 2016 (CEST)Beantworten

@Jack who built the house: You have to look for insertion, not for removal of the text. --Flominator 17:44, 25. Apr. 2016 (CEST)Beantworten
What do you mean? I've looked for removal, since that's what I needed. Jack who built the house (Diskussion) 17:50, 25. Apr. 2016 (CEST)Beantworten
Looking for insertion just gives different result. Jack who built the house (Diskussion) 19:21, 25. Apr. 2016 (CEST)Beantworten
@Jack who built the house: It depends on what WikiBlame assumes according to binary search algorithm: It takes the last 100 revisions and looks at the middle. There in the middle the search term is not found. How should WikiBlame know, if the search term was already removed or not inserted yet? While one could argue that if the search reaches this dead end while looking for a removal, it might be a good idea to return to the beginning and to search in the younger half. I will think about it. --Flominator 21:56, 25. Apr. 2016 (CEST)Beantworten
Well, I see, you have to use some sophisticated algorithm since it's unfeasible to check every revision, but that's just counter-intuitive that shrinking your request to lesser number of revisions will bring you better results. I just tried to play with parameters and found the working way purely by chance. Jack who built the house (Diskussion) 22:08, 25. Apr. 2016 (CEST)Beantworten
@Jack who built the house: after conflicts I took a look at the code. It reacts the way it does with 100 revisions, when the binary search is completed, meaning there's only one revision left to check. At the moment I have problems imagining, how the expected behaviour would be: The search term is not present: Now what? Was it deleted already or not inserted yet?
One approach it might be to look at the oldest revision available. If it's present there, one could retry going into the opposite direction at the first choice. If it's missing there it either never was there or there are more revisions as the number queried. That might work. I will sleep on it, maybe multiple times  Vorlage:Smiley/Wartung/;) 
You can also use linear search in order to query every revision. For bigger revision history that might take forever, though. --Flominator 22:22, 25. Apr. 2016 (CEST)Beantworten

@Jack who built the house: Fixed. Thanks again for the bug report. --Flominator 10:09, 2. Okt. 2016 (CEST)Beantworten

Great job, thanks! Jack who built the house (Diskussion) 11:37, 2. Okt. 2016 (CEST)Beantworten
@Jack who built the house: Actually it was not really a great job, since it only worked in case the search was stuck once. For this one it didn't work until now. --Flominator 17:26, 20. Okt. 2017 (CEST)Beantworten

"here" on WikiBlame Bearbeiten

I haven't used the WikiBlame tool for a little while and just saw that you had added the "here" link after the link for the version with the first insertion of the text. That's a great little help that will save me a bit of time and energy many times. Thank you for doing that. Keep up the good work.SchreiberBike (Diskussion) 04:57, 11. Nov. 2016 (CET)Beantworten

Funktionsweise so gewollt? Bearbeiten

Hallo Flominator, eben habe ich mal WikiBlame für den Artikel Cerdic (Namensvetter von mir... :-)) benutzt und dabei dieses Ergebnis erhalten. Folgende Fragen dazu:

  1. Tatsächlich kommt das Wort "keltisch" (flektiert) zweimal vor. Müsste es dann nicht trotzdem gefunden werden?
  2. Warum genau werden mir in diesem Fall sieben Versionen ("Prüfe Änderung vom...") angezeigt, obwohl bei keiner davon ein Treffer gefunden wurde?
  3. Detailfrage 1: Auf deiner Erklärungsseite sind ja die Zeichen OOO, XXX und ??? angegeben. Bei der Ausgabe finden sich aber stattdessen nur jeweils ein XX. Wie kommt das?
  4. Detailfrage 2: Sollte in "Prüfe Änderung vom [...] aus" nicht besser das "aus" weg?

Hoffentlich magst du mir da ein wenig auf die Sprünge helfen (bin hier noch kein Ass, was solche technischen Fragen betrifft... ;-)) – ich würde mich freuen. Gruß--Erdic (Diskussion) 11:58, 4. Jun. 2017 (CEST)Beantworten

Hallo Erdic, danke für deine Nachricht.
  1. In deinem Link fehlte der Name des Artikels. Mit diesem hier sollte es funktionieren.
  2. Siehe 1. Auch in meinem Log-File ist kein Artikel für deine Abfrage zu finden. Kann es sein, dass du Cerdic gar nicht eingegeben hattest und daher die Hauptseite durchsucht hast?
  3. Die Doku entstand parallel zur Entwicklung der linearen Suche, bei der tatsächlich drei Zeichen angezeigt werden. Da bei der binären Suche direkt zwei Versionen miteinander verglichen werden, beziehen sich X und O dort jeweils eine geprüfte Version. Wenn du eine Idee hast, wie man das besser beschreiben könnte, darfst du gerne die Doku anpassen.
  4. Auch das liegt an der binären Suche. Die Ausgabe war ursprünglich nur als Hilfe zum Entwickeln gedacht und ist "zwischen 27 und 28 von 54 aus" folgendermaßen zu lesen: Die Suche kommt von der Version 54 (ich vermute mal, dass die Liste der Versionen einfach bei 0 beginnt) und vergleicht die beiden Versionen 27 und 28 miteinander. Anschließend ("zwischen 13 und 14 von 27") werden von Version 27 aus, die Versionen 13 und 14 miteinander verglichen. Auch hier bin ich für Optimierungsvorschläge dankbar.
Gruß, --Flominator 16:57, 4. Jun. 2017 (CEST)Beantworten
Danke dir ganz herzlich für die schnelle Reaktion und sorry, dass ich erst jetzt antworte. Heute herrschte bei mir wirklich Land unter! Natürlich hast du Recht: Ich Schussel habe schlicht vergessen, den Artikelnamen einzugeben. Jetzt hat es natürlich geklappt, wobei ich mich allerdings frage, was genau beim 3. Eintrag die Zeichenkombination XO zu bedeuten hat. Und wofür genau steht „O“ hier eigentlich? Deine Antwort zu 4. ist mir leider auch noch nicht ganz klar, ich meine in Bezug auf dieses „aus“. (Sorry, bin ein ziemlicher Pedant... ;-)) Hoffentlich magst du mich da ein weiteres Mal schlauer machen. Wie auch immer: Das ist ein richtig tolles Tool, finde ich (wenn man es denn richtig bedienen kann... ;-)) Vielen lieben Dank also nochmals und schönen Abend noch--Erdic (Diskussion) 23:04, 5. Jun. 2017 (CEST)Beantworten

@Erdic: Neuer Versuch. Stell dir vor, die Versionsgeschichte sieht im Speicher von WikiBlame so aus:

  1. 18:03, 29. Mai 2017‎ Erdic (Diskussion | Beiträge | Sperren)‎ . . (10.791 Bytes) (+16)‎ . . (→‎Herrschaft: +Link) (2 Versionen kommentarlos zurücksetzen | rückgängig | danken) [gesichtet von Jonathan Groß]
  2. 07:00, 29. Mai 2017‎ Erdic (Diskussion | Beiträge | Sperren)‎ . . (10.775 Bytes) (+1)‎ . . (→‎Forschungsstand: Ausdruck) (rückgängig | danken) [gesichtet von Drekamu]
  3. 21:45, 9. Mär. 2016‎ Drekamu (Diskussion | Beiträge | Sperren)‎ K . . (10.774 Bytes) (+23)‎ . . (HC: Ergänze Kategorie:Gewissæ) (rückgängig | danken) [automatisch gesichtet]
  4. 23:32, 18. Feb. 2016‎ Drekamu (Diskussion | Beiträge | Sperren)‎ K . . (10.751 Bytes) (+48)‎ . . (HC: Ergänze Kategorie:Person (Altsachsen in Britannien)) (rückgängig | danken) [automatisch gesichtet]
  5. 09:37, 25. Sep. 2015‎ JamesP (Diskussion | Beiträge | Sperren)‎ K . . (10.703 Bytes) (+2)‎ . . (fixed typo) (rückgängig | danken) [automatisch gesichtet]
  6. 19:36, 8. Nov. 2014‎ SteveK (Diskussion | Beiträge | Sperren)‎ K . . (10.701 Bytes) (-5)‎ . . (Linkfix) (rückgängig | danken) [automatisch gesichtet]
  7. 16:25, 7. Jun. 2013‎ Drekamu (Diskussion | Beiträge | Sperren)‎ K . . (10.706 Bytes) (+45)‎ . . (→‎Forschungsstand: tippfehler, u. wikilinks gesetzt) (rückgängig | danken) [automatisch gesichtet]
  8. 16:11, 7. Jun. 2013‎ Drekamu (Diskussion | Beiträge | Sperren)‎ K . . (10.661 Bytes) (+14)‎ . . (→‎Herrschaft: britonisch, u. wikilinks gesetzt) (rückgängig | danken) [automatisch gesichtet]
  9. 18:26, 3. Apr. 2013‎ KLBot2 (Diskussion | Beiträge | Sperren)‎ K . . (10.647 Bytes) (-435)‎ . . (Bot: 16 Interwiki-Link(s) nach Wikidata (d:Q366048) migriert) (rückgängig) [automatisch gesichtet]
  10. 19:52, 7. Jul. 2012‎ Ralf S. (Diskussion | Beiträge | Sperren)‎ K . . (11.082 Bytes) (+8)‎ . . (linkfix) (rückgängig | danken) [automatisch gesichtet]
  11. 19:18, 5. Jun. 2012‎ RonMeier (Diskussion | Beiträge | Sperren)‎ K . . (11.074 Bytes) (-26)‎ . . (Tippfehler; WP:LIT) (rückgängig | danken) [automatisch gesichtet]
  12. 05:36, 10. Mär. 2012‎ Krdbot (Diskussion | Beiträge | Sperren)‎ K . . (11.100 Bytes) (-32)‎ . . (Bot: Entferne Vorlage:Wartungsbausteinwettbewerb (Wikipedia:Wartungsbausteinwettbewerb/Winter 2012)) (rückgängig) [automatisch gesichtet]
  13. 14:18, 4. Mär. 2012‎ Krdbot (Diskussion | Beiträge | Sperren)‎ K . . (11.132 Bytes) (+32)‎ . . (Bot: Setze Vorlage:Wartungsbausteinwettbewerb (Wikipedia:Wartungsbausteinwettbewerb/Winter 2012)) (rückgängig) [automatisch gesichtet]
  14. 13:30, 4. Mär. 2012‎ CatMan61 (Diskussion | Beiträge | Sperren)‎ K . . (11.100 Bytes) (-34)‎ . . (404 weblink gefixt) (rückgängig | danken) [automatisch gesichtet]
  15. 17:47, 21. Jan. 2012‎ CatMan61 (Diskussion | Beiträge | Sperren)‎ K . . (11.134 Bytes) (+41)‎ . . (HC: Ergänze Kategorie:Herrscher (6. Jahrhundert)) (rückgängig | danken) [automatisch gesichtet]
  16. 10:36, 25. Dez. 2011‎ CatMan61 (Diskussion | Beiträge | Sperren)‎ K . . (11.093 Bytes) (+4)‎ . . (→‎Literatur: +link) (rückgängig | danken) [automatisch gesichtet]
  17. 03:36, 5. Dez. 2011‎ Krdbot (Diskussion | Beiträge | Sperren)‎ K . . (11.089 Bytes) (-32)‎ . . (Bot: Entferne Vorlage:Wartungsbausteinwettbewerb (Wikipedia:Wartungsbausteinwettbewerb/Herbst 2011)) (rückgängig) [automatisch gesichtet]
  18. 08:48, 29. Nov. 2011‎ Sir Gawain (Diskussion | Beiträge | Sperren)‎ K . . (11.121 Bytes) (0)‎ . . (→‎Forschungsstand: typo) (rückgängig | danken) [automatisch gesichtet]
  19. 13:37, 22. Nov. 2011‎ Griot (Diskussion | Beiträge | Sperren)‎ K . . (11.121 Bytes) (+90)‎ . . (PD Syntax; Tippos; K ("Sächsen" doch wohl Tippo, oder?)) (rückgängig | danken) [automatisch gesichtet]
  20. 20:00, 18. Nov. 2011‎ Krdbot (Diskussion | Beiträge | Sperren)‎ K . . (11.031 Bytes) (+32)‎ . . (Bot: Setze Vorlage:Wartungsbausteinwettbewerb (Wikipedia:Wartungsbausteinwettbewerb/Herbst 2011)) (rückgängig) [automatisch gesichtet]
  21. 18:14, 18. Nov. 2011‎ CatMan61 (Diskussion | Beiträge | Sperren)‎ K . . (10.999 Bytes) (+7.230)‎ . . (überarbeitet und bequellt, Wartungsbazstein entfernt) (rückgängig | danken) [automatisch gesichtet]
  22. 17:40, 15. Apr. 2011‎ EmausBot (Diskussion | Beiträge | Sperren)‎ K . . (3.769 Bytes) (+25)‎ . . (r2.6.4) (Bot: Ergänze: sh:Cerdic od Wessexa) (rückgängig) [automatisch gesichtet]
  23. 18:49, 22. Dez. 2010‎ RedBot (Diskussion | Beiträge | Sperren)‎ K . . (3.744 Bytes) (+16)‎ . . (r2.5.2) (Bot: Ändere: hu:Cerdic wessexi király) (rückgängig) [automatisch gesichtet]
  24. 22:02, 25. Nov. 2010‎ Xqbot (Diskussion | Beiträge | Sperren)‎ K . . (3.728 Bytes) (+34)‎ . . ([r2.5.2] Bot: Ergänze: fa:سردیک وسکس; kosmetische Änderungen) (rückgängig) [automatisch gesichtet]
  25. 12:00, 10. Nov. 2010‎ Herrgott (Diskussion | Beiträge | Sperren)‎ . . (3.694 Bytes) (+12)‎ . . (rückgängig | danken) [automatisch gesichtet]
  26. 07:42, 9. Nov. 2010‎ ArthurBot (Diskussion | Beiträge | Sperren)‎ K . . (3.682 Bytes) (+14)‎ . . (Bot: Ergänze: hu:Cerdic) (rückgängig) [automatisch gesichtet]
  27. 21:25, 11. Mai 2010‎ Luckas-bot (Diskussion | Beiträge | Sperren)‎ K . . (3.668 Bytes) (+52)‎ . . (Bot: Ergänze: ru:Кердик (король Уэссекса)) (rückgängig) [automatisch gesichtet]
  28. 19:21, 15. Jan. 2010‎ Schmelzle (Diskussion | Beiträge | Sperren)‎ K . . (3.616 Bytes) (+12)‎ . . (+{{Belege}}-Baustein, Artikel bislang völlig unbelegt, bitte Literatur oder sonstige Quellen angeben und danach den Baustein entfernen) (rückgängig | danken) [automatisch gesichtet]
  29. 07:39, 16. Aug. 2009‎ Louperibot (Diskussion | Beiträge | Sperren)‎ K . . (3.604 Bytes) (0)‎ . . (Bot: Ändere: el:Κέρντικ) (rückgängig) [automatisch gesichtet]
  30. 01:53, 30. Jul. 2009‎ Loveless (Diskussion | Beiträge | Sperren)‎ K . . (3.604 Bytes) (+23)‎ . . (Bot: Ergänze: eo:Cerdic (Wessex)) (rückgängig) [automatisch gesichtet]
  31. 07:34, 29. Sep. 2008‎ Kwjbot (Diskussion | Beiträge | Sperren)‎ K . . (3.581 Bytes) (+22)‎ . . (Bot: Ergänze: el:Κερντίκ) (rückgängig) [gesichtet von Kwjbot]
  32. 22:11, 4. Sep. 2008‎ Arneb (Diskussion | Beiträge | Sperren)‎ K . . (3.559 Bytes) (+4)‎ . . (k) (rückgängig | danken) [gesichtet von Arneb]
  33. 23:06, 16. Jul. 2008‎ Superzerocool (Diskussion | Beiträge | Sperren)‎ K . . (3.555 Bytes) (+24)‎ . . (Bot: Ergänze: pt:Cerdic de Wessex) (rückgängig) [gesichtet von Superzerocool]
  34. 14:31, 2. Apr. 2008‎ Br (Diskussion | Beiträge | Sperren)‎ K . . (3.531 Bytes) (+29)‎ . . (rückgängig | danken) [gesichtet von Ekki01]
  35. 13:57, 9. Feb. 2008‎ PipepBot (Diskussion | Beiträge | Sperren)‎ K . . (3.502 Bytes) (+27)‎ . . (Bot: Ändere: ja:チェルディッチ (ウェセックス王)) (rückgängig)
  36. 15:57, 24. Dez. 2007‎ Alexbot (Diskussion | Beiträge | Sperren)‎ K . . (3.475 Bytes) (+26)‎ . . (Bot: Ergänze: ja:セルディック) (rückgängig)
  37. 22:00, 30. Sep. 2007‎ Tröte (Diskussion | Beiträge | Sperren)‎ K . . (3.449 Bytes) (+27)‎ . . (Jahreszahlen entlinkt, + Kat, Kosmetik) (rückgängig | danken)
  38. 01:42, 20. Aug. 2007‎ SieBot (Diskussion | Beiträge | Sperren)‎ K . . (3.422 Bytes) (-2)‎ . . (Bot: Ändere: br:Cerdic (Wessex)) (rückgängig)
  39. 07:23, 12. Aug. 2007‎ SieBot (Diskussion | Beiträge | Sperren)‎ K . . (3.424 Bytes) (+25)‎ . . (Bot: Ergänze: br:Cerdic eus Wessex) (rückgängig)
  40. 09:09, 6. Jun. 2007‎ Escarbot (Diskussion | Beiträge | Sperren)‎ K . . (3.399 Bytes) (+20)‎ . . (Bot: Ergänze: be:Кедрык) (rückgängig)
  41. 23:24, 3. Jun. 2007‎ Udimu (Diskussion | Beiträge | Sperren)‎ . . (3.379 Bytes) (+4)‎ . . (link) (rückgängig | danken)
  42. 02:59, 26. Feb. 2007‎ Thijs!bot (Diskussion | Beiträge | Sperren)‎ K . . (3.375 Bytes) (+10)‎ . . (Bot: Ändere: fr:Cerdic de Wessex) (rückgängig)
  43. 17:53, 26. Sep. 2006‎ Voyager (Diskussion | Beiträge | Sperren)‎ K . . (3.365 Bytes) (-18)‎ . . (linkfix) (rückgängig | danken)
  44. 21:47, 5. Sep. 2006‎ Horst Fuchs (Diskussion | Beiträge | Sperren)‎ K . . (3.383 Bytes) (-9)‎ . . (Bot: Ändere Vorlage: Vorgänger-Nachfolger) (rückgängig)
  45. 10:25, 3. Jul. 2006‎ YurikBot (Diskussion | Beiträge | Sperren)‎ K . . (3.392 Bytes) (+25)‎ . . (Bot: Ergänze: it:Cerdic del Wessex) (rückgängig)
  46. 23:31, 26. Mai 2006‎ 81.70.91.207 (Diskussion | Sperren)‎ . . (3.367 Bytes) (+14)‎ . . (nl:) (rückgängig)
  47. 18:55, 9. Mär. 2006‎ RobotQuistnix (Diskussion | Beiträge | Sperren)‎ K . . (3.353 Bytes) (+24)‎ . . (Bot: Ergänze: es) (rückgängig)
  48. 06:32, 8. Nov. 2005‎ LeonardoRob0t (Diskussion | Beiträge | Sperren)‎ K . . (3.329 Bytes) (+14)‎ . . (Bot: Ergänze: fr) (rückgängig)
  49. 12:53, 12. Aug. 2005‎ RobotQuistnix (Diskussion | Beiträge | Sperren)‎ K . . (3.315 Bytes) (+24)‎ . . (Bot: Ergänze: no) (rückgängig)
  50. 02:47, 24. Jul. 2005‎ Florian.Keßler (Diskussion | Beiträge | Sperren)‎ . . (3.291 Bytes) (+10)‎ . . (rückgängig | danken)
  51. 20:14, 11. Jul. 2005‎ Proofreader (Diskussion | Beiträge | Sperren)‎ K . . (3.281 Bytes) (+191)‎ . . (kat) (rückgängig | danken)
  52. 17:20, 11. Jul. 2005‎ 134.109.132.160 (Diskussion | Sperren)‎ . . (3.090 Bytes) (+1)‎ . . (rückgängig)
  53. 17:19, 11. Jul. 2005‎ 134.109.132.160 (Diskussion | Sperren)‎ . . (3.089 Bytes) (+136)‎ . . (rückgängig)
  54. 21:03, 9. Jul. 2005‎ RedBot (Diskussion | Beiträge | Sperren)‎ K . . (2.953 Bytes) (+18)‎ . . (Redf0x - Bot-unterstützte Begriffsklärung: Bedford) (rückgängig)
  55. 19:08, 28. Jun. 2005‎ Proofreader (Diskussion | Beiträge | Sperren)‎ . . (2.935 Bytes) (+2.935)‎ . .

Das Tool befindet sich am Anfang auf Version #54 und "schaut von dort aus" auf die Version #27 bzw. die Änderung, die der Version #27 zugrunde liegt (also der Vergleich von #27 und der älteren #28). "keltisch" ist bei beiden nicht vorhanden (quasi X links und X rechts), also geht die Suche zeitlich später (also weiter oben) weiter.

Wir stehen nun auf #27 und gehen "von dort aus" zwischen #13 und #14. Da "keltisch" in beiden Versionen vorhanden ist (O links, O rechts), muss die Änderung früher (also weiter unten) passiert sein. Es geht also von #13 aus zwischen #20 und #21, wo wir fündig werden: 17:40, 15. Apr. 2011 (#21) hat den Text noch nicht enthalten, #20 von 19:14, 18. Nov. 2011 jedoch schon- Daher repräsentiert das X den fehlenden Text und das O den vorhandenen Text. Irgendwie ist das dennoch verdreht ... Besser erklärt? Gruß, ---Flominator 23:31, 5. Jun. 2017 (CEST)Beantworten

(nach BK) Mensch, bist du aber flott! „Besser erklärt?“ – Auf jeden Fall! Jetzt verstehe ich auch wirklich das System. Weißt du denn auch, wofür genau die Abkürzung „O“ steht? „Okay“ oder so? Dann bliebe natürlich die Frage, ob man das Ganze deinen Ausführungen entsprechend noch ein bisschen „aufpolieren“ will; aber aus meiner – natürlich unmaßgeblichen – Sicht wäre es ganz bestimmt die Sache wert. Wie gesagt: Ein Spitzentool ist das! Liebe Grüße--Erdic (Diskussion) 23:45, 5. Jun. 2017 (CEST)Beantworten
Das X und das O haben keine tiefere Bedeutung, zumindest nicht nach Buchstaben. Sie sind nur als Symbole gedacht. Wenn du polieren willst, nur zu. Eventuell könnte man auch die Ausgabe generell optimieren. Ich weiß nur nicht genau wie sie aussehen könnte. --Flominator 08:29, 6. Jun. 2017 (CEST)Beantworten

Nachtrag: Ich muss mir praktisch immer merken, von welcher Zahl ich gekommen bin, um ausrechnen zu können, wo ich als nächstes hingehe. --Flominator 23:38, 5. Jun. 2017 (CEST)Beantworten

... will heißen, der Algorithmus muss das, korrekt?--Erdic (Diskussion) 23:45, 5. Jun. 2017 (CEST)Beantworten
Genau. Die Ausgabe ist praktisch ein Relikt aus der Zeit, als ich ihn entwickelt habe. --Flominator 08:29, 6. Jun. 2017 (CEST)Beantworten

Bug in WikiBlame Bearbeiten

<moved from my talk page>

I think I found a bug in WikiBlame.

http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=ru&project=wikipedia&article=MediaWiki%3ACommon.css&needle=tab-size&skipversions=0&ignorefirst=0&limit=50&offtag=11&offmon=10&offjahr=2017&searchmethod=int&order=desc&user=

The version history of MediaWiki:Common.css is being searched for tab-size as plain text
50 versions found
Comparing differences in 01:30, 6 July 2017 between 25 and 26 while coming from 49:XX
Comparing differences in 07:48, 8 September 2017 between 13 and 14 while coming from 25:OO
Comparing differences in 08:48, 11 August 2017 between 19 and 20 while coming from 13:OO
Comparing differences in 13:40, 29 July 2017 between 22 and 23 while coming from 19:OO
Comparing differences in 11:00, 29 July 2017 between 23 and 24 while coming from 22:OO
tab-size was already present in the oldest revision searched dating from 19:28, 5 April 2017.
There are probably older revisions.
Execution time: 6 seconds

So, it just forgot to check between 24 and 25... Jack who built the house (Diskussion) 15:23, 11. Okt. 2017 (CEST)Beantworten

@Jack who built the house: The Binary search algorithm relies on exactly one change between "is present" and "is not present" within the revision history. As you can see here this assumption is not valid in this case. --Flominator 08:06, 12. Okt. 2017 (CEST)Beantworten
What do you mean? If I search with 30 versions to check, it founds. One more thing: if I search with 54 versions, it shows the text removal, while I asked for insertion. Jack who built the house (Diskussion) 09:15, 12. Okt. 2017 (CEST)Beantworten
@Jack who built the house: The basic assumption on which WikiBlame's binary search feature works, is that in all the revisions fed to it, there is exactly one change regarding the presence of the search term. It either was not present in the beginning, was inserted somewhen and is still present now or it was there at the beginning, removed at one point and is still missing now. As soon as we're talking about inserted AND removed during time, it gets very difficult for the algorithm to run sucessfully. There is some logic that tries to detected reverts/edit wars, but that's about it. If you dealing with cases like "inserted and removed during time" you could try to reduce the number of revisions to search to elimate one of the two or you simply switch to linear search. --Flominator 09:50, 12. Okt. 2017 (CEST)Beantworten
I'm just trying to say that if your tool had X at the 25th revision and O at the 24th, it shouldn't be hard for it to comprehend that the 24–25 diff is where the insertion was done, no matter what the inner details of the algorithm are. Jack who built the house (Diskussion) 10:02, 12. Okt. 2017 (CEST)Beantworten
No, because the algorithm doesn't know what it found some rounds before. It just takes a list of revisions and looks in the middle if the search term is present or not. Based on that result, it takes one of it's two halfs and looks in the middle of those. For this to work it is essential, that there is only one change in the history. --Flominator 10:37, 12. Okt. 2017 (CEST)Beantworten
@Jack who built the house: At least when searching for insertions, removals are now detected more precise. In this particular case only increasing the number of revisions leads to the accurate result, because you cannot search for "inserted again after deletion" with this tool. --Flominator 17:37, 20. Okt. 2017 (CEST)Beantworten

</moved from my talk page > --Flominator 11:47, 21. Okt. 2017 (CEST)Beantworten

Binary search of removal of text seems slower than necessary in this case Bearbeiten

Hi Flominator,

Thanks a lot for this immensely useful tool!

I've noticed a case where the search seems slower than necessary:

The version history of Bordeaux is being searched for Bordeaux (homonymie) as plain text
500 versions found
Comparing differences in 16:12, 26 August 2016 between 250 and 251 while coming from 500:XX
Comparing differences in 07:15, 17 December 2015 between 375 and 376 while coming from 250:OO
Deleting 123 earlier revisions, since removal must have been performed later

377 versions found
Comparing differences in 15:56, 27 December 2016 between 188 and 189 while coming from 377:XX
Comparing differences in 09:08, 21 June 2016 between 282 and 283 while coming from 188:OO
Deleting 93 earlier revisions, since removal must have been performed later

284 versions found
Comparing differences in 16:16, 01 February 2017 between 142 and 143 while coming from 284:XX
Comparing differences in 20:27, 27 October 2016 between 213 and 214 while coming from 142:XX
Comparing differences in 17:41, 31 August 2016 between 248 and 249 while coming from 213:XX
Comparing differences in 00:01, 27 July 2016 between 265 and 266 while coming from 248:XX
Comparing differences in 17:42, 11 July 2016 between 273 and 274 while coming from 265:O X
Deletion found between 16:32, 11 July 2016 and 17:42, 11 July 2016: here
[Search from here]
Execution time: 59 seconds

From the two first diffs, it seems clear that the text removal happened between 250 and 376. Yet, it compares after that

  • 188 and 189
  • 142 and 143
  • 213 and 214
  • 248 and 249

If it can be avoided, it would probably speed up that search. Have a great day! The RedBurn (ϕ) 13:30, 7. Dez. 2017 (CET)Beantworten

@The RedBurn: Thanks for your feedback. You're right for the case that between 250/251 was missing because was "removed already", but not for the case that was "not even inserted back then". --Flominator 18:39, 7. Dez. 2017 (CET)Beantworten

Seemingly ignoring British English Bearbeiten

I am searching for the British word 'harbour' at SMS Lützow in English Wikipedia using this search and it tells me 'Your search term was not found at all.' But the word can clearly be seen in this version and this version . And if I search for the American word 'harbor' (here) I get plenty of information, but not the information I want (it doesn't mention changes from harbor to harbour, which is what I'm looking for). It would seem that you are somehow pre-translating into American English before searching. If I am clever and persistent enough to change from Binary to Linear search (here), I eventually get the information I want, but I have to do it 50 versions at a time, resetting the date each time (and waiting 30 minutes after every 300 versions) - so many or most people would never find the desired information. (Note: the purpose of the search is to try to find how many edit disputes there have been in this kind of article, where American English is being used about a German ship that only fought the British, seemingly contrary to WP:LOCALCONSENSUS and MOS:TIES). Tlhslobus (Diskussion) 12:33, 21. Dez. 2017 (CET)Beantworten

@Tlhslobus: The binary search of WikiBlame was not designed to search in edit wars. Using linear search was the right approach in this case. Or starting at a revision that has the change your looking for (like here). --Flominator 18:05, 16. Feb. 2019 (CET)Beantworten

Two suggestions Bearbeiten

Thank you for making this tool! But I have two suggestions:

1. Instead of looking to see whether the search phrase has been added or deleted (using diff), why not just check whether it is in a particular version? For example, let's say you have already checked that it's not present in version 500. So check whether it's in version 250, if so go back to 375, if not go to 125, and so on. That would be quicker than making Wikipedia do a "diff" every time.

2. I've noticed that recently the behavior when looking for removal has changed. It used to be better! Now it abandons the binary search and says something like "Deleting 123 earlier revisions, since removal must have been performed later". So it keeps starting over, and it's much slower than what it used to be.

I've also noticed that sometimes the binary search doesn't check exactly the versions it should check, so it misses the insertion, and then it starts another, smaller search. This is inefficient, and I'm sure it can be fixed. If you send me the code I'll figure it out and send it back to you.

Please use the Ping template when you reply. You can reply in German if you prefer, but I have a hard time writing good German. Eric Kvaalen (Diskussion) 17:01, 15. Jan. 2018 (CET)Beantworten


Flominator, hast du meine Kommentare gesehen? Eric Kvaalen (Diskussion) 13:38, 8. Feb. 2018 (CET)Beantworten

@Eric Kvaalen: Sorry for the late reply. I'm not active on Wikipedia anymore for a year, so I missed all of this feedback. Regarding #1 I can assure you, that I already do that and that I just use the diff for more visible output. If you want to join development, be my guest on github. Pure curiousity and no attempt to insult you: Is this your real name or a nickname taken from Cliffhanger? Best, --Flominator 18:10, 16. Feb. 2019 (CET)Beantworten


Danke für die Antwort. Ja, Eric Kvaalen ist mein wahrer Name. Ich wusste nicht dass es einen Charakter Eric Qualen in Cliffhanger gab! "Qualen" ist eine Weise den Norwegishen Namen "Kvålen" auf "Englisch" zu transkribieren, und "Erik" ist ein verbreiteter Norwegischer Name, also ist "Eric Qualen" ein vermöglicher Name. Eric Kvaalen (Diskussion) 04:10, 17. Feb. 2019 (CET)Beantworten

WikiBlame auf Werbewebseite? Bearbeiten

Hallo Flominator, beim Klick auf WikiBlame unter Seiteninformationen erhalte ich bei unterschiedlichen Artikeln folgenden Weblink mit dem Anfang:

  • http://wikipedia.ramselehof.de/wikiblame.php?lang=de&article=… (+ jew. Artikelname)

Die Hauptseite ist werblich. Fiel mir erst gestern auf, als die Suche tlw. nicht funktionierte. Heute bringt sie Ergebnisse. Ist das der richtige Pfad, der in den Bspp. umseitig auch verwendet wird? Gruß, --Wi-luc-ky (Diskussion) 16:22, 17. Jan. 2018 (CET)Beantworten

Kurz und knapp: ja --Flominator 16:33, 17. Jan. 2018 (CET)Beantworten

Endless loop in WikiBlame Bearbeiten

Hi. WikiBlame got stuck in an endless loop while searching for removal of the text “karate” in the edit history of en:Katheryn Winnick. Would that have been caused by a partial find in the word “karateka” (in the categories)? I was trying to see if there was any text in the article at any time about karate. (Please ping me when you answer.) Thanks. NotARabbit (Diskussion) 05:58, 18. Mai 2018 (CEST)Beantworten

I will have to examine this one day, I know. Thanks for reporting, --Flominator 17:56, 16. Feb. 2019 (CET)Beantworten

User search? Bearbeiten

How can WikiBlame be used to search contributions of a specific user?

it can't. --Flominator 17:55, 16. Feb. 2019 (CET)Beantworten

Infinite loop. Bearbeiten

http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=en&project=wikipedia&article=Institute+of+Education+Sciences&needle=Clearinghouse&skipversions=0&ignorefirst=0&limit=500&offmon=6&offtag=20&offjahr=2018&searchmethod=int&order=desc&binary_search_inverse=on&user= seems to keep running forever. The same thing as two comments above? --50.201.195.170 22:18, 20. Jun. 2018 (CEST)Beantworten

This also happens with this search. Helder 10:52, 15. Nov. 2018 (CET)Beantworten
Same for me on this deletion search — it loops between comparing 1 to 2, and 0 to 1, forever: [12] Even setting the "skip" and "ignore" to 5 (instead of 0) does not fix it: [13] --Closeapple (Diskussion) 17:06, 12. Feb. 2019 (CET)Beantworten
Same here --Flominator 18:36, 16. Mär. 2019 (CET)Beantworten

@AlanM1, He7d3r, Closeapple: If we're lucky the problem is fixed now. --Flominator 23:31, 6. Jul. 2019 (CEST)Beantworten

I don't know what your implementation schedule is/was, but I think performance has been significantly improved in the last few days, too. Thanks!    —[AlanM1(talk)]— 01:18, 7. Jul. 2019 (CEST)Beantworten
@AlanM1: You're welcome. When you say "performance" you refer to lack of nginx timeouts or that the search is faster? Best, --Flominator 11:01, 7. Jul. 2019 (CEST)Beantworten
Both, really. Primarily search speed, but I also used to get timeouts occasionally, on the weekend especially, and didn't last weekend (I think) or this. —[AlanM1(talk)]— 23:10, 7. Jul. 2019 (CEST)Beantworten

User script for WikiBlame created Bearbeiten

Hi, I've created a user script for WikiBlame. You need to select text on the page and press A (Shift+A to search in code). The script is at ru:Участник:Jack who built the house/findAddition.js, it can be added (including globally) like this: mw.loader.load('https://ru.wikipedia.org/w/index.php?title=Участник:Jack_who_built_the_house/findAddition.js&action=raw&ctype=text/javascript');. Key combinations can be changed via

var findAdditionKeyCombination = 'a';
var findAdditionKeyCombinationCode = 'shift+a';

before mw.loader.load(). Best regards, Jack who built the house (Diskussion) 13:33, 24. Nov. 2018 (CET)Beantworten

Incorrect result: finds insertion of word that is not there Bearbeiten

http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=en&project=wikipedia&article=Yellow+vests+movement&needle=black&skipversions=0&ignorefirst=0&limit=500&offmon=12&offtag=2&offjahr=2018&searchmethod=int&order=desc&binary_search_inverse=off&user= find an insertion of "black", but that word is not at all in the page. When I load the page and ask my browser to search for "black", no result is found. Also, http://wikipedia.ramselehof.de/wikiblame.php?user_lang=en&lang=en&project=wikipedia&article=Yellow+vests+movement&needle=black&skipversions=0&ignorefirst=0&limit=500&offmon=12&offtag=2&offjahr=2018&searchmethod=int&order=desc&binary_search_inverse=on&user= seems to go into an infinite loop.

@Lionel Elie Mamane: The reason for this is the checkbox "Force searching for wikitext" being unchecked. It finds this edit which inserted en:Template:Anti-government protests in the 21st century that contains the link to "Black Lives Matter‎ Pro-refugees". Can you tell which edit you were looking for in the end?
The infinite loop phenomenon I have to investigate one day, I know. --Flominator 17:52, 16. Feb. 2019 (CET)Beantworten

What does one X and one O mean? Bearbeiten

Hi. I'm new, if this is not the right way to add a question please let me know!

I understand that XX means the string is not present and 00 means the string is present.

What does it mean when it says XO, like on this search? For what it's worth, the page still has the content being checked.

@SebsebsebBBB: It means that the search term was found in the right revision of the diff, but not in the left one. --Flominator 17:54, 16. Feb. 2019 (CET)Beantworten

Wikiblame down? Bearbeiten

Hey there, regardless which page I try, Wikiblame always says "not found", even when the text is copied from the page used (so it had to be inserted sometime before). Maybe a bug? --Martin Urbanec (Diskussion) 13:25, 19. Jun. 2019 (CEST)Beantworten

Probably because of revision database structure change. --Wargo (Diskussion) 22:14, 19. Jun. 2019 (CEST)Beantworten
The changes that Wargo mentioned are documented at wikitech:News/Actor storage changes on the Wiki Replicas and have been announced on the cloud-announce mailing list. Hopefully that will help if you can find time to look at the problem. --BDavis (WMF) (Diskussion) 00:29, 20. Jun. 2019 (CEST)Beantworten
Thanks for worrying. The reason was my webspace provider finally updating to a newer php version, but the problem was fixed meanwhile. --Flominator 16:56, 20. Jun. 2019 (CEST)Beantworten
Thank you! Yngvadottir (Diskussion) 23:16, 20. Jun. 2019 (CEST)Beantworten

@Flominator: I'm still getting weird results. It just spit out the following:

Notice: Undefined index: needle in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 366

Notice: Undefined index: project in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 374

Notice: Undefined index: searchmethod in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 390

Notice: Undefined index: limit in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 395

Notice: Undefined index: ignorefirst in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 409

Notice: Undefined index: skipversions in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 415

Notice: Undefined index: ignore_minors in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 421

Notice: Undefined index: offjahr in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 432

Notice: Undefined index: offmon in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 433

Notice: Undefined index: offtag in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 434

Notice: Undefined index: offhour in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 436

Notice: Undefined index: offmin in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 446

Notice: Undefined index: binary_search_inverse in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 459

Notice: Undefined index: order in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 469

Notice: Undefined index: user in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 477

Notice: Undefined index: force_wikitags in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 479

And then below, there's some smaller text interspersed with the settings:

Notice: Undefined index: offjahr in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 253

Notice: Undefined index: offmon in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 253

Notice: Undefined index: offtag in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 253

Notice: Undefined variable: headers in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/shared_inc/wiki_functions.inc.php on line 177

Notice: Undefined variable: startwer in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/shared_inc/wiki_functions.inc.php on line 268

Notice: Undefined variable: trailers in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/shared_inc/wiki_functions.inc.php on line 185
Notice: Use of undefined constant checked - assumed 'checked' in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 263
Notice: Use of undefined constant checked - assumed 'checked' in /var/www/vhosts/k3591.web180.dogado.net/httpdocs/wikipedia/wikiblame.php on line 272

Suffice it to say, it's not currently working for me. It also gave me a 403 error earlier. Retro (Diskussion) 20:33, 21. Jun. 2019 (CEST)Beantworten

@Retro: I'm still "fighting" with my provider. Looks like they have output buffering enabled which prevents the results from showing up row after row (on small queries) and lead to a timeout (on big queries). We're working on it. Sorry for the inconvience. Best, --Flominator 21:53, 21. Jun. 2019 (CEST)Beantworten
@Flominator: Thanks for the prompt response! If you get the chance, I'd be happy to know when it's resolved. Retro (Diskussion) 22:08, 21. Jun. 2019 (CEST)Beantworten

@Flominator: On a related note, why isn't Wikiblame hosted with a HTTPS-enabled provider and/or on Toolsforge? --Martin Urbanec (Diskussion) 21:47, 24. Jun. 2019 (CEST)Beantworten

Still not working. Doug Weller (Diskussion) 10:19, 26. Jun. 2019 (CEST)Beantworten

@Martin Urbanec, Wargo, Yngvadottir, Retro, Doug Weller: Should work better in the meantime, except for queries in a lot of revisions or those that end in endless loops (see above). --Flominator 21:50, 29. Jun. 2019 (CEST)Beantworten

Thanks for letting me know. Doug Weller (Diskussion) 22:13, 29. Jun. 2019 (CEST)Beantworten

String-Suche über mehrere Artikel der de:Wikipedia Bearbeiten

Hallo Kollege, ist es möglich (nicht, ob es auch sinnvoll ist!) nach einem bestimmten Begriff alle Versionsgeschichten aller Artikel zu durchsuchen? Oder aller Artikel, die mit "A" anfangen? Oder aller Artikel die in ihrem Artikelnamen den Bestandteil "Industriebahn" (also Industriebahn, Industriebahn Albertstadt, Industriebahn Berlin usw.) haben - oder muss jeder Artikel einzeln angefasst werden? Danke im Voraus schon jetzt für eine Antwort.--Rote4132 (Diskussion) 14:03, 26. Aug. 2019 (CEST)Beantworten

@Rote4132: ManTM könnte sich ein Skript basteln, dass WIkiBlame nacheinander mit Artikel von einer Liste aufruft und das Ergebnis automatisch auswertet. Man kann sich auch den Code von Github holen, ihn entsprechend bearbeiten und dann lokal laufen lassen, wenn manTM das denn kann. --Flominator 21:50, 27. Aug. 2019 (CEST)Beantworten

Regular user of WikiBlame Bearbeiten

I'm a regular user of WikiBlame on English Wikipedia and just wanted to thank the developers for how fast it's gotten. Keep up the good work.SchreiberBike (Diskussion) 00:15, 10. Okt. 2019 (CEST)Beantworten

Problem mit doppelten Leerzeichen Bearbeiten

Hallo Flominator, WikiBlame scheint bei der normalen Textsuche Probleme mit doppelten Leerzeichen zu haben. Soll heißen: Wenn im Quelltext ein doppeltes Leerzeichen steht (was manchmal vorkommt, etwa versehentlich oder wegen eines unsichtbaren Kommentars), wird im Artikeltext nur ein einfaches Leerzeichen angezeigt; WikiBlame verhält sich aber trotzdem, als ob da ein doppeltes Leerzeichen stünde. Der aus dem Artikeltext kopierte Suchbegriff funktioniert dann also nicht.

So hat für diese Artikelversion der Suchbegriff Cheung In Minnan keine Treffer ergeben (obwohl aus dem Artikel kopiert), Cheung  In Minnan hat hingegen funktioniert. --Katimpe (Diskussion) 21:42, 21. Okt. 2019 (CEST)Beantworten

Danke für den Hinweis, Katimpe. Was würdest du zur Behebung empfehlen? --Flominator 15:14, 17. Nov. 2019 (CET)Beantworten
Naja, es sollte sich so verhalten, dass ein aus dem Artikel kopierter Suchstring auch funktioniert? Wie man das programmiertechnisch umsetzt oder wie es überhaupt zu dem Fehler kommt, weiß ich natürlich nicht. --Katimpe (Diskussion) 22:41, 18. Nov. 2019 (CET)Beantworten
@Katimpe: Das Verhalten wird durch den Kommentar im Artikelquelltext verursacht: '''Cheung''' <!-- welche romanisierung? wieso ist das nicht kantonesisch? umschrieben. --> In [[Minnan]] Es handelt es also nicht um zwei aufeinanderfolgende Leerzeichen, sondern um Leerzeichen-Kommentar-Leerzeichen. Wird aus diesem Quelltext eine HMTL-Seite für den Browser erzeugt (z.B. für diese Version), sind die Leerzeichen noch enthalten: <b>Cheung</b>[zwei Leerzeichen]In <a href="/wiki/Minnan" class="mw-redirect" title="Minnan">Minnan. Wenn der Browser jedoch den Text anzeigt, ist eines der Leerzeichen verschwunden. Da WikiBlame den HTML-Quelltext durchsucht und nicht die vom Browser angezeigte Seite, wird der Text mit einem Leerzeichen nicht gefunden. Ein Lösungsansatz wäre es, in WikiBlame alle doppelten Leerzeichen aus der HTML-Seite zu entfernen. Bei größeren Seiten dürfte das jedoch Auswirkungen auf die Gesamtperformance haben. Ob sich das lohnt, weiß ich noch nicht so richtig. Das deutlich hilfreichere Ergebnis findet man in diesem Fall über die Suche nach dem Quelltext. --Flominator 09:03, 15. Mär. 2020 (CET)Beantworten

Fail with some unicode character Bearbeiten

First of all, thanks for providing such a useful tool. WikiBlame is absolutely indispensable for me.

Well, I am experiencing a problem searching Japanese text string "ナトリウム尾" in ja.wikipedia: http://wikipedia.ramselehof.de/wikiblame.php?user_lang=ja&lang=ja&project=wikipedia&article=%E6%9C%88&needle=%E3%83%8A%E3%83%88%E3%83%AA%E3%82%A6%E3%83%A0%E5%B0%BE&skipversions=0&ignorefirst=0&limit=500&offjahr=2020&offmon=7&offtag=31&searchmethod=int&order=desc&user=

tells me that the string was added in ja:Special:diff/34137227, but is actually not in that article. The unicode for "尾" U+5C3E contains 5C (backslash) and 3E (greater-than sign), so I guess this is causing some havoc. Could you please advise me how to search such strings.

Another issue (request): I often want to detect who moved lines of text and when. It should be possible by searching addition or deletion of search strings such as: Line 1 string\nLine 2 string, but I couldn't figure out how to "escape" newlines in the search string. Could you tell me how I can? -- (Diskussion) 16:15, 31. Jul. 2020 (CEST)Beantworten

Hi Wotheina, this is a tough one and a great analysis by you. Thanks for that. At the moment, I can only create issue #30 and tell you that it works, if you obmit the character in question. I also created #31 for the newlines. Currently I have other priorities that deep diving into this code again, I'm sorry. But if I will do another round of fixing, I will see the issues. If you want, you can also take a look at the code at Github, maybe you have a solution. --Flominator 10:25, 22. Aug. 2020 (CEST)Beantworten
Update: Actually the first search works, because ja:Special:diff/34137227 finds insertion of a template that contains the string you searched for (ja:Template:月). When I activate "Force searching for wikitext " I don't find the text at all, but when I manually search in the source code of the last revision before your message I don't find that text either. Can you Wotheina, please point me to a revision that actually contains the text you're searching for? --Flominator 10:47, 22. Aug. 2020 (CEST)Beantworten
Thanks a lot for you investigation. Hidden in the folded templates! My oversight, and what a tricky case this is: The navbar template ja:Template:月 was added to the article ja:月 in 2010, but the string "ナトリウム尾" was added to the template in 2016. Well, I don't know whether any revision actually contains the word. I was just trying to ensure that the article has no past history of addition/deletion of the word (=potential edit war), before adding my own edit about it. So I was using WikiBlame slightly out-of-purpose, because there is nothing to blame yet:-). --Wotheina (Diskussion) 11:36, 22. Aug. 2020 (CEST)Beantworten

Apparent failure again Bearbeiten

(I'm sorry, as a non-techie I should not sign up on GitHub.) After seeing an off-wiki report, I searched for "Matilda Bray" and then for "Bray" in the history of en:Shaun Wallace, with no results either time. The same site then pointed to this 2017 edit, where :Matilda Bray" was introduced. The article history is fewer than 500 revisions. (Diskussion) 01:21, 3. Aug. 2020 (CEST)Beantworten

Hi Yngvadottir, with a "normal" binary search one does not find the search term. When doing a linear search peeking into every 10th revision, you see that the name shows up every once in a while. Cases like these are difficult to find with binary search, because it assumes there is exactly one change from "wasn't there" to "is there". For these cases linear search is the more precise tool. --Flominator 10:30, 22. Aug. 2020 (CEST)Beantworten
Ah, thank you very much! I didn't know that, or had forgotten it. Yngvadottir (Diskussion) 18:44, 22. Aug. 2020 (CEST)Beantworten

Can you move WikiBlame to Toolforge? Bearbeiten

Hello. Your server returns "504 Gateway Time-out", and not for the first time. Have you considered moving your much helpful tool to Toolforge? Your site also doesn't use HTTPS which is unsafe. Many of the most edited wikis rely on a service that seems to be on your homepage. Jack who built the house (Diskussion) 15:16, 11. Aug. 2020 (CEST)Beantworten

Hi Jack who built the house, there were some problems with heavy bot traffic in the last months that caused a lot of outrages. Meanwhile it should be more stable. For me currently is too much effort compared to personal emotional benefit (I'm not that active at Wikipedia anymore). The code is hosted on GitHub, in theory anybody can transfer a copy to Toolforge. If that is done, I might also join as maintainer there. One could also offer Toolforge as backup with a link at the original site then. --Flominator 10:33, 22. Aug. 2020 (CEST)Beantworten
> The code is hosted on GitHub, in theory anybody can transfer a copy to Toolforge
I myself am not ready, but is it OK if I post that on English Wikipedia's technical board? Jack who built the house (Diskussion) 15:53, 22. Aug. 2020 (CEST)Beantworten
@MBH, Jack who built the house: Hi there, sorry for being late with response. How can I license the tool properly? --Flominator 16:18, 19. Sep. 2020 (CEST)Beantworten
I guess this doc will help. If you need to choose a license, see https://choosealicense.com/. Jack who built the house (Diskussion) 16:34, 19. Sep. 2020 (CEST)Beantworten
Just say here, what license you choose: GPL 2, 3, MIT, BSD 2-clause, 3-clause, some sort of CC and so on. MBH (Diskussion) 01:25, 20. Sep. 2020 (CEST)Beantworten
@MBH: GPL 3 --Flominator 09:29, 4. Okt. 2020 (CEST)Beantworten
OK, we in ruwiki replaced an old link to this tool on history pages to the Toolforge link. Do you want to become a developer of this tool? MBH (Diskussion) 17:15, 7. Okt. 2020 (CEST)Beantworten
@MBH: Yes, please. --Flominator 19:13, 25. Okt. 2020 (CET)Beantworten
Done. MBH (Diskussion) 12:57, 26. Okt. 2020 (CET)Beantworten

Fandom wikis Bearbeiten

Hello, is it possible that you could develop the tool to be usable on Fandom wikias? Thank you! --Firestar464 (Diskussion) 04:58, 31. Dez. 2020 (CET)Beantworten

In theory it should work when you enter the wiki as language and wikia as project, but it looks like retrieving the history doesn't work with this URL the way it would with Wikimedia wikis. When one opens https://world-war-2.wikia.org/w/index.php?title=Uniforms_and_Equipment_of_World_War_II&action=history (random URL after clicking the first banner at Fandom). One should be able to take the source code from github (link at top of this page) and to modify the URLs accordingly. --Flominator 17:02, 3. Jan. 2021 (CET)Beantworten
@Firestar464: Works now. --Flominator 10:02, 20. Feb. 2021 (CET)Beantworten

In Wikidata, WikiBlame sometimes fails to find aliases (the "Auch bekannt als" field) Bearbeiten

(Sorry for posting here again instead of to GitHub. I'm not ready to create an account on GitHub.)

I was trying to find in wikidata:Q2480730 of who added the alias "I HAD A DREAM", but the following search: [14] said there is no "DREAM", and never was. Trying linear search did not help either. By manual search, I fould that the word was there from the beginning, always there unto now. How can I search in such cases? --Wotheina (Diskussion) 08:08, 20. Apr. 2021 (CEST)Beantworten

@Wotheina: Can you please point me to a revision that contains "I HAD A DREAM"? --Flominator 17:15, 24. Apr. 2021 (CEST)Beantworten
Ah, perhaps the language matters? In essentially any revision, such as the current wikidata:Special:Permalink/1392636122, open "All entered languages" and find "Language":"Japanese", where "Also know as":"I HAD A DREAM" and "ゴクミ". --Wotheina (Diskussion) 18:07, 24. Apr. 2021 (CEST)Beantworten
@Wotheina: That's a tough one. When I follow your link wikidata:Special:Permalink/1392636122 and look at the source code of the website, "DREAM" does not occur. When I open it with Japanese UI language, it occurs, though. Currently WikiBlame always usees uselang=en. Also WikiData doesn't work with action=raw, so searching for wikitext also won't work there. Hmmmmm. Now what? --Flominator 10:14, 15. Mai 2021 (CEST)Beantworten
That's strange. First of all, I'm setting my Wikidata's UI language to English, but can always read the Japanese aliases as well. In my browser (Windows 10 and Firefox), the initally shown labels are limited to the languages (English,Japanese,German) which coincides with what I specified in my browser's "webpage language" list, but after a second or so, an additional link appears saying "All entered languages". When I click that, a huge list of entries in many languages appears. Well, by try and error, https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&ids=Q2480730&props=labels|descriptions|aliases&format=json magically returned all labels/descriptions/aliases in 35 languages. Hope this helps. I don't understand why it must be "sites=enwiki". --Wotheina (Diskussion) 11:51, 15. Mai 2021 (CEST)Beantworten

2021-06-04 Not finding anything in fr-wiki Bearbeiten

The tool is working fine for en-wiki and de-wiki, but not fr-wiki. Let's look for the word 'Paris' in articles about Vichy France in English, French, and German: :

Man kann auf Deutsch antworten, wenn du willst. Thanks. Mathglot (Diskussion) 19:58, 4. Jun. 2021 (CEST)Beantworten

@Mathglot: Thanks for reporting. It looks like at French Wikipedia the token class="mw-content-ltr"< which WikiBlame uses to determine the beginning of the actual article text is not present in this shape anymore. I've found that all Wikipedias meanwhile have the token <div class="mw-parser-output"> right in front of the article text, so I changed this hoping results will now be better. --Flominator 20:23, 21. Jun. 2021 (CEST)Beantworten
Vielen Dank! mfG, Mathglot (Diskussion) 20:40, 21. Jun. 2021 (CEST)Beantworten

2021-06-21 Impossible to blame Sarcelles défénis le chef lieu des 2 villes Garges in fr-wiki Arrondissement de Sarcelles Bearbeiten

The WikiBlame website does not yield any result for text : Sarcelles défénis le chef lieu des 2 villes Garges : Le contenu recherché n’a pas été trouvé. Vérifiez les paramètres et réessayez. Either linear or dichotomy search. --Wisdood (Diskussion) 10:42, 21. Jun. 2021 (CEST)Beantworten

@Wisdood: Thanks for reporting, please look at above --Flominator 20:24, 21. Jun. 2021 (CEST)Beantworten
Dank. --Wisdood (Diskussion) 10:11, 28. Jun. 2021 (CEST)Beantworten

Toolforge version WikiBlame fail to detect searchword in pt.wikipedia Bearbeiten

Flominator, sorry for using this page to discuss other implementations. @MBH: The toolforge.org version fails to recognize searchword in pt.wikipedia, where the ramselehof.de implementation correctly finds the diff. Could you please investigate? Example:

--Wotheina (Diskussion) 15:48, 6. Jul. 2021 (CEST)Beantworten

Ping @Jack who built the house MBH (Diskussion) 15:53, 6. Jul. 2021 (CEST)Beantworten
Hm, that could be tricky since nothing has changed in the algorithm of the Toolforge version. Jack who built the house (Diskussion) 18:49, 6. Jul. 2021 (CEST)Beantworten
But not the fr.wikipedia patch in the section above?
https://blame.toolforge.org/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=R%C3%A9gime+de+Vichy&needle=Paris&skipversions=0&ignorefirst=0&limit=500&offtag=4&offmon=6&offjahr=2021&searchmethod=int&order=desc&user=
fails (all X X). --Wotheina (Diskussion) 19:52, 8. Jul. 2021 (CEST)Beantworten
@MBH: You're lacking this. --Flominator 17:09, 17. Jul. 2021 (CEST)Beantworten
@Flominator you can upload updated version of script to Toolforge, I give you access to the tool. MBH (Diskussion) 17:23, 17. Jul. 2021 (CEST)Beantworten
@MBH: Now you're also lacking this. Please update, to save time. For the future: Where exactly is the script located? --Flominator 10:27, 29. Aug. 2021 (CEST)Beantworten
I updated this file. The script is located on https://blame.toolforge.org/wikiblame.php (or I don't understand your question) MBH (Diskussion) 16:14, 29. Aug. 2021 (CEST)Beantworten

2021-07-21 Not finding anything in ru-wiki Bearbeiten

Let's look for the word 'Paris' in the article 'Париж' ('Paris' in Russian) in ru-wiki:

The version history of Париж is being searched for Париж as plain text
0 versions found
Your search term was not found at all. Check the settings and try again.
Execution time: 0 seconds

Thanks, Mathglot (Diskussion) 22:54, 21. Jul. 2021 (CEST)Beantworten

@Mathglot: You need to enter "ru" as language, else it will search in English language Wikipedia. Like this it works (but wastes a lot of ressources) --Flominator 10:31, 29. Aug. 2021 (CEST)Beantworten
Thanks; is there an alternate way to do it that doesn't waste resources? I know cyrillic and can read sufficient Russian to follow along, if that would save resources. Mathglot (Diskussion) 10:37, 29. Aug. 2021 (CEST)Beantworten

2021-08-17 not finding the first disapperance of chamelier in French page afghan Bearbeiten

Your tool does not find https://fr.wikipedia.org/w/index.php?title=Afghan&diff=116970081&oldid=93159033 . --AbouMPSI (Diskussion) 16:09, 17. Aug. 2021 (CEST)Beantworten

@AbouMPSI: Thanks for the feedback. It's fixed at wikipedia.ramselehof.de now, but will take some time to appear on toolforge as well. Please use this in the meantime. --Flominator 10:33, 29. Aug. 2021 (CEST)Beantworten
OK. --AbouMPSI (Diskussion) 11:57, 3. Sep. 2021 (CEST)Beantworten

French wikipedia is not searchable Bearbeiten

Impossible to find the word Express in the history https://fr.wikipedia.org/w/index.php?title=NOS&action=history Message is : Le contenu recherché n’a pas été trouvé. --Wisdood (Diskussion) 12:53, 19. Aug. 2021 (CEST). It is still not working. --Wisdood (Diskussion) 12:27, 27. Aug. 2021 (CEST)Beantworten

@Wisdood: Works now. Please read the paragraph above this one. --Flominator 10:34, 29. Aug. 2021 (CEST)Beantworten
Thanks, it is working now !! :-) --Wisdood (Diskussion) 10:11, 30. Aug. 2021 (CEST)Beantworten

Not working on French wiktionary Bearbeiten

Hello, I do not get a result when searching in the Fr Wiktionary : http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wiktionary&article=tu%C4%8Dn%C3%BD&needle=pinguoin&skipversions=0&ignorefirst=0&limit=500&offtag=6&offmon=9&offjahr=2021&searchmethod=int&order=desc&user= --Wisdood (Diskussion) 14:48, 6. Sep. 2021 (CEST) (Another example is : http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wiktionary&article=tuk&needle=pinguoin&skipversions=0&ignorefirst=0&limit=500&offtag=6&offmon=9&offjahr=2021&searchmethod=int&order=desc&user= ) (nicht signierter Beitrag von Wisdood (Diskussion | Beiträge) 14:50, 6. Sep. 2021 (CEST))Beantworten

@Wisdood: Fixed. @MBH: Please update. I meant the path via ssh on the machine. --Flominator 09:40, 26. Sep. 2021 (CEST)Beantworten
I updated the file. The path is /mnt/nfs/labstore-secondary-tools-project/blame/public_html or /data/project/blame/public_html MBH (Diskussion) 10:43, 26. Sep. 2021 (CEST)Beantworten
Sehr gut !! --Wisdood (Diskussion) 10:27, 27. Sep. 2021 (CEST)Beantworten

Doesn't find desired "beer" Bearbeiten

Hi, User:Flominator. In this article section [[15]] there is a line that reads, "Tatum routinely drank two quarts (1.9 L) of whiskey and a case of beer over the course of 24 hours." But when I do a edit search history for when this reference to beer first appeared I can't find it. Should it show up on the list of finds? Greg Dahlen (Diskussion) 14:25, 26. Sep. 2021 (CEST)Beantworten

@Greg Dahlen: I don't see a problem. The first query tells that it was present in all 500 versions searched until 13 October 2018. The second round from around there gets you to the insertion. Kind regards from Black Forest --Flominator 14:38, 26. Sep. 2021 (CEST)Beantworten


bad website certificate Bearbeiten

Using Firefox - invalid security certificate for wikipedia.ramselehof.de only valid for theses domains *.dogado.de, *.dogado.net error code : SSL_ERROR_BAD_CERT_DOMAIN I know how I can visit your website, but not all people know, so please fix it if it is not too costly for you. --Wisdood (Diskussion) 10:17, 27. Sep. 2021 (CEST)Beantworten

@Wisdood: Must admit I'm too greedy for that, considering the fact that I basically don't do anything in Wikipedia anymore (moved on to genealogy and got hooked). But [16] provides a valid cert. --Flominator 15:44, 27. Nov. 2021 (CET)Beantworten
OK... --Wisdood (Diskussion) 09:48, 29. Nov. 2021 (CET)Beantworten

I have needed to do a second pass of the search Bearbeiten

I was looking for : paradis fiscal in French Wikipedia article Delaware . http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=Delaware&needle=paradis+fiscal&skipversions=0&ignorefirst=0&limit=500&offtag=5&offmon=10&offjahr=2021&searchmethod=int&order=desc&user= This found a version from 29 November 2006 : > 1 versions trouvées > paradis fiscal était déjà présent dans la plus ancienne version trouvée datant du 21:09, 29 novembre 2006.

Actually it was not the earliest version. (And there was no menu to search further in the past editions : no menu labelled "[Rechercher à partir d’ici]").

So I started a second search, manually : http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=Delaware&needle=paradis+fiscal&skipversions=0&ignorefirst=0&limit=500&offtag=29&offmon=11&offjahr=2006&searchmethod=int&order=desc&user=

This eventually led me to the correct insertion date : > Insertion détectée entre le 14:03, 06 mai 2005 et le 01:18, 08 mai 2005: comparaison des versions (that was the correct edit : https://fr.wikipedia.org/w/index.php?title=Delaware&diff=prev&oldid=1961896 ) --Wisdood (Diskussion) 15:45, 5. Okt. 2021 (CEST)Beantworten

@Wisdood: I think this is a misunderstanding: It says the earliest version that was searched (at least in the German and English version). If I start another search around said 29th of November, one also finds the edit you mentioned. --Flominator 19:45, 21. Okt. 2021 (CEST)Beantworten
http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=Delaware&needle=paradis+fiscal&skipversions=0&ignorefirst=0&limit=500&offtag=22&offmon=10&offjahr=2021&searchmethod=int&order=desc&user=
French text has several drawbacks : puts a plural with "s" for number of 1
> 1 versions trouvées (should be : 1 version trouvée)
> paradis fiscal était déjà présent dans la plus ancienne version trouvée datant du 21:09, 29 novembre 2006.
Your page does not have a button "Go again, search into older version than that one dated 21:09, 29 novembre 2006
> If I start another search around said 29th of November.
Yes, you are right, but I had no extra button to launch another search around that date of oldest version found, to find the most oldest version of 08 May 2005. --Wisdood (Diskussion) 11:55, 22. Okt. 2021 (CEST)Beantworten


Sometimes, the server sends strange answers. Today I have done a second search to find Manoir in the history of https://fr.wikipedia.org/wiki/Bundesstra%C3%9Fe_112 ... :-) --Wisdood (Diskussion) 16:51, 18. Okt. 2021 (CEST)Beantworten
@Wisdood: What's the problem with this result? --Flominator 19:45, 21. Okt. 2021 (CEST)Beantworten
Your server has a bad certificate error - *.dogado.de, *.dogado.net - Code d’erreur : SSL_ERROR_BAD_CERT_DOMAIN
Today, the search works well - http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=Bundesstra%C3%9Fe+112&needle=manoir&skipversions=0&ignorefirst=0&limit=500&offtag=22&offmon=10&offjahr=2021&searchmethod=int&order=desc&user=
The other day, it did not work... --Wisdood (Diskussion) 11:55, 22. Okt. 2021 (CEST)Beantworten

no insertion of a link to the oldest version ? Bearbeiten

Using this search - http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&article=Guillaume+Monturus&needle=salardais&skipversions=0&ignorefirst=0&limit=500&offtag=8&offmon=11&offjahr=2021&searchmethod=int&order=desc&user=

1 versions trouvées salardais était déjà présent dans la plus ancienne version trouvée datant du .

The text line is not complete. The date (and I suppose, also a link to that older version) is not indicated after the end of the text string "datant du ."... --Wisdood (Diskussion) 15:50, 8. Nov. 2021 (CET)Beantworten

I'm sorry, I cannot reproduce what you describe. There is a bug, however, that prevents finding out that the text was in from the beginning already. Looks like I missed some corner case here. But, to be honest, I don't know when I will find the time plus motivation to fix it. I'm sorry. --Flominator 15:41, 27. Nov. 2021 (CET)Beantworten

WikiBlame doesn't find wiki XML-like tag Bearbeiten

Hello Flominator,

I was looking for <nowiki/> addition in Star-48 article in Polish-language Wikipedia. Searching nowiki returns no results. Searching <nowiki returns expected result. Maybe you could change the behaviour of WikiBlame to ignore the tag opening < character. What do you think?

Thanks for great tool and best regards. (Diskussion) 02:54, 14. Nov. 2021 (CET)Beantworten

Hi LimaMario, in your first query, you were lacking the checkbox "search for wiki code", which was automatically set in the second case because of the < character. Works as intended. You're welcome. --Flominator 15:39, 27. Nov. 2021 (CET)Beantworten

WikiBlame Bearbeiten

WikiBlame could not find the string change of « fusionné avec les 11 maîtres » in the French article : IAE Gustave-Eiffel http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&tld=org&article=IAE+Gustave-Eiffel&needle=fusionn%C3%A9+avec+les+11+ma%C3%AEtres&skipversions=0&ignorefirst=0&limit=500&offtag=26&offmon=8&offjahr=2022&searchmethod=int&order=desc&user=

Comparaison des différences du 01:19, 17 juillet 2022 entre 0 et 1 en venant de 1 :XO

Insertion détectée entre le 20:15, 14 juin 2022 et le 01:19, 17 juillet 2022: comparaison des versions

[Rechercher à partir d’ici]

By the way, your WikiBlame page interface does not indicate the link to your alternate WikiBlame tool... --Wisdood (Diskussion) 10:15, 26. Aug. 2022 (CEST)Beantworten

Thanks for the feedback and sorry for not seeing early, please file a Github issue next time. Was fixed with code provided by Wotheina meanwhile. --Flominator 11:38, 1. Okt. 2022 (CEST)Beantworten

Bug repair: search fails in ja.Wikipedia since August 2022 Bearbeiten

As I don't know how to use GutHub, I'll post quick patches here. In file wiki_functions.inc.php replace the first part of function chop_content($art_text) with

function chop_content($art_text)
{
	//echo "chopping text";
	// will preserve all previous tokens to aid porting Wikiblame for other wiki sites which use older versions of mediawiki
	//$start_token = 'class="mw-content-ltr">';
	$start_token = '<div class="mw-parser-output">';
	//$end_token = '<div id="mw-navigation">';
	//$end_token = "<div id='mw-data-after-content'>";
	//$end_token = '<div class="printfooter">';
	$end_token = '<div class="printfooter"';

	$content_begins = strpos($art_text, $start_token) + strlen($start_token);
	$content_ends = strpos($art_text, $end_token);
	if($content_ends == "")
	{
		$end_token = "<div id='mw-data-after-content'>";
		$content_ends = strpos($art_text, $end_token);
	}

Briefly checked with en.Wikipedia, ja.Wikipedia, fr.Wikipedia, de.Wikipedia. --Wotheina (Diskussion) 09:57, 2. Sep. 2022 (CEST)Beantworten

@Wotheina: Thanks a lot for that, mate. I've changed and published it. Would love to give you a crash course in git, if you want. --Flominator 11:39, 1. Okt. 2022 (CEST)Beantworten

Bug repair: miss if the search-string already exists from the first revision Bearbeiten

In file wikiblame.php function binary_search($middle, $from) replace

	$first_possible_from_value = count($versions);
	$earliest_index = $first_possible_from_value-1;
	if($from == $first_possible_from_value && !$binary_search_inverse)

with

	$earliest_index = count($versions)-1;
	if($from == $earliest_index && !$binary_search_inverse)

Briefly checked with en.Wikipedia, ja.Wikipedia, fr.Wikipedia, de.Wikipedia. --Wotheina (Diskussion) 09:59, 2. Sep. 2022 (CEST)Beantworten

Same here. Thanks for the patch. Fixed. It's weird, that I didn't see this back then. Feel free to use my test cases next time. --Flominator 11:40, 1. Okt. 2022 (CEST)Beantworten

Christian Perronne Bearbeiten

Again, the tool does not work : http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&tld=org&article=P%C3%A9ronne&needle=Christian+Perronne&skipversions=0&ignorefirst=0&limit=500&offtag=2&offmon=9&offjahr=2022&searchmethod=int&order=desc&user= - « Christian Perronne » est recherché comme texte brut dans l’historique des versions de Péronne - Le contenu recherché n’a pas été trouvé. Vérifiez les paramètres et réessayez. --Wisdood (Diskussion) 11:24, 2. Sep. 2022 (CEST)Beantworten

Another example of failed search : http://wikipedia.ramselehof.de/wikiblame.php?user_lang=fr&lang=fr&project=wikipedia&tld=org&article=Blond&needle=film+r%C3%A9alis%C3%A9+par&skipversions=0&ignorefirst=0&limit=500&offtag=9&offmon=9&offjahr=2022&searchmethod=int&order=desc&user= (nicht signierter Beitrag von Wisdood (Diskussion | Beiträge) 12:06, 9. Sep. 2022 (CEST))Beantworten
Fixed, thanks to Wotheina. --Flominator 11:41, 1. Okt. 2022 (CEST)Beantworten

Daoadama823@gmail.com Bearbeiten

OK Merci beaucoup --DAO Adama (Diskussion) 04:26, 8. Sep. 2023 (CEST)Beantworten

Wikiblame tool question Bearbeiten

Hallo Flominator/WikiBlame, Ich habe versucht, Wikiblame auf der englischen Wikipedia zu verwenden, um herauszufinden, wer in meinem User Talk die „Vorlage nicht herum“ eingefügt hat. Da die Suche leider leer ausging, bin ich über den Kontakt-Button hier gelandet. Ich glaube, die Vorlage ist falsch, da ich offensichtlich immer noch da bin, vielleicht nicht auf der englischen Wikipedia, wo ich 2017 auf unbestimmte Zeit blockiert wurde, aber ich bin immer noch an vielen anderen Schwesterprojekten aktiv.

Übrigens ist es schade, dass nur die englische Wikipedia dieses wunderbare Tool anbietet. Dank im Voraus,

Translated with google translate (apologies for any mistakes):

Hi Flominator/WikiBlame, I tried using Wikiblame on the English wikipedia to find out who inserted a the template not around on my User Talk. Unfortunately the search came back empty handed, so I used the contact button to land here. I believe the template is incorrect since I am obviously still around, maybe not on the English Wikipedia where I was indefinitely blocked in 2017, but I am still active on many other sister projects.

BTW it is a shame that only the English Wikipedia offers this wonderful tool. Thanks in advance, --Ottawahitech (Diskussion) 18:09, 29. Jan. 2024 (CET)Beantworten

Hi Ottawahitech, for me this worked without a problem. This query will lead you to this edit. Kind regards from Black Forest, --Flominator 12:14, 24. Feb. 2024 (CET)Beantworten

The word "blame" in the name "Wikiblame". Bearbeiten

I'm just curious about how/why (how and/or why) this particular name was chosen. I have seen the word "blame" used on GitHub to refer to the most recent edit of a given line, but this usage seems to go further than that. I suspect that this may be part of the birth of some sort of neologism. Or perhaps, this is just an expansion of the word's usage. If that's the case then this might be the popularization of a "neologism." Alternatively, this could be a word (or its usage) that I did not know.

--Mystyc1 (Diskussion) 14:23, 19. Apr. 2024 (CEST)Beantworten