1 | sS simpleWikipedia_withRedirect(S topic) { |
2 | S page = simpleWikipedia_cached(topic); |
3 | int safety = 0; |
4 | while ((topic = wikipedia_getRedirect(page)) != null && safety++ < 10) |
5 | page = simpleWikipedia_cached(topic); |
6 | ret page; |
7 | } |
Began life as a copy of #1021366
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021376 |
Snippet name: | simpleWikipedia_withRedirect |
Eternal ID of this version: | #1021376/5 |
Text MD5: | 5f32792eb2bdf3ec5fc9e77b50ead5e2 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-10 14:23:49 |
Source code size: | 237 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 286 / 313 |
Version history: | 4 change(s) |
Referenced in: | [show references] |