<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Limit_names_shown.pl</id>
	<title>Limit names shown.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Limit_names_shown.pl"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;action=history"/>
	<updated>2026-06-30T05:38:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14503&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 16:32, 4 February 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14503&amp;oldid=prev"/>
		<updated>2022-02-04T16:32:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:32, 4 February 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;limit names shown&lt;/del&gt;.pl''' contains configuration for limiting the number of names shown in a citation.&amp;#160; This assigns a render function to '''&amp;lt;code&amp;gt;$c-&amp;gt;{limit_names_shown}&amp;lt;/code&amp;gt;''' which can then be assigned to the &amp;lt;code&amp;gt;render_value&amp;lt;/code&amp;gt; attribute of a virtual field with the same name as the original [[API:EPrints/MetaField/Name|name]] field but appended with ''_limited''.&amp;#160; This virtual field can also &amp;lt;code&amp;gt;render_limit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;render_dynamic&amp;lt;/code&amp;gt; attributes to specify how many names to limit to and whether the citation can be expanded to show all names.&amp;#160; For instructions for how to deploy this see [[Limiting names shown]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;limit_names_shown&lt;/ins&gt;.pl''' contains configuration for limiting the number of names shown in a citation.&amp;#160; This assigns a render function to '''&amp;lt;code&amp;gt;$c-&amp;gt;{limit_names_shown}&amp;lt;/code&amp;gt;''' which can then be assigned to the &amp;lt;code&amp;gt;render_value&amp;lt;/code&amp;gt; attribute of a virtual field with the same name as the original [[API:EPrints/MetaField/Name|name]] field but appended with ''_limited''.&amp;#160; This virtual field can also &amp;lt;code&amp;gt;render_limit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;render_dynamic&amp;lt;/code&amp;gt; attributes to specify how many names to limit to and whether the citation can be expanded to show all names.&amp;#160; For instructions for how to deploy this see [[Limiting names shown]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14502&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 16:31, 4 February 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14502&amp;oldid=prev"/>
		<updated>2022-02-04T16:31:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:31, 4 February 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''limit names shown.pl''' contains configuration for limiting the number of names shown in a citation.&amp;#160; This assigns a render function to '''&amp;lt;code&amp;gt;$c-&amp;gt;{limit_names_shown}&amp;lt;/code&amp;gt;''' which can then be assigned to the &amp;lt;code&amp;gt;render_value&amp;lt;/code&amp;gt; attribute of a virtual field with the same name as the original [[API:EPrints/MetaField/Name|name]] field but appended with ''_limited''.&amp;#160; This virtual field can also &amp;lt;code&amp;gt;render_limit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;render_dynamic&amp;lt;/code&amp;gt; attributes to specify how many names to limit to and whether the citation can be expanded to show all names.&amp;#160; For &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;more details &lt;/del&gt;see [[Limiting names shown]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''limit names shown.pl''' contains configuration for limiting the number of names shown in a citation.&amp;#160; This assigns a render function to '''&amp;lt;code&amp;gt;$c-&amp;gt;{limit_names_shown}&amp;lt;/code&amp;gt;''' which can then be assigned to the &amp;lt;code&amp;gt;render_value&amp;lt;/code&amp;gt; attribute of a virtual field with the same name as the original [[API:EPrints/MetaField/Name|name]] field but appended with ''_limited''.&amp;#160; This virtual field can also &amp;lt;code&amp;gt;render_limit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;render_dynamic&amp;lt;/code&amp;gt; attributes to specify how many names to limit to and whether the citation can be expanded to show all names.&amp;#160; For &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;instructions for how to deploy this &lt;/ins&gt;see [[Limiting names shown]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14501&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added page about config file.</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Limit_names_shown.pl&amp;diff=14501&amp;oldid=prev"/>
		<updated>2022-02-04T16:30:48Z</updated>

		<summary type="html">&lt;p&gt;Added page about config file.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dirs}}&lt;br /&gt;
{{cfgd}}&lt;br /&gt;
&lt;br /&gt;
'''limit names shown.pl''' contains configuration for limiting the number of names shown in a citation.  This assigns a render function to '''&amp;lt;code&amp;gt;$c-&amp;gt;{limit_names_shown}&amp;lt;/code&amp;gt;''' which can then be assigned to the &amp;lt;code&amp;gt;render_value&amp;lt;/code&amp;gt; attribute of a virtual field with the same name as the original [[API:EPrints/MetaField/Name|name]] field but appended with ''_limited''.  This virtual field can also &amp;lt;code&amp;gt;render_limit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;render_dynamic&amp;lt;/code&amp;gt; attributes to specify how many names to limit to and whether the citation can be expanded to show all names.  For more details see [[Limiting names shown]]&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 push @{$c-&amp;gt;{fields}-&amp;gt;{eprint}},&lt;br /&gt;
 {&lt;br /&gt;
   name =&amp;gt; 'creators',&lt;br /&gt;
   type =&amp;gt; 'compound',&lt;br /&gt;
   multiple =&amp;gt; 1,&lt;br /&gt;
   fields =&amp;gt; [&lt;br /&gt;
     {&lt;br /&gt;
       sub_name =&amp;gt; 'name',&lt;br /&gt;
       type =&amp;gt; 'name',&lt;br /&gt;
       hide_honourific =&amp;gt; 1,&lt;br /&gt;
       hide_lineage =&amp;gt; 1,&lt;br /&gt;
       family_first =&amp;gt; 1,&lt;br /&gt;
     },&lt;br /&gt;
     {&lt;br /&gt;
       sub_name =&amp;gt; 'id',&lt;br /&gt;
       type =&amp;gt; 'text',&lt;br /&gt;
       input_cols =&amp;gt; 20,&lt;br /&gt;
       allow_null =&amp;gt; 1,&lt;br /&gt;
     }&lt;br /&gt;
   ],&lt;br /&gt;
   input_boxes =&amp;gt; 4,&lt;br /&gt;
 },&lt;br /&gt;
 &lt;br /&gt;
 {&lt;br /&gt;
   name =&amp;gt; 'creators_name_limited',&lt;br /&gt;
   type =&amp;gt; 'name',&lt;br /&gt;
   virtual =&amp;gt; 1,&lt;br /&gt;
   render_value =&amp;gt; 'limit_names_shown',&lt;br /&gt;
   render_limit =&amp;gt; 20,&lt;br /&gt;
   render_dynamic =&amp;gt; 1,&lt;br /&gt;
 };&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
</feed>