# The parsoid-compatible option below is only relevant when we are running # parser tests in integrated mode with Parsoid. This option is ignored # when this test file is run with Parsoid in standalone mode. !! options parsoid-compatible=wt2html,wt2wt version=2 !! end # Note that the current date is hard-coded as # 1970-01-01T00:02:03Z (a Thursday) # when running parser tests. The timezone is also fixed to GMT, so # local date will be identical to current date. !! test Magic Word: {{CURRENTDAY}} !! wikitext {{CURRENTDAY}} !! html/php
1
!! html/parsoid+integrated1
!! end !! test Magic Word: {{CURRENTDAY2}} !! wikitext {{CURRENTDAY2}} !! html/php01
!! html/parsoid+integrated01
!! end !! test Magic Word: {{CURRENTDAYNAME}} !! wikitext {{CURRENTDAYNAME}} !! html/phpThursday
!! html/parsoid+integratedThursday
!! end !! test Magic Word: {{CURRENTDOW}} !! wikitext {{CURRENTDOW}} !! html/php4
!! html/parsoid+integrated4
!! end !! test Magic Word: {{CURRENTMONTH}} !! wikitext {{CURRENTMONTH}} !! html/php01
!! html/parsoid+integrated01
!! end !! test Magic Word: {{CURRENTMONTH1}} !! wikitext {{CURRENTMONTH1}} !! html/php1
!! html/parsoid+integrated1
!! end !! test Magic Word: {{CURRENTMONTHABBREV}} !! wikitext {{CURRENTMONTHABBREV}} !! html/phpJan
!! html/parsoid+integratedJan
!! end !! test Magic Word: {{CURRENTMONTHNAME}} !! wikitext {{CURRENTMONTHNAME}} !! html/phpJanuary
!! html/parsoid+integratedJanuary
!! end !! test Magic Word: {{CURRENTMONTHNAMEGEN}} !! wikitext {{CURRENTMONTHNAMEGEN}} !! html/phpJanuary
!! html/parsoid+integratedJanuary
!! end !! test Magic Word: {{CURRENTTIME}} !! wikitext {{CURRENTTIME}} !! html/php00:02
!! html/parsoid+integrated00:02
!! end !! test Magic Word: {{CURRENTHOUR}} !! wikitext {{CURRENTHOUR}} !! html/php00
!! html/parsoid+integrated00
!! end !! test Magic Word: {{CURRENTWEEK}} (T6594) !! wikitext {{CURRENTWEEK}} !! html/php1
!! html/parsoid+integrated1
!! end !! test Magic Word: {{CURRENTYEAR}} !! wikitext {{CURRENTYEAR}} !! html/php1970
!! html/parsoid+integrated1970
!! end !! test Magic Word: {{CURRENTTIMESTAMP}} !! wikitext {{CURRENTTIMESTAMP}} !! html/php19700101000203
!! html/parsoid+integrated19700101000203
!! end !! test Magic Words LOCAL (UTC) !! wikitext *{{LOCALMONTH}} *{{LOCALMONTH1}} *{{LOCALMONTHNAME}} *{{LOCALMONTHNAMEGEN}} *{{LOCALMONTHABBREV}} *{{LOCALDAY}} *{{LOCALDAY2}} *{{LOCALDAYNAME}} *{{LOCALYEAR}} *{{LOCALTIME}} *{{LOCALHOUR}} *{{LOCALWEEK}} *{{LOCALDOW}} *{{LOCALTIMESTAMP}} !! html/phpUser:Ævar Arnfjörð Bjarmason
!! html/parsoid+integratedUser:Ævar Arnfjörð Bjarmason
!! end !! test Magic Word: {{FULLPAGENAMEE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{FULLPAGENAMEE}} !! html/phpUser:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integratedUser:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{TALKSPACE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{TALKSPACE}} !! html/phpUser talk
!! html/parsoid+integratedUser talk
!! end !! test Magic Word: {{TALKSPACE}}, same namespace !! options title=[[User talk:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{TALKSPACE}} !! html/phpUser talk
!! html/parsoid+integratedUser talk
!! end !! test Magic Word: {{TALKSPACE}}, main namespace !! options title=[[Parser Test]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{TALKSPACE}} !! html/phpTalk
!! html/parsoid+integratedTalk
!! end !! test Magic Word: {{TALKSPACEE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{TALKSPACEE}} !! html/phpUser_talk
!! html/parsoid+integratedUser_talk
!! end !! test Magic Word: {{SUBJECTSPACE}} !! options title=[[User talk:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBJECTSPACE}} !! html/phpUser
!! html/parsoid+integratedUser
!! end !! test Magic Word: {{SUBJECTSPACE}}, same namespace !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBJECTSPACE}} !! html/phpUser
!! html/parsoid+integratedUser
!! end !! test Magic Word: {{SUBJECTSPACE}}, main namespace !! options title=[[Parser Test]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBJECTSPACE}} !! html/php !! html/parsoid+integrated !! end !! test Magic Word: {{SUBJECTSPACEE}} !! options title=[[User talk:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBJECTSPACEE}} !! html/phpUser
!! html/parsoid+integratedUser
!! end !! test Magic Word: {{NAMESPACE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{NAMESPACE}} !! html/phpUser
!! html/parsoid+integratedUser
!! end !! test Magic Word: {{NAMESPACEE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{NAMESPACEE}} !! html/phpUser
!! html/parsoid+integratedUser
!! end !! test Magic Word: {{NAMESPACENUMBER}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{NAMESPACENUMBER}} !! html/php2
!! html/parsoid+integrated2
!! end !! test Magic Word: {{SUBPAGENAME}} !! options title=[[Ævar Arnfjörð Bjarmason/sub ö]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBPAGENAME}} !! html/phpsub ö
!! html/parsoid+integratedsub ö
!! end !! test Magic Word: {{SUBPAGENAMEE}} !! options title=[[Ævar Arnfjörð Bjarmason/sub ö]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{SUBPAGENAMEE}} !! html/phpsub_%C3%B6
!! html/parsoid+integratedsub_%C3%B6
!! end !! test Magic Word: {{ROOTPAGENAME}} !! options title=[[Ævar Arnfjörð Bjarmason/sub/sub2]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{ROOTPAGENAME}} !! html/phpÆvar Arnfjörð Bjarmason
!! html/parsoid+integratedÆvar Arnfjörð Bjarmason
!! end !! test Magic Word: {{ROOTPAGENAMEE}} !! options title=[[Ævar Arnfjörð Bjarmason/sub/sub2]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{ROOTPAGENAMEE}} !! html/php%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integrated%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{BASEPAGENAME}} !! options title=[[Ævar Arnfjörð Bjarmason/sub]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{BASEPAGENAME}} !! html/phpÆvar Arnfjörð Bjarmason
!! html/parsoid+integratedÆvar Arnfjörð Bjarmason
!! end !! test Magic Word: {{BASEPAGENAMEE}} !! options title=[[Ævar Arnfjörð Bjarmason/sub]] subpage parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{BASEPAGENAMEE}} !! html/php%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integrated%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{TALKPAGENAME}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{TALKPAGENAME}} !! html/phpUser talk:Ævar Arnfjörð Bjarmason
!! html/parsoid+integratedUser talk:Ævar Arnfjörð Bjarmason
!! end !! test Magic Word: {{TALKPAGENAMEE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{TALKPAGENAMEE}} !! html/phpUser_talk:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integratedUser_talk:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{SUBJECTPAGENAME}} !! options title=[[User talk:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{SUBJECTPAGENAME}} !! html/phpUser:Ævar Arnfjörð Bjarmason
!! html/parsoid+integratedUser:Ævar Arnfjörð Bjarmason
!! end !! test Magic Word: {{SUBJECTPAGENAMEE}} !! options title=[[User talk:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{SUBJECTPAGENAMEE}} !! html/phpUser:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integratedUser:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{NUMBEROFFILES}} !! options parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{NUMBEROFFILES}} !! html/php8
!! html/parsoid+integrated8
!! end !! test Magic Word: {{PAGENAME}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext {{PAGENAME}} !! html/phpÆvar Arnfjörð Bjarmason
!! html/parsoid+integratedÆvar Arnfjörð Bjarmason
!! end !! test Magic Word: {{PAGENAME}} with metacharacters !! options title=[['foo & bar = baz']] parsoid={ "modes": ["wt2html","wt2wt"] } !! wikitext ''{{PAGENAME}}'' !! html/php'foo & bar = baz'
!! html/parsoid+integrated'foo & bar = baz'
!! end !! test Magic Word: {{PAGENAME}} with metacharacters (T28781) !! options title=[[*RFC 1234 http://example.com/]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{PAGENAME}} !! html/php*RFC 1234 http://example.com/
!! html/parsoid+integrated*RFC 1234 http://example.com/
!! end !! test Magic Word: {{PAGENAMEE}} !! options title=[[User:Ævar Arnfjörð Bjarmason]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{PAGENAMEE}} !! html/php%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! html/parsoid+integrated%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason
!! end !! test Magic Word: {{PAGENAMEE}} with metacharacters (T28781) !! options title=[[*RFC 1234 http://example.com/]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{PAGENAMEE}} !! html/php*RFC_1234_http://example.com/
!! html/parsoid+integrated*RFC_1234_http://example.com/
!! end !! test Magic Word: {{REVISIONID}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONID}} !! metadata/integrated flags=vary-revision-id !! html/php1337
!! html/parsoid+integrated1337
!! end !! test Magic Word: {{REVISIONID}} on non-latest revision !! options parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONID}} !! metadata/integrated flags=vary-revision-id !! html/php1337
!! html/parsoid+integrated1337
!! end !! test Magic Word: {{REVISIONTIMESTAMP}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONTIMESTAMP}} !! metadata/integrated flags= !! html/php19700101000203
!! html/parsoid+integrated19700101000203
!! end !! test Magic Word: {{REVISIONTIMESTAMP:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONTIMESTAMP:{{PAGENAME}}}} !! metadata/integrated flags= !! html/php19700101000203
!! html/parsoid+integrated19700101000203
!! end !! test Magic Word: {{REVISIONTIMESTAMP}} on not-yet-existing current page !! options title=[[This page does not exist]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONTIMESTAMP}} !! metadata/integrated flags=vary-revision-timestamp !! html/php19700101000203
!! html/parsoid+integrated19700101000203
!! end !! test Magic Word: {{REVISIONTIMESTAMP:{{PAGENAME}}}} on not-yet-existing current page !! options title=[[This page does not exist]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONTIMESTAMP:{{PAGENAME}}}} !! metadata/integrated flags=vary-revision-timestamp !! html/php19700101000203
!! html/parsoid+integrated19700101000203
!! end !! test Magic Word: {{REVISIONTIMESTAMP:...}}} on non-existing non-current page !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONTIMESTAMP:This page does not exist}} !! metadata/integrated flags= !! html/php !! html/parsoid+integrated !! end !! test Magic Word: {{REVISIONUSER}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONUSER}} !! metadata/integrated flags=vary-user !! html/php127.0.0.1
!! html/parsoid+integrated127.0.0.1
!! end !! test Magic Word: {{REVISIONUSER}} on not-yet-existing current page !! options title=[[This page does not exist]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONUSER}} !! metadata/integrated flags=vary-user !! html/php !! html/parsoid+integrated !! end !! test Magic Word: {{REVISIONUSER:{{PAGENAME}}}} on not-yet-existing current page !! options title=[[This page does not exist]] parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONUSER:{{PAGENAME}}}} !! metadata/integrated flags=vary-user !! html/php !! html/parsoid+integrated !! end !! test Magic Word: {{REVISIONUSER:...}} on non-existing non-current page !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONUSER:This page does not exist}} !! metadata/integrated flags= !! html/php !! html/parsoid+integrated !! end !! test Magic Word: {{REVISIONUSER}} on non-latest revision !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONUSER}} !! metadata/integrated flags=vary-user !! html/php !! html/parsoid+integrated !! end !! test Parser Function: {{REVISIONID:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONID:{{PAGENAME}}}} !! metadata/integrated flags=vary-revision-id !! html/php1337
!! html/parsoid+integrated1337
!! end !! test Parser Function: {{REVISIONID:{{PAGENAME}}}} on non-saved revision !! options parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONID:{{PAGENAME}}}} !! metadata/integrated flags=vary-revision-id !! html/php !! html/parsoid+integrated !! end !! test Parser Function: {{REVISIONDAY}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONDAY}} !! metadata/integrated flags= !! html/php1
!! html/parsoid+integrated1
!! end !! test Parser Function: {{REVISIONDAY:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONDAY:{{PAGENAME}}}} !! metadata/integrated flags= !! html/php1
!! html/parsoid+integrated1
!! end !! test Parser Function: {{REVISIONMONTH}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } showflags !! wikitext {{REVISIONMONTH}} !! metadata/integrated flags= !! html/php01
!! html/parsoid+integrated01
!! end !! test Parser Function: {{REVISIONMONTH:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONMONTH:{{PAGENAME}}}} !! metadata/integrated flags= !! html/php01
!! html/parsoid+integrated01
!! end !! test Parser Function: {{REVISIONYEAR:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{REVISIONYEAR:{{PAGENAME}}}} !! metadata/integrated flags= !! html/php1970
!! html/parsoid+integrated1970
!! end !! test Parser Function: {{PAGESIZE:{{PAGENAME}}}} on latest revision !! options lastsavedrevision parsoid={ "modes": ["wt2html","wt2wt"] } showflags !! wikitext {{PAGESIZE:{{PAGENAME}}}} !! metadata/integrated flags=vary-revision-sha1 !! html/php25
!! html/parsoid+integrated25
!! end !! test Parser functions with interwiki titles (T355706) !! wikitext * {{PAGEID:Parser test}} - {{PAGEID:wikipedia:Parser test}} * {{PAGESIZE:Parser test}} - {{PAGESIZE:wikipedia:Parser test}} * {{REVISIONID:Parser test}} - {{REVISIONID:wikipedia:Parser test}} * {{REVISIONDAY:Parser test}} - {{REVISIONDAY:wikipedia:Parser test}} * {{REVISIONDAY2:Parser test}} - {{REVISIONDAY2:wikipedia:Parser test}} * {{REVISIONMONTH:Parser test}} - {{REVISIONMONTH:wikipedia:Parser test}} * {{REVISIONMONTH1:Parser test}} - {{REVISIONMONTH1:wikipedia:Parser test}} * {{REVISIONYEAR:Parser test}} - {{REVISIONYEAR:wikipedia:Parser test}} * {{REVISIONTIMESTAMP:Parser test}} - {{REVISIONTIMESTAMP:wikipedia:Parser test}} * {{REVISIONUSER:Parser test}} - {{REVISIONUSER:wikipedia:Parser test}} !! html/php/skins
!! html/parsoid+integrated/skins
!! end !! test Magic Word: {{SERVER}} !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{SERVER}} !! html/* !! end !! test Magic Word: {{SERVERNAME}} !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{SERVERNAME}} !! html/*example.org
!! end !! test Magic Word: {{SITENAME}} !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{SITENAME}} !! html/*MediaWiki
!! end !! test Magic Word: {{PAGELANGUAGE}} !! options language=fr parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{PAGELANGUAGE}} !! html/*fr
!! end !! test Magic Word: {{PAGELANGUAGE}} on a page with no explicitly set language !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! wikitext {{PAGELANGUAGE}} !! html/*en
!! end !! test Magic Word: {{USERLANGUAGE}} disabled !! config wgParserEnableUserLanguage=false !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } language=en userLanguage=fr !! wikitext {{USERLANGUAGE}} !! html/*en
!! end !! test Magic Word: {{USERLANGUAGE}} enabled !! config wgParserEnableUserLanguage=true !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } language=en userLanguage=fr !! wikitext {{USERLANGUAGE}} !! html/*fr
!! end !! test Case-sensitive magic words, when cased differently, should just be template transclusions !! wikitext {{CurrentMonth}} {{currentday}} {{cURreNTweEK}} {{currentHour}} !! html/phpTemplate:CurrentMonth Template:Currentday Template:CURreNTweEK Template:CurrentHour
!! html/parsoidTemplate:CurrentMonth Template:Currentday Template:CURreNTweEK Template:CurrentHour
!! end !! test Case-insensitive magic words should still work with weird casing. !! wikitext {{sErVeRNaMe}} {{LCFirst:AOEU}} {{ucFIRST:aoeu}} {{SERver}} !! htmlexample.org aOEU Aoeu http://example.org
!! end !! test Magic Word: prioritize type info over data-parsoid !! options parsoid=html2wt !! html/parsoid !! wikitext __FORCETOC__ !! end !! test Magic Word: serialize on separate line (parsoid) !! options parsoid=wt2wt,html2wt !! wikitext foo __NOTOC__ bar !! html/parsoid foobar !! end !! test Magic Word: case-insensitive (all-lowercase) !! wikitext foo __notoc__ bar !! html/phpfoo
bar
!! html/parsoidfoo bar
!! end # wt2wt,html2wt disabled because we always (unless selser) serialize # in a uniform case (all upper or all lower) !! test Magic Word: case-insensitive (mixed case) !! options parsoid=wt2html,html2html !! wikitext foo __NOtOC__ bar !! html/phpfoo
bar
!! html/parsoidfoo bar
!! end !! test Magic Word: rt non-english wikis !! options parsoid=wt2wt language=de !! wikitext __NOEDITSECTION__ !! html/parsoid !! end ## Note that there is no wikitext output for 'unknownproperty' ## ## Unknown magic words are silently dropped ## !! test Magic words !! options parsoid=html2wt !! html/parsoid !! wikitext __TOC__ __NOTOC__ __FORCETOC__ __INDEX__ __NOINDEX__ __NOGALLERY__ __NOEDITSECTION__ __NOTITLECONVERT__ __NOCONTENTCONVERT__ !! end !! test NOGALLERY sets flag !! options showflags !! wikitext __NOGALLERY__ !! html/parsoid !! metadata flags=mw-NoGallery !! end !! test 1. HIDDENCAT sets tracking category on category page !! options title=[[123]] cat !! wikitext __HIDDENCAT__ !! html/parsoid !! metadata !! end !! test 2. HIDDENCAT sets tracking category on category page !! options title=[[Category:123]] cat !! wikitext __HIDDENCAT__ !! html/parsoid !! metadata cat=Hidden_categories sort= !! end !! test New section link / no new section link !! options showflags parsoid={ "wrapSections": true } !! wikitext __NEWSECTIONLINK__ __NONEWSECTIONLINK__ !! metadata flags=mw-HideNewSection, mw-NewSection !! html/parsoid