MediaWiki master
mwdoc-filter.php File Reference

Go to the source code of this file.

Variables

 $source = file_get_contents( $argv[1] )
 
 if (PHP_SAPI !='cli' &&PHP_SAPI !='phpdbg')
 Filter for PHP source code that allows Doxygen to understand it better.
 

Variable Documentation

◆ $source

$source = file_get_contents( $argv[1] )

Definition at line 34 of file mwdoc-filter.php.

Referenced by SVGReader\__construct(), MediaWiki\Config\ServiceOptions\__construct(), MediaWiki\Settings\Cache\CachedSource\__construct(), MediaWiki\Pager\MergeHistoryPager\__construct(), WikiImporter\__construct(), MediaWiki\Parser\RemexRemoveTagHandler\__construct(), MediaWiki\Site\Site\__serialize(), MediaWiki\Request\ContentSecurityPolicy\addDefaultSrc(), MediaWiki\Request\ContentSecurityPolicy\addScriptSrc(), MediaWiki\ResourceLoader\ResourceLoader\addSource(), MediaWiki\Request\ContentSecurityPolicy\addStyleSrc(), MediaWiki\Auth\AuthManager\autoCreateUser(), FileRepo\concatenate(), MediaWiki\Rest\Validator\Validator\detectExtraneousBodyFields(), MediaWiki\Installer\Installer\dirIsExecutable(), Wikimedia\FileBackend\FSFileBackend\doGetLocalCopyMulti(), Wikimedia\FileBackend\FSFileBackend\doGetLocalReferenceMulti(), MediaWiki\Api\ApiImport\execute(), MediaWiki\Rest\SimpleHandler\execute(), DumpIterator\execute(), InitUserPreference\execute(), GenerateNormalizerDataAr\execute(), GenerateNormalizerDataMl\execute(), MoveBatch\execute(), DumpRenderer\execute(), Wikimedia\Rdbms\Database\executeQuery(), MediaWiki\Specials\SpecialUpload\getInitialPageText(), MediaWiki\ResourceLoader\ResourceLoader\getLoadScript(), MediaWiki\Storage\NameTableStore\getName(), WikiPage\getRedirectURL(), ImportableUploadRevisionImporter\import(), MediaWiki\User\Options\UserOptionsManager\isOptionGlobal(), MediaWiki\Rest\Handler\ParsoidHandler\languageConversion(), MediaWiki\ResourceLoader\ClientHtml\makeLoad(), MediaWiki\Settings\Config\MergeStrategy\merge(), MediaWiki\Maintenance\Maintenance\newBatchIterator(), RevertAction\onSubmit(), MediaWiki\Specials\SpecialVersion\parseForeignResources(), CleanupImages\processRow(), MediaWiki\Parser\DateFormatter\reformat(), UploadSourceAdapter\registerSource(), StatusValue\replaceMessage(), Wikimedia\FileBackend\FileOps\FileOp\resolveFileExistence(), Wikimedia\FileBackend\FileOps\FileOp\resolveFileSha1Base36(), Wikimedia\FileBackend\FileOps\FileOp\resolveFileSize(), MediaWiki\Rest\Validator\Validator\validateBodyParams(), MediaWiki\Rest\Validator\Validator\validateParams(), and wfSetVar().

◆ if

if(PHP_SAPI !='cli' &&PHP_SAPI !='phpdbg') ( PHP_SAPI ! = 'cli' && PHP_SAPI != 'phpdbg')

Filter for PHP source code that allows Doxygen to understand it better.

This CLI script is intended to be configured as the INPUT_FILTER script in a Doxyfile, e.g. like "php mwdoc-filter.php".

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 28 of file mwdoc-filter.php.