Infopedia:Shortdesc helper



Shortdesc helper (SDH) is a gadget for adding, editing, and importing short descriptions.

Enabling
Select the gadget at the "Editing" section of Special:Preferences (and save).

(if you already have the script installed, remove from Special:MyPage/common.js or Special:MyPage/skin.js)

Usage
When activated, the article's short description will be displayed on the page immediately under the line "From Wikipedia, the free encyclopedia", and edits may be made by clicking the buttons to the right of the short description (see image). An edit summary may be added using the "summary" button.

If there is no local short description but there is a Wikidata description, the gadget will instead show that in pink, with an option to import it to Wikipedia (capitalising the first letter).

By default, adding short descriptions to an article also adds the description to Wikidata if Wikidata has no description. This can be changed in the settings.

The gadget is compatible with the page assessments gadget.

Options
Shortdesc helper may be configured using the settings window that can be accessed when editing or adding a short description by clicking the gear-wheel button on the right.

Installation on another wiki
Shortdesc helper will automatically detect if it is loaded on another wiki, and allow viewing and editing of Wikidata descriptions on those wikis.

For individual use
Add

to Special:MyPage/common.js on that wiki to use the script on another wiki.

As a gadget
To install Shortdesc helper on another wiki, create a file named "MediaWiki:Gadget-Shortdesc-helper.js" with the content (comments there note how to localize):

and create a CSS file named "MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css" with the content of MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css.

Then, add to MediaWiki:Gadgets-definition: