Користувач:DixonD/Dab solver

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку
// Submitting a page, without changing the text
var NoChangesMsg    = 'Text is unchanged, submit?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "You're too quick!  The server has yet to respond, click again.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Navigating away will cause unsaved work to be losted";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{dn}}";
 
// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Help needed: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Unlinked: ';
// Links which were fixes
var SolvedLinksMsg  = 'Disambiguated: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Disambiguated $1 links';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' using [[tools:~dispenser/view/Dab_solver|Dab solver]]';
 
// Interface text
var TabRead     = "Read";
var TabEdit     = "Edit";
var TabHistory  = "History";
var TabClose    = "Close";
var OptRedlinks = "Show redlinks";
var OptForcelink= "Link to disambiguation page";
var OptTaglink  = "I don't know / Tag {{dn}}";
var OptUnlink   = "Unlink";
var OptReset    = "Undo";
 
// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Alert the database is out of date.  See <a href="http://toolserver.org/~bryan/stats/replag/">replication lag</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}WARNING\03{default}: [[%s]] not found'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"There were no disambiguation links found in the wikitext"
// Link not included because its transcluded from a template
LinkTranscluded = u'Disambiguation [[%s]] is transcluded from [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d lines hidden (%d characters)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];