Help:Automated add score process

From ChoralWiki
Jump to navigation Jump to search

Introduction

The new, automated add score process, introduced in October 2013, is intended to simplify the process of adding a new score edition to ChoralWiki, especially for those users who are unfamiliar with adding and editing wiki code inside composer and work pages. Using this process, the composer and the work pages are automatically created or updated, without the user being required to do it manually.

The traditional add score process required instead to copy-and-paste one fragment of wiki code into the composer page, and another fragment of wiki code into the work page. Users who are more familiar with the traditional process can still use it by clicking a specific checkbox available on the submission form. See details hereinbelow (steps 4 to 6).

A key element of the automated process is the automation of composer pages, that are automatically updated whenever a new work is added. This automation is based on a specific function, named SortWorks, which automatically lists all works by a certain composer according to certain criteria (e.g., by creating separate lists for sacred vs. secular music). Please note that not all composer pages have been automated using the SortWorks function: some composer pages are still maintained manually, so, whenever a new work by that composer is added, the title of the new work and the link to the relevant work page have to be added manually, by doing copy-and-paste of some wiki code, as it was necessary before the automated process was introduced. You can recognize the automated composer pages by the presence of the {{SortWorks}} function in the wiki code of the page. See Help:Automating the work list on composer pages for details about the automation of composer pages and about the use of the SortWorks function.

Please contact the administrators through the CPDL user forums for any problems or suggestions. Note: the forum does not use the same account as on the main cpdl.org site, so it requires creating an account specificalliy for the forums if you haven't already done so.

Step 1: Locating the "Add new work" form

First, go to the composer page. A list may be found at Composer pages (also linked in the navigation list on the left of the screen) and navigated by clicking on the first letter of the composer's surname in the bar at the top.

If the title is already linked from the composer page, click on the work title and go to the work page. Then click on the "Add new edition" tab on the top-right part of the page. This will open the "Add new work" form where some fields (work title, composer name, work genre/subgenre, composer's time period) are filled automatically with the information present already in the work page. Make any manual changes necessary (for example, the edition that you are adding may have a different voicing with respect to editions present already).

Otherwise, click on the "Add new work" tab at the top right of the composer page. This will open the "Add new work" form, with the "Composer name" and the "Composer's time period" fields already filled in. Now go to step 2.

If the composer name does not appear on the list at Category:Composers, go to any existing composer page and click on the "Add new work" tab on the top-right part of the page. Then, in the "Add new work" form that opens, manually replace "Composer name" and "Composer's time period" with the name and time period of the new composer: the new composer page will automatically be created. Then go to step 2.

Step 2: Adding a new work

Fill in the other fields of the form down to the "Files Section" (excluded) with the relevant information. See the Score submission guide - Adding new edition information for details. Then go to step 3.

Step 3: Uploading files or entering links to externally hosted files

If you wish your files (pdf, midi, mp3, etc.) to be stored on the CPDL servers, you will need to upload them. Click on the "Upload now" buttons present on the "Add new work" form. This will open a file upload window that you can use to upload files. See Score submission guide - Uploading files for details. The system will try to automatically detect the file types and fill in the appropriate fields of the "Add new work" form accordingly. Please check the data entered, and update them if necessary. You can close the file upload window(s) after all files are uploaded.

If your files are already stored on external servers, we recommend that you upload them to CPDL anyway, in order to avoid eventual broken links. But if you prefer not to, then please enter the relevant links (full URL beginning with http://) and the applicable details (file type, size, page size, number of pages, etc.) because the system cannot automatically detect such information on externally stored files.

Step 4: Completing and submitting the "Add new work" form

Please fill in the remaining fields of the "Add new work" form (notes about the edition, copyright, external web links, your email address - see Score submission guide - Adding new edition information for details).

If you are more familiar with the traditional process and you don't want that the work page and/or the composer page are updated automatically, please select the checkbox "Do not automatically add wiki code to the pages, I will do it manually" at the bottom of the form. You will receive by email the wiki code fragments that would have been normally sent to you if you followed the traditional process. You will have to manually copy-and-paste the wiki code fragments on the work page, and also on the composer page if the composer page is not automated already.

When all required fields are complete, click on the "Add works data" button at the bottom of the form. The composer page, newly created or amended, according to the work/edition added, will be shown to you after a few seconds. If you selected the checkbox "Do not automatically add wiki code to the pages, I will do it manually" you will be also returned to the composer page, so that you can amend it using the wiki code fragments sent to you via email. The email with the wiki fragments will be sent to you in all cases, also if you did not select the checkbox "Do not automatically add wiki code to the pages, I will do it manually", for your records.

Contributors who are not familiar with editing wiki pages may stop at this point. All users who are familiar with editing wiki pages are encouraged to perform the next steps also for the contributions of other users.

Step 5: Checking and refining the composer page

If you added a new work and the composer page is already automated, the new work title should be automatically displayed on the page. It is possible that the work title is erroneously displayed twice, both in the main list and in the list under "Other works not listed above" at the bottom. It's a side effect ot the wiki cache, because not enough time has elapsed for the cache to refresh. You can force a cache refresh by clicking on Edit followed by Save changes, or by adding ?action=purge to the URL of the page. You may have to do this twice to obtain that the cache is completely refreshed.

If you added a new work and the composer page is not automated, you have to manually copy-and-paste the wiki code fragment that links to the new work page. You'll have received the wiki code fragment via email. You have to use the wiki code fragment under "Composer entry (this entry appears on the composer page, please copy/paste the line below, under List of works)", and you have to copy-and-paste it to the correct location on the page, depending on the composer page structure.

Composer pages newly created will lack much relevant information (birth and death dates, biography, etc.). You are invited to edit the page, adding any missing data.

Step 6: Checking and refining the work page

While on the composer page, please click on the title of the work you added (or you added a new edition to). The automatic process should have added the new edition information as the first edition in the list if other editions were present already. Please correct anything that the automatic process was unable to handle properly.

If you selected the checkbox "Do not automatically add wiki code to the pages, I will do it manually", the work page is not automatically created or updated, therefore you will have to manually create or update it using the wiki code fragment that you'll have received via email. It's the wiki code fragment shown under "Works entry (this should appear on the works page,copy all material below except for the last line of text)".

Check that everything is correct on the page, including especially the links to the files that you uploaded or linked from external websites.