mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Full-text search: Add menu entry for title search
This commit is contained in:
@@ -30,7 +30,8 @@ public class Xoapi_nav_wiki implements Gfo_invk {
|
||||
else if (ctx.Match(k, "random")) win.Page__navigate_by_url_bar("Special:Random");
|
||||
else if (ctx.Match(k, "sandbox")) win.Page__navigate_by_url_bar("Project:Sandbox");
|
||||
else if (ctx.Match(k, "allpages")) win.Page__navigate_by_url_bar("Special:AllPages?from=!"); // NOTE: for menu, default to ! else empty page
|
||||
else if (ctx.Match(k, "search")) win.Page__navigate_by_url_bar("Special:XowaSearch");
|
||||
else if (ctx.Match(k, "search_title")) win.Page__navigate_by_url_bar("Special:Search?fulltext=y");
|
||||
else if (ctx.Match(k, "search_full")) win.Page__navigate_by_url_bar("Special:XowaSearch");
|
||||
else return Gfo_invk_.Rv_unhandled;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user