MediaWiki

From Yggenyk
Jump to navigation Jump to search

MediaWiki til andre formater

Broken links

Menu system



tp://www.mediawiki.org/wiki/Manual:RefreshLinks.php Manual:refreshLinks.php] php maintenance/refreshLinks.php



Web Page Analyzers

SEO Web Page Analyzer

Mobile Android...

Fixes

Silverlight extension

Javascript error handler removed otherwise we can't edit and login

Google Maps

Edit the file GoogleMaps.body.php

Change this line:

     function render16 ( $pContent, $pArgv, &$pParser ) {

to

     function render16 ( $pContent, $pArgv, $pParser ) {

It seems to be a PHP5.3 side effect. The error you get after upgrading to the newest stuff is:

Extension:Add HTML Meta and Title

Changed

function renderSEO( $text, $params = array(), &$parser ) {

=>

function renderSEO( $text, $params = array(), $parser ) {

Changed

$new_title .= ", $content";

=>

$new_title .= " - $content";

MetaKeywordsTag

Changed

function renderMetaKeywordsTag( $text, $params = array(), &$parser ) {

=>

function renderMetaKeywordsTag( $text, $params = array(), $parser ) {

New server

TurnKey MediaWiki

php.ini:

memory_limit = 512M
post_max_size = 200M
upload_max_filesize = 200M
Restart Apache afterwards??

Turnkey

TODO

Test response tiden med:

Test jævnligt med http://tools.pingdom.com/fpt/ at siderne loader på ca. 2 sek. http://www.websiteoptimization.com/ Web Page Analyzer - 0.98 - from Website Optimization Free Website Performance Tool and Web Page Speed Analysis]

  • skins/gumax/headbg.jpg manglede og gav lange loadtider. Den vises ikke og burde derfor måske fjernes fra main.css
  • Det kan også være andre ting kan fjernes
  • skins/GuMax.php echo date("F j, Y, l") ?> Date taget ud på grund af cache. Hvis det kan laves med clientscript så skal den ind igen

http://www.blog.concept-i.dk/adwords-landingssider/ Langsomme sider giver højere klikpris (lavere)]

Mest besøgte hjemmesider

Hide pages

Search

Purge Cache TAB

http://www.mediawiki.org/wiki/File_cache

Optimering og overvågning


Benchmark Tools

The script is used by Free-Webhosts.com to compare the web server speeds of free PHP web hosting providers.

Click here to run: http://www.yggenyk.dk/wiki/php-benchmark.php

  • 21. Marts 2008 09:15 her fungerer serveren fint
Lowest time: 35 ms , Highest time : 38 ms
Average of all 12 times: 36 ms
Average of middle 10 times: 35 ms

URL's som C# og C++

Ledige domænenavne

  • domaintips.dk
  • www.digitalliving.dk
  • www.ctrl-g.dk
  • www.centeroftheworld.dk

Er taget

  • www.digitallife.dk
  • www.galaxy.dk

Gadgets

Disse er vist ikke nødvendige

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

Magic Words

Table of contents

General

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

Pictures and images

Tables

Templates

Different tools for converting documents to mediawiki markup

Skins

Pages with nice look


Læs mere her DPL Manual DPL Manual

Returning page itself - Search for DynamicPageList "treeview" categories "current page"
Indeed, DPL always skips the page containing the DPL statement itself. Older versions which returned this page led to undesirable situations, to loops and to unwanted results. Maybe it could be made configurable because it depends on the discipline and design of the authors who write dpl scripts whether it seems acceptable (or even better as you pose) to include self references in the result.

You can easily comment the line out which blocks self references. 217.111.20.10 11:41, 12 June 2007 (CEST)

I can understand that there might be technical issues involving loops and such, but I can't imagine that the typical situation is where one would want to explicitly exclude the current page. It seems like it'd be easy to remove the current page using nottitlematch=MediaWiki but there is no way to do the reverse and to include the current page. I don't know which line to comment out in the code and I'd rather not do it if there other issues like infinite loops. By the way, the application that I need this for is for a way to auto-summarize a page. At the top of a page, I want to auto generate a summary of the templates being used from that page. So moving the summary to a different page is not an option for this purpose. In the main source code file (the really large one ;-) there is a comment which explicitly says : "block recursion". You can try to comment out the if statement that immediately follows. If you want a list of templates being called from the current page you might want to have a look into the mediawiki source code. When you edit a file these templates (including those which are indirectly referenced) are shown by the mediawiki software. So there must be a functionality to calculate that list... But I don' t think it can be done without programming. Gero 18:26, 13 June 2007 (CEST)

Skin template is saved in /wiki/skins/gumax/gumax_main.css
For font and css help see: http://www.pageresource.com/dhtml/csstut8.htm

Use this Article to edit the Navigation Menu NavTree
Use this Article to edit the Navigation Menu Tree item Template:NavCat

{{#categorytree:GPS|onlyroot=on|mode=pages|style=background-color:white; width:100%;margin-top: 0.0ex;margin-bottom: 0.0ex;}}


Arrow-closed.png Arrow-open.png Blank.gif Doc3.gif Doc4.gif Doc-icon.gif File icon.gif Folder opn sml blu.gif Folder opn sml grn.gif Folder opn sml pur.gif Folder opn sml red.gif Folder opn sml yel.gif Folder sml blu.gif Folder sml grn.gif Folder sml pur.gif Folder sml red.gif Folder sml yel.gif Lastnode.gif Minus.gif Node.gif Plus.gif Vertline.gif

Google Extensions

Extensions

Search engine Crawler detection

Search engine settings

Web speed

Site Maps

Create new sitemap for Yggenyk.dk

  1. Klik på dette link Special:GoogleSitemap&limit=1000&offset=0 (den laver en ny xml fil straks!)

Slet derefter cachen og go til http://www.xml-sitemaps.com/ og generer en ny sitemap. Det laver også en ny cache. Hvis der skal eksluderes noget gøres det i wiki\includes\SpecialGoogleSitemap.php som automatisk fjerner ting som Sandbox, MediaWiki, Kogebog og Image:, Templates:, NavTree, NavTreeTest, NavCat og Categories: undtagen Danske sider og English pages. Den er også ændret så den indekserer 500 sider.

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...


Verify your html with W3C tools

Adsense tips

Optimering mod søgemaskiner

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

Printing

Printable version

Printable version

How to Embed FLV Video in MediaWiki

id=siteTree