MediaWiki:Common.js: verschil tussen versies
Uit Bolksch Bierbrouwersgilde
Regel 1: | Regel 1: | ||
self. | 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': "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: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:OCR.js&action=raw&ctype=text/javascript'); | ||
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:PageNumbers.js&action=raw&ctype=text/javascript'); | mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:PageNumbers.js&action=raw&ctype=text/javascript'); |
Versie van 12 okt 2015 14:38
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': "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');