<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AHighlight%2Fdoc</id>
	<title>Module:Highlight/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AHighlight%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Highlight/doc&amp;action=history"/>
	<updated>2026-06-14T10:05:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Highlight/doc&amp;diff=471904&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Highlight/doc&amp;diff=471904&amp;oldid=prev"/>
		<updated>2021-07-15T22:00:56Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{module rating|alpha}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;#123;{#invoke:{{BASEPAGENAME}}|main|''regex''|''page name''|''style''}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''regex'' is a Lua pattern (a somewhat limited form of [[regular expression]] -- see [[mw:Extension:Scribunto/Lua_reference_manual#Patterns]]).  Note that quotes around the regex are ''not'' needed and captures should have no effect (however, you can use them to break up blocks of [ or { characters that interfere with the processing of the #invoke block).  Omitting the regex results in blank output.&lt;br /&gt;
&lt;br /&gt;
* ''page'' is the name of the page to highlight.  However, it can be omitted, in which case the current page is used.  However, if the page name ends in &amp;quot;/highlight&amp;quot;, then that part is removed before the page is looked up.&lt;br /&gt;
&lt;br /&gt;
* ''style'' is an optional parameter.  In addition to the default, it can presently be &amp;quot;yellow&amp;quot; for a classic yellow highlighter look, or &amp;quot;oval&amp;quot; for a bolder, oval-ish red outline.  The span style=&amp;quot;...&amp;quot; statements for accomplishing this are defined near the top of the module for your convenience in editing.&lt;br /&gt;
&lt;br /&gt;
* All of these parameters can be passed with names (regex = , page = , style =) if desired.&lt;br /&gt;
&lt;br /&gt;
* Therefore, a convenient way to use this function is to preview the text &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Highlight|main|''regex''}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; at ''(your-page-name)''/highlight to view the text of ''(your-page-name)'' with markup added.  Unless you'd like to share the marked-up text with others you shouldn't Save the page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>