MediaWiki  1.27.2
mergeMessageFileList.php File Reference

Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files. More...

Go to the source code of this file.

Classes

class  MergeMessageFileList
 Maintenance script that merges $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files. More...
 

Variables

 $dirs
 
 $maintClass = 'MergeMessageFileList'
 
 $mmfl = false
 
 $queue = []
 
 $s
 
foreach($dirs as $dir) if(isset($mmfl['output'])) else
 
const MW_NO_EXTENSION_MESSAGES 1
 

Detailed Description

Merge $wgExtensionMessagesFiles from various extensions to produce a single array containing all message files.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file mergeMessageFileList.php.

Variable Documentation

Definition at line 29 of file mergeMessageFileList.php.

$mmfl = false

Definition at line 30 of file mergeMessageFileList.php.

Referenced by MergeMessageFileList\execute().

$s
Initial value:
=
"<" . "?php\n" .
"## This file is generated by mergeMessageFileList.php. Do not edit it directly.\n\n" .
"if ( defined( 'MW_NO_EXTENSION_MESSAGES' ) ) return;\n\n" .
'$wgExtensionMessagesFiles = ' . var_export( $wgExtensionMessagesFiles, true ) . ";\n\n" .
'$wgMessagesDirs = ' . var_export( $wgMessagesDirs, true ) . ";\n\n"
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition: magicword.txt:43

Definition at line 198 of file mergeMessageFileList.php.

