Wordpress
Skinning
- Wordpress manual: Theme development
- The theme development checklist
- Basic theme for starting new themes
- 100 best wordpress premium themes of 2009
- Top 90 free wordpress themes
- Free Wordpress Themes - from SiteGround
- How to Code a Wordpress 3 Theme from Scratch - from Oneextrapixel
Resources
Using MediaWiki accounts on Wordpress
We need to have a wordpress site which is seamlessly connected to a MediaWiki so that users can register and login using the MediaWiki login and registration process only. The Wordpress login/logout/registration links should direct users to the equivalent MediaWiki pages for those operations. If the user is already logged in, then they should already be logged in as the same user on Wordpress, and conversely, if the user is not logged in to MediaWiki then they should also not be logged in to the Wordpress.
From the Wordpress perspective this means an auto-login function needs to be created which takes over the login process. It first needs to check if the user is already logged in and if not, redirect the page to the MediaWiki login with the return-to set to the current Wordpress URL. If there is already a MediaWiki user logged in, then the Wordpress needs to automatically log the user in as this user, creating a new user first if necessary.
The MediaWiki check can be done using a local Ajax request which returns all the current user info (for local requests only).
This is done now, it consists of two scripts, Wordpress.php which is a small MediaWiki extension that provides an Ajax callback for getting user info for a passed user ID and token, and Wordpress-wp.php which goes in the Wordpress wp-config.php file and checks if any MediaWiki cookies exists and are valid and creates and/or logs in the equivalent Wordpress user if so.
One issue with this method is that it requires that both the wiki and the Wordpress are running under the same domain so that the Wordpress is able to access the wikis cookies. If they were under different domains, then a client-side Ajax request to the wiki domain would need to be added to obtain the cookies.