https://bugzilla.wikimedia.org/show_bug.cgi?id=52650

       Web browser: ---
            Bug ID: 52650
           Summary: Enhanced navigation: Support for dynamic,
                    category-based "Prev"/"Next" links
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to