Commit 8a871b45 authored by dabright's avatar dabright

Add feature suggested by RFE 919670. When enabled, consecutive lines of plain...

Add feature suggested by RFE 919670. When enabled, consecutive lines of plain Wiki text will be surrounded by HTML paragraph tags, rather than separated by explicit line break tags at the end of each source line. Also, changed some old HTML tags to XHTML compatible form and fixed a bug that prevented lists and div's from being properly closed out when a ...page... marker was encountered.
parent d7550c22
Tikiwiki Changelog
------------------
$Header: /cvsroot/tikiwiki/tiki/changelog.txt,v 1.150 2004-03-15 21:27:27 mose Exp $
$Header: /cvsroot/tikiwiki/tiki/changelog.txt,v 1.151 2004-03-25 06:19:08 dabright Exp $
All developers are invited to add relevant changes in that file as they
apply them to the CVS source. You can optionnaly indicate an identifer
......@@ -17,6 +17,15 @@ Please wrap your lines to 80 characters and indent them with spaces only.
Version 1.9
<http://tikiwiki.org/ReleaseProcess19>
* [FIX] Remove a hardcoded courier font selection for monospaced Wiki text
and just use a tt tag pair.
* [FIX] Change parse_data to properly recognize a .. .page. .. marker. Without
this change, lists and div's were not being properly closed out.
* [FIX] Change some hardcoded <br> and <hr> tags to be the XHTML compatible
form (<br /> and <hr />).
* [MOD] Add a Wiki formatting mode that will put consecutive lines of plain
text into a block surrounded by HTML paragraph tags. This behavior is
conditioned on the $feature_wiki_paragraph_formatting flag.
* [MOD] Parse absolute URI correctly in group home page setting
* [NEW] plugin ATTACH to list attachements on a wiki page
* [MOD] Avoid sending user back to registration page on first login
......
This diff is collapsed.
......@@ -270,6 +270,7 @@
<tr><td class="form">{tr}Users can lock pages (if perm){/tr}:</td><td><input type="checkbox" name="feature_wiki_usrlock" {if $feature_wiki_usrlock eq 'y'}checked="checked"{/if}/></td></tr>
<tr><td class="form">{tr}Use WikiWords{/tr}:</td><td><input type="checkbox" name="feature_wikiwords" {if $feature_wikiwords eq 'y'}checked="checked"{/if}/></td></tr>
<tr><td class="form">{tr}Link plural WikiWords to their singular forms{/tr}:</td><td><input type="checkbox" name="feature_wiki_plurals" {if $feature_wiki_plurals eq 'y'}checked="checked"{/if}/></td></tr>
<tr><td class="form">{tr}Use Wiki paragraph formatting{/tr}:</td><td><input type="checkbox" name="feature_wiki_paragraph_formatting" {if $feature_wiki_paragraph_formatting eq 'y'}checked="checked"{/if}/></td></tr>
<tr><td class="form">{tr}Page creators are admin of their pages{/tr}:</td><td><input type="checkbox" name="wiki_creator_admin" {if $wiki_creator_admin eq 'y'}checked="checked"{/if}/></td></tr>
<tr><td class="form">{tr}Tables syntax{/tr}:</td><td>
<select name="feature_wiki_tables">
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_include_wiki.php,v 1.14 2004-03-08 03:20:31 mose Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-admin_include_wiki.php,v 1.15 2004-03-25 06:19:08 dabright Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -295,6 +295,16 @@ if (isset($_REQUEST["wikifeatures"])) {
$smarty->assign("feature_wiki_plurals",'n');
}
if(isset($_REQUEST["feature_wiki_paragraph_formatting"]) && $_REQUEST["feature_wiki_paragraph_formatting"]=="on") {
$tikilib->set_preference("feature_wiki_paragraph_formatting",'y');
$smarty->assign("feature_wiki_paragraph_formatting",'y');
} else {
$tikilib->set_preference("feature_wiki_paragraph_formatting",'n');
$smarty->assign("feature_wiki_paragraph_formatting",'n');
}
$tikilib->set_preference('wiki_cache', $_REQUEST["wiki_cache"]);
$smarty->assign('wiki_cache', $_REQUEST["wiki_cache"]);
......
<?php
// $Header: /cvsroot/tikiwiki/tiki/tiki-setup.php,v 1.201 2004-03-09 10:48:24 djnz Exp $
// $Header: /cvsroot/tikiwiki/tiki/tiki-setup.php,v 1.202 2004-03-25 06:19:08 dabright Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
......@@ -520,6 +520,8 @@ $feature_wikiwords = 'y';
$smarty->assign('feature_wikiwords', $feature_wikiwords);
$feature_wiki_plurals = 'y';
$smarty->assign('feature_wiki_plurals', $feature_wiki_plurals);
$feature_wiki_paragraph_formatting = 'n';
$smarty->assign('feature_wiki_paragraph_formatting', $feature_wiki_paragraph_formatting);
$feature_surveys = 'n';
$smarty->assign('feature_surveys', $feature_surveys);
$feature_newsletters = 'n';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment