MediaWiki  1.28.0
tests/parser/parserTests.txt File Reference

Macros

#define the   'en' prefix, and originally the test used 'wikipedia',
 table suitable for use with IDatabase::select() More...
 

Variables

Foo</td >< tdstyle="color:red;">
Foo</td >< td > html2html 
!wikitext
 
width __pad0__
 
 f9f9f9
 
font id ="bug" /&gt
 
with space after!wikitext< div
style="width:50% ! important">
important</div >!html< div
style="width:50% ! important">
important</div >!end!test
HTML bullet 
list
 
Centered text</center >< div > & lt
 
In div text</div >!end!test Punctuation
 
Bar style ='color:brown
 
!article Main Page!text blah
blah!endarticle!article
Foo!text
FOO!endarticle!article 
Template
 
 title
 
 width
 

Macro Definition Documentation

array $fetchColumns List of column names to select from BatchRowIterator::the   'en' prefix, and originally the test used 'wikipedia',

table suitable for use with IDatabase::select()

Referenced by DumpBackup::__construct(), CleanupEmptyCategories::__construct(), PopulateCategory::__construct(), UpdateCollation::__construct(), BackupReader::__construct(), Exif::__construct(), JobQueueRedis::doAck(), RecompressTracked::doAllPages(), Parser::doTableStuff(), UpdateLogging::execute(), MWDocGen::execute(), QueryPage::execute(), RedisLockManager::freeLocksOnServer(), WebInstallerOptions::getCCDoneBox(), RedisLockManager::getLocksOnServer(), Revision::getText(), MediaWikiTitleCodec::getTitleInvalidRegex(), CheckLanguageCLI::help(), PoolCounterRedis::initAndPopPoolSlotList(), ChangesListSpecialPage::makeLegend(), SpecialBlock::maybeAlterFormDefaults(), Maintenance::maybeHelp(), mccShowUsage(), DatabaseOracle::open(), JobQueueRedis::popAndAcquireBlob(), SanitizerTest::provideHtml5Tags(), RevisionStorageTest::provideUserWasLastToEdit(), JobQueueRedis::pushBlobs(), ResourceLoader::register(), PoolCounterRedis::registerAcquisitionTime(), PoolCounterRedis::release(), Parser::replaceInternalLinks2(), MovePageForm::showForm(), LogEventsList::showLogExtract(), showUsage(), UserOptions::showUsageAndExit(), MediaWikiTitleCodec::splitTitleString(), TextContentTest::testDeletionUpdates(), TagHookTest::testFunctionTagHooks(), WikitextContentTest::testGetSecondaryDataUpdates(), WikitextStructureTest::testHeadings(), PathRouterTest::testLoose(), TagHookTest::testTagHooks(), UserOptions::warn(), wfMissingVendorError(), wfPHPVersionError(), and wfStreamThumb().

Variable Documentation

!wikitext
Initial value:
{|
|-
! foo
|}
!! html"></div>
!! end
!! test
Bug 2304: HTML attribute safety (safe parameter; 2309)
!! wikitext
{{div style|width: 200px}}
!! html
<div style="float: right

Definition at line 6602 of file parserTests.txt.

width __pad0__

Definition at line 16396 of file parserTests.txt.

f9f9f9

Definition at line 149 of file parserTests.txt.

font id ="bug" /&gt

Definition at line 17149 of file parserTests.txt.

Referenced by JobQueueRedis::pushBlobs().

with space after ! wikitext<div style="width:50% ! important"> important</div> ! html<div style="width:50% ! important"> important</div> !end ! test HTML bullet list

Definition at line 17186 of file parserTests.txt.

Centered text</center><div> & lt

Definition at line 17150 of file parserTests.txt.

</p >!end!test Punctuation

Definition at line 17163 of file parserTests.txt.

Foo and Baz!endarticle!article Template

Definition at line 134 of file parserTests.txt.

Referenced by ApiQueryRevisionsBase::extractRevisionInfo().

title

Definition at line 211 of file parserTests.txt.

