youngmon/atlassian-qna huggingface dataset:
Allow '/' sign in page title
Asked by ninada:

Is it possible to allow the forward slash sign ('/') in a page title?


Answers:
author: David Peterson
body: The short answer is 'No', and there isn't really any way around it at this point. You can hack around it by using custom themes and macros that let you store alternate titles, but it's not a real 'name', just a display name.

comments: author: Jim Birch
body: Page titles become URLs, so a slash is just wrong.


author: David at David Simpson Apps
body: You can in Confluence 4.1 as [CONF-984](https://jira.atlassian.com/browse/CONF-984) has been resolved.

*(I thought someone had already posted this answer though.)*


author: Oli S
body: Or for a quick answer, take a look to the release info for the next update :-)

<http://confluence.atlassian.com/display/DOC/Confluence+4.1-rc1+Release+Notes#Confluence41-rc1ReleaseNotes-8NoMorePageTitleCharacterRestrictions>

I love this change ;-)


author: Matt
body: This question has already been answered here:

[Any future plans to allow Conf Page Titles to contain " / + ( or \[ ' characters?](/questions/15928/any-future-plans-to-allow-conf-page-titles-to-contain-or-characters)


author: Nicolas Wildner
body: Here you could find additional information about Restricted Characted on during a page creation:

<http://confluence.atlassian.com/display/DOC/Creating+a+Page#CreatingaPage-NotesaboutPagenames>

;)
Cannot Disable Atlassian Plugin Exchange in Confluence
Asked by Nicholas Holmes:

Originally posted here.. <http://confluence.atlassian.com/display/UPM/Problems+Connecting+to+the+Atlassian+Plugin+Exchange>  

```
-Dupm.pac.disable=true
```

This is not working at all for me. I'm running version 3.5.13 standalone on windows server 2003.

I have verified that that the configuration is set appropriately. First, I added the value to HKEY_LOCAL_MACHINE\\SOFTWARE\\Apache Software Foundation\\Procrun 2.0\\Confluence\\Parameters\\Java\\Options..

