Witam

chodzi mi o dodawanie nowej lini w trakcie edycji tekstu na wiki.
nie wiem dlaczego nie dziala ale mimo wciskania enter i podczas edycji tak sie wyswietla to po zapisaniu
w gotowej stronie pojawia sie wszystko w jednej linii
i zeby byla nowa linia trzeba dopisac <br>

co zrobic zeby to zmienic i zeby enterem tez mozna bylo dodawac nową linie
byloby to znacznie wygodniejsze a widzialem ze na wiekszosci wiki tak jest wlasnie

oto moj plik LocalSettings.php:
  1. <?php
  2.  
  3.  
  4. if( defined( 'MW_INSTALL_PATH' ) ) {
  5. $IP = MW_INSTALL_PATH;
  6. } else {
  7. $IP = dirname( __FILE__ );
  8. }
  9.  
  10. $path = array( $IP, "$IP/includes", "$IP/languages" );
  11. set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
  12.  
  13. require_once( "includes/DefaultSettings.php" );
  14.  
  15.  
  16. ini_set( 'memory_limit', '20M' );
  17.  
  18. if ( $wgCommandLineMode ) {
  19. if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
  20. die( "This script must be run from the command linen" );
  21. }
  22. }
  23.  
  24. # $wgDisableOutputCompression = true;
  25.  
  26. $wgSitename  = "Slackware Wiki";
  27.  
  28. $wgScriptPath  = "/~aleks/wiki";
  29.  
  30. $wgEnableEmail = true;
  31. $wgEnableUserEmail = true;
  32.  
  33. $wgEmergencyContact = "aleksdg@gmail.com";
  34. $wgPasswordSender = "aleksdg@gmail.com";
  35.  
  36. $wgEnotifUserTalk = true; # UPO
  37. $wgEnotifWatchlist = true; # UPO
  38. $wgEmailAuthentication = true;
  39.  
  40. $wgDBtype  = "mysql";
  41. $wgDBserver  = "localhost";
  42. $wgDBname  = "wikidb";
  43. $wgDBuser  = "wikiuser";
  44. $wgDBpassword  = "kohorta11";
  45. $wgDBport  = "5432";
  46. $wgDBprefix  = "mw_";
  47.  
  48. $wgDBTableOptions  = "TYPE=InnoDB";
  49.  
  50. $wgDBmwschema  = "mediawiki";
  51. $wgDBts2schema = "public";
  52.  
  53. $wgDBmysql5 = false;
  54.  
  55. $wgMainCacheType = CACHE_NONE;
  56. $wgMemCachedServers = array();
  57.  
  58. $wgEnableUploads  = false;
  59.  
  60.  
  61. $wgUseTeX  = false;
  62.  
  63. $wgLocalInterwiki  = $wgSitename;
  64.  
  65. $wgLanguageCode = "pl";
  66.  
  67. $wgProxyKey = "5085ff9472a13e1021e7525917a258ff529a02e76ef21ce024f7acc93c5a6f65";
  68.  
  69. $wgDefaultSkin = 'monobook';
  70.  
  71.  
  72. $wgEnableCreativeCommonsRdf = true;
  73. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  74. $wgRightsUrl = "http://www.gnu.org/copyleft/fdl.html";
  75. $wgRightsText = "GNU Free Documentation License 1.2";
  76. $wgRightsIcon = "${wgScriptPath}/skins/common/images/gnu-fdl.png";
  77. # $wgRightsCode = "gfdl"; # Not yet used
  78.  
  79. $wgDiff3 = "";
  80.  
  81. # When you make changes to this configuration file, this will make
  82. # sure that cached pages are cleared.
  83. $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
  84. $wgCacheEpoch = max( $wgCacheEpoch, $configdate );
  85.  
  86. $wgLogo = "/~aleks/wiki/logo.gif";
  87. ?>