Page MenuHomePhabricator

Request for a supplementary javascript for non-Monobook skins
Closed, ResolvedPublic

Description

Author: ingoolemo

Description:
As we all know, Monobook (the standard wiki skin) can be edited on local
websites with supplementary javascript, as at [[MediaWiki:Monobook.js]]. For
users of the 'Classic' or 'Standard' skin and those derived therefrom, no
similar tool exists. This would be extremely useful for Classic users, because
the Classic skin has not received many important additions that Monobook has,
such as a javascript editbutton to insert a redirect tag, and the 'Permalink'
and 'Cite' links in the quickbar. [[MediaWiki:Standard.js]] includes several
scripts that Classic users believe would be useful.

A similar bug, requesting [[MediaWiki:Common.js]], is #4178


Version: 1.7.x
Severity: enhancement
URL: http://en.wikipedia.org/wiki/MediaWiki:Standard.js

Details

Reference
bz6377

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:20 PM
bzimport set Reference to bz6377.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

*** Bug 7019 has been marked as a duplicate of this bug. ***

dto wrote:

patch for r16128 Standard.php allowing inclusion of MediaWiki:Standard.js

This should enable MediaWiki:Standard.js for the standard/classic skin.
(Is @see part of the documentation syntax?)

Attached:

ayg wrote:

Common.js was added in r17737. You can check the JS variable "skin" to find out
what skin you're in and switch appropriately if you feel like it.