Make "view source" a primary page action, like how "edit" and "view" are

Bug: T174831
Change-Id: Icad7c822c6554b5f95e5f2ed423a767db9ec0fee
isekai
Jack Phoenix 7 years ago
parent 5570b3fdd9
commit eeef6cc5a6

@ -637,7 +637,8 @@ class TimelessTemplate extends BaseTemplate {
'edit', 'edit',
'view', 'view',
'history', 'history',
'addsection' 'addsection',
'viewsource'
] ) ) { ] ) ) {
$currentSet = 'page-primary'; $currentSet = 'page-primary';
} elseif ( in_array( $navKey, [ } elseif ( in_array( $navKey, [
@ -645,7 +646,6 @@ class TimelessTemplate extends BaseTemplate {
'rename', 'rename',
'protect', 'protect',
'unprotect', 'unprotect',
'viewsource',
'move' 'move'
] ) ) { ] ) ) {
$currentSet = 'page-secondary'; $currentSet = 'page-secondary';

Loading…
Cancel
Save