2015-07-13 01:10:02 +00:00
|
|
|
/*
|
|
|
|
XOWA: the XOWA Offline Wiki Application
|
|
|
|
Copyright (C) 2012 gnosygnu@gmail.com
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
package gplx.xowa; import gplx.*;
|
2016-08-01 01:41:19 +00:00
|
|
|
import gplx.core.primitives.*; import gplx.core.brys.*; import gplx.core.ios.*;
|
2016-09-12 01:49:20 +00:00
|
|
|
import gplx.xowa.langs.*; import gplx.xowa.langs.msgs.*; import gplx.xowa.langs.cases.*;
|
2016-03-28 03:44:59 +00:00
|
|
|
import gplx.xowa.wikis.*; import gplx.xowa.wikis.domains.*; import gplx.xowa.wikis.metas.*; import gplx.xowa.wikis.data.site_stats.*; import gplx.xowa.wikis.ttls.*; import gplx.xowa.wikis.data.*; import gplx.xowa.wikis.xwikis.*; import gplx.xowa.addons.*;
|
2015-07-13 01:10:02 +00:00
|
|
|
import gplx.xowa.files.*; import gplx.xowa.files.repos.*; import gplx.xowa.files.origs.*; import gplx.xowa.files.bins.*; import gplx.fsdb.meta.*; import gplx.fsdb.*;
|
2016-10-12 12:57:22 +00:00
|
|
|
import gplx.xowa.htmls.*; import gplx.xowa.htmls.core.htmls.utls.*; import gplx.xowa.htmls.core.hzips.*; import gplx.xowa.htmls.core.*; import gplx.xowa.htmls.bridges.dbuis.tbls.*; import gplx.xowa.htmls.hrefs.*; import gplx.xowa.addons.wikis.ctgs.htmls.pageboxs.*; import gplx.xowa.addons.wikis.ctgs.htmls.catpages.*;
|
2015-09-14 01:54:44 +00:00
|
|
|
import gplx.xowa.parsers.*;
|
2015-10-19 02:17:57 +00:00
|
|
|
import gplx.xowa.apps.urls.*;
|
2016-06-20 03:58:10 +00:00
|
|
|
public interface Xow_wiki extends Xow_ttl_parser, Gfo_invk {
|
2015-07-13 01:10:02 +00:00
|
|
|
boolean Type_is_edit();
|
|
|
|
Xoa_app App();
|
2015-10-19 02:17:57 +00:00
|
|
|
Xol_lang_itm Lang();
|
2016-03-28 03:44:59 +00:00
|
|
|
Xol_case_mgr Case_mgr();
|
2015-07-13 01:10:02 +00:00
|
|
|
byte[] Domain_bry(); // EX: en.wikipedia.org
|
|
|
|
String Domain_str();
|
2016-09-12 01:49:20 +00:00
|
|
|
int Domain_tid(); // Xow_domain_tid_.Tid__wikipedia
|
2015-07-13 01:10:02 +00:00
|
|
|
byte[] Domain_abrv(); // enwiki
|
2015-09-14 01:54:44 +00:00
|
|
|
Xow_domain_itm Domain_itm();
|
2015-07-13 01:10:02 +00:00
|
|
|
Xow_fsys_mgr Fsys_mgr();
|
2016-06-20 03:58:10 +00:00
|
|
|
Xow_db_mgr Data__core_mgr();
|
2015-07-13 01:10:02 +00:00
|
|
|
Xof_fsdb_mode File__fsdb_mode();
|
|
|
|
Fsdb_db_mgr File__fsdb_core();
|
|
|
|
Xow_repo_mgr File__repo_mgr();
|
|
|
|
Xof_orig_mgr File__orig_mgr();
|
|
|
|
Xof_bin_mgr File__bin_mgr();
|
|
|
|
Fsm_mnt_mgr File__mnt_mgr();
|
|
|
|
boolean Html__hdump_enabled();
|
2015-11-02 01:50:05 +00:00
|
|
|
Xow_hdump_mgr Html__hdump_mgr();
|
2015-10-19 02:17:57 +00:00
|
|
|
Xoh_page_wtr_mgr Html__wtr_mgr();
|
2016-07-18 01:10:59 +00:00
|
|
|
Xoh_href_wtr Html__href_wtr();
|
2016-08-30 03:31:58 +00:00
|
|
|
Xoh_lnki_bldr Html__lnki_bldr();
|
2016-10-12 12:57:22 +00:00
|
|
|
Xoctg_pagebox_wtr Ctg__pagebox_wtr();
|
|
|
|
Xoctg_catpage_mgr Ctg__catpage_mgr();
|
2015-07-13 01:10:02 +00:00
|
|
|
boolean Html__css_installing(); void Html__css_installing_(boolean v);
|
2016-09-12 01:49:20 +00:00
|
|
|
Xow_msg_mgr Msg_mgr();
|
|
|
|
byte[] Wtxt__expand_tmpl(byte[] src);
|
2015-09-14 01:54:44 +00:00
|
|
|
Xow_mw_parser_mgr Mw_parser_mgr();
|
2015-07-13 01:10:02 +00:00
|
|
|
Xow_xwiki_mgr Xwiki_mgr();
|
|
|
|
Xow_wiki_props Props();
|
2016-10-31 14:23:30 +00:00
|
|
|
Xowd_site_stats_mgr Stats();
|
2015-07-13 01:10:02 +00:00
|
|
|
void Init_by_wiki();
|
2016-06-20 03:58:10 +00:00
|
|
|
void Init_by_wiki__force(); // HACK: force init for drd wiki
|
2016-08-01 01:41:19 +00:00
|
|
|
Bry_bfr_mkr Utl__bfr_mkr();
|
|
|
|
Io_stream_zip_mgr Utl__zip_mgr();
|
2016-03-28 03:44:59 +00:00
|
|
|
Xow_url_parser Utl__url_parser();
|
|
|
|
Xoax_addon_mgr Addon_mgr();
|
2016-06-20 03:58:10 +00:00
|
|
|
void Init_needed_y_();
|
2016-06-27 19:39:55 +00:00
|
|
|
void Rls();
|
2015-07-13 01:10:02 +00:00
|
|
|
}
|