Differences From:
File
src/wiki.c
part of check-in
[426a3ba49e]
- Fix a bug in windows that causes the menu on the wiki display pages to
be omitted. Ticket d6d9ee682eac7708b0a7aa31febc8ad47e4923b1.
by
drh on
2008-12-03 14:10:01.
[view]
To:
File
src/wiki.c
part of check-in
[2a3e85f2d5]
- Require wiki edit privilege in order to edit the Sandbox wiki page, just
like any other wiki page.
by
drh on
2008-12-26 17:36:08.
[view]
@@ -219,8 +219,12 @@
zPageName = PD("name","");
if( check_name(zPageName) ) return;
isSandbox = is_sandbox(zPageName);
if( isSandbox ){
+ if( !g.okWrWiki ){
+ login_needed();
+ return;
+ }
if( zBody==0 ){
zBody = db_get("sandbox","");
}
}else{