MediaWiki  master
mwdoc-filter.php File Reference

Doxygen filter to show correct member variable types in documentation. More...

Go to the source code of this file.

Variables

 $regexp = '#\@var\s+([^\s]+)([^/]+)/\s+(var|public|protected|private)\s+(\$[^\s;=]+)#'
 $replac = '${2} */ ${3} ${1} ${4}'
 $source = file_get_contents( $argv[1] )

Detailed Description

Doxygen filter to show correct member variable types in documentation.

Should be filled in doxygen INPUT_FILTER as "php mwdoc-filter.php"

Original source code by Goran Rakic http://blog.goranrakic.com/ http://stackoverflow.com/questions/4325224

Definition in file mwdoc-filter.php.


Variable Documentation

$regexp = '#\@var\s+([^\s]+)([^/]+)/\s+(var|public|protected|private)\s+(\$[^\s;=]+)#'
$replac = '${2} */ ${3} ${1} ${4}'

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

$source = file_get_contents( $argv[1] )

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

Referenced by WikiImporter\__construct(), SVGReader\__construct(), MergeHistoryPager\__construct(), SpecialImport\doImport(), FileBackendTest\doTestConcatenate(), FileBackendTest\doTestCopy(), FileBackendTest\doTestDelete(), FileBackendTest\doTestGetFileContents(), FileBackendTest\doTestGetFileHttpUrl(), FileBackendTest\doTestGetLocalCopy(), FileBackendTest\doTestGetLocalReference(), FileBackendTest\doTestMove(), FileBackendTest\doTestStore(), ApiImport\execute(), DumpIterator\execute(), DumpRenderer\execute(), MoveBatch\execute(), GenerateNormalizerData\generateArabic(), GenerateNormalizerData\generateMalayalam(), Interwiki\getAllPrefixesCached(), CSSMin\getLocalFileReferences(), ResourceLoaderStartUpModule\getModuleRegistrations(), ApiQueryInfo\getProtectionInfo(), BackupReader\importFromHandle(), ResourceLoader\makeCustomLoaderScript(), ResourceLoader\makeLoaderRegisterScript(), RevertFileAction\onSubmit(), ImageCleanup\processRow(), FileBackendTest\provider_testCopy(), FileBackendTest\provider_testDelete(), FileBackendTest\provider_testMove(), UploadSourceAdapter\registerSource(), CSSMin\remap(), Status\replaceMessage(), CheckStorage\restoreText(), AddContentToNewPageTestCase\testAddExternalLink(), AddContentToNewPageTestCase\testAddInternalLinkNewPage(), AddContentToNewPageTestCase\testAddLevel2HeadLine(), AddNewPageTestCase\testAddNewPage(), AddContentToNewPageTestCase\testAddNoWikiFormat(), AddContentToNewPageTestCase\testAddUserSignature(), SimpleSeleniumTestCase\testBasic(), DeletePageAdminTestCase\testDeletePage(), FileBackendTest\testGetFileContents(), FileBackendTest\testGetFileHttpUrl(), FileBackendTest\testGetLocalCopy(), FileBackendTest\testGetLocalReference(), TitleTest\testIsValidMoveOperation(), PageSearchTestCase\testPageSearchBtnGo(), PageSearchTestCase\testPageSearchBtnSearch(), PreviewPageTestCase\testPreviewPage(), SavePageTestCase\testSavePage(), and wfSetVar().