Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
m
m
Line 3: Line 3:
 
**<nowiki>{{DISPLAYTITLE}}</nowiki>
 
**<nowiki>{{DISPLAYTITLE}}</nowiki>
 
**$wgAllowDisplayTitle=true;
 
**$wgAllowDisplayTitle=true;
 +
**Not reliable in >=1.10
 +
**Need extension to do this
 
*How to get those extra things out of $data[] in the template object
 
*How to get those extra things out of $data[] in the template object
 
**Started implementing ''SIDEBAR''
 
**Started implementing ''SIDEBAR''
***It has the weird non-wikitext format
+
***Use wikiskin and include as normal some wikitext article
***A way to grab the article content, send through parser and output html
 
***This way it can be wikitext
 
***Already been done?
 
 
**Toolbox
 
**Toolbox
***Lots of ''if'' [[logic done in the skin|Toolbox box skin fragment]]
+
***[[logic done in the skin|Toolbox box skin fragment]]
***Perhaps can be done with <nowiki>{{#if</nowiki>
 
***Iteration?
 
 
*Best way to deal with wiki and non-wiki content in the same namespace
 
*Best way to deal with wiki and non-wiki content in the same namespace
 
**htaccess from rails
 
**htaccess from rails

Revision as of 08:29, 4 October 2007

  • Namespace permissions
  • How to sanitise the title so that workspaces like Research/Graphics become something nice like Research - Graphics
    • {{DISPLAYTITLE}}
    • $wgAllowDisplayTitle=true;
    • Not reliable in >=1.10
    • Need extension to do this
  • How to get those extra things out of $data[] in the template object
  • Best way to deal with wiki and non-wiki content in the same namespace
    • htaccess from rails
    • inclusive or exclusive
    • This from rails looks for the existence of a file and invokes the cgi if it's not found
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]

Template:DISPLAYTITLE