User:DaxServer/BooksToSfn

The script will add a "Books to Sfn" portlet link in Visual Editor's source mode editing, in main namespace articles or in the user's Sandbox. When clicked, it converts one inside a   tag block into an.

The script looks for a level-2/3 "Bibliography" section with a – block and appends the inside the block. If not, it will look for a level-2 "References" section and create a level-3 "Bibliography" section. After the conversion, a success message or a failure message (with more details in the browser console) would be displayed. Verify the conversion and make any changes necessary. It's recommended to save one change at a time so as to have a good page history.

Capabilities
The script is capable of identifying the last names required by in this order:



The script is capable of identifying year from the parameters  or. It is capable of identifying page numbers from the parameters  or.