Page MenuHomePhabricator

Move the head link-rel stylesheet tag of extensions like FlaggedRevs downwards
Closed, ResolvedPublic

Description

Author: Wiki.Melancholie

Description:
Move the head link-rel stylesheet tag of extensions like FlaggedRevs downwards.
Right now
<link rel="stylesheet" type="text/css" media="screen, projection" href="/w/extensions/FlaggedRevs/flaggedrevs.css?16" />
is one of the first tags in <head>

All the other CSS stuff comes lines later! Move it near to
<link rel="stylesheet" type="text/css" media="print" href="/skins-1.5/common/commonPrint.css?141" />

I searched by eye for that CSS in source where all the CSS and JS stuff is, but didn't find it for some while ;-)

Furthermore there is a variable var wgFlaggedRevsJSparams = {"wpaccuracy": 2}; now! It got separated, too.
Please gather this JS variable with the other ones (wgPageName etc.)


Version: unspecified
Severity: trivial

Details

Reference
bz14012

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:09 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz14012.
bzimport added a subscriber: Unknown Object (MLST).

Compare bug 10184.

From description, it sounds like this is using an even different order... wtf?

Wiki.Melancholie wrote:

No, just do not print this out before
<title>Version – Wikipedia</title>

Telling you in which sort order you should print that stuff out is *not* the purpose of this report!
Just gather and unite stuff that belongs together (type dependent).

Seems to have been done recently