Proposed wiki changes

From Noisebridge
(Difference between revisions)
Jump to: navigation, search
Line 32: Line 32:
 
# saves a couple database queries but fragile if $wgArticlePath is nonstandard
 
# saves a couple database queries but fragile if $wgArticlePath is nonstandard
 
$wgEnableSidebarCache = true;
 
$wgEnableSidebarCache = true;
 
  
 
</pre>
 
</pre>
 
  
 
* '''Trim the Mediawiki footers '''
 
* '''Trim the Mediawiki footers '''
Line 57: Line 55:
 
: #require_once( 'extensions/ToggleDisplay.php' );
 
: #require_once( 'extensions/ToggleDisplay.php' );
  
 
+
* Use a logo that has alpha blending.
Use a logo that has alpha blending. Those white edges are a bother! Maybe take from here: https://www.noisebridge.net/wiki/Identity
+
: Those white edges are a bother! Maybe take from here: https://www.noisebridge.net/wiki/Identity

Revision as of 16:01, 4 December 2009

Here are some proposed wiki updates. Discussion welcome.

As of 12-2-09 Noisebridge wiki is running MediaWiki: 1.11.2.

Update to the most current (1.15.1 currently). This will allow image links to work, and wgEnableMWSuggest to work.

# Enable suggestions while typing in search boxes. See http://www.mediawiki.org/wiki/Manual:$wgEnableMWSuggest
$wgEnableMWSuggest = true;

# improves search functionality a tiny bit http://www.mediawiki.org/wiki/Manual:$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting = true;

# Tells Mediawiki to use ETag Headers, decreasing irrelevant page loads. See http://www.mediawiki.org/wiki/Manual:$wgUseETag YSlow says the wiki doesn't use ETags right now.
$wgUseETag = true;

# Enable the basic file cache for static pages for non-logged-in visitors.
# Warning: this might cause problems if a page is counting on knowing the current date and updating appropriately, IE a calendar page
$wgUseFileCache = true;
$wgFileCacheDirectory = "/INSTALLATION-DIRECTORY/tmp-cache";
$wgShowIPinHeader = false;

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgCacheEpoch = max( $wgCacheEpoch, $configdate );


# This might make for better performance, compressing html before serving, especially when using the file cache
$wgUseGzip = true;

# saves a couple database queries but fragile if $wgArticlePath is nonstandard
$wgEnableSidebarCache = true;

  • Trim the Mediawiki footers
http://www.mediawiki.org/wiki/Manual:Footer
I think we can remove "Privacy policy" and "Disclaimers". Maybe remove "About Noisebridge"
  • Poem Extension
(http://www.mediawiki.org/wiki/Extension:Poem). A useful kludge giving you the <poem></poem> tag. Inside this tag, a single carriage return behaves like a single carriage return. This makes copying and pasting many text documents into the wiki less of a bother.
  • Calendar
http://www.mediawiki.org/wiki/Extension:Calendar_(Kenyu73)
  • Category Tree
http://www.mediawiki.org/wiki/Extension:CategoryTree
# Enable Category Tree extension. Note that we must enable AJAX support for this extension
$wgUseAjax = true;
require_once( "{$IP}/extensions/CategoryTree/CategoryTree.php" );
  • Toggle Display
http://www.mediawiki.org/wiki/Extension:ToggleDisplay
#require_once( 'extensions/ToggleDisplay.php' );
  • Use a logo that has alpha blending.
Those white edges are a bother! Maybe take from here: https://www.noisebridge.net/wiki/Identity
Personal tools