youngmon/atlassian-qna huggingface dataset:
Full text search is unsatisfactory, does not find parts of words
Asked by Matthias Basler:

In contrast to English, in German languange there are lots of long or composite words. It is therefore that users of a full text search in a Wiki like Confluence expect that if they enter a part of a word (not necessarily its start), results are found nonetheless.

Example: Our pages contain the word Kanalhaltung a lot. People looking for haltung never get any seach results. Seaching for Kanalhal also doesn't find anything. Only complete or almost complete words are found. Of course, the average user doesn't know about wildcards.

I gather from

<http://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax>

that it is not possible to search for words ending a a certain term, even using wildcards?

This is a feature that will be essential to get the user acceptance in our field. If this means that the search will take longer, this is not a problem.

Is there any way to configure the search to be more tolerant and return more results?


Answers:
author: AM
body: Matthias, I think it's a good idear to give your to

[Support substring (partial) searches for terms used in Confluence: page title, attachment names, etc.](https://jira.atlassian.com/browse/CONF-10412) {#toc-hId-1843004319}
===========================================================================================================================================================================

<https://jira.atlassian.com/browse/CONF-10412>


author: tobias leenaert
body: for people working in Dutch it would be great too :-)


author: tobias leenaert
body: for people working in Dutch it would be great too :-)


author: Joe Clark
body: This was opened as a feature request quite some time ago, but it looks like we (Atlassian) decided not to investigate it further. <https://jira.atlassian.com/browse/CONF-13499>

Granted this issue was filed nearly 4 years ago, so maybe the situation has changed - you could try creating a new feature request.


author: Jaime Murillo
body: for anyone doing substring search this would be great.   
correction it is necessary.


Tags: search

wildcard
Linking to cells in a excel spreadsheet
Asked by John McHugh:

Hi,

We are developing anITIL service cat using a confluence space and have created the detail in an excel spreadsheet - this was imported using the macro.

How do we link from a simple service description entry on a seperate page to a specific cell in the spreadsheet?


Answers:
author: Adrien Ragot 2
body: Hi JohnnyMac,

There's [an add-on for enterprise spreadsheets in Confluence](http://www.play-sql.com) which allows you to create and edit tables online, then copy-paste rows or excerpts to display them on pages.

See the release notes: <https://documentation.play-sql.com/display/PUBLIC/Release+Notes+2.3>

Cheers,

Adrien


author: Gert Kuivenhoven
body: Hi Adrien,

Your answer is the best fitting solution. The suggestion of JohnnyMac helps slightly, because the anchor-links are not shown while try to link to a page(s) containing the anchors. The <https://documentation.play-sql.com/display/PUBLIC/Column+Types+and+Renderers> specifies the possibilities with the Play SQL addon.

Thanks, both of you,

Gert


author: Gert Kuivenhoven
body: Hi JohnnyMac,

My suggestion is to use the Anchor macro, create for every cell a unique Anchor Name (related to the content of the cell)

This macro content could be generated by using a script where the default-parameter is the variable. The following example could be inserted between the \<td\> and \</td\> tags:

testcel2 = the value of the anchor-name

\<ac:macro ac:name="anchor"\>  
\<ac:default-parameter\>testcel2\</ac:default-parameter\>  
\</ac:macro\>
How to find the major version in a Confluence backup file
Asked by Allan Clausen:

Hi

I have got a confluence backup which I want to restore. But I don't know which version and wonder if I can find the version information in the backup file?

Best Regards

Allan Clausen


Answers:
author: hsuhailah
body: Definitely, Allan. In a Confluence site XML backup, you can find a file called exportDescriptor.properties which contain a parameter called "buildNumber". Compare this build number with the information found in this page - <https://developer.atlassian.com/display/DOCS/Confluence+Build+Information>

Hope that helps!

-Hanis-
Widget Macro with SSL Confluence site
Asked by Sam Hall:

How can we use Widget Macro on SSL Confluence site without big red mixed content warnings across browser URL bar?

For instance, embedding a youtube video with widget macro always causes mixed content warnings on that page.


Answers:
author: Sam Hall
body: *Update, this is fixed in the latest version (for youtube atleast).*

Best solution I've come up with for this is to create a user macro. I eventually gave up on Widget Connector and logged this bug... <https://studio.plugins.atlassian.com/browse/WC-27>

This is the user macro I came up with for youtube incase anyone else needs a decent solution for this...

