Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 237404

Summary: Further project-specific skins for wiki pages
Product: Community Reporter: Mary Ruddy <mary>
Component: WikiAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: bjorn.freeman-benson
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://wiki.eclipse.org/Solutions
Whiteboard:
Bug Depends on:    
Bug Blocks: 237406    

Description Mary Ruddy CLA 2008-06-16 21:33:34 EDT
Now that some projects (Higgins) are about to have their own look and feel on their web pages, it is important this projects can specify their own look and feel on the wiki pages.  Need a mechanism for allowing projects to specify their look and feel, then project can configure.
Comment 1 Denis Roy CLA 2008-08-20 11:21:01 EDT
Matt, is there anything left to do here?
Comment 2 Eclipse Webmaster CLA 2008-08-20 11:31:02 EDT
When we roll out the new wiki cluster and MediaWiki 1.12 these extra hooks for the projects will also go live.  

-M.
Comment 3 Mary Ruddy CLA 2008-08-20 11:49:23 EDT
Matt, 

Does this mean that you have made the additional round of requested changes?  Also when is this go live date anticipated to be?

-Mary
Comment 4 Eclipse Webmaster CLA 2008-08-20 13:18:20 EDT
Yes.  Essentially the ProjectInfo extension now accepts 2 additional arguments which specify the style sheet to load and the header image in that order.  The files must exist at http://www.eclipse.org/projecturl, but can be named whatever you'd like.  

The custom code you requested to custom load a search bar will not be integrated.  However I have altered the skin so that if you're using a custom style sheet it will wrap the Eclipse Google CSE in a div titled 'custom_search_div' which can then be located by the style sheet.

At this time the plan for a roll out is friday, but that is tentative.

-M.

Comment 5 Eclipse Webmaster CLA 2008-08-22 13:15:42 EDT
The new code is live on the new wiki cluster, but I'm going to wait until monday when everything is routing to the new cluster before saying we're 'finished'

-M.
Comment 6 Eclipse Webmaster CLA 2008-08-25 10:49:33 EDT
This is all live now.  

In order to use this add the following tags at the top of a wiki page:

{{#eclipseproject:my.project|project_style.css|project_header.img}}

The extension and the skin expect to be able to find project_style.css and project_header.img in {Meta-Data)projecturl/ which should be www.eclipse.org/projectname in most applications.  

It's important to note that the order of parameters is fixed.  If you put an image where the css is to be specified it will produce 'unexpected' results.

-M.