With enough tags, the usertags wiki page will go over the character limit of the wiki by over 100,000 characters and fail to save additional tags. As a temporary fix, since we rely heavily on tagging users, I was able to make a few temporary reductions, but these fixes are not permanent as the cause of them lies with the tagger.
In order to reduce the problem in the future, a few changes could be made:
Remove post titles from URLs: given a post URL, only the post and comment IDs are required. For example, the links:
Remove other redundant URL information: "http://www.reddit.com" is completely redundant and does not have to be stored.
Remove extra whitespace: while an earlier change was made to use JSON.stringify(json, replacer, spacing) to make the wiki page easier to edit manually, its use also accounts for about 120,000 of the ~370,000 absolute maximum character limit of the wiki. I suggest going back to JSON.stringify(json) to prevent such issues (IMO more important than human readability).
With enough tags, the usertags wiki page will go over the character limit of the wiki by over 100,000 characters and fail to save additional tags. As a temporary fix, since we rely heavily on tagging users, I was able to make a few temporary reductions, but these fixes are not permanent as the cause of them lies with the tagger.
In order to reduce the problem in the future, a few changes could be made:
Remove post titles from URLs: given a post URL, only the post and comment IDs are required. For example, the links:
http://www.reddit.com/r/leagueoflegends/comments/1muery/spoiler_league_of_legends_world_championships/ can be reduced to http://www.reddit.com/r/leagueoflegends/comments/1muery/
http://www.reddit.com/r/leagueoflegends/comments/1mu1l9/faker_destorying_na_solo_q_with_riven_4v1_ish/ccclz92 can be reduced to http://www.reddit.com/r/leagueoflegends/comments/1mu1l9/-/ccclz92
JSON.stringify(json, replacer, spacing)
to make the wiki page easier to edit manually, its use also accounts for about 120,000 of the ~370,000 absolute maximum character limit of the wiki. I suggest going back toJSON.stringify(json)
to prevent such issues (IMO more important than human readability).