User:Polygnotus/Scripts/SourceTable: Difference between revisions

Content deleted Content added
 
(4 intermediate revisions by the same user not shown)
Line 1:
{{Under construction}}
 
This scripts adds a button next to the page title when editing AfD discussions. Pressing the button inserts a wikitable into the editor with one column listing the sources in the article, and another column where you can add comments.
 
Line 10 ⟶ 8:
| screenshot = [[File:SourceTable1.png|300px]]
}}
 
{{Image frame|content=[[File:SourceTable2.png]]|caption=The ___location of the button]]|align=none}}
{{Image frame|content=[[File:SourceTable1.png]]|caption=A table generated by SourceTable]]|align=none}}
 
== Installation ==
First install [[User:Enterprisey/script-installer]], then come back to this page and click the giant blue "Install" button in the infobox on the right.
Line 19:
<syntaxhighlight lang="mediawiki">{{subst:iusc|User:Polygnotus/Scripts/SourceTable.js}}</syntaxhighlight>
 
=== TestingUsage ===
After each line containing a source is a line that contains only 2 vertical lines. Type your comments after those. Is the source [[WP:RELIABLE|reliable]]? [[WP:INDEPTH|in-depth]]? [[WP:INDEPENDENT|independent]]? et cetera.
You can test the script over at [[User:Polygnotus/DuplicateReferencesTest]].
 
=== Functionality ===