![](http://i.imgur.com/SE4wu.png)

Additionally I have verified that it is set by running.. (you can see my JDK version here)
tomcat6w //ES//Confluence  
![](http://i.imgur.com/rMpVS.png)  
After restarting confluence and visiting the plugin section of Confluence administration I get this after a long timeout..  
<https://gist.github.com/1220426>


Answers:
author: BernardoA
body: Try first remove this plugin from database as we can see here:

<https://confluence.atlassian.com/display/CONF35/Removing+Malfunctioning+Plugins>

After that, try again install it.


author: Daniel Borcherding
body: I think Bernardo is suggesting that you remove the Universal Plugin Manager and try this operation again.

An important piece of Information to know here would be the version of the Universal Plugin Manager you are using. We can then run a test locally to see if we can reproduce this issue.

An further benefit of upgrading to a more modern version of the UPM is that communication with the marketplace is rolled into the UPM settings.

Please let us know how you would like to proceed and we will be happy to help from there.


Tags: confluence-app
How to setup a proxy server in order to be able to login through it on Confluence?
Asked by Leo B:

I would like to be able to authenticate on Confluence through a proxy. Does anybody know how to do it?


Answers:
author: LuizA
body: Hello Leo,

In this case I would suggest you to try to configure the Apache with the mod_proxy, see below how to perform this configuration:

<https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy>

<https://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache>

Hope this helps.

Kind Regards,

LJ.
Character sets
Asked by hans-peter.geier:

While I try to convert a twiki into Confluence (on Linux Redhat) using UWC (version 3.12), I'm facing the issue that UWC is not handling foreign characters correctly, e.g. German Umlaute, French accents and such.

The twiki file has its special characters encoded to iso88591, and I have set the $LANG of the Linux shell environment to en_US.iso88591 accordingly.

The local shell tools (like vi) display the special characters correctly.

The UWC output, though, (both, the local output files as well as the uploaded files in Confluence) show these special characters unreadable. (even in vi)

(I have also attempted to set it to de_DE.iso88591 without getting any change in results)

How to make uwc to consider the language-specific characters? Is there anything I can do by exporting the appropritate environment variable (or similiar), or is UWC simply not supporting these characters?


Answers:
author: Laura Kolker
body: The UWC is definitely capable of handling ISO-8859-1. I've tested it against the common encodings that don't overlap nicely with UTF-8, including ISO-8859-1, ISO-8859-15and Cp1252. To start, you should make certain you have set the encoding property in your converter.twiki.properties file. Here's some doc on that:

[UWC Character Encoding Feature](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Character+Encoding+Feature)

That will probably handle the problem, but here are some other ideas, if the above is insufficient:

* check your confluence encoding setting in your admin console, also your confluence database settings
* you can also use a tool like iconv to transform the encoding of your pages into UTF-8 before using the UWC on them. Some examples on that idea can be found in the [UWC FAQ on encoding](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+F.A.Q.#UWCF.A.Q.-Somecharactersinmyfilesareturnedintoquestionmarks.WhatdoIdo%3FOrhowdoIfixaproblemwiththecharacterencoding%3F)

Good luck!

Laura

comments: author: hans-peter.geier
body: Thank you! I got it to work.


author: Christian Janzen
body: Hi Laura,

I tried to convert a SharePoint wiki and have the same "german umlaut problem". But entering Sharepoint.1234.encoding.property=iso-8859-1 at the end of the file converter.sharepoint.properties doesn't work. Even Sharepoint.1234-encoding.property=iso-8859-1 is not working.

Any other idea? I am working with version 3.13.0

Best regards,

Christian


Tags: universal-wiki-converter
Translate and hide some fields
Asked by Stanislaw Palak:

Hi,  

I have a question about polish language pack, I want to translate and hide some fields in Your User Profile,  

How can I translate (if is possible) fields Full Name, Phone, IM, Position, Department, Location to polish language and is possible hide fields About me, Website  

I have Confluene 3.5.5

Thanks for help


Answers:
author: EddieW
body: The easiest way to hide fields would be using a custom sylesheet, or editing the global layout for user profiles. As for translations.

\\

Did you get the pack from atlassian's translation site? <https://translations.atlassian.com/> the sam,e site priovides the ability to priovide translatiosn to support thier effort.
Why is Confluence blocking execution of onclick=javascript... code within an {html} section?
Asked by Kevin Kraemer:

I have code like this:

{html}\<input type=button value="Open Jira" onclick="javascript:open.window('http://jira.__.com')" /\> {html}

Confluence shows the button, but when you click it, nothing happens. View Source in my browser shows the code is there. When I put this code in a plain HTML page it works. Confluence seems to be blocking it. Our administrator confirmed that all options are "enabled" for the HTML pluging. Any ideas?

Thanks,

Kevin


Answers:
author: Remo Siegwart
body: You need to call [the open() method on the window object](http://www.w3schools.com/jsref/met_win_open.asp), not the other way around:

```
{html}&lt;input type=button value="Open Jira" onclick="javascript:window.open('http://jira.__.com')" /&gt; {html}
```

Hope this helps

comments: author: Kevin Kraemer
body: Oops, thanks, but in fact, that was a typo in my original post - I was actually trying window.open(), but seeing the "nothing happens" behavior. Something appears to be blocking the execution of JS.


author: Remo Siegwart
body: What version of Confluence are you using? I tested your code in 3.5.13 and 4.0 and it worked like expected. I just had to enable the **html** macro of the [Confluence HTML Macros plugin](https://plugins.atlassian.com/163) which should be preinstalled in Confluence. Do you have the setting **"JavaScript served in header"** in **Confluence Admin =\> General Configuration** enabled?


author: Todd Katz
body: Thanks for the tips. I'd done a recent installation and, in fact, the html macros were not enabled!

So this code works for me. I'm hoping to do something with images so if I can't figure it out, I'll probably be back begging for more help :)

But in the meantime thanks for the great community support and happy holidays!


author: Todd Katz
body: I too would like to know how to use Javascript routines such as mouseover and onclick on Confluence pages.


Tags: app

html

javascript
Check for duplicate e-mail before allowing sign up on Confluence
Asked by Robert Collier:

We are having some users forget they have accounts and create another account using their same e-mail address. This results in two users on Confluence with the same e-mail. We would expect that Confluence would check if the e-mail is already in use before allowing creation of another account. Is it possible to add this checking via any code added into the Velocity template or via a plug-in?


Answers:
author: Stefan Baader
body: Same question. Would be interesting to know. How to handle $userAccessor.getUsersByEmail()?


author: Robert Collier
body: I have found UserAccessor.getUsersByEmail and tried the following but it does not work and pager().isEmpty() returns true every time even if an already registered e-mail address is passed to it. Does anyone know of another method that can be used from within the Velocity context similar to UserAccessor.getUsersByEmail that is working?

function validateform() {  
emailtocheck = document.signupform.email.value;  
if($userAccessor.getUsersByEmail(emailtocheck).pager().isEmpty()) {  
return true;   
} else {  
alert ('ERROR: A user with this e-mail address is already registered. If you think you already may have an account please try to recover your password using the Forgot Password tool instead.');  
return false;  
}

\<form ... onsubmit="return validateform()"\>


Tags: access

duplicate

email
Usage Tracking
Asked by Gurpartap Sandhu:

Hi

Our team provides a certain service for our entire company. We have a space in confluence that we use as our team wiki. Its the most convient way to get the information to all the employees. I wanted to track the usage of our space and the trends over time. I came across this plugin

<https://studio.plugins.atlassian.com/wiki/display/USGTRK/Confluence+Usage+Tracking+Plugin>

It does all we need but...

\<colgroup\>\<col width="24"/\>\<col/\>\</colgroup\>

|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ![](https://studio.plugins.atlassian.com/wiki/images/icons/emoticons/forbidden.gif) | This plugin is **disabled** by default in **3.0** release of Confluence. It has has known performance problems in large installations. You need to re-enable in order to use it. For more information please refer to the 3.0 [release notes](http://confluence.atlassian.com/display/DOC/Confluence+3.0+Upgrade+Notes). The plugin is not available in Confluence Clustered Edition. A status report on the progress of the performance issues with this plugin is available [here](https://studio.plugins.atlassian.com/browse/USGTRK-15). |

Is there a good alternative to this plugin? if not, how much of a performance issue is it?  
Also can this plugin be enabled on a single space or does it have to be done for all of confluence?


Answers:
author: David at David Simpson Apps
body: There are a few of options available.

1. AppFusions' [Google Analytics for Confluence](https://plugins.atlassian.com/plugin/details/16722) plugin which works with Confluence 3.5 and 4.0 -- there's a [live demo here](https://www.appfusions.com/display/GANLC/Live+demo+-+in+the+flesh)
2. AppFusions' [Webtrends Connector for Confluence](https://plugins.atlassian.com/plugin/details/39438)
3. Adaptavist's [Statistical Analysis](https://plugins.atlassian.com/plugin/details/16146) plugin for Confluence 2.10 to 3.0.2

I did a presentation at the last London Atlassian User Group about "Analytics and Confluence" -- here's the [slides](http://www.slideshare.net/appfusions/analytics-confluence-london-atlassian-user-group) and a [video](http://www.youtube.com/watch?v=WKLqtI9q2RE).

comments: author: David at David Simpson Apps
body: Disclosure: I wrote the first 2 plugins in the list above :)


author: Rumceisz
body: Hi David,

are these plugins proper for measuring the page usage?

One of my project admin user needs to measure which pages are heavily used in his space. (In order to focus on developing the heavily used pages)

Best regards,  
Rumi


Tags: analytics
Is it possible to show the search relevance in the search results
Asked by francis:

Confluence is using a ranking system to sort search results  
<http://confluence.atlassian.com/display/DOC/Ranking+of+Search+Results>

Is there a way to display this relevance ?  

Francis


Answers:
author: francis
body: No - not yet.


author: Matthew J. Horn
body: Did you ever find a way to do this?


Tags: search
How can JIRA workflows be used in Confluence?
Asked by Darryl Lucas:

I'm interested in using JIRA for workflowing Confluence pages through a review cycle. Can this be done?


Answers:
author: Nic Brough -Adaptavist-
body: No. They are systems which do two different things, and I'm not even sure how you'd envisage this working!

There is a plugin which does workflows in Confluence, but they're not as rich as Jira workflows (simply because the nature of the data in Confluence is very different to Jira). It does work rather well, but I've found you do need to put quite a lot of effort into it. <https://plugins.atlassian.com/plugin/details/142>


author: Jim Birch
body: You can run a sql query on the confluence db to get a list of pages that haven't been updated for (eg) a year. Something like the query bellow (I haven't tested this exact code)

If you wanted to you could pump the results into Jira using the command line tool but this might be overkill. Reviewers should put a "Reviewed: person/date" stamp at the bottome of the page to get them off the list. if the page really needed a rewrite you could maybe then create the Jira job.

```
-- Query to locate "expired" pagesselect  -- top 100 s.spacekey, c.TITLE, c.CREATOR, c.LASTMODIFIER, c.LASTMODDATE --, bc.body from  dbo.CONTENT cjoin  dbo.BODYCONTENT bcon c.CONTENTID = bc.CONTENTID-- note: spaceid is null on old page versions so join on-- space id selects only current pages.  Nice.join dbo.SPACES son s.SPACEID = c.SPACEIDwhere DATEDIFF(day, c.LASTMODDATE, GETDATE() ) > 90 order by s.spacekey, c.LASTMODDATE


```


Tags: jira

workflow
Entering illegal characters to Confluence wiki
Asked by Anni R:

Hi!

I have a problem. My input text contains an illegal characters as ?????? and I get error message  
The following error(s) occurred:

* An error occured while trying to save the requested page.

Is it possible at all to enter those characters? I need to add Lithuanian and Latvian text to wiki.

What could be the workaround? For now I fix some character by replacing them with another character, but it's so annoying and take lots of time.

Thanks in advance!


Answers:
author: David Dube
body: You need to make sure both confluence, the application server and your database are using UTF-8 character encoding. You can find more information about it [here](http://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding). In confluence, you can look at the System Information section within the Confluence Admin Area.

This [page](http://confluence.atlassian.com/display/DOC/Troubleshooting+Character+Encodings) is helpful to determine where the character encoding issue resides.

If your database is using a different character encoding scheme, all is not lost... you can still convert your database to UTF-8 using [the following method](http://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding#ConfiguringDatabaseCharacterEncoding-UpdatingexistingdatabasetoUTF-8).

Once everything is converted, you'll likely have to re-copy the content back.

Regards,

Dave


author: Kevin Buchs
body: Did you use the RTF editor to paste the characters? Or, can you say how you entered them?


author: JamieA
body: Should not be a problem if your database setting is utf-8. Can you get back to use with what database you're using and how it was created?
Page restrictions to members of confluence-administrators
Asked by Adolfo Casari:

As a member of confluence-administrator group I edited my user s space restrictions so I could not add pages in that space.

However the Add Page option remains enabled (I logged out and in).

I want to make a space read only to everybody, including myself, but I want to keep the right to administer the space and change the restrictions in the future if I need to.

Is this possible?

Thank you.

Note: Confluence 3.5


Answers:
author: BernardoA
body: Is not clear for me yet your comment, you just want everybody as read only but the add page is still enabled, correct?

I suggest you first to check this doc which explains with more details how page restriction works:

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>
Question about Page Links
Asked by Adolfo Casari:

I copied a branch from one space to another, but I noticed some links in the new space points to the original pages, not the copied pages in the new space.

Any idea how to fix all links so they point to the pages in the new space?

Thank you!


Answers:
author: Kevin Buchs
body: If you used the Tools-\>Copy method, then you are only going to have a single page copied and all links on that page will then point to the prior space. If you Tools-\>Move the page (or other ways to do the same), the you can move the page and all descendents and the links amongst those remain intact. A handy way to fix up all page links, is to ensure you move all the referenced pages in one lump. That is, move them all under a parent page (perhaps newly created) in the first space and then move the parent to the second space.

Another option is to backup content from one space and restore to another, empty space. This is not easy to get it to work manually, but an add-in was recommended to me that you may wish to try. See [here](/questions/6524/cloning-a-space-key-conflict-upon-restore).

If you just want to correct a handful of pages, you can search the new space for the key of the other space and find the pages to edit that way.

comments: author: Adolfo Casari
body: Thanks for your suggestions.

I used your last option. Since I had 00s of pages, I used the SearchReplace plugin to find and replace.


author: Barbara Green
body: I would really like a way to turn off Confluence's link management when I copy a space. I have two spaces that are public, and two corresponding spaces that I use for staging new material. All links that refer to pages or attachments within a given space are specified without the space key. I only use the space key when I have to link to a separate space (for example, to an earlier version).

At release time, I backup all the spaces, remove the public spaces and copy the staging spaces (using the space keys for the public spaces, so customer's bookmarks don't break). Just like dropping and recreating a database. I have to reconfigure the theme (nav pane, header and footer), but that's trivial.

It works like a charm except for link updates that insert the staging space key where I intentionally left it out. I use the third option above, searching the space for the key and manually deleting each one.

It would be much kinder if the Copy Space function included a toggle that would turn off Update Links. My doc isn't going to get any smaller, and I can see updating all the links after copy as becoming tedious over time.

We have considered using restricted pages for staging, but it just doesn't seem to win much support here. Developers (who are my main contributors) are very used to the Staging-\>Production model and don't want to have to figure out a restriction scheme every time they add a page.
Choosing links to insert from a menu
Asked by Kevin Buchs:

**Problem:** On topic-based pages, I would like to be able to insert hyperlinks to a chosen subset of particular pages. Assume the particular pages all have the "*meeting*" label on them. Also, you can assume that the pages have names that include the date near the beginning, after some prefix, in a form that is sortable ("Mtg 2011-09-14 bla..."). From a list sorted, with most-recent coming first, limited to maybe 10 items, I would like a check box to indicate I want to insert a link to that page.

**My Attempt:**I tried to come up with a full solution, but I don't know how to do the linking. My partial solution just displays the list of meeting pages. It uses the reporting plug-in content-reporter to return a list of pages containing the given label. It is slow running. So, I added a mechanism to remove it when it has served its purpose with the insertion of a label. Find this solution below.

Does anyone have suggestions or ideas for improvement?

-------------------------------------------------------------------------

```
h4. Referenced Meetings{show-if:label=-meetrefdone}{choose-label:labels=meetrefdone|title=Add the meetrefdone label to remove this list|descriptions=Done Adding Meeting References}h4. List of 10 Most-Recent Meetings (You may wish to add references to these above){report-block:maxResults=10}  {content-reporter:space=@self|types=+page| label=+meeting}  {text-sort:content:title|order=descending}  {content-reporter}  {report-body}* {report-info:page:title|link=true} \\  {report-body}{report-block}{show-if}
```


Answers:
author: David Dube
body: Content reporter is not the most efficient of all the reporters. I find local-reporter to be much faster. You could do something like (BTW: You said you wanted the 10 most recent pages... reflected the sort below):

```
{report-block:maxResults=10}  {local-reporter:value:label meeting &gt; label:content}    {content-filter:@self|scope="your parent page" &gt; descendents}    {date-sort:content:creation date|order=ascending}      {local-reporter}  {report-body}    * {report-info:page:title|link=true} \\  {report-body}{report-block}
```

comments: author: Kevin Buchs
body: Thanks, David.

This makes a tight list, without hyperlinks, so it is easy to select for copy/paste into the editor.

```
Copy and paste the name from this list into referenced meetings:{report-block:maxResults=10}   {local-reporter:value:label meeting &gt; label:content}    {content-filter:@self|scope="homepage" &gt; descendents}    {date-sort:content:creation date|order=ascending}      {local-reporter}   {report-body}&gt; &amp;nbsp; {report-info:page:title} \\{report-body} {report-block}
```