MediaWiki REL1_28
tests/parser/parserTests.txt File Reference

Variables

Foo</td >< td style="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
 

Variable Documentation

◆ !wikitext

!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 6601 of file parserTests.txt.

◆ __pad0__

width __pad0__

Definition at line 16391 of file parserTests.txt.

◆ f9f9f9

f9f9f9

Definition at line 149 of file parserTests.txt.

◆ id

font id ="bug" /&gt

Definition at line 17163 of file parserTests.txt.

Referenced by JobQueueRedis::pushBlobs().

◆ list

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 17200 of file parserTests.txt.

◆ lt

logged in & lt
Initial value:
{{int:Accesskey-contributions}}
</td></tr><tr><td>
</td><td>
Apache License January http
accesskey contributions & amp

Definition at line 17164 of file parserTests.txt.

◆ Punctuation

</p > !end !test Punctuation

Definition at line 17173 of file parserTests.txt.

◆ style

◆ Template

Foo and Baz !endarticle !article Template

Definition at line 59 of file parserTests.txt.

Referenced by ApiQueryRevisionsBase::extractRevisionInfo().

◆ title

title

Definition at line 211 of file parserTests.txt.

Referenced by Job::__construct(), FileDeleteForm::__construct(), Exif::__construct(), SearchUpdate::__construct(), ImageHistoryList::__construct(), PPFrame_DOM::__construct(), PPFrame_Hash::__construct(), PPTemplateFrame_DOM::__construct(), PPTemplateFrame_Hash::__construct(), PPFuzzTest::__construct(), FeedItem::__construct(), ArchivedFile::__construct(), ErrorPageError::__construct(), File::__construct(), PageArchive::__construct(), CategoryViewer::__construct(), UnregisteredLocalFile::__construct(), JobSpecification::__construct(), UpdateCollation::__construct(), MediaWiki\Widget\ComplexTitleInputWidget::__construct(), RevisionListBase::__construct(), MergeHistoryPager::__construct(), BacklinkCache::__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_DOM::expand(), PPFrame_Hash::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(), SpecialContributions::getForm(), SpecialChangeContentModel::getFormFields(), LocalFile::getHistory(), CategoryViewer::getImageSection(), PageArchive::getLastRevisionText(), File::getName(), SearchUpdate::getNormalizedTitle(), BacklinkCache::getNumLinks(), CategoryViewer::getPagesSection(), PPFrame_DOM::getPDBK(), PPFrame_Hash::getPDBK(), PageArchive::getPreviousRevision(), ImportTest::getRedirectXML(), PPFuzzTest::getReport(), PageArchive::getRevision(), DerivativeContext::getTitle(), RequestContext::getTitle(), FeedItem::getTitle(), ArchivedFile::getTitle(), WatchedItem::getTitle(), ImportTest::getUnknownTagsXML(), RequestContext::hasTitle(), ImageHistoryList::imageHistoryLine(), WikiRevision::importOldRevision(), PageArchive::isDeleted(), LogPager::limitTitle(), PageArchive::listFiles(), PageArchive::listRevisions(), ArchivedFile::load(), ArchivedFile::loadFromRow(), LocalFile::move(), PPFrame_DOM::newChild(), PPFrame_Hash::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(), DeleteLinksJob::run(), DoubleRedirectJob::run(), EnotifNotifyJob::run(), RefreshLinksJob::run(), ThumbnailRenderJob::run(), TitlePermissionTest::runCSSandJSPermissions(), TitlePermissionTest::runGroupPermissions(), FileDeleteForm::setHeaders(), SpecialChangeContentModel::setParameter(), TitlePermissionTest::setTitle(), WikiRevision::setTitle(), DerivativeContext::setTitle(), RequestContext::setTitle(), RecentChangeTest::setUp(), LogFormatterTest::setUp(), ArticleTest::setUp(), ParserPreloadTest::setUp(), TitlePermissionTest::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(), wfGenericError(), wfImageAuthMain(), and wfThumbError().

◆ width

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
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:18
Further assume MyExt::onFoo needs service Bar
!article Main Page !text blah blah !endarticle !article Foo !text FOO !endarticle !article Template
Bar style

Definition at line 155 of file parserTests.txt.

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