Upload/Download of multiple files now possible
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / config / Plog4UORG.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 Plog4UORG extends AbstractWikipedia {
9
10   final private static String[] nameSpaces = new String[] { "Media", "Special", "", "Talk", "User", "User talk", "Wikipedia",
11       "Wikipedia talk", "Image", "Image talk", "MediaWiki", "MediaWiki talk", "Template", "Template talk", "Help", "Help talk",
12       "Category", "Category talk" };
13
14   private static Plog4UORG instance = new Plog4UORG();
15
16   /**
17    * Get the singleton instance
18    * 
19    * @see net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin#getWikiInstance()
20    */
21   public static IWikipedia getInstance() {
22     return instance;
23   }
24
25   // private constructor
26   private Plog4UORG() {
27     super(new WikiProperties("Plog4UORG"));
28   }
29
30   /**
31    * @return Returns the nameSpaces.
32    */
33   public String[] getNameSpaces() {
34     return nameSpaces;
35   }
36
37 }