1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-09-28 22:40:50 +00:00

Http_server: Ignore all special pages if empty-string is passed to --http_server.special_pages_safelist

This commit is contained in:
gnosygnu 2017-08-04 22:02:21 -04:00
parent 7c2e3f7295
commit 9f6ef68bfa
8 changed files with 441 additions and 427 deletions

View File

@ -30,8 +30,8 @@ public class Xoa_app_ {
} }
} }
public static final String Name = "xowa"; public static final String Name = "xowa";
public static final int Version_id = 535; public static final int Version_id = 536;
public static final String Version = "4.5.13.1707"; public static final String Version = "4.5.14.1707";
public static String Build_date = "2012-12-30 00:00:00"; public static String Build_date = "2012-12-30 00:00:00";
public static String Build_date_fmt = "yyyy-MM-dd HH:mm:ss"; public static String Build_date_fmt = "yyyy-MM-dd HH:mm:ss";
public static String Op_sys_str; public static String Op_sys_str;

View File

@ -67,7 +67,7 @@ public class Xobc_data_db_upgrader {
bc_db.Conn().Rls_conn(); bc_db.Conn().Rls_conn();
if (expd_version_id == actl_version.Id()) { if (expd_version_id == actl_version.Id()) {
Gfo_log_.Instance.Info("xobc_db update not needed", "version", expd_version_id); Gfo_log_.Instance.Info("xobc_db update not needed", "version", expd_version_id);
Xopg_alertify_.Exec_log(task_mgr, "Wikis are up-to-date"); Xopg_alertify_.Exec_log(task_mgr, "Wikis are up-to-date", 30);
return; // version matches; exit return; // version matches; exit
} }
@ -80,7 +80,7 @@ public class Xobc_data_db_upgrader {
download_wkr.Exec(Gfo_prog_ui_.Always download_wkr.Exec(Gfo_prog_ui_.Always
, String_.new_u8(new_db_url) , String_.new_u8(new_db_url)
, data_db_url, -1); , data_db_url, -1);
Xopg_alertify_.Exec_log(task_mgr, "Wikis have been updated:<br/>" + note); Xopg_alertify_.Exec_log(task_mgr, "Wikis have been updated:<br/>" + note, 30);
task_mgr.Load_or_init(); task_mgr.Load_or_init();
task_mgr.Reload(); task_mgr.Reload();
} }

View File

