MediaWiki  1.33.0
updateCredits.php File Reference

Go to the source code of this file.


 $collator = Collator::create( 'root' )
 $contributors = []
if(PHP_SAPI !='cli') if(!extension_loaded( 'intl')) $CREDITS = 'CREDITS'
 Update the CREDITS list by merging in the list of git commit authors. More...
 $footer = []
 $header = []
 $inFooter = false
 $inHeader = true
if(!file_exists( $CREDITS)) $lines = explode( "\n", file_get_contents( $CREDITS ) )

Variable Documentation

◆ $collator

$collator = Collator::create( 'root' )

Definition at line 78 of file updateCredits.php.

◆ $contributors

foreach ($lines as $line) $contributors = []

Definition at line 42 of file updateCredits.php.

Referenced by CreditsAction\getContributors(), and InfoAction\getContributors().


if (PHP_SAPI !='cli') if (!extension_loaded('intl')) $CREDITS = 'CREDITS'

Update the CREDITS list by merging in the list of git commit authors.

The contents of the existing contributors list will be preserved. If a name needs to be removed for some reason that must be done manually before or after running this script.

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.

Definition at line 35 of file updateCredits.php.



Definition at line 37 of file updateCredits.php.

◆ $footer

$footer = []

Definition at line 43 of file updateCredits.php.

Referenced by SpecialStatistics\execute().

◆ $header

$header = []

Definition at line 41 of file updateCredits.php.

Referenced by DifferenceEngine\addHeader(), WikitextContent\addSectionHeader(), Xml\buildTable(), MediaWiki\HeaderCallback\callback(), ApiFormatBase\closePrinter(), Wikimedia\StaticArrayWriter\create(), WebPHandler\decodeExtendedChunkHeader(), WebPHandler\decodeLosslessChunkHeader(), WebPHandler\decodeLossyChunkHeader(), MimeAnalyzer\detectZipType(), SwiftFileBackend\doStreamFile(), UpdateLexerList\execute(), SpecialStatistics\formatRowHeader(), Profiler\getContentType(), MultiHttpClient\getCurlHandle(), WebResponse\getHeader(), BmpHandler\getImageSize(), XCFHandler\getImageSize(), XCFHandler\getMetadata(), SpecialStatistics\getOtherStats(), MWHttpRequest\getResponseHeader(), DifferenceEngine\getRevisionHeader(), MediaStatisticsPage\getTableHeaderRow(), MediaWiki\Session\SessionManager\getVaryHeaders(), XCFHandler\getXCFMetaData(), MediaWiki\OutputHandler\handleGzip(), MWExceptionRenderer\header(), MWException\header(), ApiFormatBase\initPrinter(), ApiMain\logRequest(), RecompressTracked\logToFile(), InfoAction\makeHeader(), ApiMain\modifyHelp(), InfoAction\onView(), SpecialListGroupRights\outputNamespaceProtectionInfo(), MWHttpRequest\parseHeader(), DiffHistoryBlob\patch(), XmlTest\provideMonthSelector(), MediaWiki\Tests\Maintenance\BaseDumpTest\setUpPrefetch(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\setUpStub(), TableDiffFormatter\startBlock(), DiffFormatter\startBlock(), HTTPFileStreamer\stream(), ApiMainTest\testConditionalRequestHeadersOutput(), WebPHandlerTest\testExtractMetaData(), HttpErrorTest\testGetHtml(), HttpAcceptParserTest\testParseWeights(), and MediaWiki\Logger\Monolog\MwlogHandler\write().

◆ $inFooter

$inFooter = false

Definition at line 40 of file updateCredits.php.

◆ $inHeader

$inHeader = true

Definition at line 39 of file updateCredits.php.

◆ $lines

$lines = explode( "\n", file_get_contents( $CREDITS ) )

Definition at line 49 of file updateCredits.php.



Definition at line 36 of file updateCredits.php.