<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASignpost_poll%2Fconfig</id>
	<title>Module:Signpost poll/config - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASignpost_poll%2Fconfig"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Signpost_poll/config&amp;action=history"/>
	<updated>2026-05-24T22:13:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Signpost_poll/config&amp;diff=146791&amp;oldid=prev</id>
		<title>imported&gt;Mr. Stradivarius: use preload-page instead of preload-default, as preload is no longer a parameter</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Signpost_poll/config&amp;diff=146791&amp;oldid=prev"/>
		<updated>2015-08-31T04:31:48Z</updated>

		<summary type="html">&lt;p&gt;use preload-page instead of preload-default, as preload is no longer a parameter&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module stores configuration data for [[Module:Signpost poll]].&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
&lt;br /&gt;
-- The wrapper template(s) used for the module. This is passed to the &amp;quot;wrappers&amp;quot;&lt;br /&gt;
-- argument of  [[Module:Arguments]].&lt;br /&gt;
wrappers = &amp;#039;Wikipedia:Wikipedia Signpost/Templates/Voter&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default colors to use for the vote visualization. They can be in any&lt;br /&gt;
-- format usable with inline CSS.&lt;br /&gt;
colors = {&lt;br /&gt;
	&amp;#039;#006699&amp;#039;, -- Foundation blue&lt;br /&gt;
	&amp;#039;#339966&amp;#039;, -- Foundation red&lt;br /&gt;
	&amp;#039;#990000&amp;#039;, -- Foundation green&lt;br /&gt;
&lt;br /&gt;
	-- From http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors&lt;br /&gt;
	-- with some colors similar to Foundation colors removed.&lt;br /&gt;
	&amp;#039;#FFB300&amp;#039;,&lt;br /&gt;
	&amp;#039;#803E75&amp;#039;,&lt;br /&gt;
	&amp;#039;#FF6800&amp;#039;,&lt;br /&gt;
	&amp;#039;#A6BDD7&amp;#039;,&lt;br /&gt;
	&amp;#039;#CEA262&amp;#039;,&lt;br /&gt;
	&amp;#039;#817066&amp;#039;,&lt;br /&gt;
	&amp;#039;#F6768E&amp;#039;,&lt;br /&gt;
	&amp;#039;#FF7A5C&amp;#039;,&lt;br /&gt;
	&amp;#039;#53377A&amp;#039;,&lt;br /&gt;
	&amp;#039;#FF8E00&amp;#039;,&lt;br /&gt;
	&amp;#039;#B32851&amp;#039;,&lt;br /&gt;
	&amp;#039;#F4C800&amp;#039;,&lt;br /&gt;
	&amp;#039;#93AA00&amp;#039;,&lt;br /&gt;
	&amp;#039;#593315&amp;#039;,&lt;br /&gt;
	&amp;#039;#F13A13&amp;#039;,&lt;br /&gt;
	&amp;#039;#232C16&amp;#039;,&lt;br /&gt;
},&lt;br /&gt;
&lt;br /&gt;
msg = {&lt;br /&gt;
&lt;br /&gt;
-- The default preload page for the vote page.&lt;br /&gt;
-- This will be given the current page as a parameter $1. This will hopefully&lt;br /&gt;
-- correspond to the poll page when the poll is first set up.&lt;br /&gt;
[&amp;#039;vote-page-preload-default&amp;#039;] = &amp;#039;Wikipedia:Wikipedia Signpost/Templates/Voter/Setup/Counter Preload&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The edit summary to use when creating the vote page.&lt;br /&gt;
[&amp;#039;vote-page-create-summary&amp;#039;] = &amp;#039;Create vote page for Signpost poll&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The edit intro page to use when creating the vote page.&lt;br /&gt;
[&amp;#039;vote-page-create-editintro&amp;#039;] = &amp;#039;Wikipedia:Wikipedia Signpost/Templates/Voter/Setup/Counter EditIntro&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default vote preload text. This is preprocessed.&lt;br /&gt;
-- $1 is the option number.&lt;br /&gt;
[&amp;#039;vote-default&amp;#039;] = &amp;#039;Voting for option $1.&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The text that appears beside each option in the legend. This is preprocessed.&lt;br /&gt;
-- $1 is the option text,&lt;br /&gt;
-- $2 is the number of votes, and&lt;br /&gt;
-- $3 is the percentage of the total votes.&lt;br /&gt;
[&amp;#039;legend-option-text&amp;#039;] = &amp;#039;$1 &amp;lt;small&amp;gt;($3%;&amp;amp;nbsp;$2&amp;amp;nbsp;{{PLURAL: $2 | vote | votes }})&amp;lt;/small&amp;gt;&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The warning that is displayed if there are not enough votes cast to display&lt;br /&gt;
-- the vizualization. This is preprocessed.&lt;br /&gt;
-- $1 is the number of votes needed before the results are displayed.&lt;br /&gt;
[&amp;#039;not-enough-votes-warning&amp;#039;] = &amp;quot;Need &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039; more {{PLURAL: $1 | vote | votes }} &amp;quot; ..&lt;br /&gt;
	&amp;quot;to display results&amp;amp;mdash;if you haven&amp;#039;t already, consider voting!&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
-- Warning to display if the poll is closed due to the expiry date having been&lt;br /&gt;
-- reached.&lt;br /&gt;
[&amp;#039;poll-closed-warning&amp;#039;] = &amp;#039;Sorry; the poll is now closed.&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default preload page for votes. This page should only contain the text&lt;br /&gt;
-- &amp;quot;$1&amp;quot;.&lt;br /&gt;
[&amp;#039;preload-page&amp;#039;] = &amp;#039;Wikipedia:Wikipedia Signpost/Templates/Voter/Vote preload&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default icon. Don&amp;#039;t include a &amp;quot;File:&amp;quot; prefix.&lt;br /&gt;
[&amp;#039;icon-default&amp;#039;] = &amp;#039;WikipediaSignpostIcon.svg&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default overlay image. Don&amp;#039;t include a &amp;quot;File:&amp;quot; prefix.&lt;br /&gt;
[&amp;#039;overlay-default&amp;#039;] = &amp;#039;Foundation Logo Transparent.svg&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The default minimum number of votes needed for the visualization to be&lt;br /&gt;
-- displayed.&lt;br /&gt;
[&amp;#039;minimum-default&amp;#039;] = 10,&lt;br /&gt;
&lt;br /&gt;
-- The default header/title text.&lt;br /&gt;
[&amp;#039;header-text&amp;#039;] = &amp;quot;&amp;#039;&amp;#039;Signpost&amp;#039;&amp;#039; poll&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
-- The error that is displayed if no question is specified.&lt;br /&gt;
[&amp;#039;no-question-error&amp;#039;] = &amp;#039;Please specify a question&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error that is displayed if no vote page is specified.&lt;br /&gt;
[&amp;#039;no-votepage-error&amp;#039;] = &amp;#039;Please specify a vote page&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error that is displayed if the vote page doesn&amp;#039;t exist.&lt;br /&gt;
-- $1 is the URL of a link to create the page with the vote page preload text.&lt;br /&gt;
[&amp;#039;votepage-nonexistent-error&amp;#039;] = &amp;#039;The vote page doesn\&amp;#039;t exist; please [$1 create it]&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error that is displayed if less than two options are specified.&lt;br /&gt;
[&amp;#039;not-enough-options-error&amp;#039;] = &amp;#039;Polls must have at least two options&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error that is displayed if any of the vote texts are duplicates of any&lt;br /&gt;
-- other vote text. This is preprocessed.&lt;br /&gt;
-- $1 and $2 are the numbers of the options with duplicate vote text.&lt;br /&gt;
[&amp;#039;duplicate-vote-text-error&amp;#039;] = &amp;#039;duplicate vote text detected for options $1 and $2&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
},&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Mr. Stradivarius</name></author>
	</entry>
</feed>