MediaWiki  1.23.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
 
 $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

Definition at line 29 of file mergeMessageFileList.php.

◆ $mmfl

$mmfl = false

Definition at line 30 of file mergeMessageFileList.php.

Referenced by MergeMessageFileList\execute().

◆ $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 156 of file mergeMessageFileList.php.

Referenced by LikeMatch\__construct(), CLDRPluralRuleEvaluator_Range\__toString(), 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(), LinkCache\addLinkObj(), PPDAccum_Hash\addLiteral(), PPDStack\addPart(), PPDStackElement\addPart(), DatabaseSqlite\addQuotes(), DatabaseMssql\addQuotes(), DatabaseOracle\addQuotes(), DatabaseBase\addQuotes(), ParserOutput\addWarning(), SpecialBlock\alterForm(), lessc_parser\argumentDef(), PPDStackElement\breakSyntax(), DatabaseBase\buildLike(), CoreParserFunctions\canonicalurl(), CoreParserFunctions\canonicalurle(), Language\caseFold(), Language\checkTitleEncoding(), ApiResult\cleanUp_helper(), WikiPage\commitRollback(), lessc\compileSelectors(), ConvertUserOptions\convertOptionBatch(), Profiler\debug(), Profiler\debugGroup(), WatchedItem\doDuplicateEntries(), SwiftFileBackend\doExecuteOpHandlesInternal(), LinkHolderArray\doVariants(), ApiMain\encodeRequestLogValue(), DatabaseBase\escapeLikeInternal(), BitmapHandler\escapeMagickProperty(), ApiRevisionDelete\execute(), LinkSearchPage\execute(), SpecialListUsers\execute(), PPFrame_Hash\expand(), PPFrame_DOM\expand(), lessc_parser\expression(), Xml\fieldset(), Language\firstChar(), Language\formatNum(), AllmessagesTablePager\formatRow(), HistoryPager\formatRow(), TablePager\formatRow(), Language\formatTimePeriod(), CoreParserFunctions\fullurl(), CoreParserFunctions\fullurle(), lessc_parser\func(), lessc_parser\genericList(), IndexPager\getBody(), Skin\getCategoryLinks(), CreditsAction\getContributors(), InfoAction\getContributors(), CreditsAction\getCredits(), AllmessagesTablePager\getCustomisedStatuses(), Title\getEditURL(), HistoryPager\getEndBody(), OutputPage\getHeadItems(), TablePager\getHiddenFields(), DBExpectedError\getHTML(), Interwiki\getInterwikiCached(), Status\getMessage(), TablePager\getNavigationBar(), WebInstaller\getPageListItem(), Title\getPrefixedDBkey(), Title\getPrefixedText(), Title\getPrefixedURL(), WebInstaller\getRadioSet(), PPFuzzTest\getReport(), SpecialLog\getRevisionButton(), PostgresInstaller\getSettingsForm(), MssqlInstaller\getSettingsForm(), MysqlInstaller\getSettingsForm(), HistoryPager\getStartBody(), TablePager\getStartBody(), DBExpectedError\getText(), DBQueryError\getTextContent(), FileJournal\getTimestampedUUID(), DatabaseInstaller\getWebUserBox(), Status\getWikiText(), lessc_parser\guard(), lessc_parser\guardGroup(), lessc_parser\guards(), CdbFunctions\hash(), Language\hebrewNumeral(), 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(), lessc_parser\interpolation(), DatabaseOracle\isQuotedIdentifier(), Language\isWellFormedLanguageTag(), ApiParse\languagesHtml(), Skin\lastModified(), CoreParserFunctions\lc(), CoreParserFunctions\lcfirst(), Language\listToText(), User\loadFromDatabase(), CoreParserFunctions\localurl(), CoreParserFunctions\localurle(), Skin\logoText(), ApiMain\logRequest(), Skin\mainPageLink(), FormatMetadata\makeFormattedData(), Linker\makeImageLink(), PPFuzzTester\makeInputText(), Linker\makeThumbLink2(), lessc_parser\mediaExpression(), lessc_parser\mediaQuery(), JavaScriptMinifier\minify(), lessc\multiplySelectors(), DatabaseMysql\mysqlRealEscapeString(), DatabaseMysqli\mysqlRealEscapeString(), Title\nameOf(), HtmlFormatterTest\normalize(), LanguageAr\normalize(), LanguageMl\normalize(), Language\normalize(), LanguageBe_tarask\normalizeForSearch(), LanguageYue\normalizeForSearch(), LanguageZh_hans\normalizeForSearch(), LanguageZh\normalizeForSearch(), CreditsAction\onView(), SpecialWatchlist\outputChangesList(), lessc_parser\parenValue(), JSParser\parse(), lessc_parser\parseChunk(), Language\parseFormattedNumber(), JSMinPlus\parseTree(), RebuildTextIndex\populateSearchIndex(), SearchHighlighter\position(), SpecialBlock\preText(), lessc_parser\propertyValue(), CdbTest\randomString(), OldChangesList\recentChangesLine(), Language\recodeForEdit(), Language\recodeInput(), DatabaseOracle\removeIdentifierQuotes(), LinkHolderArray\replaceInternal(), MockDatabaseSqlite\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(), SpecialAllpages\showToplevel(), ApiResult\size(), Language\sprintfDate(), WebInstaller\startPageWrapper(), DatabaseTestHelper\strencode(), DatabaseMysqlBase\strencode(), DatabaseSqlite\strencode(), DatabaseMssql\strencode(), DatabaseOracle\strencode(), lessc_parser\string(), Installer\subscribeToMediaWikiAnnounce(), lessc_parser\tag(), lessc_parser\tagBracket(), LanguageTest\testCheckTitleEncoding(), LanguageTest\testListToText(), Job\toString(), CoreParserFunctions\uc(), CoreParserFunctions\ucfirst(), CdbReaderPHP\unpack31(), CdbReaderPHP\unpackSigned(), CoreParserFunctions\urlencode(), CoreParserFunctions\urlFunction(), lessc_parser\value(), lessc_parser\variable(), wfGzipHandler(), wfHtmlValidationHandler(), wfMangleFlashPolicy(), wfOutputHandler(), OutputPage\wrapWikiMsg(), and DiffHistoryBlob\xdiffAdler32().

◆ else

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

Definition at line 175 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:156
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles['ExtensionNameMagic']
Definition: magicword.txt:43
$IP
$IP
Definition: WebStart.php:88