User:Flominator/WikiBlame

This page describes the use and the idea of WikiBlame. Please post your questions here.

WikiBlame is a tool for quickly finding good, questionable or even dangerous (e.g., copyrighted) edits to articles on MediaWiki-based wikis. This could be helpful for asking users about their contributions or in order to fulfill the demands of GFDL when copying excerpts.



Usage
The tool searches the version history of an article in order to find a certain character string. Versions that contain the searched string are marked with OOO, while versions lacking it show XXX. Skipped versions are identified by ??? .

If no wikicode is present in the search term, then WikiBlame searches for plain text. To search for interwiki links, for example, use  instead of , or force searching for wikitext.

Interface language
The language of the WikiBlame user interface.
 * URL parameter:, example of English

Search target
The path leading to the page to search. The  button allows the URL to be entered directly, automatically populating the corresponding input fields.
 * URL parameters:
 * Language (subdomain):, example of searching the German Wikipedia
 * Some MediaWiki sites have no subdomain in their URL (for example, https://wikisource.org). To search one of these, enter, verbatim, in the language field (example).
 * Project:, example of searching Wikiquote
 * Domain (top-level domain):, example of searching www.pcgamingwiki.com
 * Page:, example of searching this user page

Search for
The text whose insertion or deletion to find in the page's revision history. This field is case-insensitive.
 * URL parameter:, example of searching for "needle"

Always skip x versions
In linear searches, WikiBlame skips the given number of versions before searching another version.
 * URL parameter:, example of skipping 10 versions

Ignore first x versions
WikiBlame ignores the given number of versions at the beginning of the revision history before it starts searching.
 * URL parameter:, example of ignoring first 10 versions

Versions to check
The number of versions to check. If the number of versions found equals the number of versions to be checked, there are probably more versions that weren't searched. Checking many versions with linear search will take a lot of time, unless you use a reasonably large skip number. Binary searching is usually very fast as it doesn't check each version individually, so entering a large number (even several thousand) is usually feasible.
 * URL parameter:, example of limiting to 10 versions

Start date
The search works backward from the given start date. Versions before 23:55 UTC of this day are included.
 * URL parameters:
 * Month:, example of starting from January
 * Day:, example of starting from the first day of the month
 * Year:, example of starting from 2010

Search method

 * linear: check every version
 * URL parameter:  (default), example
 * binary: compare two distant versions and iteratively narrow in on the result (recommended for searching many versions)
 * If binary search finds a version that was just reverted, search again using an earlier start date.
 * URL parameter:, example

Look for removal of text
Find the version where the search term was removed from the page, rather than where it was inserted (the default). This setting only applies when using the binary search method.
 * URL parameter:, example

Force searching for wikitext
If activated, this setting treats the entered text as wikitext. This function is useful, for example, to search for the insertion or deletion of an external link.
 * URL parameter:, example

Implementation
The tool works as follows: it creates a history of versions (example). Its beginning and length are determined by the corresponding input fields. Now the links to the versions themselves are stored within an array. They are downloaded one after another and compared to the searched text.

Integration in English Wikipedia
WikiBlame is linked from the revision history page of every article on the English Wikipedia.

Alternatives

 * XTools Blame

de:Benutzer:Flominator/WikiBlame es:Usuario:XalD/WikiBlame it:Utente:Darth Kule/WikiBlame ja:Wikipedia:ツール/WikiBlame pt:Wikipedia:Ferramentas/WikiBlame zh:User:Gqqnb/WikiBlame文档