Implemeted action for uploading Wikipedia articles (thanks to D.Wunsch)
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / config / WikipediaEN.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 WikipediaEN 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 WikipediaEN instance = new WikipediaEN();
15
16   /*
17    * Get the singleton instance
18    */
19   public static IWikipedia getInstance() {
20     return instance;
21   }
22
23   // private constructor
24   private WikipediaEN() {
25     super(new WikiProperties("EN"));
26   }
27
28   /**
29    * @return Returns the nameSpaces.
30    */
31   public String[] getNameSpaces() {
32     return nameSpaces;
33   }
34
35 }