/usr/share/bluefish/bflang/mediawiki.bflang2 is in bluefish-data 2.2.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | <?xml version="1.0"?>
<!--
Bluefish HTML Editor
mediawiki.bflang2 $Revision: 5613 $
Copyright (C) 2009 Olivier Sessink
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!DOCTYPE bflang [
<!ENTITY i18n "dir,lang">
<!ENTITY univ "class,id,style,title">
<!ENTITY evnt "onclick,ondblclick,onmousedown,onmouseup,onmouseover,onmousemove,onmouseout,onkeypress,onkeydown,onkeyup">
<!ENTITY css-selectors SYSTEM "css-selectors.bfinc">
<!ENTITY css-rules SYSTEM "css-rules.bfinc">
]>
<bflang name="Mediawiki" version="2.0" matches="999" contexts="67" table="4566">
<header>
<mime type="text/x-mediawiki"/>
<option name="load_completion" default="1" />
<option name="autocomplete_tags" default="1" />
<option name="load_reference" default="1" />
<option name="show_in_menu" default="0"/>
<option name="attribute_string_is_block" default="0" description="Show tag attributes as block"/>
<highlight name="attribute-string" style="string-no-spell-check" />
<highlight name="html_tag" style="tag" />
<highlight name="html_table_tag" style="special-tag2" />
<highlight name="html_deprecated_tag" style="warning" />
<highlight name="wiki-highlight" style="type" />
<highlight name="html_attribute" style="attribute" />
<highlight name="wiki" style="special-type" />
<highlight name="special_keyword" style="special-keyword" />
<highlight name="wiki_table" style="tag" />
<highlight name="link" style="special-tag" />
<highlight name="ext_link" style="value" />
<highlight name="title" style="special-tag3" />
<highlight name="pre" style="special-warning" />
<highlight name="comment" style="comment" />
<highlight name="css-operator" style="operator" />
</header>
<properties>
<comment type="block" start="<!--" end="-->" />
<default_spellcheck enabled="1" />
</properties>
<definition>
<context symbols="'~#_:;[|{!}-=* >< ">
<element id="e.comment" pattern="<!--" highlight="comment" starts_block="1">
<context symbols="-> 	 " highlight="comment">
<element pattern="-->" ends_block="1" blockstartelement="e.comment" highlight="comment"
mayfold="1" ends_context="1" />
</context>
</element>
<!-- wiki -->
<element pattern="#REDIRECT" highlight="wiki"/>
<group highlight="wiki">
<!-- Magic_words -->
<!-- Behavior switches -->
<element pattern="__NOTOC__"/>
<element pattern="__FORCETOC__"/>
<element pattern="__TOC__"/>
<element pattern="__NOEDITSECTION__"/>
<element pattern="__NOTITLECONVERT__"/>
<element pattern="__NOCONTENTCONVERT__"/>
<element pattern="__START__"/>
<element pattern="__END__"/>
<element pattern="__HIDDENCAT__"/>
<element pattern="__NEWSECTIONLINK__"/>
<element pattern="__NONEWSECTIONLINK__"/>
<element pattern="__NOGALLERY__"/>
<element pattern="__NOCC__"/>
<element pattern="__NOTC__"/>
<element pattern="__INDEX__"/>
<element pattern="__NOINDEX__"/>
<element pattern="__STATICREDIRECT__"/>
<!-- signature -->
<element pattern="~~~"/>
<element pattern="~~~~"/>
<element pattern="~~~~~"/>
</group>
<group is_regex="1" highlight="wiki-highlight">
<!-- Horizontal rule -->
<element pattern=" ----" />
<!-- bold -->
<element pattern=" ?'''[^']+'''" />
<!-- italic -->
<element pattern=" ?''[^']+''" />
<!-- italic bold -->
<element pattern=" ?'''''[^']+'''''" />
</group>
<group is_regex="1" highlight="wiki">
<!-- Lists -->
<element pattern=" [\#\*]" />
<element pattern=" [\#\*]+" />
<!-- Indent with no marking -->
<element pattern=" :" />
<!-- Definition list -->
<element pattern=" ;" />
</group>
<!-- Pre-formatted text -->
<element pattern=" " is_regex="1" highlight="pre" />
<!-- wiki template -->
<element pattern=" ?\{\{[^\}]*\}\}" is_regex="1" highlight="wiki"/>
<!-- wiki table -->
<group is_regex="1" highlight="wiki_table">
<element pattern=" *\{|" is_regex="1" highlight="wiki_table" />
<element pattern=" |" />
<element pattern=" |-" />
<element pattern=" |\+" />
<element pattern=" !" />
<element pattern=" ?|\}" />
</group>
<!-- wiki title -->
<group highlight="title">
<element id="e.title6" pattern=" ======" is_regex="1" starts_block="1" >
<autocomplete append=" ======" backup_cursor="7" />
<context symbols="=">
<element pattern="======" ends_block="1" blockstartelement="e.title6" ends_context="1" highlight="title" />
</context>
</element>
<element id="e.title5" pattern=" =====" is_regex="1" starts_block="1" >
<autocomplete append=" =====" backup_cursor="6" />
<context symbols="=">
<element pattern="=====" ends_block="1" blockstartelement="e.title5" ends_context="1" highlight="title" />
</context>
</element>
<element id="e.title4" pattern=" ====" is_regex="1" starts_block="1" >
<autocomplete append=" ====" backup_cursor="5" />
<context symbols="=">
<element pattern="====" ends_block="1" blockstartelement="e.title4" ends_context="1" highlight="title" />
</context>
</element>
<element id="e.title3" pattern=" ===" is_regex="1" starts_block="1" >
<autocomplete append=" ===" backup_cursor="4" />
<context symbols="=">
<element pattern="===" ends_block="1" blockstartelement="e.title3" ends_context="1" highlight="title" />
</context>
</element>
<element id="e.title2" pattern=" ==" is_regex="1" starts_block="1" >
<autocomplete append=" ==" backup_cursor="3" />
<context symbols="=">
<element pattern="==" ends_block="1" blockstartelement="e.title2" ends_context="1" highlight="title" />
</context>
</element>
</group>
<!-- wiki links -->
<element pattern="[" highlight="ext_link">
<context symbols=" ]">
<element pattern="]" highlight="ext_link" ends_context="1" />
<element pattern=" ">
<context symbols="\]" highlight="ext_link">
<element pattern="\]" highlight="ext_link" />
<element pattern="]" highlight="ext_link" ends_context="2" />
</context>
</element>
</context>
</element>
<element pattern="[[" highlight="link">
<context symbols="|]">
<element pattern="]]" highlight="link" ends_context="1" />
<element pattern="|" highlight="special_keyword">
<context symbols="\]" highlight="link">
<element pattern="\]" highlight="link" />
<element pattern="]]" highlight="link" ends_context="2" />
</context>
</element>
</context>
</element>
<!-- alternative links -->
<!-- <element pattern="(http://)|(ftp://)" highlight="attribute"> </element> -->
<!-- <element pattern="http://" highlight="link" /> -->
<!--<math>-->
<tag name="math">
<reference></reference>
</tag>
<!-- html -->
<group highlight="html_tag" attribhighlight="html_attribute" attrib_autocomplete_append="="""
attrib_autocomplete_backup_cursor="1">
<tag name="abbr" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines an embedded object</reference>
</tag>
<tag name="b" attributes="&univ;,&i18n;,&evnt;">
<reference>Render content in bold face</reference>
</tag>
<tag name="big" attributes="&univ;,&i18n;,dir">
<reference>Renders content as bigger text</reference>
</tag>
<tag name="blockquote" attributes="&univ;,&i18n;,&evnt;,cite">
<reference>Defines a long quotation</reference>
</tag>
<tag name="br" attributes="&univ;" >
<autocomplete append=" />" />
<reference>Defines a single line break</reference>
</tag>
<tag name="cite" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines a citation</reference>
</tag>
<tag name="code" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines computer code text</reference>
</tag>
<tag name="dd" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines a definition list definition</reference>
</tag>
<tag name="del" attributes="&univ;,&i18n;,&evnt;,cite,datetime">
<reference>Defines deleted text</reference>
</tag>
<tag name="div" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a block section in a document - it provides no visual change by itself</reference>
</tag>
<tag name="dl" attributes="&univ;,&i18n;,&evnt;,compact">
<reference>Defines a definition list</reference>
</tag>
<tag name="dt" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines a definition list term</reference>
</tag>
<tag name="em" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines emphasized text</reference>
</tag>
<tag name="h2" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a HTML heading</reference>
</tag>
<tag name="h3" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a HTML heading</reference>
</tag>
<tag name="h4" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a HTML heading</reference>
</tag>
<tag name="h5" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a HTML heading</reference>
</tag>
<tag name="h6" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a HTML heading</reference>
</tag>
<tag name="hr" attributes="&univ;,align,noshade,size,width">
<autocomplete append=" />" />
<reference>Defines a horizontal line</reference>
</tag>
<tag name="i" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines italic text</reference>
</tag>
<tag name="ins" attributes="&univ;,&i18n;,&evnt;,cite,datetime">
<reference>Defines inserted text</reference>
</tag>
<tag name="li" attributes="&univ;,&i18n;,&evnt;,type,value">
<reference>Defines a list item</reference>
</tag>
<tag name="ol" attributes="&univ;,&i18n;,&evnt;,compact,start,type">
<reference>Defines an ordered list</reference>
</tag>
<tag name="p" attributes="&univ;,&i18n;,&evnt;,align">
<reference>Defines a paragraph</reference>
</tag>
<tag name="pre" attributes="&univ;,&i18n;,&evnt;,width">
<reference>Defines preformatted text</reference>
</tag>
<tag name="small" attributes="&univ;,&i18n;,&evnt;">
<reference>Renders as smaller text</reference>
</tag>
<tag name="span" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines an inline section of the document - it provides no visual change by itself</reference>
</tag>
<tag name="strong" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines strong emphasized text</reference>
</tag>
<tag name="sub" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines subscripted text</reference>
</tag>
<tag name="sup" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines superscripted text</reference>
</tag>
<tag name="tt" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines teletype text</reference>
</tag>
<tag name="ul" attributes="&univ;,&i18n;,&evnt;,compact,type">
<reference>Defines an unordered list</reference>
</tag>
<tag name="var" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines a variable part of a text</reference>
</tag>
</group>
<group highlight="html_table_tag" attribhighlight="html_attribute" attrib_autocomplete_append="="""
attrib_autocomplete_backup_cursor="1">
<tag name="table" attributes="align,border,bgcolor,cellpadding,cellspacing,frame,rules,summary,width,&univ;,&i18n;,&evnt;" >
<autocomplete append=" summary="" > </table>" backup_cursor="9" />
<reference>Defines a table</reference>
</tag>
<tag name="caption" attributes="align,&univ;,&i18n;,&evnt;">
<reference>Defines a table caption</reference>
</tag>
<tag name="td"
attributes="abbr,align,axis,bgcolor,char,charoff,colspan,headers,height,nowrap,rowspan,scope,valign,width,&univ;,&i18n;,&evnt;">
<reference>Defines a cell in a table</reference>
</tag>
<tag name="th" attributes="abbr,align,axis,bgcolor,char,charoff,colspan,headers,height,nowrap,rowspan,scope,valign,width,&univ;,&i18n;,&evnt;">
<reference>Defines a header cell in a table</reference>
</tag>
<tag name="tr" attributes="align,bgcolor,char,charoff,valign,&univ;,&i18n;,&evnt;">
<reference>Defines a row in a table</reference>
</tag>
</group>
<group highlight="html_deprecated_tag" attribhighlight="html_attribute" attrib_autocomplete_append="="""
attrib_autocomplete_backup_cursor="1">
<tag name="center" attributes="&univ;,&i18n;,&evnt;">
<reference>Center text (<b>deprecated</b>)</reference>
</tag>
<tag name="font" attributes="&univ;,&i18n;,color,face,size">
<reference>Defines font face, color and size for text (<b>deprecated</b>)</reference>
</tag>
<tag name="s" attributes="&univ;,&i18n;,&evnt;">
<reference>Render strike-through style text (<b>deprecated</b>)</reference>
</tag>
<tag name="strike" attributes="&univ;,&i18n;,&evnt;">
<reference>Render strike-through style text (<b>deprecated</b>)</reference>
</tag>
<tag name="u" attributes="&univ;,&i18n;,&evnt;">
<reference>Defines underlined text (<b>deprecated</b>)</reference>
</tag>
</group>
<group highlight="wiki" attribhighlight="html_attribute" attrib_autocomplete_append="="""
attrib_autocomplete_backup_cursor="1">
<tag name="ruby" />
<tag name="rb" />
<tag name="rp" />
<tag name="rt" />
<tag name="ref" attributes="name" />
<tag name="references" >
<autocomplete append=" />" />
</tag>
<tag name="noinclude" />
<tag name="includeonly" />
<tag name="nowiki" />
<tag name="math" />
<tag name="gallery" />
</group>
</context>
</definition>
</bflang>
|