Referenced by MediaWiki\Widget\ComplexTitleInputWidget::__construct(), MergeHistoryPager::__construct(), ErrorPageError::__construct(), UpdateCollation::__construct(), PageArchive::__construct(), RevisionListBase::__construct(), FileDeleteForm::__construct(), ImageHistoryList::__construct(), SearchUpdate::__construct(), FeedItem::__construct(), UnregisteredLocalFile::__construct(), CategoryViewer::__construct(), Job::__construct(), BacklinkCache::__construct(), ArchivedFile::__construct(), Exif::__construct(), JobSpecification::__construct(), PPFuzzTest::__construct(), File::__construct(), PPFrame_Hash::__construct(), PPFrame_DOM::__construct(), PPTemplateFrame_Hash::__construct(), PPTemplateFrame_DOM::__construct(), EmailNotification::actuallyNotifyOnPageChange(), CategoryMembershipChangeJobTest::addDBDataOnce(), SpecialChangeContentModel::alterForm(), LogFormatterTest::assertIRCComment(), File::assertTitleDefined(), DerivativeContext::canUseWikiPage(), EmailNotification::composeCommonMailtext(), CategoryViewer::doCategoryQuery(), RevDelFileList::doPostCommitUpdates(), RevDelRevisionList::doPostCommitUpdates(), RevDelRevisionList::doPreCommitUpdates(), ChangeTagsRevisionList::doQuery(), RevDelArchivedFileList::doQuery(), RevDelArchiveList::doQuery(), RevDelFileList::doQuery(), RevDelRevisionList::doQuery(), RevisionList::doQuery(), WebRequest::doSecurityRedirect(), SearchUpdate::doUpdate(), CategoryMembershipChangeJobTest::editPageText(), FileDeleteForm::execute(), ConvertLinks::execute(), PPFuzzTest::execute(), PPFrame_Hash::expand(), PPFrame_DOM::expand(), CategoryViewer::formatList(), BacklinkCache::get(), FileDeleteForm::getAction(), BacklinkCache::getCascadeProtectedLinks(), BacklinkCache::getConditions(), RevDelRevisionList::getCurrent(), ForeignDBFile::getDescriptionShortUrl(), LocalFile::getDescriptionShortUrl(), ForeignDBFile::getDescriptionText(), LocalFile::getDescriptionText(), LocalFile::getDescriptionTouched(), LocalFile::getDescriptionUrl(), SpecialChangeContentModel::getFormFields(), LocalFile::getHistory(), CategoryViewer::getImageSection(), PageArchive::getLastRevisionText(), File::getName(), SearchUpdate::getNormalizedTitle(), BacklinkCache::getNumLinks(), CategoryViewer::getPagesSection(), PPFrame_Hash::getPDBK(), PPFrame_DOM::getPDBK(), PageArchive::getPreviousRevision(), ImportTest::getRedirectXML(), PPFuzzTest::getReport(), PageArchive::getRevision(), FeedItem::getTitle(), WatchedItem::getTitle(), DerivativeContext::getTitle(), RequestContext::getTitle(), ArchivedFile::getTitle(), ImportTest::getUnknownTagsXML(), RequestContext::hasTitle(), ImageHistoryList::imageHistoryLine(), WikiRevision::importOldRevision(), PageArchive::isDeleted(), LogPager::limitTitle(), PageArchive::listFiles(), PageArchive::listRevisions(), ArchivedFile::load(), ArchivedFile::loadFromRow(), LocalFile::move(), PPFrame_Hash::newChild(), PPFrame_DOM::newChild(), LogFormatterTest::newLogEntry(), LocalFile::nextHistoryLine(), SpecialChangeContentModel::onSubmit(), SpecialChangeContentModel::onSuccess(), RSSFeed::outHeader(), AtomFeed::outHeader(), RSSFeed::outItem(), AtomFeed::outItem(), WebInstallerOutput::outputFooter(), WebInstallerOutput::outputHeader(), WebInstallerOutput::outputShortHeader(), CoreParserFunctions::pagesincategory(), CategoryViewer::pagingLinks(), BacklinkCache::partition(), SpecialJavaScriptTest::plainQUnit(), FileDeleteForm::prepareMessage(), ErrorPageError::report(), EnotifNotifyJob::run(), ThumbnailRenderJob::run(), DeleteLinksJob::run(), RefreshLinksJob::run(), DoubleRedirectJob::run(), TitlePermissionTest::runCSSandJSPermissions(), TitlePermissionTest::runGroupPermissions(), FileDeleteForm::setHeaders(), SpecialChangeContentModel::setParameter(), TitlePermissionTest::setTitle(), WikiRevision::setTitle(), DerivativeContext::setTitle(), RequestContext::setTitle(), RecentChangeTest::setUp(), ArticleTest::setUp(), ParserPreloadTest::setUp(), TitlePermissionTest::setUp(), LogFormatterTest::setUp(), RevDelList::setVisibility(), FileDeleteForm::showForm(), FileDeleteForm::showLogEntries(), ArticleTest::tearDown(), ParserPreloadTest::tearDown(), TitlePermissionTest::testActionPermissions(), TitlePermissionTest::testCascadingSourcesRestrictions(), RecentChangeTest::testHiddenCategoryChange(), LogFormatterTest::testLogParamsTypeRaw(), LogFormatterTest::testLogParamsTypeTitleLink(), LogFormatterTest::testNormalLogParams(), TitlePermissionTest::testPageRestrictions(), TitlePermissionTest::testQuickPermissions(), TitlePermissionTest::testSpecialsAndNSPermissions(), SideBarTest::testTrickyPipe(), TitlePermissionTest::testUserBlock(), JobSpecification::toSerializableArray(), Job::toString(), PageArchive::undelete(), PageArchive::undeleteRevisions(), ActivityUpdateJob::updateWatchlistNotification(), ApiWatch::watchTitle(), wfGenericError(), and wfThumbError().

width
Initial value:
="10px" |
!! endarticle
Template:table_attribs_5
!! text
<noinclude>
|</noinclude>style="color:red;"||Bar
!! endarticle
Template:table_attribs_6
!! text
style="background: <nowiki>
red;</nowiki>" |
!! endarticle
Template:table_attribs_7
!! text
<noinclude>
|</noinclude>style{{=}}"background:&#35;f9f9f9;"|Foo<ref>foo</ref>
!! endarticle
Template:table_header_cells
!! text
{{table_attribs}}!!style='color:red
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an article
Definition: design.txt:25
!article Main Page!text blah blah!endarticle!article Foo!text FOO!endarticle!article Template
Bar style
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
Definition: design.txt:12
Further assume MyExt::onFoo needs service Bar
Definition: injection.txt:214

Definition at line 155 of file parserTests.txt.

Referenced by ArchivedFile::__construct(), Exif::__construct(), ThumbnailImage::__construct(), MediaTransformError::__construct(), ArchivedFile::loadFromRow(), LocalFile::recordUpload2(), OldLocalFile::upgradeRow(), and LocalFile::upgradeRow().