Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
m
m
Line 23: Line 23:
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
</pre>
 
</pre>
 +
 +
{{#regex:{{DISPLAYTITLE}}|%^.*/(.*)$%|$1}}

Revision as of 08:02, 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;
  • 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]

Template:DISPLAYTITLE