MediaWiki: Difference between revisions
No edit summary |
No edit summary |
||
(91 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==MediaWiki til andre formater== | |||
* [https://www.mediawiki.org/wiki/Publishing_from_MediaWiki#Built-in_methods_of_exporting_data_via_the_interface Publishing from MediaWiki] | |||
==Broken links== | |||
* [http://www.brokenlinkcheck.com Brokenlinkcheck] | |||
==Menu system== | |||
* [http://www.yggenyk.dk/wiki/MediaWiki:SidebarTree Edit sidebar] | |||
* [http://www.yggenyk.dk/wiki/index.php?title=MediaWiki:Common.js&action=edit Common.js select selected page in Sidebar menu] | |||
* [https://www.mediawiki.org/wiki/Extension:TreeAndMenu Extension:TreeAndMenu] | |||
* [http://www.yggenyk.dk/wiki/index.php?title=MediaWiki:Common.js&action=edit Maintenance scripts] | |||
* [https://www. Upragrading versionmediawiki.org/wiki/Manual:Upgrading] | |||
tp://www.mediawiki.org/wiki/Manual:RefreshLinks.php Manual:refreshLinks.php] | |||
php maintenance/refreshLinks.php | |||
==Web Page Analyzers== | |||
[http://www.seowebpageanalyzer.com/ SEO Web Page Analyzer] | |||
==Mobile Android...== | |||
* [https://github.com/hcatlin/wikimedia-mobile#readme wikimedia-mobile] | |||
==Fixes== | |||
====Silverlight extension==== | |||
Javascript error handler removed otherwise we can't edit and login | |||
====Google Maps'''==== | |||
* [http://www.mediawiki.org/wiki/Extension_talk:Google_Maps#FIXED_in_the_latest_releases_9.2F29.2F09 FIXED in the latest releases 9/29/09] | |||
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== | |||
[http://www.mediawiki.org/wiki/TurnKey_MediaWiki TurnKey MediaWiki] | |||
* [http://www.mediawiki.org/wiki/Manual:Moving_a_wiki Manual:Moving a wiki] | |||
* [http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki Manual:Backing up a wiki] | |||
* [http://www.mediawiki.org/wiki/Manual:Upgrading Manual:Upgrading] | |||
* [http://www.mediawiki.org/wiki/Manual:Installation_requirements Manual:Installation requirements] | |||
* [http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu This guide is to help other users manually install MediaWiki on an Ubuntu server installation using primarily Terminal commands.] | |||
* [http://www.mediawiki.org/wiki/Manual:Short_URL/Apache_Rewrite_rules Manual:Short URL/Apache Rewrite rules] | |||
* [http://httpd.apache.org/docs/1.3/sections.html Apache - How Directory, Location and Files sections work] | |||
* [http://www.mediawiki.org/wiki/Database Mediawiki database layout] | |||
php.ini: | |||
memory_limit = 512M | |||
post_max_size = 200M | |||
upload_max_filesize = 200M | |||
Restart Apache afterwards?? | |||
* [http://www.mediawiki.org/wiki/Extension:Google_Analytics Extension:Google Analytics] | |||
Turnkey | |||
* [http://www.turnkeylinux.org/docs/importing-your-previous-mediawiki-tkmw Importing a previous mediawiki into TKMW] | |||
==TODO== | |||
Test response tiden med: | |||
* [http://apm.mywebcheck.com/ Apica WebPerformance Free] | |||
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 | |||
* [http://www.fdim.dk/ FDIM - Foreningen af Danske InternetMedier] | |||
==Hide pages== | |||
* [http://www.mediawiki.org/wiki/Extension:Hidden_pages Extension:Hidden pages] | |||
==Search== | |||
* [http://www.searchtools.com/analysis/mediawiki-search/index-mediawiki-search-stinks.html Why MediaWiki Site Search Stinks] | |||
==Purge Cache TAB== | |||
http://www.mediawiki.org/wiki/File_cache | |||
==Optimering og overvågning== | |||
* [http://www.larsbachmann.dk/faa-en-hurtigere-wordpress.html Lars Bachmann - Få en hurtigere Wordpress] | |||
* [http://www.joostdevalk.nl/speed-up-and-clean-up-your-wordpress/ Joost De Valk guide til en hurtigere Wordpress] | |||
* [http://www.iwebtool.com/speed_test] | |||
* [http://www.websiterepairs.net/websiteuptime.php] | |||
* [http://www.webwait.com] | |||
* [http://www.problogger.dk/gr-din-side-hurtigere] | |||
* [http://developer.yahoo.com/performance/rules.html] | |||
* [http://developer.yahoo.com/yslow/] | |||
==Benchmark Tools== | |||
The script is used by Free-Webhosts.com to compare the web server speeds of free PHP web hosting providers. | |||
* [http://www.free-webhosts.com/php-benchmark-script.php Free PHP Benchmark Performance Script] | |||
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++== | |||
* [http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus Wikipedia:Naming conventions (technical restrictions)] | |||
==Ledige domænenavne== | |||
* [http://domaintips.dk/category/slettede-dom%c3%a6ner/ domaintips.dk] | |||
* www.digitalliving.dk | |||
* www.ctrl-g.dk | |||
* www.centeroftheworld.dk | |||
==Er taget== | |||
* www.digitallife.dk | |||
* www.galaxy.dk | |||
==Gadgets== | |||
* [http://jldupont.com/Category:Extensions jldupont eksempel] | |||
* [http://www.mediawiki.org/wiki/Extension:SimpleScript#Installation Extension:SimpleScript] | |||
* [http://www.mediawiki.org/wiki/Extension:ParserPhase2 Extension:ParserPhase2] | |||
* [http://www.mediawiki.org/wiki/Extension:InterWikiLinkManager Extension:InterWikiLinkManager] | |||
Disse er vist ikke nødvendige | |||
* [http://pear.php.net/ PEAR - PHP Extension and Application Repository] | |||
* [http://www.mediawiki.org/wiki/Extension:ExtensionManager Extension:ExtensionManager] | |||
* [http://www.mediawiki.org/wiki/Extension:StubManager Extension:StubManager] | |||
* [http://www.google.com/ig/directory?synd=open&source=gghp&num=24&url=http://www.schulz.dk/pacman.xml&output=html PackMan] | |||
== Getting started !== | == Getting started !== | ||
Line 24: | Line 181: | ||
==Editing== | ==Editing== | ||
===Magic Words=== | |||
* [http://meta.wikimedia.org/wiki/Help:Magic_words Help:Magic words] __NOTOC__ and do on | |||
===Table of contents=== | |||
* [http://meta.wikimedia.org/wiki/Help:Table_of_contents Help:Table of contents] | |||
===General=== | |||
* [http://upload.wikimedia.org/wikipedia/meta/6/66/MediaWikiRefCard.pdf WikiMedia Reference Card (in pdf format)] | |||
* [http://meta.wikimedia.org/wiki/Help:Reference_card WikiMedia Reference Card (article)] | |||
* [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Help:Wikitext examples] | |||
This is a list of conversion tools and plugins for editing. | |||
* [http://nah.wikipedia.org/wiki/Huiquipedia:Tools/Editing_tools Huiquipedia:Tools/Editing tools] | |||
===Pictures and images=== | |||
* [http://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial Wikipedia:Picture tutorial] | |||
* [http://meta.wikimedia.org/wiki/Help:Navigational_image Using external images and linking with images] | |||
* [http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax Wikipedia:Extended image syntax] | * [http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax Wikipedia:Extended image syntax] | ||
===Tables=== | |||
* [http://en.wikipedia.org/wiki/Help:Table Tables] | * [http://en.wikipedia.org/wiki/Help:Table Tables] | ||
* [http://meta.wikimedia.org/wiki/Help:Table Tables] | * [http://meta.wikimedia.org/wiki/Help:Table Tables] | ||
===Templates=== | |||
* [http://meta.wikimedia.org/wiki/Help:A_quick_guide_to_templates Help:A quick guide to templates] | * [http://meta.wikimedia.org/wiki/Help:A_quick_guide_to_templates Help:A quick guide to templates] | ||
* [http://meta.wikimedia.org/wiki/Help:ParserFunctions Help:ParserFunctions] | |||
* [http:// | |||
==Different tools for converting documents to mediawiki markup== | |||
* [http://openwetware.org/wiki/Converting_documents_to_mediawiki_markup Converting documents to mediawiki markup] | |||
==Skins== | |||
* [http://www.jcmiras.net/jcm/section/algorithms/ Algorithms and Computing Blå farver] | |||
* [http://meta.wikimedia.org/wiki/User_styles MediaWiki User style] | |||
Pages with nice look | |||
* [http://www.mono-project.com/ Mono] | |||
* [http://inside.wikia.com/wiki/New_skin Wikia.com Gule farver] | * [http://inside.wikia.com/wiki/New_skin Wikia.com Gule farver] | ||
* [http://tmbw.net/wiki/2007_Archived_News Azure skin] | * [http://tmbw.net/wiki/2007_Archived_News Azure skin] | ||
* [http://www.borngeek.com/code/advanced-registry-access.html Born Geek] | |||
* [http://www.mediawiki.org/wiki/Extension:Tree_view Extension:Tree view] | |||
* [http://www.mediawiki.org/wiki/Extension:Simple_Security Extension:Simple_Security] | |||
* [http://www.mediawiki.org/wiki/Extension:DPL Extension:DynamicPageList] | |||
* [http://semeb.com/dpldemo DPL Website] | |||
* [http://semeb.com/dpldemo/index.php?title=DPL:FAQ DPL FAQ] | |||
Læs mere her DPL Manual [http://semeb.com/dpldemo/index.php?title=DPL:Manual DPL Manual] | |||
Returning page itself - Search for DynamicPageList "treeview" categories "current page"<br> | |||
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={{PAGENAME}} 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<br> | |||
For font and css help see: http://www.pageresource.com/dhtml/csstut8.htm | |||
Use this Article to edit the Navigation Menu [[NavTree]]<br> | |||
Use this Article to edit the Navigation Menu Tree item [[Template:NavCat]] | |||
{{NavCat3|GPS}} | |||
{{#tree: | |||
*[[Main Page]] | |||
*[[Special:Recentchanges|Recent changes]] | |||
*{{#ifgroup:sysop|Admin}} | |||
*{{#ifgroup:sysop|Logs}} | |||
*{{#ifgroup:sysop|Tasks}} | |||
}} | |||
{{#tree: | |||
*Root1 | |||
**Sub-item | |||
**Another sub-item | |||
*Root2 | |||
**Sub-item | |||
**Another sub-item | |||
}} | |||
{{#tree:openlevels=1| | |||
*Root | |||
**Sub-item | |||
**Another sub-item | |||
**[[Home]] | |||
**[[MediaWiki#Skins]] | |||
**[[MediaWiki#Skins|Skins]] | |||
}} | |||
[[Image:Arrow-closed.png]] | |||
[[Image:Arrow-open.png]] | |||
[[Image:Blank.gif]] | |||
[[Image:Doc3.gif]] | |||
[[Image:Doc4.gif]] | |||
[[Image:Doc-icon.gif]] | |||
[[Image:File_icon.gif]] | |||
[[Image:Folder_opn_sml_blu.gif]] | |||
[[Image:Folder_opn_sml_grn.gif]] | |||
[[Image:Folder_opn_sml_pur.gif]] | |||
[[Image:Folder_opn_sml_red.gif]] | |||
[[Image:Folder_opn_sml_yel.gif]] | |||
[[Image:Folder_sml_blu.gif]] | |||
[[Image:Folder_sml_grn.gif]] | |||
[[Image:Folder_sml_pur.gif]] | |||
[[Image:Folder_sml_red.gif]] | |||
[[Image:Folder_sml_yel.gif]] | |||
[[Image:Lastnode.gif]] | |||
[[Image:Minus.gif]] | |||
[[Image:Node.gif]] | |||
[[Image:Plus.gif]] | |||
[[Image:Vertline.gif]] | |||
* [http://www.goldenplanet.dk/teknik/soegemaskiner.html En samling gode råd om optimering til søgemaskiner] | |||
==Google Extensions== | ==Google Extensions== | ||
Line 40: | Line 301: | ||
==Extensions== | ==Extensions== | ||
* [http://www.mediawiki.org/wiki/Category:All_extensions Category:All extensions] | * [http://www.mediawiki.org/wiki/Category:All_extensions Category:All extensions] | ||
==Search engine Crawler detection== | |||
* [http://www.crawltrack.fr/ Crawltrack] | |||
==Search engine settings== | |||
* [http://webmaster.live.com/WebmasterDashboardPage.aspx?siteID=9D54DD00ED1D4CADB72B0C22208BFDB0 Microsoft Site summary] | |||
* [http://search.msn.com/docs/submit.aspx Microsofts submit a site page - here you can try to (re)submit your page if it is not indexed] | |||
* [https://siteexplorer.search.yahoo.com/mysites Yahoo mysites] | |||
==Web speed== | |||
* [http://tools.pingdom.com/fpt/ Pingdom Tools - Smart tool til at teste hvor lang tid det tager at loade en webside] | |||
==Site Maps== | ==Site Maps== | ||
Create new sitemap for Yggenyk.dk | Create new sitemap for Yggenyk.dk | ||
# 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. | |||
* [http://www.mediawiki.org/wiki/Extension:Google_Sitemap MediaWiki Extension:Google Sitemap] | * [http://www.mediawiki.org/wiki/Extension:Google_Sitemap MediaWiki Extension:Google Sitemap] | ||
* [http://www.mediawiki.org/wiki/Extension_talk:Google_Sitemap Extension talk:Google Sitemap] | * [http://www.mediawiki.org/wiki/Extension_talk:Google_Sitemap Extension talk:Google Sitemap] | ||
Line 56: | Line 333: | ||
* [http://www.google.com/webmasters/sitemaps/siteoverview Google Webmasterværktøjer] | * [http://www.google.com/webmasters/sitemaps/siteoverview Google Webmasterværktøjer] | ||
* [http://www.xml-sitemaps.com/ Free online sitemap generator | |||
* [http://www.xml-sitemaps.com/ XML-Sitemaps.com Free online sitemap generator (Maximum 500 pages will be indexed in sitemap)] | |||
* [http://www.wikihow.com/Get-Your-Website-Indexed-by-Google '''How to Get Your Website Indexed by Google'''] | * [http://www.wikihow.com/Get-Your-Website-Indexed-by-Google '''How to Get Your Website Indexed by Google'''] | ||
* [http://www.smart-it-consulting.com/article.htm?node=166&page=128 Google Python Sitemap Generator - Introduction] | * [http://www.smart-it-consulting.com/article.htm?node=166&page=128 Google Python Sitemap Generator - Introduction] | ||
==Verify your html with W3C tools== | |||
* [http://www.w3.org/QA/Tools/ The W3C QA Toolbox - Validators, checkers and other tools for Webmasters and Web Developers] | |||
* [http://validator.w3.org/ W3C Markup Validation Service] | |||
* [http://validator.w3.org/checklink W3C Link Checker] | |||
* [http://jigsaw.w3.org/css-validator/ W3C CSS Validation Service] | |||
* [http://www.w3.org/QA/Tools/LogValidator/ W3C Log Validator all tools in one] | |||
==Adsense tips== | |||
* [http://www.howtomakemoneywithgoogleadsense.org/ how to make money with Google Adsense?] | |||
==Optimering mod søgemaskiner== | |||
* [http://www.nbp.dk/links/edb/soegemaskineoptimering_soegeord.php NBP's links til søgemaskineoptimering] | |||
==Google Analytics== | ==Google Analytics== | ||
Line 149: | Line 439: | ||
[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|printable=yes&useskin=standard}} Printable version] | [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|printable=yes&useskin=standard}} Printable version] | ||
==How to Embed FLV Video in MediaWiki== | |||
* [http://www.umwdtlt.org/media/screencast/dhflashplayer/index.html How to Embed FLV Video in MediaWiki] |
Latest revision as of 06:05, 9 January 2017
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
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
- Manual:Moving a wiki
- Manual:Backing up a wiki
- Manual:Upgrading
- Manual:Installation requirements
- This guide is to help other users manually install MediaWiki on an Ubuntu server installation using primarily Terminal commands.
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
- Lars Bachmann - Få en hurtigere Wordpress
- Joost De Valk guide til en hurtigere Wordpress
- [1]
- [2]
- [3]
- [4]
- [5]
- [6]
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++
- 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.
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.
- portal-url|portal
- currentevents-url|currentevents
- recentchanges-url|recentchanges
- randompage-url|randompage
- helppage|help
- sitesupport-url|sitesupport
Editing
Magic Words
- Help:Magic words and do on
Table of contents
General
This is a list of conversion tools and plugins for editing.
Pictures and images
- Wikipedia:Picture tutorial
- Using external images and linking with images
- Wikipedia:Extended image syntax
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;}}
Google Extensions
Extensions
Search engine Crawler detection
Search engine settings
- Microsoft Site summary
- Microsofts submit a site page - here you can try to (re)submit your page if it is not indexed
- Yahoo mysites
Web speed
Site Maps
Create new sitemap for Yggenyk.dk
- 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...
- XML-Sitemaps.com Free online sitemap generator (Maximum 500 pages will be indexed in sitemap)
- How to Get Your Website Indexed by Google
- Google Python Sitemap Generator - Introduction
Verify your html with W3C tools
- The W3C QA Toolbox - Validators, checkers and other tools for Webmasters and Web Developers
- W3C Markup Validation Service
- W3C Link Checker
- W3C CSS Validation Service
- W3C Log Validator all tools in one
Adsense tips
Optimering mod søgemaskiner
Google Analytics
Google Maps
- Extension Google Maps
- [http://www.mediawiki.org/wiki/Extension:Google_Maps/Syntax Google Maps syntax
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
- How to backup your Mysql database with phpMyAdmin
- HOWTO:Backup and Restore Your Database Using phpMyAdmin