This is the window to analyze a page and fix the errors detected by Check Wiki. It can be opened:
from the By page tab of the main window, with the Analysis button,
from a page list window; when the list comes from a Check Wiki error, this error is selected in the window.
Action
At the top of the window, the summary of the edit: it is filled automatically with the errors fixed since the page was loaded, unless you edit it.
Below, the window is organized in two parts:
On the left, the list of Check Wiki errors detected in the page:
Only the errors activated in the Check Wiki configuration of the wiki are detected, and an error is not detected on the pages of its whitelist.
When an error is detected several times, the number of occurrences is displayed between parentheses after its name.
Hovering an error displays its description.
Selecting an error (or double-clicking on it) highlights all its occurrences in the text, and selects the first one.
When all the occurrences of an error have been fixed, the error stays in the list, displayed in green.
A right-click on an error opens a menu with its global fixes, when the error has some: a global fix modifies all the occurrences of the error in the text at once. Unless described otherwise below, it uses the first proposed fix of each occurrence, even when this fix is not automatic, and leaves the occurrences without a proposed fix unchanged. The global fixes are:
error 7 (Headlines all start with three "="): Decrease the level of all titles, moves all the titles by the same number of levels, so that the lowest one is at level 2 (== Title ==);
error 19 (Headlines start with one "="): Increase the level of titles from the first level 1 title, increases by one the level of the first title at level 1 (= Title =) and of all the titles after it, up to level 6; the titles before it are left unchanged;
error 25 (Headline hierarchy): Fix all skipped title levels, puts each title one level below its parent title, and moves its subtitles with it: for example, == A ==, ==== B ====, ===== C ===== become == A ==, === B ===, ==== C ====; the titles without a parent title keep their level;
error 27 (Unicode syntax): Replace all, replaces all the reported character entities;
error 48 (Title linked in text): Remove all links to title, replaces all the reported links to the page itself by their text (links with an anchor become links to the section, like [[#History|History]], and the lines of image maps are deleted), and Remove all links to title (first in bold), which does the same but also puts the first link before the first title in bold, unless it is already in bold;
error 68 (Link to another language): Check all language links, checks the links one after the other: each link is selected in the text, its language link is checked like with Check language links, and a window asks which replacement to use. Do not replace leaves the link unchanged and goes to the next one, Cancel stops the check. When no replacement is found, or when the wiki of the link is unknown, a window asks for the title to use in the first configured template instead. The chosen replacements are applied at the end, all at once, including those chosen before a Cancel. Nothing is replaced if the text is modified during the check.
The titles whose level doesn't change are left untouched by the global fixes of errors 7, 19 and 25. To change the level of only some titles, use the table of contents instead.
Automatic fixes: applies all the automatic fixes of the detected errors.
Open the page describing the error: opens the description of the selected error in your browser.
On the right, a toolbar and the text of the page with syntax highlighting:
Go to first / previous / next / last error: selects an occurrence of the error selected in the list. Previous and next start from the current position in the text, so they also work after clicking somewhere in the text. The buttons are disabled when no error is selected or when the selected error has no occurrence.
Table of contents: opens the table of contents of the page in a separate window, to change the level of its titles.
Retrieve the errors still detected by Check Wiki: asks the Check Wiki server to analyze the page and displays the errors it detects in a separate window. Check Wiki analyzes the page saved on the wiki, not the text being edited. The button is disabled for wikis without Check Wiki. When Check Wiki detects no error, a message tells it instead of opening the window.
Retrieve the errors detected by Linter in the current text: sends the text being edited to Linter and displays the errors it detects in a separate window. Only the types of errors declared by the wiki are displayed. When Linter detects no error, a message tells it instead of opening the window.
Open page in browser: displays the current version of the page on the wiki in your browser.
Open page history in browser: displays the history of the page in your browser.
Save the page: saves the page on the wiki with the summary. The button is disabled in demo mode. If the page has been modified by someone else since it was loaded, the edit is refused to avoid erasing the other modification.
The text can be edited directly, the page is analyzed again after each modification.
A right-click on an error opens a menu with the possible fixes for the errors at this position; automatic fixes are displayed in bold.
After the page has been saved, the errors whose occurrences have all been fixed are marked as fixed on the Check Wiki server, so that the page is removed from the list of pages with these errors. This is done only:
for pages in the main namespace,
for errors with a list of pages on the Check Wiki server (error numbers up to 500),
for errors that are not reserved to bots.
Errors detected by Check Wiki in the page
The window opened by the button lists the errors detected by Check Wiki, with for each one:
Error: the number of the error,
Name: the name of the error, when WPCleanerNG implements it,
Location: the position given by Check Wiki in the text saved on the wiki,
Notice: the text where Check Wiki detected the error, or In the whitelist when the page is in the whitelist of the error.
Selecting an error selects its notice in the text of the analysis window (ignoring case), so it still works after the text has been modified; when the notice is not found, the caret is moved to the location. The window can stay open while you fix the errors.
Errors detected by Linter in the text
The window opened by the button lists the errors detected by Linter, with for each one:
Type: the name of the type of error in the language of your wiki preferences (for example Missing end tag), or its code (for example missing-end-tag) when the wiki has no name for it,
Priority: the priority of this type on the wiki (High, Medium or Low),
Start and End: the position of the error in the analyzed text,
Parameters: the details given by Linter (for example the name of the tag),
Template: the template producing the error, or Multiple templates when several templates are involved.
Selecting an error selects it in the text of the analysis window. The positions are those of the text when the button was clicked: after modifying the text, click on the button again to update them.
Table of contents of the page
The window opened by the button displays the titles of the page as two trees. It stays above the analysis window, and the text can still be edited while it is open. It can also be opened with Edit table of contents, in the menu displayed by a right-click on the title of a Check Wiki error 7 (no level 2 title), 19 (level 1 title) or 25 (skipped title level): the title of the error is then already selected.
Current table of contents: the titles as they are in the text, with their level between parentheses (2 for == Title ==). When the level of a title has been changed, both levels are displayed, for example (2 → 3) Title.
New table of contents: the titles organized with the new levels.
Selecting a title in the current table of contents selects it in the text of the analysis window, and in the new table of contents. Several titles can be selected at once.
The buttons at the bottom of the window:
Decrease title level and Increase title level: change the level of the selected titles, and of all their subtitles with them. A title whose parent title is also selected is changed only once. A change is refused when a title would get a level lower than 1 or higher than 6.
Apply: replaces the titles whose level has changed in the text of the analysis window. The button is disabled when no level has changed. The window stays open after applying.
Close: closes the window without modifying the text.
The trees are updated when the text is modified. The level changes not yet applied are kept as long as the titles stay the same; they are lost when a title is added, removed, or has its text or level modified in the text.
the errors that are activated, with their name, description and description page,
the whitelist of each error (pages where the error is not detected),
the parameters of some errors,
the default summary (check_wiki_comment in the WPCleanerNG configuration of the wiki).
The button uses the types of Linter errors declared by the wiki, with their priority, from the site information loaded at login. Their names are also retrieved at login, in the language of your wiki preferences (messages linter-category-*).