MediaWiki REL1_37
|
Go to the source code of this file.
Variables | |
$collator = Collator::create( 'root' ) | |
$contributors = [] | |
if(PHP_SAPI !='cli') | $CREDITS = 'CREDITS' |
Update the CREDITS list by merging in the list of git commit authors. | |
$END_CONTRIBUTORS = '<!-- END CONTRIBUTOR LIST -->' | |
$footer = [] | |
$header = [] | |
$inFooter = false | |
$inHeader = true | |
if(!file_exists( $CREDITS)) | $lines = explode( "\n", file_get_contents( $CREDITS ) ) |
$START_CONTRIBUTORS = '<!-- BEGIN CONTRIBUTOR LIST -->' | |
$collator = Collator::create( 'root' ) |
Definition at line 74 of file updateCredits.php.
foreach ($lines as $line) $contributors = [] |
Definition at line 38 of file updateCredits.php.
Referenced by CreditsAction\getContributors().
if (PHP_SAPI !='cli') $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. http://www.gnu.org/copyleft/gpl.html
Definition at line 31 of file updateCredits.php.
$END_CONTRIBUTORS = '<!-- END CONTRIBUTOR LIST -->' |
Definition at line 33 of file updateCredits.php.
$footer = [] |
Definition at line 39 of file updateCredits.php.
Referenced by SpecialStatistics\execute().
$header = [] |
Definition at line 37 of file updateCredits.php.
Referenced by DifferenceEngine\addHeader(), OutputPage\addLinkHeader(), WikitextContent\addSectionHeader(), OutputPage\addVaryHeader(), Xml\buildTable(), MediaWiki\HeaderCallback\callback(), ApiFormatBase\closePrinter(), Wikimedia\StaticArrayWriter\create(), WebPHandler\decodeExtendedChunkHeader(), WebPHandler\decodeLosslessChunkHeader(), WebPHandler\decodeLossyChunkHeader(), SwiftFileBackend\doStreamFile(), DjVuImage\dump(), SpecialStatistics\formatRowHeader(), PreferencesFormOOUI\getBody(), Profiler\getContentType(), MultiHttpClient\getCurlHandle(), WebResponse\getHeader(), DjVuImage\getInfo(), SpecialStatistics\getOtherStats(), MWHttpRequest\getResponseHeader(), DifferenceEngine\getRevisionHeader(), BmpHandler\getSizeAndMetadata(), XCFHandler\getSizeAndMetadata(), SpecialMediaStatistics\getTableHeaderRow(), OutputPage\getVaryHeader(), MediaWiki\Session\SessionManager\getVaryHeaders(), XCFHandler\getXCFMetaData(), MediaWiki\OutputHandler\handleGzip(), MWException\header(), MWExceptionRenderer\header(), Wikimedia\Http\SetCookieCompat\header(), ApiFormatBase\initPrinter(), ApiMain\logRequest(), RecompressTracked\logToFile(), InfoAction\makeHeader(), ApiMain\modifyHelp(), InfoAction\onView(), SpecialListGroupRights\outputNamespaceProtectionInfo(), MediaWiki\Rest\HeaderParser\IfNoneMatch\parseHeader(), MWHttpRequest\parseHeader(), MediaWiki\Rest\HeaderParser\IfNoneMatch\parseHeaderList(), DiffHistoryBlob\patch(), HTTPFileStreamer\preprocessHeaders(), DjVuImage\readChunk(), DiffFormatter\startBlock(), TableDiffFormatter\startBlock(), HTTPFileStreamer\stream(), and Wikimedia\StaticArrayWriter\write().
$inFooter = false |
Definition at line 36 of file updateCredits.php.
$inHeader = true |
Definition at line 35 of file updateCredits.php.
$lines = explode( "\n", file_get_contents( $CREDITS ) ) |
Definition at line 45 of file updateCredits.php.
Referenced by DiffOpAdd\__construct(), DiffOpDelete\__construct(), DiffFormatter\added(), TableDiffFormatter\added(), UnifiedDiffFormatter\added(), Skin\addToSidebarPlain(), Diff\closing(), WordLevelDiff\closing(), DiffFormatter\context(), TableDiffFormatter\context(), DiffFormatter\deleted(), TableDiffFormatter\deleted(), UnifiedDiffFormatter\deleted(), Installer\envCheckShellLocale(), HTMLFormField\formatErrors(), ClassCollector\getClasses(), UploadBase\getFilenamePrefixBlacklist(), WikiTextStructure\getIgnoredHeadings(), MediaWiki\Rest\HeaderContainer\getRawHeaderLines(), FormatMetadata\getVisibleFields(), Parser\handleAllQuotes(), Parser\handleTables(), SearchHighlighter\highlightSimple(), MediaWiki\BadFileLookup\isBadFile(), MediaWiki\Block\DatabaseBlock\isExemptedFromAutoblocks(), DiffFormatter\lines(), UnifiedDiffFormatter\lines(), Diff\orig(), WordLevelDiff\orig(), ForeignResourceManager\parseBasicYaml(), WikiTextStructure\parseSettingsInMessage(), EnhancedChangesList\recentChangesBlockGroup(), Parser\renderImageGallery(), DiffEngine\shiftBoundaries(), and WordLevelDiff\split().
$START_CONTRIBUTORS = '<!-- BEGIN CONTRIBUTOR LIST -->' |
Definition at line 32 of file updateCredits.php.