mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Html: If MediaWiki:Sidebar does not exist, use language's message 'sidebar', not null
This commit is contained in:
@@ -61,12 +61,16 @@ public class Xow_page_mgr implements Gfo_invk {
|
||||
break;
|
||||
}
|
||||
Xoa_ttl redirect_ttl = Load_from_db(rv, ns, ttl, url.Qargs_mgr().Match(Xoa_url_.Qarg__redirect, Xoa_url_.Qarg__redirect__no));
|
||||
// GOTO_BY_LOOP: handle redirect to special
|
||||
if (redirect_ttl != null && redirect_ttl.Ns().Id_is_special()) {
|
||||
ttl = redirect_ttl;
|
||||
url = wiki.Utl__url_parser().Parse(ttl.Raw()); // update url w/ redirected ttl; need to update qargs else will redirect to correct ttl (Special:XowaCfg) but not qargs (grp=xowa.addon.math); EX:src=Options/Math; trg=Special:XowaCfg?grp=xowa.addon.math; DATE:2017-01-02
|
||||
rv.Redirect_trail().Clear();
|
||||
rv.Db().Page().Exists_y_();
|
||||
}
|
||||
// not a redirect to special; just exit
|
||||
else
|
||||
return;
|
||||
}
|
||||
}
|
||||
public Xoa_ttl Load_from_db(Xoae_page rv, Xow_ns ns, Xoa_ttl ttl, boolean redirect_force) {
|
||||
|
||||
Reference in New Issue
Block a user