Warning, /frameworks/syntax-highlighting/data/syntax/mediawiki.xml is written in an unsupported language. File is not indexed.
0001 <?xml version = '1.0' encoding = 'UTF-8'?> 0002 <!DOCTYPE language [ 0003 <!ENTITY tab "	"> 0004 <!ENTITY url "(http:|https:|ftp:|mailto:)[^]| ]*(?=$|[]|\s])"> 0005 <!ENTITY htmlTagName "(?![0-9])[\w_:][\w.:_-]*"> 0006 <!ENTITY htmlEntity "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&htmlTagName;);"> 0007 <!ENTITY wikiLinkWithDescription "\[\[[^]|]*\|[^]]*\]\]"> 0008 <!ENTITY wikiLinkWithoutDescription "\[\[[^]|]*\]\]"> 0009 ]> 0010 <language name="MediaWiki" section="Markup" version="13" kateversion="5.53" extensions="*.mediawiki" mimetype="" license="FDL" > 0011 <highlighting> 0012 <contexts> 0013 <context attribute="Normal" lineEndContext="#stay" name="normal" > 0014 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0015 <RegExpr String="^[=]{5,5}(?!=)" context="Section5" attribute="Section" column="0" /> 0016 <RegExpr String="^[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" /> 0017 <RegExpr String="^[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" /> 0018 <RegExpr String="^[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" /> 0019 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0020 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0021 <DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" /> 0022 <IncludeRules context="FindListItem" /> 0023 <IncludeRules context="FindUrl" /> 0024 <IncludeRules context="FindTextDecorations" /> 0025 <IncludeRules context="FindTable" /> 0026 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0027 <IncludeRules context="FindTemplate" /> 0028 <IncludeRules context="FindWikiLink" /> 0029 <IncludeRules context="FindHtmlEntities" /> 0030 <StringDetect String="<nowiki>" context="NoWiki" attribute="WikiTag" /> 0031 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0032 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0033 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0034 <DetectSpaces context="Unformatted" column="0" /> 0035 </context> 0036 <context name="TableHeader" attribute="Normal" lineEndContext="TableContent" > 0037 <Detect2Chars char="{" char1="|" attribute="WikiTag" beginRegion="table" /> 0038 <IncludeRules context="FindHtmlStartTagAttributes" /> 0039 </context> 0040 <context name="TableContent" attribute="Normal" lineEndContext="#stay"> 0041 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0042 <RegExpr String="^[=]{5,5}(?!=)" context="Section5" attribute="Section" column="0" /> 0043 <RegExpr String="^[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" /> 0044 <RegExpr String="^[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" /> 0045 <RegExpr String="^[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" /> 0046 <DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" /> 0047 <IncludeRules context="FindListItem" /> 0048 <IncludeRules context="FindUrl" /> 0049 <IncludeRules context="FindTextDecorations" /> 0050 <IncludeRules context="FindTable" /> 0051 <Detect2Chars char="|" char1="}" column="0" attribute="WikiTag" context="#pop#pop" endRegion="table" /> 0052 <Detect2Chars char="|" char1="-" column="0" attribute="WikiTag" /> 0053 <DetectChar char="|" attribute="WikiTag" context="#stay"/> 0054 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0055 <IncludeRules context="FindTemplate" /> 0056 <IncludeRules context="FindWikiLink" /> 0057 <IncludeRules context="FindHtmlEntities" /> 0058 <StringDetect String="<nowiki>" context="NoWiki" attribute="WikiTag" /> 0059 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0060 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0061 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0062 <AnyChar String="&tab; " context="Unformatted" column="0" /> 0063 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0064 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0065 <RegExpr String="[-]{4,}" attribute="WikiTag" context="#stay" /> 0066 <DetectChar char="!" attribute="WikiTag" context="#stay" column="0" /> 0067 </context> 0068 <context attribute="Section" lineEndContext="#pop" name="Section5" > 0069 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0070 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0071 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0072 <IncludeRules context="FindUrl" /> 0073 <IncludeRules context="FindTextDecorationsInHeader" /> 0074 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0075 <IncludeRules context="FindTemplate" /> 0076 <IncludeRules context="FindWikiLink" /> 0077 <IncludeRules context="FindHtmlEntities" /> 0078 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0079 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0080 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0081 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0082 <RegExpr String="={5,5} *$" context="#pop" attribute="Section" /> 0083 <RegExpr String="={6,} *$|={1,4} *$|=*[^=]+$" context="#pop" attribute="Normal" /> 0084 </context> 0085 <context attribute="Section" lineEndContext="#pop" name="Section4" > 0086 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0087 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0088 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0089 <IncludeRules context="FindUrl" /> 0090 <IncludeRules context="FindTextDecorationsInHeader" /> 0091 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0092 <IncludeRules context="FindTemplate" /> 0093 <IncludeRules context="FindWikiLink" /> 0094 <IncludeRules context="FindHtmlEntities" /> 0095 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0096 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0097 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0098 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0099 <RegExpr String="={4,4} *$" context="#pop" attribute="Section" /> 0100 <RegExpr String="={5,} *$|={1,3} *$|=*[^=]+$" context="#pop" attribute="Normal" /> 0101 </context> 0102 <context attribute="Section" lineEndContext="#pop" name="Section3" > 0103 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0104 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0105 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0106 <IncludeRules context="FindUrl" /> 0107 <IncludeRules context="FindTextDecorationsInHeader" /> 0108 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0109 <IncludeRules context="FindTemplate" /> 0110 <IncludeRules context="FindWikiLink" /> 0111 <IncludeRules context="FindHtmlEntities" /> 0112 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0113 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0114 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0115 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0116 <RegExpr String="={3,3} *$" context="#pop" attribute="Section" /> 0117 <RegExpr String="={4,} *$|={1,2} *$|=*[^=]+$" context="#pop" attribute="Normal" /> 0118 </context> 0119 <context attribute="Section" lineEndContext="#pop" name="Section2" > 0120 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0121 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0122 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0123 <IncludeRules context="FindUrl" /> 0124 <IncludeRules context="FindTextDecorationsInHeader" /> 0125 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0126 <IncludeRules context="FindTemplate" /> 0127 <IncludeRules context="FindWikiLink" /> 0128 <IncludeRules context="FindHtmlEntities" /> 0129 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0130 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0131 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0132 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0133 <RegExpr String="={2,2} *$" context="#pop" attribute="Section" /> 0134 <RegExpr String="={3,} *$|={1,1} *$|=*[^=]+$" context="#pop" attribute="Normal" /> 0135 </context> 0136 <context attribute="Comment" lineEndContext="#stay" name="comment" > 0137 <StringDetect String="-->" context="#pop" attribute="Comment" endRegion="comment" /> 0138 <DetectSpaces /> 0139 <IncludeRules context="##Comments" /> 0140 </context> 0141 <context attribute="Link" lineEndContext="#stay" name="DelimitedURL" > 0142 <DetectChar char="]" context="#pop" attribute="WikiTag" /> 0143 <DetectChar char="[" context="#stay" attribute="WikiTag" /> 0144 <RegExpr String="&url;" context="DelimitedUrlLink" lookAhead="true" /> 0145 <DetectChar char=" " context="URLTag" attribute="WikiTag" /> 0146 </context> 0147 <context attribute="Link" lineEndContext="#stay" name="DelimitedUrlLink" > 0148 <IncludeRules context="FindTemplate" /> 0149 <AnyChar String=" ]" context="#pop" lookAhead="true" /> 0150 </context> 0151 0152 <context attribute="Link" lineEndContext="#pop" name="LooseURL" > 0153 <IncludeRules context="FindTemplate" /> 0154 <DetectChar char=" " context="#pop" attribute="WikiTag" /> 0155 </context> 0156 <context attribute="Link" lineEndContext="#pop" name="LooseURLWithinTemplate" > 0157 <IncludeRules context="FindTemplate" /> 0158 <Detect2Chars char="}" char1="}" context="#pop" lookAhead="true" /> 0159 <DetectChar char=" " context="#pop" attribute="WikiTag" /> 0160 </context> 0161 0162 <context attribute="Normal" lineEndContext="#stay" name="URLTag" > 0163 <IncludeRules context="FindTextDecorations" /> 0164 <IncludeRules context="FindTemplate" /> 0165 <DetectChar char="]" context="#pop" lookAhead="true" /> 0166 </context> 0167 0168 <context name="WikiLinkWithoutDescriptionRules" attribute="Normal" lineEndContext="#stay" > 0169 <IncludeRules context="FindTemplate" /> 0170 <IncludeRules context="FindHtmlEntities" /> 0171 <Detect2Chars char="[" char1="[" attribute="WikiTag" /> 0172 <Detect2Chars char="]" char1="]" context="#pop" attribute="WikiTag" /> 0173 </context> 0174 <context name="WikiLinkWithDescriptionRules" attribute="Normal" lineEndContext="#stay" > 0175 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0176 <DetectChar char="#" attribute="WikiTag" /> 0177 </context> 0178 <context name="WikiLink" attribute="Link" lineEndContext="#stay" > 0179 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0180 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescription" /> 0181 </context> 0182 <context name="WikiLinkBoldWithDescription" attribute="Link" lineEndContext="#stay" > 0183 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0184 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionBold" /> 0185 </context> 0186 <context name="WikiLinkBoldWithoutDescription" attribute="LinkBold" lineEndContext="#stay" > 0187 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0188 <DetectChar char="#" attribute="WikiTagBold" /> 0189 </context> 0190 <context name="WikiLinkItalicWithDescription" attribute="Link" lineEndContext="#stay" > 0191 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0192 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionItalic" /> 0193 </context> 0194 <context name="WikiLinkItalicWithoutDescription" attribute="LinkItalic" lineEndContext="#stay" > 0195 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0196 <DetectChar char="#" attribute="WikiTagItalic" /> 0197 </context> 0198 <context name="WikiLinkUnderlinedWithDescription" attribute="Link" lineEndContext="#stay" > 0199 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0200 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionUnderlined" /> 0201 </context> 0202 <context name="WikiLinkUnderlinedWithoutDescription" attribute="LinkUnderlined" lineEndContext="#stay" > 0203 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0204 <DetectChar char="#" attribute="WikiTagUnderlined" /> 0205 </context> 0206 <context name="WikiLinkBoldItalicWithDescription" attribute="Link" lineEndContext="#stay" > 0207 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0208 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionBoldItalic" /> 0209 </context> 0210 <context name="WikiLinkBoldItalicWithoutDescription" attribute="LinkBoldItalic" lineEndContext="#stay" > 0211 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0212 <DetectChar char="#" attribute="WikiTagBoldItalic" /> 0213 </context> 0214 <context name="WikiLinkBoldUnderlinedWithDescription" attribute="Link" lineEndContext="#stay" > 0215 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0216 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionBoldUnderlined" /> 0217 </context> 0218 <context name="WikiLinkBoldUnderlinedWithoutDescription" attribute="LinkBoldUnderlined" lineEndContext="#stay" > 0219 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0220 <DetectChar char="#" attribute="WikiTagBoldUnderlined" /> 0221 </context> 0222 <context name="WikiLinkItalicUnderlinedWithDescription" attribute="Link" lineEndContext="#stay" > 0223 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0224 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionItalicUnderlined" /> 0225 </context> 0226 <context name="WikiLinkItalicUnderlinedWithoutDescription" attribute="LinkItalicUnderlined" lineEndContext="#stay" > 0227 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0228 <DetectChar char="#" attribute="WikiTagItalicUnderlined" /> 0229 </context> 0230 <context name="WikiLinkBoldItalicUnderlinedWithDescription" attribute="Link" lineEndContext="#stay" > 0231 <IncludeRules context="WikiLinkWithDescriptionRules" /> 0232 <DetectChar char="|" attribute="WikiTag" context="WikiLinkDescriptionBoldItalicUnderlined" /> 0233 </context> 0234 <context name="WikiLinkBoldItalicUnderlinedWithoutDescription" attribute="LinkBoldItalicUnderlined" lineEndContext="#stay" > 0235 <DetectChar char="#" attribute="WikiTagBoldItalicUnderlined" /> 0236 <IncludeRules context="WikiLinkWithoutDescriptionRules" /> 0237 </context> 0238 0239 <context name="WikiLinkDescriptionRules" attribute="Normal" lineEndContext="#stay"> 0240 <IncludeRules context="FindTemplate" /> 0241 <IncludeRules context="FindHtmlEntities" /> 0242 <Detect2Chars char="]" char1="]" context="#pop" attribute="WikiTag" lookAhead="true" /> 0243 </context> 0244 <context name="WikiLinkDescription" attribute="Normal" lineEndContext="#stay"> 0245 <IncludeRules context="WikiLinkDescriptionRules" /> 0246 <IncludeRules context="FindTextDecorations" /> 0247 </context> 0248 <context name="WikiLinkDescriptionBold" attribute="Bold" lineEndContext="#stay" > 0249 <IncludeRules context="WikiLinkDescriptionRules" /> 0250 <Detect2Chars char="'" char1="'" context="BoldItalic" attribute="WikiTag" /> 0251 <RegExpr String="<u *>" attribute="HtmlTag" context="BoldUnderlined" /> 0252 </context> 0253 <context name="WikiLinkDescriptionItalic" attribute="Italic" lineEndContext="#stay" > 0254 <IncludeRules context="WikiLinkDescriptionRules" /> 0255 <StringDetect String="'''" attribute="WikiTag" context="ItalicBold" /> 0256 <RegExpr String="<u *>" attribute="HtmlTag" context="ItalicUnderlined" /> 0257 </context> 0258 <context name="WikiLinkDescriptionUnderlined" attribute="Underlined" lineEndContext="#stay" > 0259 <IncludeRules context="WikiLinkDescriptionRules" /> 0260 <StringDetect String="'''" context="UnderlinedBold" attribute="WikiTag" /> 0261 <Detect2Chars char="'" char1="'" context="UnderlinedItalic" attribute="WikiTag" /> 0262 </context> 0263 <context name="WikiLinkDescriptionBoldItalic" attribute="BoldItalic" lineEndContext="#stay" > 0264 <IncludeRules context="WikiLinkDescriptionRules" /> 0265 <RegExpr String="<u *>" attribute="HtmlTag" context="BoldItalicUnderlined" /> 0266 </context> 0267 <context name="WikiLinkDescriptionBoldUnderlined" attribute="BoldUnderlined" lineEndContext="#stay" > 0268 <IncludeRules context="WikiLinkDescriptionRules" /> 0269 <Detect2Chars char="'" char1="'" context="BoldUnderlinedItalic" attribute="WikiTag" /> 0270 </context> 0271 <context name="WikiLinkDescriptionItalicUnderlined" attribute="ItalicUnderlined" lineEndContext="#stay" > 0272 <IncludeRules context="WikiLinkDescriptionRules" /> 0273 <StringDetect String="'''" context="ItalicUnderlinedBold" attribute="WikiTag" /> 0274 </context> 0275 <context name="WikiLinkDescriptionBoldItalicUnderlined" attribute="BoldItalicUnderlined" lineEndContext="#stay" > 0276 <IncludeRules context="WikiLinkDescriptionRules" /> 0277 </context> 0278 0279 <context attribute="TemplateName" lineEndContext="#stay" name="Template" > 0280 <DetectChar char="|" context="TemplateParameterSlot" attribute="WikiTag" /> 0281 <Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" endRegion="template" /> 0282 </context> 0283 <context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlot" > 0284 <Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" /> 0285 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0286 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0287 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0288 <IncludeRules context="FindListItem" /> 0289 <IncludeRules context="FindUrlWithinTemplate" /> 0290 <IncludeRules context="FindTextDecorations" /> 0291 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0292 <IncludeRules context="FindTemplate" /> 0293 <IncludeRules context="FindWikiLink" /> 0294 <IncludeRules context="FindHtmlEntities" /> 0295 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0296 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0297 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0298 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0299 <DetectChar char="|" context="#pop" attribute="WikiTag" lookAhead="true" /> 0300 <RegExpr String="[^{}|=]+(?=[=])" attribute="Parameter" context="TemplateParameterSlotEqual" /> 0301 </context> 0302 <context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotEqual" > 0303 <Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" /> 0304 <DetectChar char="|" context="#pop" attribute="WikiTag" lookAhead="true" /> 0305 <DetectChar char="=" context="TemplateParameterSlotValue" attribute="WikiTag" /> 0306 </context> 0307 <context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotValue" > 0308 <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> 0309 <StringDetect String="~~~~" attribute="WikiTag" context="#stay" /> 0310 <StringDetect String="~~~" attribute="WikiTag" context="#stay" /> 0311 <IncludeRules context="FindListItem" /> 0312 <IncludeRules context="FindUrlWithinTemplate" /> 0313 <IncludeRules context="FindTextDecorations" /> 0314 <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> 0315 <IncludeRules context="FindTemplate" /> 0316 <IncludeRules context="FindWikiLink" /> 0317 <IncludeRules context="FindHtmlEntities" /> 0318 <StringDetect String="<nowiki>" context="NoWiki" attribute="HtmlTag" /> 0319 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0320 <IncludeRules context="FindSyntaxHighlightingHtmlElement" /> 0321 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0322 <Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" /> 0323 <DetectChar char="|" context="#pop" attribute="WikiTag" lookAhead="true" /> 0324 </context> 0325 <context attribute="Parameter" lineEndContext="#stay" name="TemplateParameter" > 0326 <StringDetect String="}}}" context="#pop" attribute="WikiTag" /> 0327 </context> 0328 <context attribute="NoWiki" lineEndContext="#stay" name="NoWiki" > 0329 <RegExpr String="<!--[^-]*-->" attribute="NoWiki" /> 0330 <StringDetect String="</nowiki>" context="#pop" attribute="HtmlTag" /> 0331 <RegExpr String="[<][^>]+[>]" attribute="HtmlTag" context="#stay" /> 0332 <StringDetect String="<pre>" context="Pre" attribute="HtmlTag" /> 0333 </context> 0334 <context attribute="Unformatted" lineEndContext="#pop" name="Unformatted" /> 0335 <context attribute="NoWiki" lineEndContext="#stay" name="Pre" > 0336 <StringDetect String="</pre>" context="#pop" attribute="HtmlTag" /> 0337 </context> 0338 0339 0340 0341 <!-- <source> and <syntaxhighlight> tags. --> 0342 0343 <context name="SourceStartTag" attribute="Normal" lineEndContext="#stay"> 0344 <RegExpr String="(^|\s+)lang\=("javascript"|'javascript')" context="JavaScriptSourceStartTag" lookAhead="true" /> 0345 <DetectChar attribute="HtmlTag" context="UnsupportedLanguageSourceStartTag" char=">" lookAhead="true" /> 0346 <IncludeRules context="FindHtmlStartTagAttributes" /> 0347 </context> 0348 <context name="SyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay"> 0349 <RegExpr String="(^|\s+)lang\=("javascript"|'javascript')" context="JavaScriptSyntaxHighlightStartTag" lookAhead="true" /> 0350 <DetectChar attribute="HtmlTag" context="UnsupportedLanguageSyntaxHighlightStartTag" char=">" lookAhead="true" /> 0351 <IncludeRules context="FindHtmlStartTagAttributes" /> 0352 </context> 0353 0354 0355 <context name="UnsupportedLanguageSourceStartTag" attribute="Normal" lineEndContext="#stay"> 0356 <DetectChar attribute="HtmlTag" context="UnsupportedLanguageSourceContent" char=">" /> 0357 <IncludeRules context="FindHtmlStartTagAttributes" /> 0358 </context> 0359 <context name="UnsupportedLanguageSyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay"> 0360 <DetectChar attribute="HtmlTag" context="UnsupportedLanguageSyntaxHighlightContent" char=">" /> 0361 <IncludeRules context="FindHtmlStartTagAttributes" /> 0362 </context> 0363 0364 <context name="JavaScriptSourceStartTag" attribute="Normal" lineEndContext="#stay"> 0365 <DetectChar attribute="HtmlTag" context="JavaScriptSourceContent" char=">" /> 0366 <IncludeRules context="FindHtmlStartTagAttributes" /> 0367 </context> 0368 <context name="JavaScriptSyntaxHighlightStartTag" attribute="Normal" lineEndContext="#stay"> 0369 <DetectChar attribute="HtmlTag" context="JavaScriptSyntaxHighlightContent" char=">" /> 0370 <IncludeRules context="FindHtmlStartTagAttributes" /> 0371 </context> 0372 0373 0374 <context name="UnsupportedLanguageSourceContent" attribute="NoWiki" lineEndContext="#stay"> 0375 <IncludeRules context="SourceEnd" /> 0376 </context> 0377 <context name="UnsupportedLanguageSyntaxHighlightContent" attribute="NoWiki" lineEndContext="#stay"> 0378 <IncludeRules context="SyntaxHighlightEnd" /> 0379 </context> 0380 0381 <context name="JavaScriptSourceContent" attribute="NoWiki" lineEndContext="#stay"> 0382 <IncludeRules context="SourceEnd" /> 0383 <IncludeRules context="Normal##JavaScript" /> 0384 </context> 0385 <context name="JavaScriptSyntaxHighlightContent" attribute="NoWiki" lineEndContext="#stay"> 0386 <StringDetect String="</syntaxhighlight>" context="#pop#pop#pop" attribute="HtmlTag" /> 0387 <IncludeRules context="SyntaxHighlightEnd" /> 0388 <IncludeRules context="Normal##JavaScript" /> 0389 </context> 0390 0391 0392 <context name="SourceEnd" attribute="Normal" lineEndContext="#stay"> 0393 <StringDetect String="</source>" context="#pop#pop#pop" attribute="HtmlTag" /> 0394 </context> 0395 <context name="SyntaxHighlightEnd" attribute="Normal" lineEndContext="#stay"> 0396 <StringDetect String="</syntaxhighlight>" context="#pop#pop#pop" attribute="HtmlTag" /> 0397 </context> 0398 0399 0400 <context name="HtmlAttribute" attribute="Normal" lineEndContext="#stay"> 0401 <DetectChar attribute="HtmlAttribute" context="HtmlValue" char="=" /> 0402 <RegExpr attribute="Error" context="#stay" String="\S" /> 0403 </context> 0404 <context name="HtmlValue" attribute="Normal" lineEndContext="#stay"> 0405 <DetectChar attribute="HtmlValue" context="ValueWithDoubleQuotes" char=""" /> 0406 <DetectChar attribute="HtmlValue" context="ValueWithSingleQuotes" char="'" /> 0407 <RegExpr attribute="Error" context="#stay" String="\S" /> 0408 </context> 0409 <context name="ValueWithDoubleQuotes" attribute="HtmlValue" lineEndContext="#stay"> 0410 <DetectChar attribute="HtmlValue" context="#pop#pop#pop" char=""" /> 0411 <IncludeRules context="FindHtmlEntities" /> 0412 </context> 0413 <context name="ValueWithSingleQuotes" attribute="HtmlValue" lineEndContext="#stay"> 0414 <DetectChar attribute="HtmlValue" context="#pop#pop#pop" char="'" /> 0415 <IncludeRules context="FindHtmlEntities" /> 0416 </context> 0417 0418 0419 0420 <context attribute="DefinitionListHeader" lineEndContext="#pop" name="DefinitionListHeader" > 0421 <DetectChar char=":" context="#pop" attribute="WikiTag" /> 0422 </context> 0423 <context attribute="Bold" lineEndContext="#pop" name="Bold" > 0424 <IncludeRules context="FindTemplate" /> 0425 <StringDetect String="'''" context="#pop" attribute="WikiTag" /> 0426 <Detect2Chars char="'" char1="'" context="BoldItalic" attribute="WikiTag" /> 0427 <RegExpr String="<u *>" attribute="HtmlTag" context="BoldUnderlined" /> 0428 <IncludeRules context="FindWikiLinkBeingBold" /> 0429 </context> 0430 <context attribute="Italic" lineEndContext="#pop" name="Italic" > 0431 <IncludeRules context="FindTemplate" /> 0432 <StringDetect String="'''" attribute="WikiTag" context="ItalicBold" /> 0433 <Detect2Chars char="'" char1="'" context="#pop" attribute="WikiTag" /> 0434 <RegExpr String="<u *>" attribute="HtmlTag" context="ItalicUnderlined" /> 0435 <IncludeRules context="FindWikiLinkBeingItalic" /> 0436 </context> 0437 <context attribute="Underlined" name="Underlined" lineEndContext="#stay" > 0438 <IncludeRules context="FindTemplate" /> 0439 <StringDetect String="'''" context="UnderlinedBold" attribute="WikiTag" /> 0440 <Detect2Chars char="'" char1="'" context="UnderlinedItalic" attribute="WikiTag" /> 0441 <RegExpr String="</u *>" context="#pop" attribute="HtmlTag" /> 0442 <IncludeRules context="FindWikiLinkBeingUnderlined" /> 0443 </context> 0444 <context name="BoldItalic" attribute="BoldItalic" lineEndContext="#pop" > 0445 <IncludeRules context="FindTemplate" /> 0446 <Detect2Chars char="'" char1="'" context="#pop" attribute="WikiTag" /> 0447 <RegExpr String="<u *>" attribute="HtmlTag" context="BoldItalicUnderlined" /> 0448 <IncludeRules context="FindWikiLinkBeingBoldItalic" /> 0449 </context> 0450 <context name="ItalicBold" attribute="BoldItalic" lineEndContext="#pop" > 0451 <IncludeRules context="FindTemplate" /> 0452 <StringDetect String="'''" context="#pop" attribute="WikiTag" /> 0453 <RegExpr String="<u *>" attribute="HtmlTag" context="BoldItalicUnderlined" /> 0454 <IncludeRules context="FindWikiLinkBeingBoldItalic" /> 0455 </context> 0456 <context name="BoldUnderlined" attribute="BoldUnderlined" lineEndContext="#pop" > 0457 <IncludeRules context="FindTemplate" /> 0458 <RegExpr String="</u *>" context="#pop" attribute="HtmlTag" /> 0459 <Detect2Chars char="'" char1="'" context="BoldUnderlinedItalic" attribute="WikiTag" /> 0460 <IncludeRules context="FindWikiLinkBeingBoldUnderlined" /> 0461 </context> 0462 <context name="UnderlinedBold" attribute="BoldUnderlined" lineEndContext="#pop" > 0463 <IncludeRules context="FindTemplate" /> 0464 <StringDetect String="'''" context="#pop" attribute="WikiTag" /> 0465 <Detect2Chars char="'" char1="'" context="BoldUnderlinedItalic" attribute="WikiTag" /> 0466 <IncludeRules context="FindWikiLinkBeingBoldUnderlined" /> 0467 </context> 0468 <context name="ItalicUnderlined" attribute="ItalicUnderlined" lineEndContext="#pop" > 0469 <IncludeRules context="FindTemplate" /> 0470 <RegExpr String="</u *>" context="#pop" attribute="HtmlTag" /> 0471 <StringDetect String="'''" context="ItalicUnderlinedBold" attribute="WikiTag" /> 0472 <IncludeRules context="FindWikiLinkBeingItalicUnderlined" /> 0473 </context> 0474 <context name="UnderlinedItalic" attribute="ItalicUnderlined" lineEndContext="#pop" > 0475 <IncludeRules context="FindTemplate" /> 0476 <Detect2Chars char="'" char1="'" context="#pop" attribute="WikiTag" /> 0477 <IncludeRules context="FindWikiLinkBeingItalicUnderlined" /> 0478 </context> 0479 <context name="BoldItalicUnderlined" attribute="BoldItalicUnderlined" lineEndContext="#pop" > 0480 <IncludeRules context="FindTemplate" /> 0481 <RegExpr String="</u *>" context="#pop" attribute="HtmlTag" /> 0482 <IncludeRules context="FindWikiLinkBeingBoldItalicUnderlined" /> 0483 </context> 0484 <context name="BoldUnderlinedItalic" attribute="BoldItalicUnderlined" lineEndContext="#pop" > 0485 <IncludeRules context="FindTemplate" /> 0486 <Detect2Chars char="'" char1="'" context="#pop" attribute="WikiTag" /> 0487 <IncludeRules context="FindWikiLinkBeingBoldItalicUnderlined" /> 0488 </context> 0489 <context name="ItalicUnderlinedBold" attribute="BoldItalicUnderlined" lineEndContext="#pop" > 0490 <IncludeRules context="FindTemplate" /> 0491 <StringDetect String="'''" context="#pop" attribute="WikiTag" /> 0492 <IncludeRules context="FindWikiLinkBeingBoldItalicUnderlined" /> 0493 </context> 0494 0495 <!-- Contexts for inclusion. --> 0496 0497 <context name="FindHtmlEntities" attribute="Normal" lineEndContext="#stay"> 0498 <RegExpr String="&htmlEntity;" attribute="HtmlEntity" /> 0499 </context> 0500 0501 <context name="FindHtmlStartTagAttributes" attribute="Normal" lineEndContext="#stay"> 0502 <RegExpr attribute="HtmlAttribute" context="HtmlAttribute" String="^&htmlTagName;|\s+&htmlTagName;" /> 0503 <RegExpr attribute="Error" context="#stay" String="\S" /> 0504 </context> 0505 0506 <context attribute="Normal" lineEndContext="#stay" name="FindListItem" > 0507 <RegExpr String="^[*#;:\s]*[*#:]+" attribute="WikiTag" context="#stay" column="0" /> 0508 </context> 0509 0510 <context attribute="Normal" lineEndContext="#stay" name="FindSyntaxHighlightingHtmlElement" > 0511 <RegExpr String="<source(?=\s)" context="SourceStartTag" attribute="HtmlTag" /> 0512 <RegExpr String="<syntaxhighlight(?=\s)" context="SyntaxHighlightStartTag" attribute="HtmlTag" /> 0513 </context> 0514 0515 <context name="FindTable" attribute="Normal" lineEndContext="#stay"> 0516 <Detect2Chars char="{" char1="|" column="0" context="TableHeader" lookAhead="true" /> 0517 </context> 0518 0519 <context attribute="Normal" lineEndContext="#stay" name="FindTemplate" > 0520 <Detect2Chars char="{" char1="{" context="Template" attribute="WikiTag" beginRegion="template" /> 0521 </context> 0522 0523 <context name="FindTextDecorations" attribute="Normal" lineEndContext="#stay"> 0524 <StringDetect String="'''" attribute="WikiTag" context="Bold" /> 0525 <Detect2Chars char="'" char1="'" attribute="WikiTag" context="Italic" /> 0526 <RegExpr String="<u *>" attribute="HtmlTag" context="Underlined" /> 0527 </context> 0528 <context attribute="Normal" lineEndContext="#stay" name="FindTextDecorationsInHeader" > 0529 <StringDetect String="'''" attribute="WikiTag" context="Bold" /> 0530 <Detect2Chars char="'" char1="'" attribute="WikiTag" context="BoldItalic" /> 0531 </context> 0532 0533 <context attribute="Normal" lineEndContext="#stay" name="FindUrl" > 0534 <RegExpr String="\[&url;" attribute="WikiTag" context="DelimitedURL" lookAhead="true" /> 0535 <RegExpr String="&url;" context="LooseURL" lookAhead="true" /> 0536 </context> 0537 <context attribute="Normal" lineEndContext="#stay" name="FindUrlWithinTemplate" > 0538 <RegExpr String="\[&url;" attribute="WikiTag" context="DelimitedURL" lookAhead="true" /> 0539 <RegExpr String="&url;" context="LooseURLWithinTemplate" lookAhead="true" /> 0540 </context> 0541 0542 <context name="FindWikiLink" attribute="Normal" lineEndContext="#stay"> 0543 <Detect2Chars char="[" char1="[" attribute="WikiTag" context="WikiLink" /> 0544 </context> 0545 <context name="FindWikiLinkBeingBold" attribute="Normal" lineEndContext="#stay"> 0546 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkBoldWithDescription" lookAhead="true" /> 0547 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkBoldWithoutDescription" lookAhead="true" /> 0548 </context> 0549 <context name="FindWikiLinkBeingItalic" attribute="Normal" lineEndContext="#stay"> 0550 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkItalicWithDescription" lookAhead="true" /> 0551 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkItalicWithoutDescription" lookAhead="true" /> 0552 </context> 0553 <context name="FindWikiLinkBeingUnderlined" attribute="Normal" lineEndContext="#stay"> 0554 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkUnderlinedWithDescription" lookAhead="true" /> 0555 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkUnderlinedWithoutDescription" lookAhead="true" /> 0556 </context> 0557 <context name="FindWikiLinkBeingBoldItalic" attribute="Normal" lineEndContext="#stay"> 0558 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkBoldItalicWithDescription" lookAhead="true" /> 0559 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkBoldItalicWithoutDescription" lookAhead="true" /> 0560 </context> 0561 <context name="FindWikiLinkBeingBoldUnderlined" attribute="Normal" lineEndContext="#stay"> 0562 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkBoldUnderlinedWithDescription" lookAhead="true" /> 0563 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkBoldUnderlinedWithoutDescription" lookAhead="true" /> 0564 </context> 0565 <context name="FindWikiLinkBeingItalicUnderlined" attribute="Normal" lineEndContext="#stay"> 0566 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkItalicUnderlinedWithDescription" lookAhead="true" /> 0567 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkItalicUnderlinedWithoutDescription" lookAhead="true" /> 0568 </context> 0569 <context name="FindWikiLinkBeingBoldItalicUnderlined" attribute="Normal" lineEndContext="#stay"> 0570 <RegExpr String="&wikiLinkWithDescription;" context="WikiLinkBoldItalicUnderlinedWithDescription" lookAhead="true" /> 0571 <RegExpr String="&wikiLinkWithoutDescription;" context="WikiLinkBoldItalicUnderlinedWithoutDescription" lookAhead="true" /> 0572 </context> 0573 0574 </contexts> 0575 <itemDatas> 0576 <itemData name="Normal" defStyleNum="dsNormal" /> 0577 <itemData name="Link" defStyleNum="dsOthers" /> 0578 <itemData name="LinkBold" defStyleNum="dsOthers" bold="true" /> 0579 <itemData name="LinkItalic" defStyleNum="dsOthers" italic="true" /> 0580 <itemData name="LinkUnderlined" defStyleNum="dsOthers" underline="true" /> 0581 <itemData name="LinkBoldItalic" defStyleNum="dsOthers" bold="true" italic="true" /> 0582 <itemData name="LinkBoldUnderlined" defStyleNum="dsOthers" bold="true" underline="true" /> 0583 <itemData name="LinkItalicUnderlined" defStyleNum="dsOthers" italic="true" underline="true" /> 0584 <itemData name="LinkBoldItalicUnderlined" defStyleNum="dsOthers" bold="true" italic="true" underline="true" /> 0585 <itemData name="Comment" defStyleNum="dsComment" /> 0586 <itemData name="Section" defStyleNum="dsKeyword" /> 0587 <itemData name="DefinitionListHeader" defStyleNum="dsKeyword" /> 0588 <itemData name="HtmlEntity" defStyleNum="dsDecVal" /> 0589 <itemData name="HtmlTag" defStyleNum="dsKeyword" /> 0590 <itemData name="WikiTag" defStyleNum="dsDecVal" bold="true" /> 0591 <itemData name="WikiTagBold" defStyleNum="dsDecVal" bold="true" /> 0592 <itemData name="WikiTagItalic" defStyleNum="dsDecVal" bold="true" italic="true" /> 0593 <itemData name="WikiTagUnderlined" defStyleNum="dsDecVal" bold="true" underline="true" /> 0594 <itemData name="WikiTagBoldItalic" defStyleNum="dsDecVal" bold="true" italic="true" /> 0595 <itemData name="WikiTagBoldUnderlined" defStyleNum="dsDecVal" bold="true" underline="true" /> 0596 <itemData name="WikiTagItalicUnderlined" defStyleNum="dsDecVal" bold="true" italic="true" underline="true" /> 0597 <itemData name="WikiTagBoldItalicUnderlined" defStyleNum="dsDecVal" bold="true" italic="true" underline="true" /> 0598 <itemData name="Error" defStyleNum="dsError" /> 0599 <itemData name="NoWiki" defStyleNum="dsNormal" /> 0600 <itemData name="Unformatted" defStyleNum="dsNormal" /> 0601 <itemData name="Parameter" defStyleNum="dsNormal" bold="true" /> 0602 <itemData name="TemplateName" defStyleNum="dsOthers" bold="true" /> 0603 <itemData name="Bold" defStyleNum="dsNormal" bold="true" /> 0604 <itemData name="Italic" defStyleNum="dsNormal" italic="true" /> 0605 <itemData name="Underlined" defStyleNum="dsNormal" underline="true" /> 0606 <itemData name="BoldItalic" defStyleNum="dsNormal" bold="true" italic="true" /> 0607 <itemData name="BoldUnderlined" defStyleNum="dsNormal" bold="true" underline="true" /> 0608 <itemData name="ItalicUnderlined" defStyleNum="dsNormal" italic="true" underline="true" /> 0609 <itemData name="BoldItalicUnderlined" defStyleNum="dsNormal" bold="true" italic="true" underline="true" /> 0610 <itemData name="HtmlAttribute" defStyleNum="dsOthers" spellChecking="false" /> 0611 <itemData name="HtmlValue" defStyleNum="dsString" spellChecking="false" /> 0612 </itemDatas> 0613 </highlighting> 0614 <general> 0615 <comments> 0616 <comment name="multiLine" start="<!--" end="-->" region="comment" /> 0617 </comments> 0618 <keywords casesensitive="0" /> 0619 </general> 0620 </language> 0621 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->