Switch to side-by-side view

--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -308,8 +308,8 @@
                 users=users,
                 is_user_project=False,
                 apps=[
-                    ('wiki', 'home'),
-                    ('admin', 'admin')])
+                    ('Wiki', 'home', 'Home'),
+                    ('admin', 'admin', 'Admin')])
         except:
             ThreadLocalORMSession.close_all()
             log.exception('Error registering project %s' % p)
@@ -325,8 +325,8 @@
         become the project's superuser.  If no user is specified, c.user is used.
         '''
         from allura import model as M
-        assert h.re_path_portion.match(shortname.replace('/', '')), \
-            'Invalid project shortname'
+        if not h.re_path_portion.match(shortname.replace('/', '')):
+            raise ValueError('Invalid project shortname: %s' % shortname)
         try:
             p = M.Project.query.get(shortname=shortname)
             if p: raise forge_exc.ProjectConflict()
@@ -371,9 +371,12 @@
         with h.push_config(c, project=sp):
             M.AppConfig.query.remove(dict(project_id=c.project._id))
             if install_apps:
-                sp.install_app('home', 'home')
-                sp.install_app('admin', 'admin')
-                sp.install_app('search', 'search')
+                home_app = sp.install_app('Wiki', 'home', 'Home', ordinal=0)
+                if home_app:
+                    home_app.show_discussion = False
+                    home_app.show_left_bar = False
+                sp.install_app('admin', 'admin', ordinal=1)
+                sp.install_app('search', 'search', ordinal=2)
             g.post_event('project_created')
         return sp