MediaWiki  1.34.0
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
 
n
 

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

$maintClass = MergeMessageFileList::class

Definition at line 29 of file mergeMessageFileList.php.

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

Definition at line 185 of file mergeMessageFileList.php.

Referenced by Wikimedia\Rdbms\LikeMatch\__construct(), ChangesListSpecialPage\__construct(), PPCustomFrame_Hash\__toString(), PPCustomFrame_DOM\__toString(), PPNode_DOM\__toString(), PPTemplateFrame_Hash\__toString(), PPTemplateFrame_DOM\__toString(), Wikimedia\Rdbms\DatabaseMysqlBase\addIdentifierQuotes(), Wikimedia\Rdbms\Database\addIdentifierQuotes(), PPDStackElement\addPart(), PPDStack\addPart(), Wikimedia\Rdbms\DatabaseMysqlBase\addQuotes(), Wikimedia\Rdbms\DatabaseSqlite\addQuotes(), Wikimedia\Rdbms\DatabasePostgres\addQuotes(), Wikimedia\Rdbms\Database\addQuotes(), ParserOutput\addWarning(), SpecialBlock\alterForm(), Scribunto_LuaUriLibrary\anchorEncode(), PPDStackElement_Hash\breakSyntax(), PPDStackElement\breakSyntax(), 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(), Scribunto_LuaStandaloneInterpreter\encodeLuaVar(), ApiMain\encodeRequestLogValue(), MysqlInstaller\escapeLikeInternal(), Wikimedia\Rdbms\Database\escapeLikeInternal(), TransformationalImageHandler\escapeMagickProperty(), WebInstallerLanguage\execute(), WebInstallerRestart\execute(), ApiRevisionDelete\execute(), SpecialListUsers\execute(), PPFrame_Hash\expand(), PPFrame_DOM\expand(), Xml\fieldset(), Language\firstChar(), Language\formatNum(), HistoryPager\formatRow(), TablePager\formatRow(), AllMessagesTablePager\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(), Scribunto_LuaError\getScriptTraceHtml(), PostgresInstaller\getSettingsForm(), MysqlInstaller\getSettingsForm(), TablePager\getStartBody(), HistoryPager\getStartBody(), ChangesList\getTags(), FileJournal\getTimestampedUUID(), PageImages\Hooks\LinksUpdateHookHandler\getUrlBlacklist(), 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(), PPFrame_Hash\implode(), PPFrame_DOM\implode(), PPFrame_Hash\implodeWithFlags(), PPFrame_DOM\implodeWithFlags(), ChangesList\insertDateHeader(), ChangesList\insertDiffHist(), ChangesList\insertLog(), ChangesList\insertRollback(), ChangesList\insertTags(), ChangesList\insertTimestamp(), ChangesList\insertUserRelatedLinks(), Language\isWellFormedLanguageTag(), Scribunto_LuaTextLibrary\jsonDecode(), Scribunto_LuaTextLibrary\killMarkers(), 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(), UstringLibraryNormalizationTestProvider\next(), 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(), CategoryTree\renderChildren(), CategoryTree\renderNodeInfo(), CategoryTree\renderParents(), LinkHolderArray\replaceInternal(), Wikimedia\Rdbms\DatabaseSqlite\replaceVars(), Language\romanNumeral(), LanguageJa\segmentByWord(), LanguageYue\segmentByWord(), LanguageZh_hans\segmentByWord(), Maintenance\setBatchSize(), SpecialAllPages\showChunk(), LogEventsList\showLogExtract(), ApiResult\size(), WebInstaller\startPageWrapper(), Wikimedia\Rdbms\DatabaseMysqlBase\strencode(), Wikimedia\Rdbms\DatabaseSqlite\strencode(), Wikimedia\Rdbms\DatabasePostgres\strencode(), Installer\subscribeToMediaWikiAnnounce(), Scribunto_LuaTextLibrary\textUnstrip(), Scribunto_LuaTextLibrary\textUnstripNoWiki(), 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 204 of file mergeMessageFileList.php.

◆ MW_NO_EXTENSION_MESSAGES

const MW_NO_EXTENSION_MESSAGES 1

Definition at line 26 of file mergeMessageFileList.php.

◆ n

n n

Definition at line 190 of file mergeMessageFileList.php.

$s
$s
Definition: mergeMessageFileList.php:185
$IP
$IP
Definition: update.php:3