QuantumBadger / QuantumBadger/RedReader

[feature request] support wiki pages

Open
#776 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

Reddit allow subreddits to have a wiki in addition to the submission feed. These can't be easily accessed on Red Reader, unless the sidebar, a post or comment contain an explicit link to a wiki page.

As of now, following a link to a subreddit's wiki opens the link in the internal browser:

current behavior

For reference, the /api/info returns a wiki_enabled value when a t5 (subreddit) object is passed as a param. There are also multiple wiki-specific API endpoints, of which [/r/subreddit]/wiki/page and possibly [/r/subreddit]/wiki/pages are useful for reading wiki pages.

A possible approach would be to add a "Wiki" menu item for subreddits where wiki_enabled==true, linking to the subreddit's wiki index, to be opened in an HtmlViewActivity.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing subreddit menu construction and the existing HtmlViewActivity, then inspect how subreddit objects from /api/info expose wiki_enabled. Review Reddit's wiki page and wiki pages endpoints to determine the index request. Done means wiki-enabled subreddits offer a Wiki menu item that opens the subreddit wiki rather than the internal browser's current link behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.