Module:Documentation: Difference between revisions
m 1 revision imported |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by one other user not shown) | |||
| Line 172: | Line 172: | ||
body | body | ||
:addClass( badDoc and 'documentation-badDoc' or '' ) | :addClass( badDoc and 'documentation-badDoc' or '' ) | ||
:tag( 'div' ) | :tag( 'div' ):addClass( 'documentation-header-tools' ) | ||
:wikitext( i18n.linkBar:format( i18n.linkFormat:format( i18n.commonInternalLinkPipe:format( i18n.commonNamespacedPageWithSub:format( i18n.namespaceSpecial, i18n.specialPurge, page.fullText ), i18n.linkTextPurge ) ) ) ) | :wikitext( i18n.linkBar:format( i18n.linkFormat:format( i18n.commonInternalLinkPipe:format( i18n.commonNamespacedPageWithSub:format( i18n.namespaceSpecial, i18n.specialPurge, page.fullText ), i18n.linkTextPurge ) ) ) ) | ||
:done() | :done() | ||
| Line 254: | Line 253: | ||
-- Generates the link bar | -- Generates the link bar | ||
local links = mw.html.create( 'span' ) | local links = mw.html.create( 'span' ):addClass( 'documentation-header-tools' ) | ||
local linkList = {} | local linkList = {} | ||