Last modified: 2013-08-15 05:10:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54650, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52650 - Enhanced navigation: Support for dynamic, category-based "Prev"/"Next" links
Enhanced navigation: Support for dynamic, category-based "Prev"/"Next" links
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-08 12:09 UTC by ErkDemon
Modified: 2013-08-15 05:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ErkDemon 2013-08-08 12:09:50 UTC
Wikis often have groups of articles that lend themselves to "Previous article" / "Next article" navigation.

We could use the existing Category system to implement this, with the addition of a couple of functions:

* A request for the current order-position of a specified named article within a specified Category (return "0" if it is not found)

* A request for the name of the article that currently occupies a specified position "n" within a specified Category (return an empty string if not found?).

So given that our original article (name="PAGENAME") was reported as occupying position "n", we could then easily have links that jump to articles with names reported by (n-1) and (n+1), and displaying the article names if desired (or just "Prev"/"Next", "<" ">" if space was tight), and the links would update whenever the contents of the specified Category list changed.

This would give a very easy way of creating Category-specific navigation chains that could be used within infoboxes.

/ErkDemon/
Comment 1 ErkDemon 2013-08-15 05:10:19 UTC
... Oh, and BTW, a "prev/next" function linked to a category would also be a useful way of generating URLs that could be registered with a browser for each wiki page for navigation, to be activated by "< >" buttons or a left or right swipe for tablet users (or voice control, gesture control, etc). 

If nothing is specified, swiping could move the user through the main article list if they're on an article page, or though the main category list if they're on a category page.

The ability to swipe forward and backward to navigate though Wikipedia would be fun! :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links