Difference between revisions of "Talk:Main Page"

From Wurmpedia
Jump to navigation Jump to search
Line 116: Line 116:
 
I don't think that would work with the wiki - it would do a different index.php file for each language, what we want is a different page in the wiki database, and that has to be done by passing a different parameter to the script, not by finding a different index.php file. --[[User:Ancient|Ancient]] 01:55, 18 June 2006 (CDT)
 
I don't think that would work with the wiki - it would do a different index.php file for each language, what we want is a different page in the wiki database, and that has to be done by passing a different parameter to the script, not by finding a different index.php file. --[[User:Ancient|Ancient]] 01:55, 18 June 2006 (CDT)
  
***Did anything ever become of this idea? <small>--http://img86.imageshack.us/img86/8964/duckieta2.gif[[User:Lainiwakura|Lain Iwakura]] 03:48, 21 December 2006 (CST)</small>
+
***Did anything ever become of this idea? The implementation seems sound enough. <small>--http://img86.imageshack.us/img86/8964/duckieta2.gif[[User:Lainiwakura|Lain Iwakura]] 03:48, 21 December 2006 (CST)</small>
  
 
== German translation ==
 
== German translation ==

Revision as of 02:50, 21 December 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 amazed at how big this wiki really is.

I know, I've done tons of pages. :) --duckie0fq.gifLain Iwakura 10:22, 22 June 2006 (CDT)

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)

The web server has a function that, when there is a page that has multiple copy but all ending with a language code (ex.: index.html.en, index.html.fr, index.html.fr-CH, index.html.es) then it returns the file that match the language of the browser. It isn't turned on by default.

I don't think that would work with the wiki - it would do a different index.php file for each language, what we want is a different page in the wiki database, and that has to be done by passing a different parameter to the script, not by finding a different index.php file. --Ancient 01:55, 18 June 2006 (CDT)

      • Did anything ever become of this idea? The implementation seems sound enough. --duckieta2.gifLain Iwakura 03:48, 21 December 2006 (CST)

German translation

Well I've translated the Main Page into German. It has been done by using my current knowledge, looking up words in dictionaries and not translating the complicated bits - just removing them! There are probably some mistakes in there - if someone finds any and knows German then please fix them! --Ancient 02:50, 18 June 2006 (CDT)


Dutch Translation

i guess since were having german and french translations that a dutch one would also be in place? --Sppt 07:29, 18 June 2006 (CDT)

If you know Dutch then it would be great! --Ancient 06:48, 19 June 2006 (CDT)

dutch is my mother language edit: i'm thinking of making a program either in php or java to grab the page, then i run some replaces over it to translate it, write it to a file, and then i'm going to check them and upload it. but the thing is: i have to think of a way to do this

edit of the edit: i managed to do it using the curl library, code is here
note: this is only the source grabber, i'm working out how to strip out the content
--Sppt 15:24, 19 June 2006 (CDT)