mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
e8a403e342
* Following up on the work from Idf90ee2a0f1c1d08a31cf50099c0bebc7b67e619, this commit renames the storybook files/storybook names to their respective component name. e.g. personalNavigation.stories.js => PersonalMenu.stories.js Bug: T243281 Change-Id: I68054663c5a597f90a826b6f75bf399382dca609
34 lines
1.5 KiB
JavaScript
34 lines
1.5 KiB
JavaScript
import { htmluserlangattributes } from './utils';
|
|
import vectorTabsTemplate from '!!raw-loader!../includes/templates/VectorTabs.mustache';
|
|
|
|
export { vectorTabsTemplate };
|
|
|
|
export const pageActionsData = {
|
|
'tabs-id': 'p-views',
|
|
'empty-portlet': '',
|
|
'label-id': 'p-views-label',
|
|
'msg-label': 'Views',
|
|
'html-userlangattributes': htmluserlangattributes,
|
|
'html-items': `<li id="ca-view" class="collapsible selected">
|
|
<a href="/wiki/Main_Page">Read</a>
|
|
</li>
|
|
<li id="ca-viewsource" class="collapsible">
|
|
<a href="/w/index.php?title=Main_Page&action=edit" title="This page is protected.
|
|
You can view its source [⌃⌥e]" accesskey="e">View source</a></li>
|
|
<li id="ca-history" class="collapsible">
|
|
<a href="/w/index.php?title=Main_Page&action=history" title="Past revisions of this page [⌃⌥h]" accesskey="h">View history</a>
|
|
</li>
|
|
<li id="ca-unwatch" class="collapsible icon mw-watchlink"><a href="/w/index.php?title=Main_Page&action=unwatch" data-mw="interface" title="Remove this page from your watchlist [⌃⌥w]" accesskey="w">Unwatch</a></li>
|
|
`
|
|
};
|
|
|
|
export const namespaceTabsData = {
|
|
'tabs-id': 'p-namespaces',
|
|
'empty-portlet': '',
|
|
'label-id': 'p-namespaces-label',
|
|
'msg-label': 'Namespaces',
|
|
'html-userlangattributes': htmluserlangattributes,
|
|
'html-items': `<li id="ca-nstab-main" class="selected"><a href="/wiki/Main_Page" title="View the content page [⌃⌥c]" accesskey="c">Main page</a></li>
|
|
<li id="ca-talk"><a href="/wiki/Talk:Main_Page" rel="discussion" title="Discussion about the content page [⌃⌥t]" accesskey="t">Talk (3)</a></li>`
|
|
};
|