Dyskusja użytkownika:Gsapijaszko: Różnice pomiędzy wersjami
Z sapijaszko.net
m (Utworzył nową stronę „Popatrzeć na [http://www.nise81.com/archives/816 BibTex Citation Management within MediaWiki]”) |
m |
||
Linia 1: | Linia 1: | ||
Popatrzeć na [http://www.nise81.com/archives/816 BibTex Citation Management within MediaWiki] | Popatrzeć na [http://www.nise81.com/archives/816 BibTex Citation Management within MediaWiki] | ||
+ | |||
+ | == Hyphenation with Mediawiki == | ||
+ | |||
+ | In file /includes/OutputPage.php | ||
+ | |||
+ | <pre> | ||
+ | if ( $wgUseAjax ) { | ||
+ | $this->addScriptFile( 'ajax.js' ); | ||
+ | $this->addScriptFile( 'hyphenate.js' ); <!-- to dodane --> | ||
+ | |||
+ | ... | ||
+ | </pre> | ||
+ | |||
+ | In /skins/vector.php added <nowiki><div class="hyphenate"></nowiki> element: | ||
+ | |||
+ | <pre> | ||
+ | <!-- bodytext --> | ||
+ | <div class="hyphenate"> | ||
+ | <?php $this->html( 'bodytext' ) ?> | ||
+ | </div> | ||
+ | <!-- /bodytext --> | ||
+ | </pre> |
Wersja z 22:04, 14 mar 2012
Popatrzeć na BibTex Citation Management within MediaWiki
Hyphenation with Mediawiki
In file /includes/OutputPage.php
if ( $wgUseAjax ) { $this->addScriptFile( 'ajax.js' ); $this->addScriptFile( 'hyphenate.js' ); <!-- to dodane --> ...
In /skins/vector.php added <div class="hyphenate"> element:
<!-- bodytext --> <div class="hyphenate"> <?php $this->html( 'bodytext' ) ?> </div> <!-- /bodytext -->