MediaWiki:Common.js: verschil tussen versies
Uit Bolksch Bierbrouwersgilde
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven) | |||
Regel 9: | Regel 9: | ||
} | } | ||
self.ws_layouts['Layout 1'] = { | self.ws_layouts['Layout 1'] = { | ||
'text-wrap': "margin-left: 3em;" | '#text-wrap': "position: relative; margin-left: 3em;" | ||
}; | }; | ||
self.ws_layouts['Layout 2'] = { | self.ws_layouts['Layout 2'] = { | ||
'text-wrap': "position: relative; margin-left: 3em; margin-right: 3em;", | '#text-wrap': "position: relative; margin-left: 3em; margin-right: 3em;", | ||
'#text-container': "width: 36em; margin: 0px auto;", | '#text-container': "width: 36em; margin: 0px auto;", | ||
'#text': "text-align: justify;" | '#text': "text-align: justify;" |
Huidige versie van 12 okt 2015 om 14:44
self.ws_messages = { 'optlist':'Weergave-opties', 'hide_page_numbers':'Verberg paginanummers', 'show_page_numbers':'Toon paginanummers', 'layout':'Weegave' } if ( !self.ws_layouts ) { self.ws_layouts = {}; } self.ws_layouts['Layout 1'] = { '#text-wrap': "position: relative; margin-left: 3em;" }; self.ws_layouts['Layout 2'] = { '#text-wrap': "position: relative; margin-left: 3em; margin-right: 3em;", '#text-container': "width: 36em; margin: 0px auto;", '#text': "text-align: justify;" }; mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:Base.js&action=raw&ctype=text/javascript'); mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:OCR.js&action=raw&ctype=text/javascript'); mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:PageNumbers.js&action=raw&ctype=text/javascript');