[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
Author: | Niklas Laxström |
License: | GPL-2.0+ |
File Size: | 194 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LU_Updater:: (6 methods):
isDirectory()
expandRemotePath()
readMessages()
findChangedTranslations()
fetchFiles()
execute()
Class: LU_Updater - X-Ref
Executes the localisation update.isDirectory( $path ) X-Ref |
Whether the path is a pattern and thus we need to use appropriate code for fetching directories. param: string $path Url return: bool |
expandRemotePath( $info, $repos ) X-Ref |
Expands repository relative path to full url with the given repository patterns. Extra variables in $info are used as variables and will be replaced the pattern. param: array $info Component information. param: array $repos Repository information. return: string |
readMessages( LU_ReaderFactory $readerFactory, array $files ) X-Ref |
Parses translations from given list of files. param: LU_ReaderFactory $readerFactory Factory to construct parsers. param: array $files List of files with their contents as array values. return: array List of translations indexed by language code. |
findChangedTranslations( $origin, $remote, $blacklist = array() X-Ref |
Find new and changed translations in $remote and returns them. param: array $origin param: array $remote param: array [$blacklist] Array of message keys to ignore, keys as as array keys. return: array |
fetchFiles( LU_FetcherFactory $factory, $path ) X-Ref |
Fetches files from given Url pattern. param: LU_FetcherFactory $factory Factory to construct fetchers. param: string $path Url to the file or pattern of files. return: array List of Urls with file contents as path. |
execute(LU_Finder $finder,LU_ReaderFactory $readerFactory,LU_FetcherFactory $fetcherFactory,array $repos) X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |