commit 38c7f5964e5ab07c0a2de83a2254504cd5069c68
parent d1c9a8a14807d86f63ee4cd90e3e34923739a2ca
Author: Frank <biercenator@gmail.com>
Date: Tue, 27 Mar 2012 18:00:33 +0800
Change Zotero statute mapping from CSL bill to CSL legislation
A bill is a law that has not yet been enacted. Legislation is law
that has been enacted. The two are archived and cited differently,
and should be associated with different item types. CSL provides
a legislation type that is well suited to serve for laws that
have been enacted.
Among the existing styles in the repository, only two use
the legislation variable (american-association-of-petroleum-geologists
and irish-historical-studies). Both treat it as equivalent to bill. All
other styles use CSL bill exclusively.
It would be safe at this point to add legislation alongside bill
in all tests where it occurs (481 repository styles, apart from the
two mentioned above).
There is no particular urgency about this patch for official Zotero,
though, since statute support is likely to change considerably when
full legal support comes onstream anyway.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js
@@ -112,7 +112,7 @@ const CSL_TYPE_MAPPINGS = {
'case':"legal_case",
'hearing':"bill", // ??
'patent':"patent",
- 'statute':"bill", // ??
+ 'statute':"legislation", // ??
'email':"personal_communication",
'map':"map",
'blogPost':"post-weblog",