Jump to content

User:Rublov/leadcaps

From Wikipedia, the free encyclopedia
leadcaps
DescriptionHighlight incorrectly-capitalized title in the lead
Author(s)User:Rublov
UpdatedJanuary 12, 2022; 2 years ago (2022-01-12)
SourceUser:Rublov/leadcaps.js
GitHub repositoryscripts

A user script to highlight an incorrectly-capitalized bolded title in the lead. The capitalization of the bolded title in the lead is compared against the article's actual title. Note that if the two titles differ in more than just capitalization, it will not be highlighted. Click on the highlighted title to restore its normal color.

Installation

[edit]

If you have ScriptInstaller, simply click the "Install" button here or on User:Rublov/leadcaps.js.

To install it manually, add the following line to Special:MyPage/common.js:

importScript( 'User:Rublov/leadcaps.js' );