Difference between revisions of "Talk:Main Page"

From Wurmpedia
Jump to navigation Jump to search
(edit in my post →‎French branch)
Line 73: Line 73:
  
 
That would be possible if we asked Egal to make a script that does it. For example there is a wiki.php script which is executed when the user clicks "Wiki" in the menu, instead of going straight to the wiki, then the wiki.php script finds the language and redirects the user onwards to the real wiki.
 
That would be possible if we asked Egal to make a script that does it. For example there is a wiki.php script which is executed when the user clicks "Wiki" in the menu, instead of going straight to the wiki, then the wiki.php script finds the language and redirects the user onwards to the real wiki.
 +
 +
--[[User:Ancient|Ancient]] 05:32, 17 June 2006 (CDT)
 +
 +
My proposed code is below:
  
 
  <?php
 
  <?php
Line 96: Line 100:
 
         // If so redirect them to their language's home page which is "language code":"Main Page in that language" - of course this means English goes to "En:Main Page" so we will have to make a redirect in the wiki to go back to "Main Page"
 
         // If so redirect them to their language's home page which is "language code":"Main Page in that language" - of course this means English goes to "En:Main Page" so we will have to make a redirect in the wiki to go back to "Main Page"
 
         header("Location: http://www.wurmonline.com/wiki/" . $language . ":" . $languages_supported[$language]);
 
         header("Location: http://www.wurmonline.com/wiki/" . $language . ":" . $languages_supported[$language]);
     } else {
+
     }
 +
    else
 +
    {
 
         // Otherwise redirect them to the Main Page, this could also be another page saying that the language is not supported
 
         // Otherwise redirect them to the Main Page, this could also be another page saying that the language is not supported
 
         header("Location: http://www.wurmonline.com/wiki/Main Page");
 
         header("Location: http://www.wurmonline.com/wiki/Main Page");

Revision as of 11:32, 17 June 2006

If you are using Mozilla Firefox to edit these Wiki-pages, I suggest you get this Wiki-extension : http://wikipedia.mozdev.org/
Gives you fast access to almost all Wikipedia editing features.


If anyone knows how to translate the google links into the asian characters, please do so. thx, --Uzetaab 20:42, March 9, 2006 (CST)
Senryaku ha kaimu! (It is done.) ^_^ --Lain Iwakura 03:30, 10 March 2006 (CST)

Templates

I made a stub template, use {{stub}} to put it in your articles. :) Lain Iwakura 11:53, 8 January 2006 (CST)

StubIcon.png This article is a stub. You can help by adding to it.

Information icon.png Stubs are articles that writers have begun work on, but are not yet complete enough to be considered finished articles.


It's new template time again! This one has bugs however, due to dependency problems I'll fix later...maybe. Use the {{cleanup}} tag on pages that have bad formatting or Wikicode.

Information icon.png
Cleanup-icon.gifTo meet Wurmpedia's quality standards, this article or section requires a cleanup by the Wurmpedia Team.

--Lain Iwakura 21:48, 7 April 2006 (CDT)

Another new one, use the {{Copyedit}} tag for pages that have spelling or grammar mistakes, or use 'leetspeak'...:P

Template:Copyedit --Lain Iwakura 02:01, 15 June 2006 (CDT)


Prototyping

I'm prototyping a new mainpage with a 'Wurmictionary' or babel, will list all articles by letter, you can see it here. --Lain Iwakura 06:55, 20 May 2006 (CDT)

