Difference between revisions of "User talk:Gsapijaszko"
From sapijaszko.net
Gsapijaszko (talk | contribs) m (Utworzył nową stronę „Popatrzeć na [http://www.nise81.com/archives/816 BibTex Citation Management within MediaWiki]”) |
Gsapijaszko (talk | contribs) m |
||
| Line 1: | Line 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> | ||
Revision as of 22:04, 14 March 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 -->