Daniel Kinzler has submitted this change and it was merged. Change subject: Fixed howMany in index.jsp and made clickable links ......................................................................
Fixed howMany in index.jsp and made clickable links Change-Id: If19f871976586e50b972aadb8a4f4acb34edf320 --- M client/src/main/webapp/index.jsp 1 file changed, 42 insertions(+), 17 deletions(-) Approvals: Daniel Kinzler: Verified; Looks good to me, approved diff --git a/client/src/main/webapp/index.jsp b/client/src/main/webapp/index.jsp index ef3eca8..1d8dcc4 100644 --- a/client/src/main/webapp/index.jsp +++ b/client/src/main/webapp/index.jsp @@ -1,6 +1,6 @@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> + "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> @@ -9,31 +9,55 @@ </head> <body> <h1>Entity Suggester Backend REST API.</h1> - <p>This is the root of the Entity Suggester's backend REST API.<br/> - Some examples of possible actions are:<br/></p> + <p> + This is the root of the Entity Suggester's backend REST API.<br/> + Note that the howMany parameter is always required. + Some examples of possible actions are:<br/> + </p> <ul> - <li>Suggesting claim properties:</li> + <li>Suggesting claim properties (GET):</li> <ul> - <li>/entitysuggester/suggest/claimprops/P361,P279,P31</li> - <li>/entitysuggester/suggest/claimprops/P361,P279&howMany=20</li> - <li>/entitysuggester/suggest/claimprops/</li> + <li> + <a href='/entitysuggester/suggest/claimprops/P47,P373,P30?howMany=20'> + /entitysuggester/suggest/claimprops/P47,P373,P30?howMany=20 + </a> + </li> + <li> + <a href='/entitysuggester/suggest/claimprops/?howMany=10'> + /entitysuggester/suggest/claimprops/?howMany=10 + </a> + </li> </ul> - <li>Suggesting source ref properties:</li> + <li>Suggesting source ref properties (GET):</li> <ul> - <li>/entitysuggester/suggest/refprops/P143,P41</li> - <li>/entitysuggester/suggest/refprops/&howMany=30</li> + <li> + <a href='/entitysuggester/suggest/refprops/P143?howMany=5'> + /entitysuggester/suggest/refprops/P143?howMany=5 + </a> + </li> + <li> + <a href='/entitysuggester/suggest/refprops/?howMany=10'> + /entitysuggester/suggest/refprops/?howMany=10 + </a> + </li> </ul> - <li>Suggesting qualifier properties:</li> + <li>Suggesting qualifier properties (GET):</li> <ul> - <li>/entitysuggester/suggest/qualifiers/P31</li> - <li>/entitysuggester/suggest/qualifiers/P31&howMany=30</li> + <li> + <a href='/entitysuggester/suggest/qualifiers/P31?howMany=30'> + /entitysuggester/suggest/qualifiers/P31?howMany=30 + </a> + </li> </ul> - <li>Suggesting values:</li> + <li>Suggesting values (GET):</li> <ul> - <li>/entitysuggester/suggest/values/P31</li> - <li>/entitysuggester/suggest/values/P31&howMany=30</li> + <li> + <a href='/entitysuggester/suggest/values/P30?howMany=30'> + /entitysuggester/suggest/values/P30?howMany=30 + </a> + </li> </ul> - <li>Training the Entity Suggester:</li> + <li>Training the Entity Suggester (POST):</li> <ul> <li>/entitysuggester/ingest/claimprops</li> <li>/entitysuggester/ingest/empty-claimprops</li> @@ -45,3 +69,4 @@ </ul> </body> </html> + -- To view, visit https://gerrit.wikimedia.org/r/85995 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If19f871976586e50b972aadb8a4f4acb34edf320 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/WikidataEntitySuggester Gerrit-Branch: master Gerrit-Owner: Nilesh <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
