MediaWiki  1.32.5
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::class
 
 $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

◆ $dirs

◆ $maintClass

◆ $mmfl

$mmfl = false

Definition at line 30 of file mergeMessageFileList.php.

Referenced by MergeMessageFileList\execute().

◆ $queue

◆ $s

$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"

Definition at line 187 of file mergeMessageFileList.php.

Referenced by Wikimedia\Rdbms\LikeMatch\__construct(), ChangesListSpecialPage\__construct(), PPNode_DOM\__toString(), DatabaseTestHelper\addIdentifierQuotes(), Wikimedia\Rdbms\DatabaseMysqlBase\addIdentifierQuotes(), DatabaseOracle\addIdentifierQuotes(), Wikimedia\Rdbms\DatabaseMssql\addIdentifierQuotes(), Wikimedia\Rdbms\Database\addIdentifierQuotes(), Wikimedia\Rdbms\DatabaseMysqlBase\addQuotes(), Wikimedia\Rdbms\DatabaseSqlite\addQuotes(), DatabaseOracle\addQuotes(), Wikimedia\Rdbms\DatabaseMssql\addQuotes(), Wikimedia\Rdbms\DatabasePostgres\addQuotes(), Wikimedia\Rdbms\Database\addQuotes(), ParserOutput\addWarning(), SpecialBlock\alterForm(), Wikimedia\Rdbms\Database\buildLike(), Xml\buildTable(), Xml\buildTableRow(), CoreParserFunctions\canonicalurl(), CoreParserFunctions\canonicalurle(), Language\caseFold(), ApiMain\checkConditionalRequestHeaders(), Language\checkTitleEncoding(), WikiPage\commitRollback(), ConvertUserOptions\convertOptionBatch(), CategoryTree\createCountString(), SectionProfiler\debug(), SectionProfiler\debugGroup(), RunJobs\debugInternal(), SwiftFileBackend\doExecuteOpHandlesInternal(), MysqlUpdater\doUnsignedSyncronisation(), LinkHolderArray\doVariants(), MediaWiki\Tidy\RemexMungerData\dump(), MediaWiki\Tidy\RemexCompatFormatter\element(), ApiMain\encodeRequestLogValue(), MysqlInstaller\escapeLikeInternal(), Wikimedia\Rdbms\DatabaseMssql\escapeLikeInternal(), Wikimedia\Rdbms\Database\escapeLikeInternal(), TransformationalImageHandler\escapeMagickProperty(), WebInstallerRestart\execute(), WebInstallerLanguage\execute(), ApiRevisionDelete\execute(), SpecialListUsers\execute(), 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(), Status\getMessage(), CategoryTree\getOptionsAsJsStructure(), WebInstaller\getPageListItem(), Title\getPrefixedDBkey(), Title\getPrefixedText(), Title\getPrefixedURL(), WebInstaller\getRadioSet(), PPFuzzTest\getReport(), Revision\RevisionSlots\getRolesWithDifferentContent(), ChangesList\getRollback(), PostgresInstaller\getSettingsForm(), MysqlInstaller\getSettingsForm(), MssqlInstaller\getSettingsForm(), TablePager\getStartBody(), HistoryPager\getStartBody(), ChangesList\getTags(), FileJournal\getTimestampedUUID(), DatabaseInstaller\getWebUserBox(), Wikimedia\Rdbms\LoadMonitorMySQL\getWeightScale(), Status\getWikiText(), MediaWiki\OutputHandler\handle(), MediaWiki\OutputHandler\handleGzip(), Revision\RevisionSlots\hasSameContent(), MediaWiki\Storage\RevisionSlotsUpdate\hasSameUpdates(), ZipDirectoryReader\hexDump(), HistoryPager\historyLine(), StringUtils\hungryDelimiterReplace(), User\idForName(), User\idFromName(), 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(), MimeAnalyzer\loadFiles(), User\loadFromDatabase(), CoreParserFunctions\localurl(), CoreParserFunctions\localurle(), ApiBase\logFeatureUsage(), Skin\logoText(), Skin\mainPageLink(), Wikimedia\Rdbms\DatabasePostgres\makeConnectionString(), FormatMetadata\makeFormattedData(), Linker\makeImageLink(), PPFuzzTester\makeInputText(), Linker\makeThumbLink2(), MediaWiki\OutputHandler\mangleFlashPolicy(), JavaScriptMinifier\minify(), Wikimedia\Rdbms\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(), Language\parseFormattedNumber(), JSMinPlus\parseTree(), RebuildTextIndex\populateSearchIndex(), SearchHighlighter\position(), SpecialBlock\preText(), Language\recodeForEdit(), Language\recodeInput(), DatabaseOracle\removeIdentifierQuotes(), ApiErrorFormatterTest\removeModuleTag(), CategoryTree\renderChildren(), CategoryTree\renderNodeInfo(), CategoryTree\renderParents(), LinkHolderArray\replaceInternal(), DatabaseSqliteMock\replaceVars(), Wikimedia\Rdbms\DatabaseSqlite\replaceVars(), Language\romanNumeral(), LanguageJa\segmentByWord(), LanguageYue\segmentByWord(), LanguageZh_hans\segmentByWord(), Maintenance\setBatchSize(), SpecialAllPages\showChunk(), LogEventsList\showLogExtract(), ApiResult\size(), Language\sprintfDate(), WebInstaller\startPageWrapper(), DatabaseTestHelper\strencode(), Wikimedia\Rdbms\DatabaseMysqlBase\strencode(), Wikimedia\Rdbms\DatabaseSqlite\strencode(), DatabaseOracle\strencode(), Wikimedia\Rdbms\DatabaseMssql\strencode(), Wikimedia\Rdbms\DatabasePostgres\strencode(), Installer\subscribeToMediaWikiAnnounce(), SearchSuggestionSetTest\testAppend(), LanguageTest\testCheckTitleEncoding(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple_withMissingTargets(), WatchedItemQueryServiceUnitTest\testGetWatchedItemsForUser_fromUntilStartFromOptions(), DatabaseMysqlBaseTest\testIndexAliases(), SearchSuggestionSetTest\testInsertBest(), LanguageTest\testListToText(), SearchEnginePrefixTest\testSearchBackend(), MediaWiki\Auth\AuthManagerTest\testSecuritySensitiveOperationStatus(), DatabaseMysqlBaseTest\testTableAliases(), Job\toString(), CoreParserFunctions\uc(), CoreParserFunctions\ucfirst(), CoreParserFunctions\urlencode(), CoreParserFunctions\urlFunction(), XmlTypeCheck\validateFromInput(), wfUrlencode(), wfVarDump(), and DiffHistoryBlob\xdiffAdler32().

◆ else

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

Definition at line 206 of file mergeMessageFileList.php.

◆ MW_NO_EXTENSION_MESSAGES

const MW_NO_EXTENSION_MESSAGES 1

Definition at line 26 of file mergeMessageFileList.php.

$s
$s
Definition: mergeMessageFileList.php:187
$IP
$IP
Definition: update.php:3
$wgMessagesDirs
$wgMessagesDirs['ReplaceText']
Definition: ReplaceText.php:50
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition: magicword.txt:43