class_docstr: For MediaWiki Wikitext.
  
  Parsing Wikitext is tricky, and results vary between different MediaWiki
  installations, so we only highlight common syntaxes (built-in or from
  popular extensions), and also assume templates produce no unbalanced
  syntaxes.
  
  .. versionadded:: 2.15
class_docstr_tok: ["For","MediaWiki","Wikitext",".","Parsing","Wikitext","is","tricky",",","and","results","vary","between","different","MediaWiki","installations",",","so","we","only","highlight","common","syntaxes","(","built-in","or","from","popular","extensions",")",",","and","also","assume","templates","produce","no","unbalanced","syntaxes",".","..","versionadded",":",":","2.15"]
code: def nowiki_tag_rules(tag_name):
      return [
          (
              r"(?i)(</)({})(\s*)(>)".format(tag_name),
              bygroups(Punctuation, Name.Tag, Whitespace, Punctuation),
              "#pop",
          ),
          include("entity"),
          include("text"),
      ]
  
imports: import re
  from pygments.lexers.html import XmlLexer
  from pygments.lexers.javascript import JavascriptLexer
  from pygments.lexers.css import CssLexer
  from pygments.lexers.lilypond import LilyPondLexer
  from pygments.lexers.data import JsonLexer
  from pygments.lexer import RegexLexer, DelegatingLexer, include, bygroups, using, this, do_insertions, default, words
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic, Other, Whitespace
  from pygments.util import get_bool_opt, ClassNotFound
label_desc: Use image node_id 1 for calling the WikitextLexer obj's underlying member method code with example usage: obj.nowiki_tag_rules(tag_name) and returns: list