# Bug XWI-159 - Select wiki to create main pages when creating new pages

Project: Stream XWiki integration
Status: closed
URL: https://community.openproject.org/work_packages/XWI-159

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.8.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Before filing a report

This is a second part of <mention class="mention" data-id="76146" data-type="work_package" data-text="##XWI-128" data-display-id="XWI-128">\#\#XWI-128</mention>

### Steps to reproduce

1.  Login as a user with permissions to manage wikis

2.  Create some wiki pages in project wiki or XWiki

3.  Go to the WP description, insert wiki page or create wiki page

4.  Find any page which has parent page or wiki itself

### What is the buggy behavior?

  - When inserting a new page, wiki or any other pages should be selectable

  - When creating a new page, wiki should not be selectable but pages or parent of the pages - selectable

###
