Difference between revisions of "Extension talk:Wikiskin.php"

From Organic Design wiki
(edit icons)
(question about wikiskin)
Line 26: Line 26:
 
I am also trying to get [http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide Mediawiki FCKeditor extension] to work on my site.
 
I am also trying to get [http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide Mediawiki FCKeditor extension] to work on my site.
 
Next step would be have Wikiskins, Treeveiws and FCKeditor working together
 
Next step would be have Wikiskins, Treeveiws and FCKeditor working together
 +
Make a new article called [[Blog-skin]], and trying to activate it with [http://www.organicdesign.co.nz/News?skin=Blog-skin this URL]. Checking out the [[Extension:Wikiskin.php|extention code]], seems this line is defaulting to WikiSkin as the skin article.
 +
<pre>
 +
$wgWikiSkinArticle = isset($_REQUEST['skin']) ? $_REQUEST['skin'] : 'WikiSkin';
 +
</pre>
 +
But this article does not exist. Is $wgWikiSkinArticle set in LocalSettings?
 +
--[[User:Rob|Rob]] 22:48, 16 September 2007 (NZST)

Revision as of 10:48, 16 September 2007

Where can I see a page that uses this extension? --Rob 14:58, 6 Apr 2007 (NZST)

I'm testing it on WikiFS: --Nad 15:01, 6 Apr 2007 (NZST)

Has anyone an more detailed demo or description for setting up the wikiskin? --User:nope 14.5.2007

It's still in beta state, but is working ok, just save the code into a file and include the file from your localsettings.php, but make sure your skin article is created first (the name of the article is set in $wgWikiSkin, the default name for the article is WikiSkin). OrganicDesign and our other wikis use it, OrganicDesign:Default-skin is the $wgWikiSkin article on it. We're just using it to replicate the standard monobook layout currently, but it's been developed for use with MW:Extension:Wiklets which is a desktop-like skin where different articles and forms work like windows on a desktop. --Nad 21:50, 14 May 2007 (UTC)

Brilliant! Question: Why did you decide to put the skin variables like {{ACTIONS}} into the global MediaWiki variable namespace instead of using wikiskin-specific tags along the lines of @@ACTIONS@@? Ehartwell 00:07, 11 July 2007 (NZST)

I want them to be expanded by the wiki-parser as usual, so they need to be either mediawiki variables or parser-functions. --Nad 09:41, 11 July 2007 (NZST)

Private wiki & Public www

See Maintaining websites with a wiki

Propsed variables to add

  • Anonymous
  • Regexp

see MW:Extension talk:WikiSkin

Edit icons

I like this extension becasue it enables the use Treeviews and I have a complex nested subject taxonomy,

Suggestions

It would be very nice to see the edit icons when editing a pages.

FCKeditor

I am also trying to get Mediawiki FCKeditor extension to work on my site. Next step would be have Wikiskins, Treeveiws and FCKeditor working together Make a new article called Blog-skin, and trying to activate it with this URL. Checking out the extention code, seems this line is defaulting to WikiSkin as the skin article.

$wgWikiSkinArticle = isset($_REQUEST['skin']) ? $_REQUEST['skin'] : 'WikiSkin';

But this article does not exist. Is $wgWikiSkinArticle set in LocalSettings? --Rob 22:48, 16 September 2007 (NZST)