Upload/Download of multiple files now possible
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / config / WikipediaPL.java
1 package net.sourceforge.phpeclipse.wiki.actions.mediawiki.config;
2
3 //Parts of this sources are copied and modified from the jEdit Wikipedia plugin:
4 //http://www.djini.de/software/wikipedia/index.html
5 //
6 //The modified sources are available under the "Common Public License"
7 //with permission from the original author: Daniel Wunsch
8
9 public class WikipediaPL extends AbstractWikipedia {
10
11   final private static String[] nameSpaces = new String[] {
12       "Media",
13       "Specjalna",
14       "",
15       "Dyskusja",
16       "Wikipedysta",
17       "Dyskusja Wikipedysty",
18       "Wikipedia",
19       "Dyskusja Wikipedia",
20       "Grafika",
21       "Dyskusja grafiki",
22       "MediaWiki",
23       "Dyskusja MediaWiki",
24       "Szablon",
25       "Dyskusja szablonu",
26       "Pomoc",
27       "Dyskusja pomocy",
28       "Kategoria",
29       "Dyskusja kategorii" };
30
31   private static WikipediaPL instance = new WikipediaPL();
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 WikipediaPL() {
44     super(new WikiProperties("WikipediaPL"));
45   }
46
47   /**
48    * @return Returns the nameSpaces.
49    */
50   public String[] getNameSpaces() {
51     return nameSpaces;
52   }
53
54 }