```
## Macro title: YouTube Embed## Macro has a body: N## Output: HTML#### Developed by: Sam Hall## Date created: 24/04/2012## Installed by: Sam Hall## @param vid:title=Video ID|type=string|required=true|desc=ID for the video## @param width:title=Width|type=int|required=false|desc=Width (default 425)## @param height:title=Height|type=int|required=false|desc=Height (default 350)## Check for valid width, otherwise use 425#if (!$paramwidth)  #set ($paramwidth=425)#end   ## Check for valid height, otherwise use 350#if (!$paramheight)  #set ($paramheight=350)#end&lt;iframe class="youtube-player" type="text/html" width="$paramwidth" height="$paramheight" src="//www.youtube.com/embed/$generalUtil.escapeForHtmlAttribute($paramvid)" frameborder="0"&gt;&lt;/iframe&gt;
```


author: Vladimir Alexiev
body: With Widget 1.3.8 I get error ""widget: A widget Id is required!". Posted as <https://ecosystem.atlassian.net/browse/WC-76>. We also started using a user macro (<https://confluence.atlassian.com/display/DISC/YouTube+user+macro>) and replaced "http:" with "" (i.e. the URLs should start with "//www.youtube.com", yep that is a valid URL).

Added [comment to KB](https://confluence.atlassian.com/display/CONFKB/Widget+Connector+not+Displaying+Embedded+Content+when+Using+Firefox+or+Chrome?focusedCommentId=425460814&=#comment-425460814)


Tags: ssl

video

widget
SQL Queries for Confluence usage stats
Asked by Jim Birch:

Does anyone have any usage stas sql queries for Confluence they'd like to share? I'm interested in number of updates and new pagees by date, most prolific updaters, etc.

We currently run the Usage plugin but it is possibly implicated in some brownouts...


Answers:
author: Bob Swift (personal)
body: ### [Site Statistics](http://confluence.atlassian.com/display/DISC/Site+Statistics) {#toc-hId-1456626565}

comments: author: Jim Birch
body: Thanks Bob.


author: Vijay Sv
body: Here it is...........

select 'Total Spaces', count(\*) from SPACES -----Total Spaces  
select 'Personal Spaces', count(\*) from SPACES where \[SPACETYPE\] ='personal' ---Personal Spaces  
select 'Site Spaces',count(\*) from SPACES where \[SPACETYPE\] = 'global' -- Site/global Spaces  
SELECT 'Content (All Versions)', count(\*) FROM \[CONTENT\] ---- Content (All Versions)  
select 'Content (Current Versions)', count(\*) from CONTENT where PREVVER is null; --- Content (Current Versions)  
select count(\*) from \[dbo\].\[cwd_group\] ---Local Groups  
select count(\*) from \[dbo\].\[cwd_user\] ----Local Users  
SELECT 'Blogposts',count(\*) FROM \[CONTENT\] WHERE CONTENTTYPE = 'BLOGPOST';  
select 'All Pages',count(\*) from CONTENT where CONTENTTYPE ='PAGE';  
SELECT 'Comments',count(\*) FROM CONTENT WHERE CONTENTTYPE = 'COMMENT';  
SELECT 'All Content Attachments', count(\*) FROM \[dbo\].\[CONTENT\] WHERE CONTENTTYPE = 'ATTACHMENT'; --All Content Attachments

Thanks,  
VJ


Tags: activity

sql
after upgrade to 3.5.13 I can't select insert or cancel buttons on the Macro insert screen
Asked by SherryX:

after upgrade from confluence 4.3.6 to 3.5.13, when tried to insert a macro (autocomplete) and select a macro from the dropdown list, the macro insert screen popup and I can only see half of it (the other half is out of the screen), so I could not click the insert or cancel button. What's wrong with it? Thanks


Answers:
author: Sander Brienen [Avisi]
body: There isn't really anything wrong. But apparently your screen is relatively small. Do you have a custom theme installed? This theme might introduce the problem with not being able to scroll down.

comments: author: SherryX
body: we use Adaptavist Theme Builder, before upgrade it is OK. I'm not familiar with the builder, can you give me some advice what should I check and fix this problem? Thanks


author: Sander Brienen [Avisi]
body: Hi Sherry,

It has probably something todo with the stylesheet in your theme. Theme Builder by itself is not doing much. It must be configured and customized. If you are not familiar with CSS or with configuring theme builder I'd advise to find someone with more experience to look at it. We've been implementing a site with theme builder and it worked fine for us. But our customer is not doing any changes on the configuration of theme builder.

Hope this helps you

Sander


author: SherryX
body: Thank you very much for your help, I have a close look at the CSS within the layout and fix the problem. Now I have other problem displaying contents on dashboard, I believe it is the CSS issue. The question is - I don't know which layout I'm using as this is not a page within spaces, there are dashboard screen. In our theme builder, there are similar layout names, e.g. Dashboard, DashboardWIKI, etc. How does confluence know which layout is for the dashboard? We can change the space layout via Manage Spaces within Admin Screen, but I don't know how to change to a different layout for the dashboard.


author: Sander Brienen [Avisi]
body: The layout of the dashboard can be changed in the file global.vmd in your theme plugin. This can also be done within Confluence Admin. See changing the global layout here: <http://confluence.atlassian.com/display/DOC/Customising+Layouts>


author: SherryX
body: thanks for your help


author: SherryX
body: we use Adaptavist Theme Builder, before upgrade it is OK. I'm not familiar with the builder, can you give me some advice what should I check and fix this problem?


Tags: macro

upgrade
Next/Back Navigation in Conflunce 4.0.x
Asked by Jay Barra:

Is there a way to automatically add a "next" and "back" link to pages? Even if it only went inbetween sibling pages. I saw that there used to be a navigation plugin but it doesn't seem to work with Confluence 4.

Ideally I'd like to be able to traverse a tree in a space from start to finish by continually clicking the "next" button and to not have to hand write links on the bottom of every page even if they were reorganized or things were inserted or removed.


Answers:
author: Matthew J. Horn
body: I wrote a macro that does this:

<http://confluence.atlassian.com/display/DISC/Next+and+Previous+Links>

hth,

matthew horn

<http://tech.groups.yahoo.com/group/confluence_users/>


Tags: navigation

page-tree

scrollbar
Installed Confluence on Windows Server: What permissions needed to start/stop confluence?
Asked by MICHAEL O'Neill:

IT has installed confluence + mysql on a Win2008 server. When the IT person is logged in to the machine as himself, he can start up confluence without a problem. This is the same account he used when he installed the software.

When I log in under the account he set up for me (not the account used to install the software), I can run startup.bat and it starts up tomcat, but doesn't start confluence. I'm not able to see anything in the logs either. I know tomcat is running because I see it hosting it's 404 page when I navigate to (what I presumed would be confluence) in my web browser.

Anyone have any ideas what is going on? I'd assume this is a permissions issue...but I've never had any experience in installing, configuring or hosting confluence on Windows.

Thoughts?


Answers:
author: Matthew J. Horn
body: I would check the "Apache Tomcat Confluence" service in the Server Manager. If you can start and stop that, then you're good.


Tags: install

permission

tomcat
how do I stop page changed email notifications with confluence ondemand?
Asked by Jeff leigh:

We've got the home page that lists changes as they are made, how do I stop the mail spamming everytime a doc is changed?


Answers:
author: Jeff leigh
body: I guess the answer to this is its not possible.


author: Azwandi Mohd Aris
body: This depends on the type of notification that the user is subscribed to. Check out this [documentation](http://confluence.atlassian.com/display/DOC/Watching+Changes) to learn about types of notification and how to subscribe/unsubscribe to/from it.

comments: author: Jeff leigh
body: I haven't touched any settings. Got my instance up and running, logged in, been adding and changing content and started getting emails right away.

Because I'm the author of the docs I believe. Which kind of makes it worse - I know I edited it - I don't need an email to tell me.


author: Azwandi Mohd Aris
body: As far as I am concerned, users are not automatically subscribed to notifications in Confluence. Is this not the case for your instance?


author: Jeff leigh
body: So everytme I have a new user I have to show them how to turn off notifications? There isn't a way to tell Confluence to just stop sending them at all?


Tags: cloud

confluence-cloud
How Do I prevent duplicate users from being created in CROWD?
Asked by JT:

We are using CROWD with Confluence. I have found duplicate users in our CROWD instance and am now going through the process of de-activateing the duplicates. Unfortunately, the de-activated users are still displayed in Confluence when you search for a users while editing a page (example: when searching for users while adding restictions to a page).

Is there any way of preventing duplicate users from being created in CROWD so this does not happen again?


Answers:
author: Oli S
body: perhaps this would help:

<http://confluence.atlassian.com/display/CONFKB/Duplicates+in+the+People+Directory>

[http://confluence.atlassian.com/display/CONFKB/Duplicate+Users+Appear+in+the+%27external_entities%27+Table](http://confluence.atlassian.com/display/CONFKB/Duplicate+Users+Appear+in+the+%2527external_entities%2527+Table)

<https://jira.atlassian.com/browse/CONF-11467>

comments: author: JT
body: Thanks Oliver, but my issue is different. I actually have duplicate users in CROWD. The users only show up once in the Confluence people directory, but multiple times when you search for a user while adding restrictions to a page.


Tags: crowd
Site welcome message not rendering correctly with included page on Dashboard.
Asked by Bryan Guffey:

The site welcome message (which is an included page) is not rendering correctly on the Dashboard. The panel macro is rendering as null and several links are rendering as null. However, when the included page is viewed by itself, all is fine. This page contains critical information to our users and we need to know how to resolve this issue ASAP.


Answers:
author: Daniel Borcherding
body: Hello Bryan,

I don't think that issue is going to be visible to you. We believe your problem relates to the following bug

<https://studio.plugins.atlassian.com/browse/ADVMACROS-227>

The solution outlined in that case is to downgrade your Confluence Advanced Macro to a version previous to 2.0.30

Can you visit your Confluence Admin \> Plugins section. Expand the System Plugins section to view the Confluence Advanced Macro. Expanding that container will show you the version of the plugin you currently have installed.

Please let us know if you have any further questions.


author: BernardoA
body: This same ticket gives the resolution for this as we can see here:

<https://support.atlassian.com/browse/CSP-72143>
how to expand page tree in Confluence 4.0 Documentation theme?
Asked by Robert Lauriston:

Is there some way to set the page tree in the Confluence 4.0 Documentation theme to be expanded to the first or second level by default?


Answers:
author: SarahA
body: Hallo Robert

Yes. The Documentation theme uses the Page Tree macro, and uses the default settings for that macro. You can configure the theme to use the Page Tree macro with your own parameters defined.

Here is the documentation on how to configure the Documentation theme. You will need to deselect the '**Page Tree**' check box then add your own page tree in the 'Navigation' text box:

<http://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme>

Here is the documentation for the Page Tree macro, showing how to use the "**Start Depth**" parameter for the macro:

<http://confluence.atlassian.com/display/DOC/Page+Tree+Macro>

I hope this answers the question. :)

Cheers, Sarah

comments: author: Robert Lauriston
body: Thanks. Is there documentation for the wiki markup somewhere? I had to edit a page, insert a Page Tree macro, and set the start depth to figure out what I needed to add to the theme configuration. I also want it to sort the page tree by "position" and it's not clear to me how to add the second parameter.


author: SarahA
body: Haha, long live wiki markup. :)

Here you go: <http://confluence.atlassian.com/display/CONF35/Pagetree+Macro>


Tags: expand

page-tree
Image in a headline
Asked by Bruce Schlueter:

We have a long page with different headlines and at the end of the headlina an image with a link to jump to the top of the page. Now we also have a toc at the top a of the page which now also displays the images. Is there a way to show only the text of the headline without the images?

Thanks for your input,

Bruce


Answers:
author: Remo Siegwart
body: You can hide the images by inserting the following CSS into your space or global stylesheet of Confluence:

```
ul li a[href^="#"] + a img, ul li a[href^="#"] + a + a img {  display: none;}
```

Hope this helps

comments: author: Remo Siegwart
body: Hi Bruce, sorry there was a typo in my answer. Could you please try it again?


author: Bruce Schlueter
body: thanks Remo,

I am new to Confluence and maybe I am going wrong somewhere. What I did is go into the Space Admin and then chose "Stylesheet" and added the lines. But this did not have any effect on the toc. Perhaps I have not described the point precise, I now have pages with headlines and in the same line two images. These pages are included into another page which has the toc and shows all headlines from the included pages with the images. What we would like is that in this toc only text is visible and no image. Your help is appreciated.

Bruce


author: Bruce Schlueter
body: Hi Remo, thanks a lot for the help but this does not help. I have found out that it has to do with the link defined to the image. As soon as I unlink the image it will not be displayed in the toc anymore. Do you have any more ideas?


author: Remo Siegwart
body: Made another small change to the code in my answer. It should now work for image links in the toc. Let me know if this works.


author: Bruce Schlueter
body: thanks, we are getting nearer. What happens now is that the first of the two images is not displayed.


author: Remo Siegwart
body: Sorry, seems like I didn't read your comment properly... I added a CSS selector for the second image link in my answer.

This would be a simpler solution with CSS3, but I'm not sure if it's compatible with your browsers:

```
ul li a[href^="#"] ~ a img {  display: none;}
```

Hope this works now for you


author: Bruce Schlueter
body: Thanks a lot, tha "simpler" solution works great in IE, Firefox and Chrome


author: Remo Siegwart
body: Great! Good to know!
Remove the default user directory
Asked by stephane Dugravot:

Hi all,

With the version 3.5, Confluence create a default user directory from the configuration file. The documentation :

* [http://confluence.atlassian.com/display/CONF35/Configuring+User+Directories](http://confluence.atlassian.com/display/CONF35/Configuring+User+Directories%20)

Explain that to remove a directory, we have to disable it first. But my default user directory (ldap) didn't show a link to disable it ? ...

![User Directory](http://img210.imageshack.us/img210/2208/capturegl.png)

How to remove the user directory, result of the upgrade to V 3.5 of Confluence ?

Thanks.

Stephane.


Answers:
author: Colin Goudie
body: My first thought is that you are currently logged in with a user against the directory you want to disable. You can't do that. You need to ensure you are logged in with a user from another directory and then you can disable/delete the other user directory.

comments: author: stephane Dugravot
body: Thanks ! ... Of course, you are right !

It is ok.

Stephane.


author: Matt
body: You need to click on the blue arrow to make it 2nd on the list -- i.e. not your primary user directory. You should then see a link to disable it.


Tags: directory
Howto remove global permissions for a user in Confluence 3.5?
Asked by Guido Wischrop:

Hello,

I can't find a way to remove a user from global permissions in Confluence.

To reproduce this goto Administration / Security / Global Permissions click Edit Permissions add a user to Individual Users and save. Now try to remove this user.

What do I miss here?

Thanks,

Guido


Answers:
author: Richard Scorgie
body: Unless something has changed you uncheck the box next to the users name and click save. This will remove the user.
Export all of MediaWiki into Confluence
Asked by Phillip Ponzer [Cprime]:

Does the UWC "spider" through all of the wiki pages on our server and import them into Confluence? Or is this done on a page-by-page basis?

If it's done on a page-by-page basis, has anyone exported MediaWiki pages into Confluence via batch file or some equivalent?


Answers:
author: Laura Kolker
body: The UWC exports from your database. By default it will export all the pages from your Main, User and any custom namespaces, but there are many settings for altering the export, including adjusting the SQL calls with properties.

See [UWC Mediawiki Notes - Exporter](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Mediawiki+Notes#UWCMediawikiNotes-Exporter) for details.

comments: author: Jonathan Jergens
body: Hello,  
I have a few questions that I can't seem to find on the wiki for UWC:  
1) What is a valid directory for the properties file on windows? In your example you have /Users/My/Desktop, but for windows it would be a C:\\Users\\My\\Desktop. Which one is correct? If your wiki is correct, how do I select a different drive letter(where my media wiki actually resides)?  

2) To connect to the database, you have dbUrl=jdbc:mysql://localhost:3306. Is that a default that should work, or do I need to customize it? If it isn't a default, could you point me in the right direction as to how to find it?  

I was sort of left with this MediaWiki with nothing really in the way of documentation. I have the DB username and password and such, but I don't have much experience with SQL or the like. If you could help me out I would appreciate it.  

<br />

Jon


author: Phillip Ponzer [Cprime]
body: For visibility, I recommend asking a new question. That way you have a broader audience you are asking.


Tags: universal-wiki-converter
easiest way to add and change pages in confluence with PHP?
Asked by Christian Schr?der:

I have an actual HTML / PHP Application and i need some tipps, what whould be the neatest way to add and modify data pages from php?

I could call the confluence cli, but there must be better ways.

I would be glad for any info!

TIA

Chris


Answers:
author: Azwandi Mohd Aris
body: I have never tried this myself, but I think you can use a PHP SOAP library to implement the [APIs](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs) available in Confluence. Example [here](http://forums.atlassian.com/thread.jspa?messageID=257303223&#257303223).


Tags: cloud

confluence-cloud