Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wiki
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
wiki
Commits
f3d9a8d4
Commit
f3d9a8d4
authored
Apr 29, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added stuff from wiki.noncvs
parent
e341e243
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
new.tcl
lib/new.tcl
+2
-0
page.tcl
lib/page.tcl
+1
-0
wiki-create.sql
sql/postgresql/wiki-create.sql
+8
-0
wiki.info
wiki.info
+1
-1
No files found.
lib/new.tcl
View file @
f3d9a8d4
...
...
@@ -5,6 +5,8 @@ ad_page_contract {
item_id:integer,optional
}
if
{
""
==
$name
}
{
ad_return_complaint 1
"name is empty"
}
set
folder_id
[
wiki::get_folder_id
]
set
user_id
[
ad_conn user_id
]
set
ip_address
[
ad_conn peeraddr
]
...
...
lib/page.tcl
View file @
f3d9a8d4
...
...
@@ -99,6 +99,7 @@ set content [ad_wiki_text_to_html $content "wiki::get_info"]
set
context
[
list
$title
]
set
focus
""
set
header_stuff
""
set
page_title
$title
set
edit_link_p
[
permission::permission_p
\
-object_id
$item
_id
\
...
...
sql/postgresql/wiki-create.sql
View file @
f3d9a8d4
...
...
@@ -2,10 +2,18 @@
--
--
-- @author Dave Bauer (dave@thedesignexperience.org)
-- @author Frank Bergmann (frank.bergmann@project-open.com)
-- @creation-date 2004-09-06
-- @arch-tag: 0d6b6723-0e95-4c00-8a84-cb79b4ad3f9d
-- @cvs-id $Id$
--
-- there seems to be an error in CMS 4.1.x with
-- the view "cr_revisioni". This error seems to be due
-- to the fact that the content type "content_revision" hasn't
-- been created correctly. Strange stuff...
--
select
content_type__refresh_view
(
'content_revision'
);
insert
into
cr_mime_types
values
(
'Text - Wiki'
,
'text/x-openacs-wiki'
,
''
);
insert
into
cr_mime_types
values
(
'Text - Markdown'
,
'text/x-openacs-markdown'
,
''
);
\ No newline at end of file
wiki.info
View file @
f3d9a8d4
...
...
@@ -15,7 +15,7 @@
<provides
url=
"wiki"
version=
"0.2d"
/>
<requires
url=
"acs-kernel"
version=
"5.1.4"
/>
<requires
url=
"cms"
version=
"
5.1.4
"
/>
<requires
url=
"cms"
version=
"
4.1.1
"
/>
<callbacks>
<callback
type=
"after-install"
proc=
"wiki::install::package_install"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment