This system was inspired by Huggle :)
Important! Before saving, please check that there are no errors in the console.
Important! All changes are reviewed manually before being used in the SWViewer. If your changes do not take effect in SWViewer within 24 hours, please write about it on any of the feedback pages.
General
customRollbackViaUndoOnly — list of wikis where not allowed 'custom rollback'.
Rollback
Parameters to set a custom rollback:
name — shortcut name for custom rollback.
summary — edit summary for custom rollback.
warn — warn group name to send warnings on user talk page about their edit.
withoutSection — if exist and true , then warn will be published without header of new section (sectionWarn will be ignored).
defaultRollbackPrefix — default summary of rollback when shorcuts are not used in custom rollback (it is in English by default).
others — This will be rollback summary in all others wikis except which are defined in this (config.json) page.
You can use the following anchors:
- $1 — previous user
- $2 — user whose edits you rollbacked
- $3 — number of old revision
- $4 — date of old revision
- $5 — number of new revision
- $6 — date of new revision
- $7 — title of page
Important! Please add 6 main summaries first: "Wikimarkup", "Content removal", "Spelling/Punctuation", "Nonsense content", "Spam/Unnecessary links" and "Test edit". Please DO NOT translate name parameter of these summaries to local language, also place these elements on top of the array and add the parameter "global": true . See example ruwiki array. These summaries are often used by global rollbackers.
Rollback warns
Parameters to set a user warning template:
summaryWarn — edit summary of warning; $1 — level of warn
sectionWarn — title of new section for warning; $DD — day, $MM — zero-padded month, $M — month, $MMMM — month in words, $YYYY — year
countWarn — maximum levels of warns
months — an array containing name of months in words for sectionWarn . See example ruwiki array.
tags — tags for this group of warns. These tags must be placed together with the template or inside template via :subst . See example in ruwiki.
templates — templates for this group of warns. $1 — title of page, $2 — oldid, $3 — newid, $4 — username, $5 — internal link to diff, $6 — external link to diff.
Reports
autoReport — if true , then report will be send after exceeding countWarn .
pageReport — page for reports.
regexReport — regex to detect if user is already reported. $1 — username or IP.
reportTop — if exist and true , then warn will be publish on top of page
reportPreamb — if exist and true , when reportTop is true , then an empty line will be added before text of report.
- (optional)
regexReport2 — regex to detect if user is already reported when are two report templates. For example, different templates for registered users and IP. $1 — username or IP.
sectionReport — title of new section for report; $1 — username.
withoutSectionReport — if exist and true , then report will be publish without header of new section (sectionReport will be ignored).
textReport — text of report. "Destructive edits: see contribs" or something like that. $1 — username or IP.
- (optional)
textReportIP — text of report when there is a special template for reports about IP. $1 — IP.
summaryReport — edit summary of report. $1 — username.
Undo
defaultUndoSummary — default edit summary of undo. $1 — username of author of last good faith revision, $2 — username of author of bad revision, $3 — title of page.
defaultUndoPrefix — default edit summary prefix of undo for "Custom undo". For example, [prefix: ][it’s vandalism! — you custom summary]. $1 — username of author of last good faith revision, $2 — username of author of bad revision, $3 — title of page.
Speedy deletion
Parameters to set a deletion template:
name — shortcut name of speedy deletion template.
template — template which will be used in nomination for speedy deletion. $1 — your username.
speedySummary — edit summary for speedy deletion nomination.
Speedy deletion warns
- See example ruwiki array.
speedyWarnSummary — general edit summary for speedy deletion warning. $1 — title.
warn — template which will be used in warning. $1 — title, $2 — user, $3 — your username.
- (optional)
sectionWarn — title of new section for warning; If not exist, then warning will be without section heading. $1 — title.
Important! Please DO NOT sends warns if you don’t know the language (except in case of pure vandalism). |