
Project: DominoWiki (Managed by Benedict R Poole)
 | 

 |  |
| Subject | Updates! |
| Created | 01/10/2007 09:54 PM by John Smart/RCS. |
| Modified | <none> by <none>. |
Hi Ben!
I've updated what I've done. This should replace the previous document
Better documentation, otherwise the same as previously submitted 
Ignore the changes to the WikiQuerySave I mentioned earlier, I changed WikiPage to handle this instead.
Added a QuerySave to immediately populate backlinks
Deprecated arrayToString function with the ND6 LotusScript primitive "Join"
Added isArrayEqv function
Added updateFieldIfNeeded function

updated tips.html to reflect changes made

Links to new pages are now the whole link title instead of straight text with a linked question mark at the end.
Changed convertSingleBracket to allow links with "notes:", "mailto:" or "email:"
Changed allowSafeHTML to allow ul, ol, li, dl, dt, dd tags
Changed ParseLineFeeds to remove extra <br> tags near above tags.
All links are now classed so that they can be individually styled using CSS.
(wiki-filelink, wiki-httplink, wiki-httpslink, wiki-mailtolink, wiki-inavlidlink, wiki-pagelink, wiki-newpagelink)
Added read-write public property "document" for use by scripts that might run docs other than session.DocumentContext (e.g. from Notes-side wiki form's querysave event)
Improved performance, removed updateLinks method in favor of building an array of adding new "links" string array property , building it in memory, and comparing the against field data at the end of wikiFormat, and only saving if different
Also added functionality to start tracking missing links (i.e. new page links) as well. (NOTE: At this time, the missing links field on other pages is not yet automatically updated when someone creates a new page.)
Added saveDisabled property for debugging and for calling wikiFormat from Notes-side wiki form's querysave event

For the css, in addition to changing the the wiki-newpagelink class, also add the following:dl
{
margin: 0ex;
}
dt
{
font-weight: bold;
}
dd
{
margin-bottom: 1ex;
}
In DominoWiki acitons...\01. Update pages & versions:
Replace "arraytoString" with LotusScript primitive "Join"
|
Feedback
Check out other projects
Switch to project: