FuzzyScript Class Reference

Class for marking translation fuzzy. More...

List of all members.

Public Member Functions

 __construct ($titles)
 setProgressCallback ($callback)
 execute ()

Public Attributes

 $dryrun = true
 $comment = null
 $skipLanguages = array()
 string[] List of language codes to skip.

Protected Member Functions

 reportProgress ($text, $channel, $severity= 'status')

Protected Attributes

 $progressCallback

Private Member Functions

 getPages ()
 Searches pages that match given patterns.
 updateMessage ($title, $text, $dryrun, $comment=null)
 Does the actual edit if possible.

Private Attributes

 $titles = array()
 $allclear = false

Detailed Description

Class for marking translation fuzzy.

Definition at line 85 of file fuzzy.php.


Constructor & Destructor Documentation

FuzzyScript::__construct ( titles  ) 
Parameters:
string[] $titles

Definition at line 117 of file fuzzy.php.


Member Function Documentation

FuzzyScript::execute (  ) 

Definition at line 134 of file fuzzy.php.

Here is the call graph for this function:

FuzzyScript::getPages (  )  [private]

Searches pages that match given patterns.

Definition at line 151 of file fuzzy.php.

Referenced by execute().

FuzzyScript::reportProgress ( text,
channel,
severity = 'status' 
) [protected]
See also:
Maintenance::output for param docs

Definition at line 127 of file fuzzy.php.

Referenced by execute(), and updateMessage().

FuzzyScript::setProgressCallback ( callback  ) 

Definition at line 122 of file fuzzy.php.

FuzzyScript::updateMessage ( title,
text,
dryrun,
comment = null 
) [private]

Does the actual edit if possible.

Parameters:
Title $title
string $text
bool $dryrun Whether to really do it or just show what would be done.
string $comment Edit summary.

Definition at line 210 of file fuzzy.php.

Referenced by execute().

Here is the call graph for this function:


Member Data Documentation

FuzzyScript::$allclear = false [private]

Definition at line 94 of file fuzzy.php.

FuzzyScript::$comment = null

Definition at line 107 of file fuzzy.php.

Referenced by updateMessage().

FuzzyScript::$dryrun = true

Definition at line 102 of file fuzzy.php.

Referenced by updateMessage().

FuzzyScript::$progressCallback [protected]

Definition at line 97 of file fuzzy.php.

FuzzyScript::$skipLanguages = array()

string[] List of language codes to skip.

Definition at line 112 of file fuzzy.php.

FuzzyScript::$titles = array() [private]

Definition at line 89 of file fuzzy.php.

Referenced by __construct(), and getPages().


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:46 2013 for MediaWiki Translate Extension by  doxygen 1.6.3