Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
m
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
*Include the navigation from another namespace
 +
*[[Template:ExampleContact]]
 +
**The best way to use this for other purposes.
 +
**How to handle errors: You can't edit because you're not logged in etc
 +
*[[mw:Manual talk:$wgNamespaceProtection|Namespace permissions]]
 
*How to ''sanitise'' the title so that workspaces like ''Research/Graphics'' become something nice like Research - Graphics
 
*How to ''sanitise'' the title so that workspaces like ''Research/Graphics'' become something nice like Research - Graphics
 +
**<nowiki>{{DISPLAYTITLE}}</nowiki>
 +
**$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''
 +
***Use wikiskin and include as normal some wikitext article
 +
**Toolbox
 +
***[[logic done in the skin|Toolbox box skin fragment]]
 
*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
Line 11: Line 24:
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
</pre>
 
</pre>
 +
 +
{{#regex:{{DISPLAYTITLE}}|%^.*/(.*)$%|$1}}
 +
 +
==See also==
 +
*[[Mediawiki wishlist]]

Latest revision as of 07:49, 9 October 2007

  • Include the navigation from another namespace
  • Template:ExampleContact
    • The best way to use this for other purposes.
    • How to handle errors: You can't edit because you're not logged in etc
  • 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

See also