summaryrefslogtreecommitdiffstats
path: root/kate/data/mediawiki.xml
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
commitd7b9791584eda0f022813fd2b2df50f59eba29c5 (patch)
tree395d2d48909ce6f9e002106d1638610f7a7c8321 /kate/data/mediawiki.xml
parent84bbc54a086fc6894b247488bf62bdff04dd55fa (diff)
downloadtdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.tar.gz
tdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.zip
Added remaining missing Kate xml files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1068844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/mediawiki.xml')
-rw-r--r--kate/data/mediawiki.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/kate/data/mediawiki.xml b/kate/data/mediawiki.xml
index f10fe6586..42ec1dd32 100644
--- a/kate/data/mediawiki.xml
+++ b/kate/data/mediawiki.xml
@@ -1,6 +1,6 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="MediaWiki" section="Markup" version="1.01" kateversion="2.4" extensions="" mimetype="" license="FDL" >
+<language name="MediaWiki" section="Markup" version="1.02" kateversion="2.4" extensions="" mimetype="" license="FDL" >
<highlighting>
<contexts>
<context attribute="Normal" lineEndContext="#stay" name="normal" >
@@ -48,10 +48,13 @@
<DetectChar char="'" context="Error" attribute="Error" />
</context>
<context attribute="Link" lineEndContext="#stay" name="WikiLink" >
- <DetectChar char="|" attribute="Wiki-Tag" context="#stay" />
+ <DetectChar char="|" attribute="Wiki-Tag" context="WikiLinkDescription" />
<Detect2Chars char="]" char1="]" context="#pop" attribute="Wiki-Tag" />
<DetectChar char="'" context="Error" attribute="Error" />
</context>
+ <context attribute="Link" lineEndContext="#stay" name="WikiLinkDescription" >
+ <Detect2Chars char="]" char1="]" context="#pop" attribute="Wiki-Tag" lookAhead="true" />
+ </context>
<context attribute="Template" lineEndContext="#stay" name="Link" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="Wiki-Tag" />
<AnyChar String="'[]" context="Error" attribute="Error" />