@ -94,8 +94,13 @@ public class Xoa_boot_mgr {
// add safelisted Special pages // add safelisted Special pages
String special_pages_safelist = arg_mgr.Http__special_pages_safelist(); String special_pages_safelist = arg_mgr.Http__special_pages_safelist();
if (String_.Len_gt_0(special_pages_safelist)) { if (special_pages_safelist != null) {
byte[][] special_pages = Bry_split_.Split(Bry_.new_u8(special_pages_safelist), Byte_ascii.Pipe); byte[][] special_pages = Bry_split_.Split(Bry_.new_u8(special_pages_safelist), Byte_ascii.Pipe);
// --http_server.special_pages_safelist "" should mean ignore all
if (special_pages.length == 0) {
special_pages = new byte[][] {Bry_.Empty};
}
for (byte[] special_page : special_pages) { for (byte[] special_page : special_pages) {
app.Special_regy().Safelist_pages().Add_as_key_and_val(special_page); app.Special_regy().Safelist_pages().Add_as_key_and_val(special_page);
} }

View File

@ -49,7 +49,7 @@ public class Xoa_cmd_arg_mgr {
this.http__home_page = arg_mgr.Get_by("http_server_home").Val_as_str_or("home/wiki/Main_Page"); this.http__home_page = arg_mgr.Get_by("http_server_home").Val_as_str_or("home/wiki/Main_Page");
this.http__max_clients = arg_mgr.Get_by("http_server.max_clients").Val_as_int_or(0); this.http__max_clients = arg_mgr.Get_by("http_server.max_clients").Val_as_int_or(0);
this.http__max_clients_timeout = arg_mgr.Get_by("http_server.max_clients_timeout").Val_as_int_or(50); this.http__max_clients_timeout = arg_mgr.Get_by("http_server.max_clients_timeout").Val_as_int_or(50);
this.http__special_pages_safelist = arg_mgr.Get_by("http_server.special_pages_safelist").Val_as_str_or(""); this.http__special_pages_safelist = arg_mgr.Get_by("http_server.special_pages_safelist").Val_as_str_or(null);
this.gui__home_page = arg_mgr.Get_by("url").Val_as_str_or(null); this.gui__home_page = arg_mgr.Get_by("url").Val_as_str_or(null);
this.fsys__bin_dir = arg_mgr.Get_by("bin_dir_name").Val_as_str_or(Bin_dir_name()); this.fsys__bin_dir = arg_mgr.Get_by("bin_dir_name").Val_as_str_or(Bin_dir_name());
return true; return true;

View File

@ -105,7 +105,7 @@ public class Http_server_mgr implements Gfo_invk {
// get the url / ttl // get the url / ttl
if (Bry_.Len_eq_0(ttl_bry)) ttl_bry = wiki.Props().Main_page(); if (Bry_.Len_eq_0(ttl_bry)) ttl_bry = wiki.Props().Main_page();
Xoa_url url = wiki.Utl__url_parser().Parse(ttl_bry); Xoa_url url = wiki.Utl__url_parser().Parse(ttl_bry);
Xoa_ttl ttl = Xoa_ttl.Parse(wiki, url.To_bry_page_w_anch()); Xoa_ttl ttl = Xoa_ttl.Parse(wiki, url.To_bry_page_w_anch()); // changed from ttl_bry to page_w_anch; DATE:2017-07-24
// get the page // get the page
gplx.xowa.guis.views.Xog_tab_itm tab = Gxw_html_server.Assert_tab2(app, wiki); // HACK: assert tab exists gplx.xowa.guis.views.Xog_tab_itm tab = Gxw_html_server.Assert_tab2(app, wiki); // HACK: assert tab exists

View File

@ -49,427 +49,429 @@ public class Xol_lang_stub_ { // lists all known stub_ary supported by MW
, Id_as = 25 , Id_as = 25
, Id_ase = 26 , Id_ase = 26
, Id_ast = 27 , Id_ast = 27
, Id_av = 28 , Id_atj = 28
, Id_avk = 29 , Id_av = 29
, Id_awa = 30 , Id_avk = 30
, Id_ay = 31 , Id_awa = 31
, Id_az = 32 , Id_ay = 32
, Id_azb = 33 , Id_az = 33
, Id_ba = 34 , Id_azb = 34
, Id_ban = 35 , Id_ba = 35
, Id_bar = 36 , Id_ban = 36
, Id_bat_smg = 37 , Id_bar = 37
, Id_bbc = 38 , Id_bat_smg = 38
, Id_bbc_latn = 39 , Id_bbc = 39
, Id_bcc = 40 , Id_bbc_latn = 40
, Id_bcl = 41 , Id_bcc = 41
, Id_be = 42 , Id_bcl = 42
, Id_be_tarask = 43 , Id_be = 43
, Id_be_x_old = 44 , Id_be_tarask = 44
, Id_bew = 45 , Id_be_x_old = 45
, Id_bg = 46 , Id_bew = 46
, Id_bgn = 47 , Id_bg = 47
, Id_bh = 48 , Id_bgn = 48
, Id_bho = 49 , Id_bh = 49
, Id_bi = 50 , Id_bho = 50
, Id_bjn = 51 , Id_bi = 51
, Id_bm = 52 , Id_bjn = 52
, Id_bn = 53 , Id_bm = 53
, Id_bo = 54 , Id_bn = 54
, Id_bpy = 55 , Id_bo = 55
, Id_bqi = 56 , Id_bpy = 56
, Id_br = 57 , Id_bqi = 57
, Id_brh = 58 , Id_br = 58
, Id_bs = 59 , Id_brh = 59
, Id_bto = 60 , Id_bs = 60
, Id_bug = 61 , Id_bto = 61
, Id_bxr = 62 , Id_bug = 62
, Id_ca = 63 , Id_bxr = 63
, Id_cbk_zam = 64 , Id_ca = 64
, Id_cdo = 65 , Id_cbk_zam = 65
, Id_ce = 66 , Id_cdo = 66
, Id_ceb = 67 , Id_ce = 67
, Id_ch = 68 , Id_ceb = 68
, Id_chm = 69 , Id_ch = 69
, Id_cho = 70 , Id_chm = 70
, Id_chr = 71 , Id_cho = 71
, Id_chy = 72 , Id_chr = 72
, Id_ckb = 73 , Id_chy = 73
, Id_co = 74 , Id_ckb = 74
, Id_cps = 75 , Id_co = 75
, Id_cr = 76 , Id_cps = 76
, Id_crh = 77 , Id_cr = 77
, Id_crh_cyrl = 78 , Id_crh = 78
, Id_crh_latn = 79 , Id_crh_cyrl = 79
, Id_cs = 80 , Id_crh_latn = 80
, Id_csb = 81 , Id_cs = 81
, Id_cu = 82 , Id_csb = 82
, Id_cv = 83 , Id_cu = 83
, Id_cy = 84 , Id_cv = 84
, Id_da = 85 , Id_cy = 85
, Id_de = 86 , Id_da = 86
, Id_de_at = 87 , Id_de = 87
, Id_de_ch = 88 , Id_de_at = 88
, Id_de_formal = 89 , Id_de_ch = 89
, Id_diq = 90 , Id_de_formal = 90
, Id_dsb = 91 , Id_diq = 91
, Id_dtp = 92 , Id_dsb = 92
, Id_dty = 93 , Id_dtp = 93
, Id_dv = 94 , Id_dty = 94
, Id_dz = 95 , Id_dv = 95
, Id_ee = 96 , Id_dz = 96
, Id_egl = 97 , Id_ee = 97
, Id_el = 98 , Id_egl = 98
, Id_eml = 99 , Id_el = 99
, Id_en_ca = 100 , Id_eml = 100
, Id_en_gb = 101 , Id_en_ca = 101
, Id_en_rtl = 102 , Id_en_gb = 102
, Id_enrtl = 103 , Id_en_rtl = 103
, Id_eo = 104 , Id_enrtl = 104
, Id_es = 105 , Id_eo = 105
, Id_es_formal = 106 , Id_es = 106
, Id_esu = 107 , Id_es_formal = 107
, Id_et = 108 , Id_esu = 108
, Id_eu = 109 , Id_et = 109
, Id_ext = 110 , Id_eu = 110
, Id_fa = 111 , Id_ext = 111
, Id_ff = 112 , Id_fa = 112
, Id_fi = 113 , Id_ff = 113
, Id_fit = 114 , Id_fi = 114
, Id_fiu_vro = 115 , Id_fit = 115
, Id_fj = 116 , Id_fiu_vro = 116
, Id_fo = 117 , Id_fj = 117
, Id_fr = 118 , Id_fo = 118
, Id_frc = 119 , Id_fr = 119
, Id_frp = 120 , Id_frc = 120
, Id_frr = 121 , Id_frp = 121
, Id_fur = 122 , Id_frr = 122
, Id_fy = 123 , Id_fur = 123
, Id_ga = 124 , Id_fy = 124
, Id_gag = 125 , Id_ga = 125
, Id_gan = 126 , Id_gag = 126
, Id_gan_hans = 127 , Id_gan = 127
, Id_gan_hant = 128 , Id_gan_hans = 128
, Id_gd = 129 , Id_gan_hant = 129
, Id_gl = 130 , Id_gd = 130
, Id_glk = 131 , Id_gl = 131
, Id_gn = 132 , Id_glk = 132
, Id_gom = 133 , Id_gn = 133
, Id_gom_deva = 134 , Id_gom = 134
, Id_gom_latn = 135 , Id_gom_deva = 135
, Id_gor = 136 , Id_gom_latn = 136
, Id_got = 137 , Id_gor = 137
, Id_grc = 138 , Id_got = 138
, Id_gsw = 139 , Id_grc = 139
, Id_gu = 140 , Id_gsw = 140
, Id_guc = 141 , Id_gu = 141
, Id_gv = 142 , Id_guc = 142
, Id_ha = 143 , Id_gv = 143
, Id_hak = 144 , Id_ha = 144
, Id_haw = 145 , Id_hak = 145
, Id_he = 146 , Id_haw = 146
, Id_hi = 147 , Id_he = 147
, Id_hif = 148 , Id_hi = 148
, Id_hif_latn = 149 , Id_hif = 149
, Id_hil = 150 , Id_hif_latn = 150
, Id_ho = 151 , Id_hil = 151
, Id_hr = 152 , Id_ho = 152
, Id_hrx = 153 , Id_hr = 153
, Id_hsb = 154 , Id_hrx = 154
, Id_hsn = 155 , Id_hsb = 155
, Id_ht = 156 , Id_hsn = 156
, Id_hu = 157 , Id_ht = 157
, Id_hu_formal = 158 , Id_hu = 158
, Id_hy = 159 , Id_hu_formal = 159
, Id_hz = 160 , Id_hy = 160
, Id_ia = 161 , Id_hz = 161
, Id_id = 162 , Id_ia = 162
, Id_ie = 163 , Id_id = 163
, Id_ig = 164 , Id_ie = 164
, Id_ii = 165 , Id_ig = 165
, Id_ik = 166 , Id_ii = 166
, Id_ike_cans = 167 , Id_ik = 167
, Id_ike_latn = 168 , Id_ike_cans = 168
, Id_ilo = 169 , Id_ike_latn = 169
, Id_inh = 170 , Id_ilo = 170
, Id_io = 171 , Id_inh = 171
, Id_is = 172 , Id_io = 172
, Id_it = 173 , Id_is = 173
, Id_iu = 174 , Id_it = 174
, Id_izh = 175 , Id_iu = 175
, Id_ja = 176 , Id_izh = 176
, Id_jam = 177 , Id_ja = 177
, Id_jbo = 178 , Id_jam = 178
, Id_jut = 179 , Id_jbo = 179
, Id_jv = 180 , Id_jut = 180
, Id_ka = 181 , Id_jv = 181
, Id_kaa = 182 , Id_ka = 182
, Id_kab = 183 , Id_kaa = 183
, Id_kbd = 184 , Id_kab = 184
, Id_kbd_cyrl = 185 , Id_kbd = 185
, Id_kg = 186 , Id_kbd_cyrl = 186
, Id_khw = 187 , Id_kbp = 187
, Id_ki = 188 , Id_kg = 188
, Id_kiu = 189 , Id_khw = 189
, Id_kj = 190 , Id_ki = 190
, Id_kk = 191 , Id_kiu = 191
, Id_kk_arab = 192 , Id_kj = 192
, Id_kk_cn = 193 , Id_kk = 193
, Id_kk_cyrl = 194 , Id_kk_arab = 194
, Id_kk_kz = 195 , Id_kk_cn = 195
, Id_kk_latn = 196 , Id_kk_cyrl = 196
, Id_kk_tr = 197 , Id_kk_kz = 197
, Id_kl = 198 , Id_kk_latn = 198
, Id_km = 199 , Id_kk_tr = 199
, Id_kn = 200 , Id_kl = 200
, Id_ko = 201 , Id_km = 201
, Id_ko_kp = 202 , Id_kn = 202
, Id_koi = 203 , Id_ko = 203
, Id_kok = 204 , Id_ko_kp = 204
, Id_kr = 205 , Id_koi = 205
, Id_krc = 206 , Id_kok = 206
, Id_kri = 207 , Id_kr = 207
, Id_krj = 208 , Id_krc = 208
, Id_krl = 209 , Id_kri = 209
, Id_ks = 210 , Id_krj = 210
, Id_ks_arab = 211 , Id_krl = 211
, Id_ks_deva = 212 , Id_ks = 212
, Id_ksh = 213 , Id_ks_arab = 213
, Id_ku = 214 , Id_ks_deva = 214
, Id_ku_arab = 215 , Id_ksh = 215
, Id_ku_latn = 216 , Id_ku = 216
, Id_kv = 217 , Id_ku_arab = 217
, Id_kw = 218 , Id_ku_latn = 218
, Id_ky = 219 , Id_kv = 219
, Id_la = 220 , Id_kw = 220
, Id_lad = 221 , Id_ky = 221
, Id_lb = 222 , Id_la = 222
, Id_lbe = 223 , Id_lad = 223
, Id_lez = 224 , Id_lb = 224
, Id_lfn = 225 , Id_lbe = 225
, Id_lg = 226 , Id_lez = 226
, Id_li = 227 , Id_lfn = 227
, Id_lij = 228 , Id_lg = 228
, Id_liv = 229 , Id_li = 229
, Id_lki = 230 , Id_lij = 230
, Id_lmo = 231 , Id_liv = 231
, Id_ln = 232 , Id_lki = 232
, Id_lo = 233 , Id_lmo = 233
, Id_loz = 234 , Id_ln = 234
, Id_lrc = 235 , Id_lo = 235
, Id_lt = 236 , Id_loz = 236
, Id_ltg = 237 , Id_lrc = 237
, Id_lus = 238 , Id_lt = 238
, Id_luz = 239 , Id_ltg = 239
, Id_lv = 240 , Id_lus = 240
, Id_lzh = 241 , Id_luz = 241
, Id_lzz = 242 , Id_lv = 242
, Id_mai = 243 , Id_lzh = 243
, Id_map_bms = 244 , Id_lzz = 244
, Id_mdf = 245 , Id_mai = 245
, Id_mg = 246 , Id_map_bms = 246
, Id_mh = 247 , Id_mdf = 247
, Id_mhr = 248 , Id_mg = 248
, Id_mi = 249 , Id_mh = 249
, Id_mic = 250 , Id_mhr = 250
, Id_min = 251 , Id_mi = 251
, Id_mk = 252 , Id_mic = 252
, Id_ml = 253 , Id_min = 253
, Id_mn = 254 , Id_mk = 254
, Id_mnc = 255 , Id_ml = 255
, Id_mo = 256 , Id_mn = 256
, Id_mr = 257 , Id_mnc = 257
, Id_mrj = 258 , Id_mo = 258
, Id_ms = 259 , Id_mr = 259
, Id_mt = 260 , Id_mrj = 260
, Id_mui = 261 , Id_ms = 261
, Id_mus = 262 , Id_mt = 262
, Id_mwl = 263 , Id_mui = 263
, Id_mwv = 264 , Id_mus = 264
, Id_my = 265 , Id_mwl = 265
, Id_myv = 266 , Id_mwv = 266
, Id_mzn = 267 , Id_my = 267
, Id_na = 268 , Id_myv = 268
, Id_nah = 269 , Id_mzn = 269
, Id_nan = 270 , Id_na = 270
, Id_nap = 271 , Id_nah = 271
, Id_nb = 272 , Id_nan = 272
, Id_nds = 273 , Id_nap = 273
, Id_nds_nl = 274 , Id_nb = 274
, Id_ne = 275 , Id_nds = 275
, Id_new = 276 , Id_nds_nl = 276
, Id_ng = 277 , Id_ne = 277
, Id_niu = 278 , Id_new = 278
, Id_nl = 279 , Id_ng = 279
, Id_nl_informal = 280 , Id_niu = 280
, Id_nn = 281 , Id_nl = 281
, Id_no = 282 , Id_nl_informal = 282
, Id_nov = 283 , Id_nn = 283
, Id_nrm = 284 , Id_no = 284
, Id_nso = 285 , Id_nov = 285
, Id_nv = 286 , Id_nrm = 286
, Id_ny = 287 , Id_nso = 287
, Id_oc = 288 , Id_nv = 288
, Id_olo = 289 , Id_ny = 289
, Id_om = 290 , Id_oc = 290
, Id_or = 291 , Id_olo = 291
, Id_os = 292 , Id_om = 292
, Id_pa = 293 , Id_or = 293
, Id_pag = 294 , Id_os = 294
, Id_pam = 295 , Id_pa = 295
, Id_pap = 296 , Id_pag = 296
, Id_pbb = 297 , Id_pam = 297
, Id_pcd = 298 , Id_pap = 298
, Id_pdc = 299 , Id_pbb = 299
, Id_pdt = 300 , Id_pcd = 300
, Id_pfl = 301 , Id_pdc = 301
, Id_pi = 302 , Id_pdt = 302
, Id_pih = 303 , Id_pfl = 303
, Id_pl = 304 , Id_pi = 304
, Id_pms = 305 , Id_pih = 305
, Id_pnb = 306 , Id_pl = 306
, Id_pnt = 307 , Id_pms = 307
, Id_ppl = 308 , Id_pnb = 308
, Id_prg = 309 , Id_pnt = 309
, Id_ps = 310 , Id_ppl = 310
, Id_pt = 311 , Id_prg = 311
, Id_pt_br = 312 , Id_ps = 312
, Id_qqq = 313 , Id_pt = 313
, Id_qu = 314 , Id_pt_br = 314
, Id_qug = 315 , Id_qqq = 315
, Id_rap = 316 , Id_qu = 316
, Id_rgn = 317 , Id_qug = 317
, Id_rif = 318 , Id_rap = 318
, Id_rm = 319 , Id_rgn = 319
, Id_rmf = 320 , Id_rif = 320
, Id_rmy = 321 , Id_rm = 321
, Id_rn = 322 , Id_rmf = 322
, Id_ro = 323 , Id_rmy = 323
, Id_roa_rup = 324 , Id_rn = 324
, Id_roa_tara = 325 , Id_ro = 325
, Id_ru = 326 , Id_roa_rup = 326
, Id_rue = 327 , Id_roa_tara = 327
, Id_rup = 328 , Id_ru = 328
, Id_ruq = 329 , Id_rue = 329
, Id_ruq_cyrl = 330 , Id_rup = 330
, Id_ruq_latn = 331 , Id_ruq = 331
, Id_rw = 332 , Id_ruq_cyrl = 332
, Id_ryu = 333 , Id_ruq_latn = 333
, Id_sa = 334 , Id_rw = 334
, Id_sah = 335 , Id_ryu = 335
, Id_sat = 336 , Id_sa = 336
, Id_saz = 337 , Id_sah = 337
, Id_sc = 338 , Id_sat = 338
, Id_scn = 339 , Id_saz = 339
, Id_sco = 340 , Id_sc = 340
, Id_sd = 341 , Id_scn = 341
, Id_sdc = 342 , Id_sco = 342
, Id_sdh = 343 , Id_sd = 343
, Id_se = 344 , Id_sdc = 344
, Id_sei = 345 , Id_sdh = 345
, Id_ses = 346 , Id_se = 346
, Id_sg = 347 , Id_sei = 347
, Id_sgs = 348 , Id_ses = 348
, Id_sh = 349 , Id_sg = 349
, Id_shi = 350 , Id_sgs = 350
, Id_shn = 351 , Id_sh = 351
, Id_si = 352 , Id_shi = 352
, Id_simple = 353 , Id_shn = 353
, Id_sk = 354 , Id_si = 354
, Id_sl = 355 , Id_simple = 355
, Id_sli = 356 , Id_sk = 356
, Id_sly = 357 , Id_sl = 357
, Id_sm = 358 , Id_sli = 358
, Id_sma = 359 , Id_sly = 359
, Id_sn = 360 , Id_sm = 360
, Id_so = 361 , Id_sma = 361
, Id_sq = 362 , Id_sn = 362
, Id_sr = 363 , Id_so = 363
, Id_sr_ec = 364 , Id_sq = 364
, Id_sr_el = 365 , Id_sr = 365
, Id_srn = 366 , Id_sr_ec = 366
, Id_ss = 367 , Id_sr_el = 367
, Id_st = 368 , Id_srn = 368
, Id_stq = 369 , Id_ss = 369
, Id_su = 370 , Id_st = 370
, Id_sv = 371 , Id_stq = 371
, Id_sw = 372 , Id_su = 372
, Id_sxu = 373 , Id_sv = 373
, Id_szl = 374 , Id_sw = 374
, Id_ta = 375 , Id_sxu = 375
, Id_tcy = 376 , Id_szl = 376
, Id_te = 377 , Id_ta = 377
, Id_test = 378 , Id_tcy = 378
, Id_tet = 379 , Id_te = 379
, Id_tg = 380 , Id_test = 380
, Id_tg_cyrl = 381 , Id_tet = 381
, Id_tg_latn = 382 , Id_tg = 382
, Id_th = 383 , Id_tg_cyrl = 383
, Id_ti = 384 , Id_tg_latn = 384
, Id_tk = 385 , Id_th = 385
, Id_tl = 386 , Id_ti = 386
, Id_tly = 387 , Id_tk = 387
, Id_tn = 388 , Id_tl = 388
, Id_to = 389 , Id_tly = 389
, Id_tokipona = 390 , Id_tn = 390
, Id_tp = 391 , Id_to = 391
, Id_tpi = 392 , Id_tokipona = 392
, Id_tr = 393 , Id_tp = 393
, Id_tru = 394 , Id_tpi = 394
, Id_ts = 395 , Id_tr = 395
, Id_tt = 396 , Id_tru = 396
, Id_tt_cyrl = 397 , Id_ts = 397
, Id_tt_latn = 398 , Id_tt = 398
, Id_ttt = 399 , Id_tt_cyrl = 399
, Id_tum = 400 , Id_tt_latn = 400
, Id_tw = 401 , Id_ttt = 401
, Id_ty = 402 , Id_tum = 402
, Id_tyv = 403 , Id_tw = 403
, Id_tzm = 404 , Id_ty = 404
, Id_ua = 405 , Id_tyv = 405
, Id_udm = 406 , Id_tzm = 406
, Id_ug = 407 , Id_ua = 407
, Id_ug_arab = 408 , Id_udm = 408
, Id_ug_latn = 409 , Id_ug = 409
, Id_uk = 410 , Id_ug_arab = 410
, Id_ur = 411 , Id_ug_latn = 411
, Id_uz = 412 , Id_uk = 412
, Id_ve = 413 , Id_ur = 413
, Id_vec = 414 , Id_uz = 414
, Id_vep = 415 , Id_ve = 415
, Id_vi = 416 , Id_vec = 416
, Id_vls = 417 , Id_vep = 417
, Id_vmf = 418 , Id_vi = 418
, Id_vo = 419 , Id_vls = 419
, Id_vot = 420 , Id_vmf = 420
, Id_vro = 421 , Id_vo = 421
, Id_wa = 422 , Id_vot = 422
, Id_war = 423 , Id_vro = 423
, Id_wo = 424 , Id_wa = 424
, Id_wuu = 425 , Id_war = 425
, Id_xal = 426 , Id_wo = 426
, Id_xh = 427 , Id_wuu = 427
, Id_xmf = 428 , Id_xal = 428
, Id_yi = 429 , Id_xh = 429
, Id_yo = 430 , Id_xmf = 430
, Id_yue = 431 , Id_yi = 431
, Id_za = 432 , Id_yo = 432
, Id_zea = 433 , Id_yue = 433
, Id_zh = 434 , Id_za = 434
, Id_zh_classical = 435 , Id_zea = 435
, Id_zh_cn = 436 , Id_zh = 436
, Id_zh_hans = 437 , Id_zh_classical = 437
, Id_zh_hant = 438 , Id_zh_cn = 438
, Id_zh_hk = 439 , Id_zh_hans = 439
, Id_zh_min_nan = 440 , Id_zh_hant = 440
, Id_zh_mo = 441 , Id_zh_hk = 441
, Id_zh_my = 442 , Id_zh_min_nan = 442
, Id_zh_sg = 443 , Id_zh_mo = 443
, Id_zh_tw = 444 , Id_zh_my = 444
, Id_zh_yue = 445 , Id_zh_sg = 445
, Id_zu = 446 , Id_zh_tw = 446
, Id_zh_yue = 447
, Id_zu = 448
; ;
public static final int Id__max = 447; public static final int Id__max = 449;
public static Hash_adp_bry Regy() { public static Hash_adp_bry Regy() {
if (stub_hash == null) { // NOTE: any parenthetical String below will have an "unseen" character of "\xE2\x80\xAA" at the begining and "\xE2\x80\xAC" at the end. They are responsible for parentheses-orientation in RTL stub_ary. if (stub_hash == null) { // NOTE: any parenthetical String below will have an "unseen" character of "\xE2\x80\xAA" at the begining and "\xE2\x80\xAC" at the end. They are responsible for parentheses-orientation in RTL stub_ary.
stub_hash = Hash_adp_bry.ci_a7(); // ASCII:lang_code; NOTE: must be ci; EX: {{#languages:FR}} stub_hash = Hash_adp_bry.ci_a7(); // ASCII:lang_code; NOTE: must be ci; EX: {{#languages:FR}}
@ -501,6 +503,7 @@ Regy_add(stub_hash, Id_arz, "arz", "مصرى");
Regy_add(stub_hash, Id_as, "as", "অসমীয়া"); Regy_add(stub_hash, Id_as, "as", "অসমীয়া");
Regy_add(stub_hash, Id_ase, "ase", "American Sign Language"); Regy_add(stub_hash, Id_ase, "ase", "American Sign Language");
Regy_add(stub_hash, Id_ast, "ast", "Asturianu"); Regy_add(stub_hash, Id_ast, "ast", "Asturianu");
Regy_add(stub_hash, Id_atj, "atj", "Atikamekw");
Regy_add(stub_hash, Id_av, "av", "Авар"); Regy_add(stub_hash, Id_av, "av", "Авар");
Regy_add(stub_hash, Id_avk, "avk", "Kotava"); Regy_add(stub_hash, Id_avk, "avk", "Kotava");
Regy_add(stub_hash, Id_awa, "awa", "Awadhi"); Regy_add(stub_hash, Id_awa, "awa", "Awadhi");
@ -659,6 +662,7 @@ Regy_add(stub_hash, Id_kaa, "kaa", "Qaraqalpaqsha");
Regy_add(stub_hash, Id_kab, "kab", "Taqbaylit"); Regy_add(stub_hash, Id_kab, "kab", "Taqbaylit");
Regy_add(stub_hash, Id_kbd, "kbd", "Къэбэрдеибзэ / Qabardjajəbza"); Regy_add(stub_hash, Id_kbd, "kbd", "Къэбэрдеибзэ / Qabardjajəbza");
Regy_add(stub_hash, Id_kbd_cyrl, "kbd-cyrl", "къэбэрдеибзэ"); Regy_add(stub_hash, Id_kbd_cyrl, "kbd-cyrl", "къэбэрдеибзэ");
Regy_add(stub_hash, Id_kbp, "kbp", "Kabiye");
Regy_add(stub_hash, Id_kg, "kg", "Kongo"); Regy_add(stub_hash, Id_kg, "kg", "Kongo");
Regy_add(stub_hash, Id_khw, "khw", "کھوار"); Regy_add(stub_hash, Id_khw, "khw", "کھوار");
Regy_add(stub_hash, Id_ki, "ki", "Gĩkũyũ"); Regy_add(stub_hash, Id_ki, "ki", "Gĩkũyũ");

View File

@ -848,6 +848,8 @@ public class Xow_domain_regy {
, "olo.wikipedia.org" , "olo.wikipedia.org"
, "dty.wikipedia.org" , "dty.wikipedia.org"
, "pa.wikisource.org" , "pa.wikisource.org"
, "atj.wikipedia.org"
, "kbp.wikipedia.org"
}; };
//, "als.wikisource.org" //, "als.wikisource.org"
//, "als.wikinews.org" //, "als.wikinews.org"

View File

@ -26,4 +26,7 @@ public class Xopg_alertify_ {
public static void Exec_log(Xog_json_wkr wkr, String msg) { public static void Exec_log(Xog_json_wkr wkr, String msg) {
wkr.Send_json("xo.alertify.log_by_str", Gfobj_nde.New().Add_str("msg", msg)); wkr.Send_json("xo.alertify.log_by_str", Gfobj_nde.New().Add_str("msg", msg));
} }
public static void Exec_log(Xog_json_wkr wkr, String msg, int wait) {
wkr.Send_json("xo.alertify.log_by_str", Gfobj_nde.New().Add_str("msg", msg).Add_str("wait", Int_.To_str(wait * 1000)));
}
} }