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