Referenced by MimeMagic\__construct(), LikeMatch\__construct(), PPTemplateFrame_Hash\__toString(), PPTemplateFrame_DOM\__toString(), PPCustomFrame_Hash\__toString(), PPCustomFrame_DOM\__toString(), PPNode_DOM\__toString(), DatabaseTestHelper\addIdentifierQuotes(), DatabaseMysqlBase\addIdentifierQuotes(), DatabaseMssql\addIdentifierQuotes(), DatabaseOracle\addIdentifierQuotes(), DatabaseBase\addIdentifierQuotes(), PPDAccum_Hash\addLiteral(), PPDStack\addPart(), PPDStackElement\addPart(), DatabaseSqlite\addQuotes(), DatabaseMssql\addQuotes(), DatabaseOracle\addQuotes(), DatabaseBase\addQuotes(), ParserOutput\addWarning(), SpecialBlock\alterForm(), PPDStackElement\breakSyntax(), DatabaseBase\buildLike(), Xml\buildTable(), Xml\buildTableRow(), CoreParserFunctions\canonicalurl(), CoreParserFunctions\canonicalurle(), Language\caseFold(), ApiMain\checkConditionalRequestHeaders(), Language\checkTitleEncoding(), ParserTest\chomp(), WikiPage\commitRollback(), ConvertUserOptions\convertOptionBatch(), SectionProfiler\debug(), SectionProfiler\debugGroup(), RunJobs\debugInternal(), SwiftFileBackend\doExecuteOpHandlesInternal(), LinkHolderArray\doVariants(), ApiMain\encodeRequestLogValue(), WebInstallerPage\endForm(), DatabaseMssql\escapeLikeInternal(), DatabaseBase\escapeLikeInternal(), TransformationalImageHandler\escapeMagickProperty(), WebInstallerLanguage\execute(), WebInstallerRestart\execute(), ApiRevisionDelete\execute(), SpecialListUsers\execute(), PPFrame_Hash\expand(), PPFrame_DOM\expand(), Xml\fieldset(), Language\firstChar(), Language\formatNum(), TablePager\formatRow(), AllMessagesTablePager\formatRow(), HistoryPager\formatRow(), Language\formatTimePeriod(), CoreParserFunctions\fullurl(), CoreParserFunctions\fullurle(), SpecialLog\getActionButtons(), ChangesList\getArticleLink(), ImageHistoryPseudoPager\getBody(), IndexPager\getBody(), Skin\getCategoryLinks(), CreditsAction\getContributors(), InfoAction\getContributors(), CreditsAction\getCredits(), AllMessagesTablePager\getCustomisedStatuses(), Title\getEditURL(), HistoryPager\getEndBody(), MWGrants\getGrantsWikiText(), TablePager\getHiddenFields(), DBExpectedError\getHTML(), Interwiki\getInterwikiCached(), Status\getMessage(), TablePager\getNavigationBar(), WebInstaller\getPageListItem(), Title\getPrefixedDBkey(), Title\getPrefixedText(), Title\getPrefixedURL(), WebInstaller\getRadioSet(), PPFuzzTest\getReport(), ChangesList\getRollback(), PostgresInstaller\getSettingsForm(), MysqlInstaller\getSettingsForm(), MssqlInstaller\getSettingsForm(), TablePager\getStartBody(), HistoryPager\getStartBody(), ChangesList\getTags(), DBExpectedError\getText(), DBQueryError\getTextContent(), FileJournal\getTimestampedUUID(), DatabaseInstaller\getWebUserBox(), Status\getWikiText(), ZipDirectoryReader\hexDump(), HistoryPager\historyLine(), StringUtils\hungryDelimiterReplace(), User\idForName(), User\idFromName(), PPFrame_Hash\implode(), PPFrame_DOM\implode(), PPFrame_Hash\implodeWithFlags(), PPFrame_DOM\implodeWithFlags(), Html\infoBox(), ChangesList\insertArticleLink(), ChangesList\insertDateHeader(), ChangesList\insertDiffHist(), ChangesList\insertLog(), ChangesList\insertRollback(), ChangesList\insertTags(), ChangesList\insertTimestamp(), ChangesList\insertUserRelatedLinks(), DatabaseOracle\isQuotedIdentifier(), Language\isWellFormedLanguageTag(), Skin\lastModified(), CoreParserFunctions\lc(), CoreParserFunctions\lcfirst(), Language\listToText(), User\loadFromDatabase(), CoreParserFunctions\localurl(), CoreParserFunctions\localurle(), ApiBase\logFeatureUsage(), Skin\logoText(), Skin\mainPageLink(), FormatMetadata\makeFormattedData(), ApiBase\makeHelpMsgParameters(), Linker\makeImageLink(), PPFuzzTester\makeInputText(), Linker\makeThumbLink2(), Parser\markerSkipCallback(), JavaScriptMinifier\minify(), DatabaseMysql\mysqlRealEscapeString(), DatabaseMysqli\mysqlRealEscapeString(), Title\nameOf(), LanguageAr\normalize(), LanguageMl\normalize(), Language\normalize(), LanguageBe_tarask\normalizeForSearch(), LanguageYue\normalizeForSearch(), LanguageZh_hans\normalizeForSearch(), LanguageZh\normalizeForSearch(), CreditsAction\onView(), SpecialWatchlist\outputChangesList(), JSParser\parse(), LanguageConverter\parseCachedTable(), Language\parseFormattedNumber(), ApiBase\parseMultiValue(), JSMinPlus\parseTree(), RebuildTextIndex\populateSearchIndex(), SearchHighlighter\position(), SpecialBlock\preText(), Language\recodeForEdit(), Language\recodeInput(), NewParserTest\removeEndingNewline(), DatabaseOracle\removeIdentifierQuotes(), Parser\replaceExternalLinks(), LinkHolderArray\replaceInternal(), Parser\replaceInternalLinks(), Parser\replaceInternalLinks2(), DatabaseSqliteMock\replaceVars(), DatabaseSqlite\replaceVars(), ApiMain\reportUnusedParams(), Language\romanNumeral(), LanguageJa\segmentByWord(), LanguageYue\segmentByWord(), LanguageZh_hans\segmentByWord(), Maintenance\setBatchSize(), DerivativeContext\setConfig(), DerivativeContext\setSkin(), RequestContext\setSkin(), SpecialAllPages\showChunk(), LogEventsList\showLogExtract(), SpecialPrefixindex\showPrefixChunk(), Parser\splitWhitespace(), Language\sprintfDate(), WebInstaller\startPageWrapper(), DatabaseTestHelper\strencode(), DatabaseMysqlBase\strencode(), DatabaseSqlite\strencode(), DatabaseMssql\strencode(), DatabaseOracle\strencode(), SearchSuggestionSetTest\testAppend(), LanguageTest\testCheckTitleEncoding(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple_withMissingTargets(), ApiFormatPhpTest\testCrossDomainMangling(), SearchSuggestionSetTest\testInsertBest(), LanguageTest\testListToText(), SearchEnginePrefixTest\testSearchBackend(), MediaWiki\Auth\AuthManagerTest\testSecuritySensitiveOperationStatus(), Job\toString(), CoreParserFunctions\uc(), CoreParserFunctions\ucfirst(), CoreParserFunctions\urlencode(), CoreParserFunctions\urlFunction(), BenchUtf8TitleCheck\use_mb_check_encoding(), BenchUtf8TitleCheck\use_regexp(), BenchUtf8TitleCheck\use_regexp_non_capturing(), BenchUtf8TitleCheck\use_regexp_once_only(), XmlTypeCheck\validateFromInput(), ApiResult\valueSize(), wfGzipHandler(), wfHtmlValidationHandler(), wfMangleFlashPolicy(), wfOutputHandler(), OutputPage\wrapWikiMsg(), and DiffHistoryBlob\xdiffAdler32().

foreach ($dirs as $dir) if (isset($mmfl['output'])) else
Initial value:
{
echo $s

Definition at line 217 of file mergeMessageFileList.php.

const MW_NO_EXTENSION_MESSAGES 1

Definition at line 26 of file mergeMessageFileList.php.