• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3894: Make topicExists accessible with IF

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   minor 4.2.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


It would be a big improvement to be able to check for topic names using IF.

For example:

%IF{"exists 'BlogComments'" then="topic exists"}%

-- TWiki:Main/ArthurClemens - 14 Apr 2007

And/or add a new %EXISTS{}% variable, returning 0 or 1.

-- TWiki:Main.PeterThoeny - 14 Apr 2007

if the %EXISTS variable exists, you can write:

%IF{"$ 'EXISTS{TopicName}'" then="topic exists"}%
So I'd favour %EXISTS rather than adding another function to %IF.

Setting to confirmed.


TWiki/IfStatements tells me that it is implemented as istopic

-- SvenDowideit - 31 Jul 2008

This is marked as "Waiting for release", but there is no check-in and since January (when it was marked as "Waiting for Release") we had 4.2.1... By now, I'm cleaning "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

Summary Make topicExists accessible with IF
ReportedBy TWiki:Main.ArthurClemens

SVN Range TWiki-4.1.2, Fri, 13 Apr 2007, build 13369
AppliesTo Engine

Priority Enhancement
CurrentState Closed


TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2008-08-10 - SvenDowideit
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback