MediaWiki

From Yggenyk
Revision as of 02:08, 6 October 2007 by WikiSysop (talk | contribs) (New page: == Getting started !== Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. * [http://www.mediawiki.org/wiki/Help:Configura...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting started !

Consult the User's Guide for information on using the wiki software.

How do I customize the navigation bar?

The contents of the navigation bar which appears to the left of each page using the Monobook skin are determined by the MediaWiki:Sidebar page. For information on customising these, please see Manual:Navigation bar.

This is removed from my navigation bar

    • portal-url|portal
    • currentevents-url|currentevents
    • recentchanges-url|recentchanges
    • randompage-url|randompage
    • helppage|help
    • sitesupport-url|sitesupport

Editing

This is a list of conversion tools and plugins for editing.

Google Extensions

Extensions

Site Maps

Create new sitemap for Yggenyk.dk

Here you can read about how to avoid Google scanning all special pages with robot.txt

Se hvordan man burde kunne skjule historien på billedsider (jeg har prøvet, men så kan logged in users heller ikke se den). Her er også et eksempel på hvordan man laver en sitemap. Og andet...



Google Analytics

Google Maps

Extension tag for adding <meta> keywords to the document header

Dette er sakset fra en anden side

If you are using Wordpress, use this handy sitemap generator. This plugin generates a Google Sitemaps compliant sitemap of your WordPress blog.

A free tool that will crawl a website and generate a ROR Sitemap up to 1,000 URLs for every search engines, not just Google

Kan ikke finde ud af hvad den ikke skal scanne This tool creates a sitemap as defined by Google™ for a website.

Google beta sitemap generator

Free Online Sitemap Generator that will build Site Maps online (XML, ROR, Text, HTML)

Nice short url's

I got the short/pretty url's working by following the description from:

I have one.com as host, and the section Solution without alias works on one.com. Below is my modified version showing how I added pretty url's to http://www.yggenyk.dk

My site http://www.yggenyk.dk is in ~/web_root/wiki

Using this .htaccess in my http://www.yggenyk.dk directory, I was able to use short URLs and the redirection.

My Main_Page is renamed to Home. If your's is called Main_Page replace Home with Main_Page below.

My site is hosted at one.com.

In ~/web_root/.htaccess

RewriteEngine On
#Redirect http://yggenyk.dk to http://www.yggenyk.dk
RewriteCond %{HTTP_HOST} ^yggenyk.dk
RewriteRule ^(.*)$ http://www.yggenyk.dk/$1 [r=301,L]
RedirectMatch ^/$ http://www.yggenyk.dk/wiki
RewriteCond %{REQUEST_URI} ^/wiki$
RewriteRule ^(.*) /wiki/index.php?title=Home [L]

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.*) wiki/index.php?title=$1 [PT,L,QSA]

In ~/web_root/wiki/LocalSettings.php

$wgServer = "http://www.yggenyk.dk";
$wgArticlePath = "/wiki/$1";

If you want to know more about URL rewriting read here:

Pæne korte url's

Rename Main page

Display any page, say, the main page. Then go to the URL in your browser's URL input line and replace the text "Main_Page" with "Mediawiki:mainpage". It should look like: http://www.yggenyk.dk/index.php?title=MediaWiki:Mainpage

Then click the "go" button (or hit "enter" on your keyboard) to display that page. You can then click the edit tab... (actually, if you just click on the link I just pasted here to your wiki, that will do it too).

Aside: This is one way to create a new page as well - just replace the displayed page name with the name of a new page and try to display that - MediaWiki will show a that the page doesn't exist and offer to let you edit that to create it.

Opening external links in a new window

Backup

AdSense

id=siteTree