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