As of June 17, 2007, the IMSLP work page copyright auto-tagger is up and running. This page is intended as a manual on what exactly it does.
Contents |
The auto-tagger will attempt to find the date by searching for the |Died Year= string within the composer page. If |Died Year= is not found, the auto-tagger will abort. If |Died Year= is found, but is empty, it will be assumed that the composer is still alive.
The auto-tagger will attempt to locate |Year of First Publication=, and try to read as many numbers after it as possible, converting them to an integer, which will be taken as the year (ex. something like "18th century" will be interpreted as the year "18"). If |Year of First Publication= is blank, the auto-tagger will try to get the year from the |Year/Date of Composition= field. If that is also blank, the auto-tagger will assume the year 0 (zero).
Tags are determined using a two step process.
The three main areas are Canada, the US, and EU. Both Canada and EU should also represent (albeit crudely) many other countries, since they have copyright terms of life+50 and life+70 respectively. The status is determined as follows.
The work is not public domain if the composer died less than 50 years ago, or if the work was first published less than 50 years ago. Otherwise the work is public domain in Canada.
The work is not public domain if the year of first publication is later than 1922, or if the composer was born later than 1909 (this is not a technical requirement, but should work well in case there is no date of first publication specified). If the work was published before 1964, a special flag is set, which is used in conjunction with the {{FilenotPD1964}} template if the file is not public domain in Canada (see the second step below).
Otherwise the work is public domain in the US.
The work is not public domain if the composer died less than 70 years ago. Otherwise the work is public domain in the EU.
The tag is determined by a combination of the three copyright statuses above.
The auto-tagger will automatically abort if it finds that the page has been previously tagged using a work page tagging template. If you need to manually abort it, just add <!--noautotag--> to the (absolute, or it won't work) beginning of the page, and the auto-tagger will abort. This should only be used to work around the caveats listed below.
In both cases the page will be listed in the NoAutoTag category.
The <!--noautotag--> construct is also permitted on the composer page, and will abort processing of all the work pages under it. Please note that work pages with tagging aborted in this fashion will not show up under the NoAutoTag category. Functionality to (automatically) add the composer pages using this construct to a separate category will probably be implemented later on.
The information parsed from the composer pages will be cached for a maximum of 1 day, therefore any changes to a composer page may take up to one day before coming into effect for the auto-tagger. This may be fixed in the future.
The activation of the auto-tagger means that all the work pages of the modern living composers will be tagged either {{WorknotPD}} or {{Work1923}} (depending on whether the year of publication/composition is specified), even if permission is given. For now, this will have to be manually overrode using <!--noautotag-->. If anyone has a better idea for treating such work pages, please leave a message on Feldmahler's user talk page.