Add and edit wiki pages
VSTS | TFS 2018
Once the Wiki git repository is provisioned for your team project, a new page opens in which you can specify a title and add content. This is a side by side edit and preview experience that will allow you to edit the page and preview the content as you type.
You author pages using markdown format. Also, you can use the format pane for rich-text formatting and to insert images, attachments, and links.
As you continue editing the page, save the page by entering Ctrl+S. To save with a custom revision message, click the context menu icon next to Save.
Add a wiki page
To add another page, click New page. Or, to add a sub-page, open the context menu of an existing page and click Add sub-page.
You must specify a unique title of 235 characters or less. Page titles are case sensitive. For other title restrictions, see Page title naming restrictions.
Edit and delete wiki pages
To edit an existing Wiki page, open the page and click Edit page, or open it's context menu and click Edit.
To delete a page, open it's context menu from the tree view of pages and click Delete. Confirm the delete in the dialog box that opens.
Reorder a wiki page
You can reorder pages within the wiki tree view to have pages appear in the order and hierarchy you want. You can drag-and-drop a page title in the tree view to perform these operations:
- Change the parent-child relationship of a page
- Change the order of the page within the hierarchy
Moving a page in the hierarchy may break links to it from other pages. You can always fix the links manually after you move. Reordering a page within a hierarchy has no impact on page links.
You can also use keyboard shortcuts to re-order pages. Select a page and press CTRL + UP ARROW or CTRL + DOWN ARROW to change page orders. To change the parent-child relationship of a page, open it's context menu and click Move. The Move page dialog opens. Select a parent page under which you can move the current page.
Make a page the wiki home page
By default, the first page you add when you create a wiki is set as the wiki home page. You can change this if another page becomes more relevant. The home page opens whenever someone clicks Wiki within the web portal or clicks the home icon.
To reset the home page, open the context menu of the page and click Set as wiki homepage.
Filter wiki pages
The filter feature allows you to quickly find a wiki page after the number of pages has grown to the hundreds or thousands.
To find a page, enter a title or keyword into the Filter pages box.
Try this next
- Syntax guidance for Markdown files, widgets, wikis, and pull request comments
- Get Started with Git
- Manage README and Wiki permissions
Wiki page title naming restrictions
Each wiki page corresponds to a file within the wiki git repo. Names you assign to a wiki page title must conform to the following restrictions.
|File name||The fully qualified page path should not exceed 235 characters.|
|Uniqueness||Page titles are case sensitive and must be unique within the wiki hierarchy.|
|File size||Must not exceed the maximum of 18 MB|
|Attachment file size||Must not exceed the maximum of 18 MB|