sS simpleWikipedia_withRedirect(S topic) { S page = simpleWikipedia_cached(topic); int safety = 0; while ((topic = wikipedia_getRedirect(page)) != null && safety++ < 10) page = simpleWikipedia_cached(topic); ret page; }
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: | 284 / 310 |
Version history: | 4 change(s) |
Referenced in: | [show references] |