Added more Wikipedia configurations
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / config / WikipediaFI.java
1 package net.sourceforge.phpeclipse.wiki.actions.mediawiki.config;
2 //Parts of this sources are copied and modified from the jEdit Wikipedia plugin:
3 //http://www.djini.de/software/wikipedia/index.html
4 //
5 //The modified sources are available under the "Common Public License"
6 //with permission from the original author: Daniel Wunsch
7
8 public class WikipediaFI extends AbstractWikipedia {
9
10   final private static String[] nameSpaces      = new String[] {
11         "Media",
12         "Toiminnot",
13         "",
14         "Keskustelu",
15         "Käyttäjä",
16         "Keskustelu käyttäjästä",
17         "Wikipedia",
18         "Wikipedia talk",
19         "Kuva",
20         "Keskustelu kuvasta",
21         "MediaWiki",
22         "MediaWiki talk",
23         "Template",
24         "Template talk",
25         "Ohje",
26         "Keskustelu ohjeesta",
27         "Luokka",
28         "Keskustelu luokasta"
29 };
30
31   private static WikipediaFI instance = new WikipediaFI();
32
33   /**
34    * Get the singleton instance
35    * 
36    * @see net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin#getWikiInstance()
37    */
38   public static IWikipedia getInstance() {
39     return instance;
40   }
41
42   // private constructor
43   private WikipediaFI() {
44     super(new WikiProperties("WikipediaFI"));
45   }
46
47   /**
48    * @return Returns the nameSpaces.
49    */
50   public String[] getNameSpaces() {
51     return nameSpaces;
52   }
53
54 }