MediaWiki:Common.js: verschil tussen versies
Uit Bolksch Bierbrouwersgilde
(4 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
/ | self.ws_messages = { | ||
'optlist':'Weergave-opties', | |||
mw.loader.load('// | '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'); |
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');