importScript('Benutzer:TMg/autoFormatter.js/Beta.js'); //]
importScript('Benutzer:TMg/cleanDiff.js'); //]
var autoFormatReplacements = [
  +) *()/g, "$1 $2"],
        +), Der\}/g, "$1 #Der}"],
        +), Die\}/g, "$1 #Die}"],
        +), Das\}/g, "$1 #Das}"],
        +), Ein\}/g, "$1 #Ein}"],
        +), Eine\}/g, "$1 #Eine}"],
        +), The\}/g, "$1 #The}"],
        +), A\}/g, "$1 #A}"],
        +), An\}/g, "$1 #An}"],
        +), La\}/g, "$1 #La}"],
        +), Le\}/g, "$1 #Le}"],
        +), Les\}/g, "$1 #Les}"],
        +), Un\}/g, "$1 #Un}"],
        +), Une\}/g, "$1 #Une}"],
        +), Los\}/g, "$1 #Los}"],
        +), Las\}/g, "$1 #Las}"],
        +), L\}/g, "$1 #L}"],
        +), Des\}/g, "$1 #Des}"],
        +), El\}/g, "$1 #El}"],
        )/g, "$1 $2"],
        ,
        ,
        [
    /(\{\{SORTIERUNG:|\|]*\|)(?:#:+)?0*(\d+(?:\.\d{3})*)(?!\d)/g,
    function($0, $1, $2)
    {
        return $1 + '#' + $2.replace(/\d\D*/g, ':') + $2.replace(/\D+/g, '');
    }
]
];

if (window.bklCheck) bklCheck.cat = {
        className   : 'lu-link',
        titleAppend : ' (hat LÜ-Baustein)',
        htmlAppend  : '<sup><small class="lu-link-sup">LÜ</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'ua-link',
        titleAppend : ' (hat ÜA-Baustein)',
        htmlAppend  : '<sup><small class="ua-link-sup">ÜA</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'qs-link',
        titleAppend : ' (hat QS-Baustein)',
        htmlAppend  : '<sup><small class="qs-link-sup">QS</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'qsff-link',
        titleAppend : ' (hat QSFF-Baustein)',
        htmlAppend  : '<sup><small class="qsff-link-sup">QS-FF</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'qsnawi-link',
        titleAppend : ' (hat QSNaWi-Baustein)',
        htmlAppend  : '<sup><small class="qsnawi-link-sup">QS-NaWi</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'qsmedizin-link',
        titleAppend : ' (hat QSMedizin-Baustein)',
        htmlAppend  : '<sup><small class="qsmedizin-link-sup">QS-Medizin</small></sup>'
};

if (window.bklCheck) bklCheck.cat = {
        className   : 'urv',
        titleAppend : ' (hat URV-Baustein)',
        htmlAppend  : '<sup><small class="urv-link-sup">URV</small></sup>'
};