Fandom Developers Wiki
Advertisement

This is the talk page for discussing improvements to the MediaWiki:View Source/code.js page.

Spanish and Catalan translations[]

  es: {
           viewSource: 'Ver código fuente',
           viewArticle: 'Ver artículo'
       },
  ca: {
           viewSource: 'Veure codi font',
           viewArticle: 'Veure l'article'
       },

Regards!

EN6


German[]

In German, two nouns like "Quelltext" and "Ansicht" are connected with a hyphen:

        de: {
            viewSource: 'Quelltext-Ansicht',
            viewArticle: 'Artikel-Ansicht'
        },

AmonFatalis Mein Haupt-Profil Meine Nachrichtenseite 17:50, July 21, 2014 (UTC)

I would add that change in, but I have a feeling Pecoes was german himself, or possibly dutch. Are you sure you're correct in the context of where those messages are used? cqm 22:57, 21 Jul 2014 (UTC)
Yes, I'm sure. The error is called "Deppenleerzeichen" (The idiots' space) and isn't rare.
Thank you for adding.^^
AmonFatalis Mein Haupt-Profil Meine Nachrichtenseite 14:22, July 22, 2014 (UTC)

Dutch translation[]

Here is the Dutch translation:

        nl: {
            viewSource: 'Brontekst bekijken',
            viewArticle: 'Artikel bekijken'
        },

--Ohmystars (talk) 12:09, June 17, 2015 (UTC)

Link "undefined"[]

There is a small bug. When a wikilink has no title, it displays the link like this: [[Linkundefined]] instead of [[Link]]. To fix this, I think you could do this:

    function replaceWikiLink (all, link, title) {
        if (title) {
          return '[[<a href="' + createHref(link) + '">' + link + '</a>'+ title + ']]';
        } else {
          return '[[<a href="' + createHref(link) + '">' + link + '</a>]]';
        }
    }

--Ohmystars (talk) 12:09, June 17, 2015 (UTC)

Advertisement