Module:Documentation: Difference between revisions

osrsw>The scribe
Yesno
osrsw>Shayani
useful history button alongside edit and purge
Line 20: Line 20:
                 :tag( 'td' )
                 :tag( 'td' )
                     :css( 'width', '40px' )
                     :css( 'width', '40px' )
                     :wikitext( '[[File:Information icon-grey.svg|35px|center|link=]]' )
                     :wikitext( '[[File:Information icon-grey.svg|35px|centre|link=]]' )
                     :done()
                     :done()
                 :tag( 'td' )
                 :tag( 'td' )
Line 78: Line 78:
             :wikitext(
             :wikitext(
            '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='edit'} ) ) .. ' edit]] ' ..
            '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='edit'} ) ) .. ' edit]] ' ..
            '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='history'} ) ) .. ' history]] ' ..
                '[<span class="jsPurgeLink">[' .. tostring( mw.uri.fullUrl( title.fullText, {action='purge'} ) ) .. ' purge]</span>]'
                '[<span class="jsPurgeLink">[' .. tostring( mw.uri.fullUrl( title.fullText, {action='purge'} ) ) .. ' purge]</span>]'
            )
            )