Projekt:Customization
This starter pack has a wide variety of new ui text. Especially the new german texts use "Sie" instead of "Du" as a new "feature". Here are the files, you probalby wish to customize before you take this wiki productive:
Access Control
At the moment this wiki is set to readonly for anonymous user and editable by confirmed users. There are also some example roles defined. If you want to change that, please check
./_config/Localsettings_acls.php
and change for instance these lines accordingly:
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['user']['read'] = true;
$wgGroupPermissions['user']['edit'] = true;
MediaWiki configuration settings
You can find a list of all configuration settings here: http://www.mediawiki.org/wiki/Manual:Configuration_settings. If you want to add them, please put them in ./_config/LocalSettings.php
at the very end in the section
######################################################################################################
# #
# C O S T U M I Z A T I O N #
# #
######################################################################################################
Boilerplates for new pages
Only if you added the Boilerplate package on import contain these pages the text, that will be preloaded when creating new pages in the corresponding namespace:
- Template:Boilerplate for the default page namespace
- Template:Boilerplate_category for category namespace
- Template:Boilerplate_file contains a warning, not to create a page in filespace "file". Is NOT displayed when uploading a file
- Template:Boilerplate_meta for namespace meta
- Template:Boilerplate_help for namespace help
- Template:Boilerplate_property for namespace property
- Template:Boilerplate_user for namespace user
- Template:Boilerplate_talk for talk pages
- Template:Boilerplate_template for namespace template
Preloading ignores texts between <includeonly>...</includeonly>
.
If you want to have preloading text for an additional namespace, you have to do this:
- Edit
, search for the section./_config/LocalSettings_extensions.php
and add the following line to the list of preloader boilerplates:#Preloader
$wgPreloaderSource[ <NAMESPACE_CONSTANT> ] = 'Template:Boilerplate <namespace name>';
<NAMESPACE_CONSTANT>
is the mediawiki constant depicting the namespace you want the boilerplate for. If the target namespace isn't one you created on your own, please refer to https://www.mediawiki.org/wiki/Extension_default_namespaces for a complete list of predefined namespaces. - Create a page called
Template:Boilerplate <namespace name>
in your wiki and fill it with the preloader text.
Please note, that text in<includeonly>...</includeonly>
tags will ignored when preloading, so use it to categorize and document your boilerplates. The default category for boilerplates is Category:Preload text templates.
System messages
- MediaWiki:Sidebar is your left hand main navigation bar
Default language
Depending on what language package you imported for default language these are either german or english
- MediaWiki:Badaccess-groups, where you can disable the display of necessary groups for a certain action
- MediaWiki:Cascadeprotected, a help page for (cacascade)-protected pages. Should display links for help pages and a working target for the "Submit an edit request"-button. See also the template {{Protected page text}} for more customization on this message.
- MediaWiki:Editpage-head-copy-warn, a message displayed above the textarea when editing an existing page. Link here to help pages and helper templates
- MediaWiki:Newarticletext, the note displayed above the textarea when creating a new article. Here you could add links to existing forms as alternative to manual creation (of course, only when using forms)
- MediaWiki:Noarticletext, the text displayed when surfing to a non existant page. Add some links to your lokal help pages. When using semantic forms, this is also a good place to reference existing forms.
- MediaWiki:Noarticletext-nopermission, same as before. Is displayed at a non existing page where the user doesn't have the rights to create the page
- MediaWiki:Nocreatetext is displayed for anonymous user, if you disallowed creating new aricles for them. Please link to help pages for rights policies
- MediaWiki:Protectedpagetext, a help page for protected pages. Should display links for help pages and a working target for the "Submit an edit request"-button. See also the template {{Protected page text}} for more customization on this message.
- MediaWiki:Semiprotectedpagewarning
- MediaWiki:Tagline is the line displayed right below the page title. Please costumize but do not leave empty. This would both up some vector stylings.
- MediaWiki:Uploadtext is displayed every time some is uploading a file. It is a rather long text concerning naming conventions and adding file descriptions. Just fit them to your policies.
English
Please refer to Section "Default language" for the description. When you use english as your wikis default language, you can ignore these pages.
- MediaWiki:Badaccess-groups/en
- MediaWiki:Cascadeprotected/en
- MediaWiki:Editpage-head-copy-warn/en
- MediaWiki:Newarticletext/en
- MediaWiki:Noarticletext/en
- MediaWiki:Noarticletext-nopermission/en
- MediaWiki:Nocreatetext/en
- MediaWiki:Protectedpagetext/en
- MediaWiki:Semiprotectedpagewarning/en
- MediaWiki:Tagline/en
- MediaWiki:Uploadtext/en
German
Please refer to Section "Default language" for the description. When you use german as your wikis default language, you can ignore these pages.
- MediaWiki:Badaccess-groups/de
- MediaWiki:Cascadeprotected/de
- MediaWiki:Editpage-head-copy-warn/de
- MediaWiki:Newarticletext/de
- MediaWiki:Noarticletext/de
- MediaWiki:Noarticletext-nopermission/de
- MediaWiki:Nocreatetext/de
- MediaWiki:Protectedpagetext/de
- MediaWiki:Semiprotectedpagewarning/de
- MediaWiki:Tagline/de
- MediaWiki:Uploadtext/de
Templates (all languages)
The "Protected page text"-templates display text for protexted pages. They contain suggestions for the user, how to proceed. You should link your help pages and maybe add some indivudual guidelines.
- Template:Protected page text
- Template:Protected page text/semi
- Template:Protected_page_text/full
- Template:Protected_page_text/template
Some predefined Editsummaries
With the Gadget defaultsummaries you can give users an assortment of default edit summaries, increasing the chances they add summaries. You can edit the list here: MediaWiki:Gadget-defaultsummaries.js.
Extending SMW
- You can add some more Semantic Special Properties for pages. Here is how!
- Add some nice Semantic Result formats!