The prototype looks messed up in Firefox here. "Wiki editing requires login", "Categories" and IRC are on the right side of the contents window now, while the babel is below them in the right bottom corner. --Manny 0:43, 21 May 2006 (GMT+2)
That's why it's a prototype... :P, I don't want to break the real mainpage whilst I experiment. --Lain Iwakura 12:49, 21 May 2006 (CDT)
Woo! Fixed it, should look right in Firefox & Opera now, but IE is being mean. :( --Lain Iwakura 02:06, 24 May 2006 (CDT)

Re organise the main page

The main page is a bit messy at the moment. I think we should make something simple like Wikipedia's Main Page. It will help users find things faster. Does anyone agree? I will work on a prototype of the ideas I have in mind - check my user page. --Ancient 12:04, 6 June 2006 (CDT)

Here's what I've got so far: User:Ancient/Prototype_Main_Page. Any ideas and suggestions? Do you think we should replace the main page with this. I've also seen that Lain Iwakura is working on alphabetical categories for all articles: User:Lainiwakura/NewMainPagePrototype. This could be introduced into my prototype too and replace the main-page. Does anyone think this is a good idea?

--Ancient 13:21, 6 June 2006 (CDT)

I like it so far. :) --Lain Iwakura 06:04, 7 June 2006 (CDT)

Well I've just about finished it - if i've forgotten some things then people can add them later. Unless anyone objects then we can replace the main page with it soon. --Ancient 09:56, 8 June 2006 (CDT)

Two thumbs up: clean and efficient --Kanif 16:53, 13 june 2006 (EST)

Since babel is starting, maybe a "(work in progress)" beside "Alphabetically Categorised Articles" would be in order for a while. --Kanif 17:07, 13 june 2006 (EST)

Maybe we can put the contents in a little box :) --Sppt 13:21, 14 June 2006 (CDT)

I've took out most of the HTML in Fr:Page principale. Is it ok? Fits well for a test page.. --Kanif 06:39, 16 June 2006 (CDT)

Absolutely fine. I don't mind - I think most people also find it easier to edit in wiki-code but I just don't get tables in it - that's why the new Main Page is nearly all HTML. --Ancient 14:32, 16 June 2006 (CDT)

Babel

This babel is quite a load of work. Makes me amased at how big this wiki really is.

French branch

I was wondering if a translation effort would be welcomed. Is it?


Huh? There are not that much French people playing wurm :p I would be useless

And how could we translate the 1000+ article? It's a lot of work, and I don't think that there are a lot of people who can speak french who want to translate the whole wiki :O

Up to now, me and Kiri are on it. We tried it on the Main page. --Kanif 14:03, 14 June 2006 (CDT)

I asked Egal and she said that the french pages should be prefixed with either "Francais:" or "Fr:". I think "Fr:" would be just fine. Onward, "Es:", "Ru:", might become interesting. --Kanif 02:05, 16 June 2006 (CDT)

Would it be possible for Wurmpedia to detect the language preference of the visitor's browser and redirect those who chose fr, fr-CA, fr-FR, fr-BE, fr-CH and on to Fr:Page principale? --Kanif 22:10, 16 June 2006 (CDT)


That would be possible if we asked Egal to make a script that does it. For example there is a wiki.php script which is executed when the user clicks "Wiki" in the menu, instead of going straight to the wiki, then the wiki.php script finds the language and redirects the user onwards to the real wiki.

--Ancient 05:32, 17 June 2006 (CDT)

My proposed code is below:

<?php
    // Language Redirect Script by Graham Edgecombe aka Ancient
    //
    // Find the user's language
    $language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
    // Default it to English if it is not set by the browser
    if(!isset($language))
    {
        $language = "en";
    }
    // A list of all the languages supported and their "Main Page" names is defined here
    $languages_supported = array
    (
        "en"    =>    "Main Page"
        "fr"    =>    "Page principale"
        "de"    =>    "Hauptseite"
    );
    // Checks to see if the users language is supported
    if(isset($languages_supported[$language]))
    {
        // If so redirect them to their language's home page which is "language code":"Main Page in that language" - of course this means English goes to "En:Main Page" so we will have to make a redirect in the wiki to go back to "Main Page"
        header("Location: http://www.wurmonline.com/wiki/" . $language . ":" . $languages_supported[$language]);
    }
    else
    {
        // Otherwise redirect them to the Main Page, this could also be another page saying that the language is not supported
        header("Location: http://www.wurmonline.com/wiki/Main Page");
    }
?>

--Ancient 05:28, 17 June 2006 (CDT)