Upload/Download of multiple files now possible
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / config / WikipediaSL.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 WikipediaSL extends AbstractWikipedia {
10
11   final private static String[] nameSpaces = new String[] {
12       "Media",
13       "Posebno",
14       "",
15       "Pogovor",
16       "Uporabnik",
17       "UporabniÅ¡ki pogovor",
18       "Wikipedija",
19       "Wikipedia talk",
20       "Slika",
21       "Pogovor k sliki",
22       "MediaWiki",
23       "MediaWiki talk",
24       "Template",
25       "Template talk",
26       "Help",
27       "Help talk",
28       "Category",
29       "Category talk" };
30
31   private static WikipediaSL instance = new WikipediaSL();
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 WikipediaSL() {
44     super(new WikiProperties("WikipediaSL"));
45   }
46
47   /**
48    * @return Returns the nameSpaces.
49    */
50   public String[] getNameSpaces() {
51     return nameSpaces;
52   }
53
54 }