MediaWiki: Unterschied zwischen den Versionen
(subpages) |
Keine Bearbeitungszusammenfassung |
||
Zeile 15: | Zeile 15: | ||
$wgNamespacesWithSubpages[NS_MAIN] = true; | $wgNamespacesWithSubpages[NS_MAIN] = true; | ||
http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages | |||
==Restricted Page Patch== | ==Restricted Page Patch== |
Version vom 9. März 2007, 02:03 Uhr
404/Seite existiert nicht
Ist ein Systemtext: MediaWiki:Noarticletext
Diese Seite enthält momentan noch keinen Text, aber du kannst nach dem Seitentitel [[{{ns:special}}:Search/{{PAGENAME}}|suchen]] oder diese Seite [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} bearbeiten].
siehe auch http://bugzilla.wikimedia.org/show_bug.cgi?id=2585
Enabling for a namespace
An easy way to enable subpages for a given namespace is to edit the LocalSettings.php and insert the following:
# Enable subpages in the main namespace $wgNamespacesWithSubpages[NS_MAIN] = true;
http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages
Restricted Page Patch
http://conseil-recherche-innovation.net/index.php/1974/04
weitere http://www.mediawiki.org/wiki/Extension:PageSecurity
http://meta.wikimedia.org/wiki/Help:Navigation_bar
Eliminating index.php from the url
das wiki läuft unter /mediawiki. /wiki ist die virtuelle url.
http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
LocalSesstings.php:
$wgScriptPath = "/mediawiki"; ## If using PHP as a CGI module, use the ugly URLs $wgArticlePath = "/wiki/$1";
File Upload
LocalSesstings.php:
$wgEnableUploads = true; // Enable uploads $wgCheckFileExtensions = false; $wgStrictFileExtensions = false;
http://www.mediawiki.org/wiki/Configuring_file_uploads
No Anonymous
# Permission keys given to users in each group. # All users are implicitly in the '*' group including anonymous visitors; # logged-in users are all implicitly in the 'user' group. These will be # combined with the permissions of all groups that a given user is listed # in in the user_groups table. # # This replaces wgWhitelistAccount and wgWhitelistEdit # # The following line should be commented, otherwise these settings will # throw away the settings on DefaultSettings.php (you probably don't want this). # With this line commented you will only overwrite the settings you explicitly # define here (that's what you probably want). #$wgGroupPermissions = array(); $wgGroupPermissions['*' ]['createaccount'] = false; $wgGroupPermissions['*' ]['read'] = true; $wgGroupPermissions['*' ]['edit'] = false;
Überschriften nummerieren/numberheadings
in LocalSettings.php:
$wgDefaultUserOptions['numberheadings'] = 1;
Farmer - (Multisite) Mediawiki farm
http://www.mediawiki.org/wiki/User:IndyGreg/Farmer
Dublin Core
$wgEnableDublinCoreRdf = true;
WikiArticleFeeds
The WikiArticleFeeds Extension is a MediaWiki extension for converting regular wiki articles into RSS and Atom feeds. http://jimbojw.com/wiki/index.php?title=WikiArticleFeeds&action=raw&ctype=text/plain&name=WikiArticleFeeds.php