<?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%3AFolger_Shakespeare%2Fconfiguration</id>
	<title>Module:Folger Shakespeare/configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AFolger_Shakespeare%2Fconfiguration"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Folger_Shakespeare/configuration&amp;action=history"/>
	<updated>2026-06-07T11:43:45Z</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:Folger_Shakespeare/configuration&amp;diff=136251&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Pppery moved page Module:Folger Digital/configuration to Module:Folger Shakespeare/configuration without leaving a redirect: Finish implementing requested move</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Folger_Shakespeare/configuration&amp;diff=136251&amp;oldid=prev"/>
		<updated>2020-09-24T03:18:44Z</updated>

		<summary type="html">&lt;p&gt;Pppery moved page &lt;a href=&quot;/index.php?title=Module:Folger_Digital/configuration&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Module:Folger Digital/configuration (page does not exist)&quot;&gt;Module:Folger Digital/configuration&lt;/a&gt; to &lt;a href=&quot;/research/Module:Folger_Shakespeare/configuration&quot; title=&quot;Module:Folger Shakespeare/configuration&quot;&gt;Module:Folger Shakespeare/configuration&lt;/a&gt; without leaving a redirect: Finish implementing requested move&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module&amp;#039;s function lookup table, used by the calling context&lt;br /&gt;
