CenterForOpenScience/osf.io — pull request #1293 by icereval (2014-11-24 14:34:43+00:00)
Title: [feature] wiki-new-page-error-msgs

# Purpose
Currently, error messages displayed on the `Add New Wiki Page` modal dialog do not match the Wiki/Project/Component rename.

Closes Issue CenterForOpenScience/openscienceframework.org#1164

# Changes
Corrects the display of the error message box to mimic the look and feel of the Rename error messages.

Original:

![image](https://cloud.githubusercontent.com/assets/3111541/5077717/13997baa-6e74-11e4-8a47-a1a70a1fbbcc.png)

Updates

![image](https://cloud.githubusercontent.com/assets/3111541/5077723/1d1fef6a-6e74-11e4-8889-db95575dd0fd.png)

Example of Rename:

![image](https://cloud.githubusercontent.com/assets/3111541/5077730/34840100-6e74-11e4-935e-4f268c18990d.png)

# Side Effects
Wiki Rename and Add name validation logic was unified, please check the Rename logic remains effective.