Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
m
(toolbox logic)
Line 2: Line 2:
 
*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
+
***It has the weird non-wikitext format
**A way to grab the article content, send through parser and output html
+
***A way to grab the article content, send through parser and output html
**This way it can be wikitext
+
***This way it can be wikitext
**Already been done?
+
***Already been done?
 +
**Toolbox
 +
***Lots of ''if'' [[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 22:49, 3 October 2007

  • How to sanitise the title so that workspaces like Research/Graphics become something nice like Research - Graphics
  • How to get those extra things out of $data[] in the template object
    • Started implementing SIDEBAR
      • It has the weird non-wikitext format
      • A way to grab the article content, send through parser and output html
      • This way it can be wikitext
      • Already been done?
    • Toolbox
  • 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]