local folger_config = {};&lt;br /&gt;
&lt;br /&gt;
-- printf()-like format string for the Folger play URLs.&lt;br /&gt;
local url_pattern = &amp;#039;http://www.folgerdigitaltexts.org/?chapter=5&amp;amp;play=%s&amp;amp;loc=%s&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- printf()-like format string for the act, scene, line display.&lt;br /&gt;
local location_format = &amp;#039;[%s %s.%s.%s].&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- printf()-like format string for the FTLN display.&lt;br /&gt;
local ftln_format = &amp;#039;&amp;lt;abbr title=&amp;quot;Folger Through-Line Number&amp;quot;&amp;gt;ftln&amp;lt;/abbr&amp;gt; [%s %s].&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TODO: Need some way to specify things like Prologue, Epilogue, Scene Direction, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Aliases by which plays can be specified in the wrapping template.&lt;br /&gt;
-- Every entry is (and must be) an associative array because we loop over it&lt;br /&gt;
-- later in order to extract the aliases. The key is the play code from Folger.&lt;br /&gt;
local _aliases = {&lt;br /&gt;
  [&amp;#039;AWW&amp;#039;] = {&amp;#039;All\&amp;#039;s Well That Ends Well&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ant&amp;#039;] = {&amp;#039;Antony and Cleopatra&amp;#039;},&lt;br /&gt;
  [&amp;#039;AYL&amp;#039;] = {&amp;#039;As You Like It&amp;#039;},&lt;br /&gt;
  [&amp;#039;Err&amp;#039;] = {&amp;#039;The Comedy of Errors&amp;#039;},&lt;br /&gt;
  [&amp;#039;Cor&amp;#039;] = {&amp;#039;Coriolanus&amp;#039;},&lt;br /&gt;
  [&amp;#039;Cym&amp;#039;] = {&amp;#039;Cymbeline&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ham&amp;#039;] = {&amp;#039;Hamlet&amp;#039;},&lt;br /&gt;
  [&amp;#039;1H4&amp;#039;] = {&amp;#039;Henry IV, Part 1&amp;#039;, &amp;#039;1H4&amp;#039;},&lt;br /&gt;
  [&amp;#039;2H4&amp;#039;] = {&amp;#039;Henry IV, Part 2&amp;#039;, &amp;#039;2H4&amp;#039;},&lt;br /&gt;
  [&amp;#039;H5&amp;#039;]  = {&amp;#039;Henry V&amp;#039;, &amp;#039;H5&amp;#039;},&lt;br /&gt;
  [&amp;#039;1H6&amp;#039;] = {&amp;#039;Henry VI, Part 1&amp;#039;, &amp;#039;1H6&amp;#039;},&lt;br /&gt;
  [&amp;#039;2H6&amp;#039;] = {&amp;#039;Henry VI, Part 2&amp;#039;, &amp;#039;2H6&amp;#039;},&lt;br /&gt;
  [&amp;#039;3H6&amp;#039;] = {&amp;#039;Henry VI, Part 3&amp;#039;, &amp;#039;3H6&amp;#039;},&lt;br /&gt;
  [&amp;#039;H8&amp;#039;]  = {&amp;#039;Henry VIII&amp;#039;, &amp;#039;H8&amp;#039;},&lt;br /&gt;
  [&amp;#039;JC&amp;#039;]  = {&amp;#039;Julius Caesar&amp;#039;},&lt;br /&gt;
  [&amp;#039;Jn&amp;#039;]  = {&amp;#039;King John&amp;#039;},&lt;br /&gt;
  [&amp;#039;Lr&amp;#039;]  = {&amp;#039;King Lear&amp;#039;},&lt;br /&gt;
  [&amp;#039;LLL&amp;#039;] = {&amp;#039;Love\&amp;#039;s Labour\&amp;#039;s Lost&amp;#039;},&lt;br /&gt;
  [&amp;#039;Mac&amp;#039;] = {&amp;#039;Macbeth&amp;#039;},&lt;br /&gt;
  [&amp;#039;MM&amp;#039;]  = {&amp;#039;Measure for Measure&amp;#039;},&lt;br /&gt;
  [&amp;#039;MV&amp;#039;]  = {&amp;#039;The Merchant of Venice&amp;#039;},&lt;br /&gt;
  [&amp;#039;Wiv&amp;#039;] = {&amp;#039;The Merry Wives of Windsor&amp;#039;},&lt;br /&gt;
  [&amp;#039;MND&amp;#039;] = {&amp;#039;A Midsummer Night\&amp;#039;s Dream&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ado&amp;#039;] = {&amp;#039;Much Ado About Nothing&amp;#039;},&lt;br /&gt;
  [&amp;#039;Oth&amp;#039;] = {&amp;#039;Othello&amp;#039;},&lt;br /&gt;
  [&amp;#039;Per&amp;#039;] = {&amp;#039;Pericles&amp;#039;},&lt;br /&gt;
  [&amp;#039;R2&amp;#039;]  = {&amp;#039;Richard II&amp;#039;, &amp;#039;R2&amp;#039;},&lt;br /&gt;
  [&amp;#039;R3&amp;#039;]  = {&amp;#039;Richard III&amp;#039;, &amp;#039;R3&amp;#039;},&lt;br /&gt;
  [&amp;#039;Rom&amp;#039;] = {&amp;#039;Romeo and Juliet&amp;#039;, &amp;#039;RJ&amp;#039;, &amp;#039;R&amp;amp;J&amp;#039;},&lt;br /&gt;
  [&amp;#039;Shr&amp;#039;] = {&amp;#039;The Taming of the Shrew&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tmp&amp;#039;] = {&amp;#039;The Tempest&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tim&amp;#039;] = {&amp;#039;Timon of Athens&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tit&amp;#039;] = {&amp;#039;Titus Andronicus&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tro&amp;#039;] = {&amp;#039;Troilus and Cressida&amp;#039;},&lt;br /&gt;
  [&amp;#039;TN&amp;#039;]  = {&amp;#039;Twelfth Night&amp;#039;},&lt;br /&gt;
  [&amp;#039;TGV&amp;#039;] = {&amp;#039;Two Gentlemen of Verona&amp;#039;},&lt;br /&gt;
  [&amp;#039;TNK&amp;#039;] = {&amp;#039;Two Noble Kinsmen&amp;#039;},&lt;br /&gt;
  [&amp;#039;WT&amp;#039;]  = {&amp;#039;The Winter\&amp;#039;s Tale&amp;#039;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Turn the table inside out, so looking up an alias will return the play code.&lt;br /&gt;
local aliases = {}&lt;br /&gt;
for play_id, alias_list in pairs(_aliases) do&lt;br /&gt;
  for iterator, alias in ipairs(alias_list) do&lt;br /&gt;
    aliases[alias] = play_id&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Canonical names and Wikipedia article name for plays for display in output.&lt;br /&gt;
-- A map from Folger play code to a canonical name for in-article display.&lt;br /&gt;
-- All aliases are mapped to play code above, and here we map back to the&lt;br /&gt;
-- canonical name and Wikipedia article about that play.&lt;br /&gt;
local names = {&lt;br /&gt;
  [&amp;#039;AWW&amp;#039;] = {title = &amp;#039;All\&amp;#039;s Well That Ends Well&amp;#039;, article = &amp;#039;All\&amp;#039;s Well That Ends Well&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ant&amp;#039;] = {title = &amp;#039;Antony and Cleopatra&amp;#039;, article = &amp;#039;Antony and Cleopatra&amp;#039;},&lt;br /&gt;
  [&amp;#039;AYL&amp;#039;] = {title = &amp;#039;As You Like It&amp;#039;, article = &amp;#039;As You Like It&amp;#039;},&lt;br /&gt;
  [&amp;#039;Err&amp;#039;] = {title = &amp;#039;The Comedy of Errors&amp;#039;, article = &amp;#039;The Comedy of Errors&amp;#039;},&lt;br /&gt;
  [&amp;#039;Cor&amp;#039;] = {title = &amp;#039;Coriolanus&amp;#039;, article = &amp;#039;Coriolanus&amp;#039;},&lt;br /&gt;
  [&amp;#039;Cym&amp;#039;] = {title = &amp;#039;Cymbeline&amp;#039;, article = &amp;#039;Cymbeline&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ham&amp;#039;] = {title = &amp;#039;Hamlet&amp;#039;, article = &amp;#039;Hamlet&amp;#039;},&lt;br /&gt;
  [&amp;#039;1H4&amp;#039;] = {title = &amp;#039;Henry IV, Part 1&amp;#039;, article = &amp;#039;Henry IV, Part 1&amp;#039;},&lt;br /&gt;
  [&amp;#039;2H4&amp;#039;] = {title = &amp;#039;Henry IV, Part 2&amp;#039;, article = &amp;#039;Henry IV, Part 2&amp;#039;},&lt;br /&gt;
  [&amp;#039;H5&amp;#039;]  = {title = &amp;#039;Henry V&amp;#039;, article = &amp;#039;Henry V (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;1H6&amp;#039;] = {title = &amp;#039;Henry VI, Part 1&amp;#039;, article = &amp;#039;Henry VI, Part 1&amp;#039;},&lt;br /&gt;
  [&amp;#039;2H6&amp;#039;] = {title = &amp;#039;Henry VI, Part 2&amp;#039;, article = &amp;#039;Henry VI, Part 2&amp;#039;},&lt;br /&gt;
  [&amp;#039;3H6&amp;#039;] = {title = &amp;#039;Henry VI, Part 3&amp;#039;, article = &amp;#039;Henry VI, Part 3&amp;#039;},&lt;br /&gt;
  [&amp;#039;H8&amp;#039;]  = {title = &amp;#039;Henry VIII&amp;#039;, article = &amp;#039;Henry VIII (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;JC&amp;#039;]  = {title = &amp;#039;Julius Caesar&amp;#039;, article = &amp;#039;Julius Caesar (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;Jn&amp;#039;]  = {title = &amp;#039;King John&amp;#039;, article = &amp;#039;King John (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;Lr&amp;#039;]  = {title = &amp;#039;King Lear&amp;#039;, article = &amp;#039;King Lear&amp;#039;},&lt;br /&gt;
  [&amp;#039;LLL&amp;#039;] = {title = &amp;#039;Love\&amp;#039;s Labor\&amp;#039;s Lost&amp;#039;, article = &amp;#039;Love\&amp;#039;s Labor\&amp;#039;s Lost&amp;#039;},&lt;br /&gt;
  [&amp;#039;Mac&amp;#039;] = {title = &amp;#039;Macbeth&amp;#039;, article = &amp;#039;Macbeth&amp;#039;},&lt;br /&gt;
  [&amp;#039;MM&amp;#039;]  = {title = &amp;#039;Measure for Measure&amp;#039;, article = &amp;#039;Measure for Measure&amp;#039;},&lt;br /&gt;
  [&amp;#039;MV&amp;#039;]  = {title = &amp;#039;The Merchant of Venice&amp;#039;, article = &amp;#039;The Merchant of Venice&amp;#039;},&lt;br /&gt;
  [&amp;#039;Wiv&amp;#039;] = {title = &amp;#039;The Merry Wives of Windsor&amp;#039;, article = &amp;#039;The Merry Wives of Windsor&amp;#039;},&lt;br /&gt;
  [&amp;#039;MND&amp;#039;] = {title = &amp;#039;A Midsummer Night\&amp;#039;s Dream&amp;#039;, article = &amp;#039;A Midsummer Night\&amp;#039;s Dream&amp;#039;},&lt;br /&gt;
  [&amp;#039;Ado&amp;#039;] = {title = &amp;#039;Much Ado About Nothing&amp;#039;, article = &amp;#039;Much Ado About Nothing&amp;#039;},&lt;br /&gt;
  [&amp;#039;Oth&amp;#039;] = {title = &amp;#039;Othello&amp;#039;, article = &amp;#039;Othello&amp;#039;},&lt;br /&gt;
  [&amp;#039;Per&amp;#039;] = {title = &amp;#039;Pericles&amp;#039;, article = &amp;#039;Pericles, Prince of Tyre&amp;#039;},&lt;br /&gt;
  [&amp;#039;R2&amp;#039;]  = {title = &amp;#039;Richard II&amp;#039;, article = &amp;#039;Richard II (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;R3&amp;#039;]  = {title = &amp;#039;Richard III&amp;#039;, article = &amp;#039;Richard III (play)&amp;#039;},&lt;br /&gt;
  [&amp;#039;Rom&amp;#039;] = {title = &amp;#039;Romeo and Juliet&amp;#039;, article = &amp;#039;Romeo and Juliet&amp;#039;},&lt;br /&gt;
  [&amp;#039;Shr&amp;#039;] = {title = &amp;#039;The Taming of the Shrew&amp;#039;, article = &amp;#039;The Taming of the Shrew&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tmp&amp;#039;] = {title = &amp;#039;The Tempest&amp;#039;, article = &amp;#039;The Tempest&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tim&amp;#039;] = {title = &amp;#039;Timon of Athens&amp;#039;, article = &amp;#039;Timon of Athens&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tit&amp;#039;] = {title = &amp;#039;Titus Andronicus&amp;#039;, article = &amp;#039;Titus Andronicus&amp;#039;},&lt;br /&gt;
  [&amp;#039;Tro&amp;#039;] = {title = &amp;#039;Troilus and Cressida&amp;#039;, article = &amp;#039;Troilus and Cressida&amp;#039;},&lt;br /&gt;
  [&amp;#039;TN&amp;#039;]  = {title = &amp;#039;Twelfth Night&amp;#039;, article = &amp;#039;Twelfth Night&amp;#039;},&lt;br /&gt;
  [&amp;#039;TGV&amp;#039;] = {title = &amp;#039;The Two Gentlemen of Verona&amp;#039;, article = &amp;#039;The Two Gentlemen of Verona&amp;#039;},&lt;br /&gt;
  [&amp;#039;TNK&amp;#039;] = {title = &amp;#039;The Two Noble Kinsmen&amp;#039;, article = &amp;#039;The Two Noble Kinsmen&amp;#039;},&lt;br /&gt;
  [&amp;#039;WT&amp;#039;]  = {title = &amp;#039;The Winter\&amp;#039;s Tale&amp;#039;, article = &amp;#039;The Winter\&amp;#039;s Tale&amp;#039;},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
  aliases = aliases,&lt;br /&gt;
  names = names,&lt;br /&gt;
  url_pattern = url_pattern,&lt;br /&gt;
  location_format = location_format,&lt;br /&gt;
  ftln_format = ftln_format,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>