User:GhostInTheMachine/SD-display-helper

From WikiProjectMed
Jump to navigation Jump to search

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2023-11-27 10:27:02

Purpose

The short description is not normally displayed on the desktop version of Wikipedia, but it is identified by the class shortdescription.

This user script adds CSS display rules which cause the short description to be displayed and to adjust the default presentation.

CSS rules are also added to slightly adjust the display of the Short Description Helper.

Use

This is OK on the different skins:

If you do not see the short description, then refresh the page. If that fails – flush the browser cache.

Prerequisites

None.

Installing

Add the following line to your common.js file.

{{subst:Lusc|User:GhostInTheMachine/SD-display-helper.js}}

Alternatives

The new Evil Vector skin is said to display short descriptions.

See also