Remove mediawiki.action.history group
authorOri Livneh <ori@wikimedia.org>
Mon, 25 May 2015 23:52:08 +0000 (01:52 +0200)
committerOri Livneh <ori@wikimedia.org>
Mon, 25 May 2015 23:55:26 +0000 (01:55 +0200)
Per task: "This group was added as a misguided patch for T29418. The proper
solution to the problem reported there is to use the top queue (which didn't
even exist at the time; and still isn't being used for these modules!).  A
separate group is harmful, because it causes an extra RL request for things
that depend on diff styles (like VisualEditor)."

Bug: T90842
Change-Id: Ie008316791558749ee3adca45a941ccfd99914b9

resources/Resources.php

index b0cd932..64355a5 100644 (file)
@@ -1161,9 +1161,9 @@ return array(
                ),
        ),
        'mediawiki.action.history' => array(
+               'position' => 'top',
                'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
                'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
-               'group' => 'mediawiki.action.history',
        ),
        'mediawiki.action.history.diff' => array(
                'position' => 'top',
@@ -1173,7 +1173,6 @@ return array(
                                'media' => 'print'
                        ),
                ),
-               'group' => 'mediawiki.action.history',
                'targets' => array( 'desktop', 'mobile' ),
        ),
        'mediawiki.action.view.dblClickEdit' => array(