User:Polygnotus/Scripts/SourceTable

This is an old revision of this page, as edited by Polygnotus (talk | contribs) at 03:19, 8 October 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

SourceTable
DescriptionMakes it easy to discuss sources in AfD discussions
Author(s)Polygnotus
UpdatedApril 6, 2025
    (4 months ago)
SourceUser:Polygnotus/Scripts/SourceTable.js

The ___location of the button A table generated by SourceTable

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.

Or install it manually by adding the below code to your Special:MyPage/common.js file:

{{subst:iusc|User:Polygnotus/Scripts/SourceTable.js}}

Testing

You can test the script over at User:Polygnotus/DuplicateReferencesTest.

Functionality

  • Adds a button next to the page title when editing AfD discussions. Clicking the button adds a wikicode table to the editor

Limitations

  • The sources on the actual article may be displayed in a different order than they occur in the wikicode.