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