Proposed wiki changes: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
# 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.
# 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;
$wgUseETag = true;
# Enable the basic file cache for static pages for non-logged-in visitors
$wgUseFileCache = true;
$wgFileCacheDirectory = "/INSTALLATION-DIRECTORY/tmp-cache";
$wgShowIPinHeader = false;
# 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;
</pre>
</pre>


Line 24: Line 38:
Lee is on the fence about whether to actually suggest the following extensions. Noisebridgians might find them super-useful, or maybe not:
Lee is on the fence about whether to actually suggest the following extensions. Noisebridgians might find them super-useful, or maybe not:
* http://www.mediawiki.org/wiki/Extension:CategoryTree
* 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" );
* http://www.mediawiki.org/wiki/Extension:ToggleDisplay
* http://www.mediawiki.org/wiki/Extension:ToggleDisplay
: #require_once( 'extensions/ToggleDisplay.php' );

Revision as of 02:33, 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
$wgUseFileCache = true;
$wgFileCacheDirectory = "/INSTALLATION-DIRECTORY/tmp-cache";
$wgShowIPinHeader = false;


# 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;


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.

gCal mediawiki extension: The Category:Events page says "(Wouldn't it be great if there were a gCal mediawiki plugin so crossposting wasn't needed? Do you know of a good one? Help us!) <- working on this, need to upgrade Mediawiki in order to use some plugins." What extension would enable this functionality?


Lee is on the fence about whether to actually suggest the following extensions. Noisebridgians might find them super-useful, or maybe not:

# Enable Category Tree extension. Note that we must enable AJAX support for this extension
$wgUseAjax = true;
require_once( "{$IP}/extensions/CategoryTree/CategoryTree.php" );


#require_once( 'extensions/ToggleDisplay.php' );