[
[ 'mw-new-classname' ],
[ 'class' => 'mw-existing-classname' ],
- [ 'class' => 'mw-new-classname mw-existing-classname' ],
+ [ 'class' => 'mw-existing-classname mw-new-classname' ],
+ ],
+ [
+ [ 'mw-new-classname', 'mw-existing-classname' ],
+ [ 'class' => 'mw-existing-classname' ],
+ [ 'class' => 'mw-existing-classname mw-new-classname' ],
],
];
}
$expected
) {
$this->setMwGlobals( [
- // set to trick MWNamespace::getRestrictionLevels
+ // set to trick NamespaceInfo::getRestrictionLevels
'wgRestrictionLevels' => $restrictionLevels
] );