Difference between revisions of "VbzCart wikified topics"

From VbzWiki
Jump to navigation Jump to search
 
(→‎Notes: an example (incomplete))
Line 5: Line 5:
  
 
Probably going to abandon the numeric topics, and have aliases. Old-style number-topics will be redirected to new-style names. Aliases and alternate spellings will be redirected the same way.
 
Probably going to abandon the numeric topics, and have aliases. Old-style number-topics will be redirected to new-style names. Aliases and alternate spellings will be redirected the same way.
 +
 +
So, for example: [[vbznet:topics/1367/|topics/1367/]] (subject -> dates):
 +
* looks up a page called Category:vtopic:1367
 +
* that page contains "#redirect <nowiki>[[Category:dates]]</nowiki>"
 +
* <nowiki>[[Category:dates]]</nowiki> contains... (to be defined)
 +
 
==Tables==
 
==Tables==
 
Relevant bits of existing MediaWiki tables:
 
Relevant bits of existing MediaWiki tables:

Revision as of 12:44, 7 July 2006

Notes

Some preliminary design notes on using MediaWiki Categories to manage the store topic links.

The basic idea is that we would designate a set of Categories for use in the store "topics" pages. The categories to be used would probably be designated by some sort of prefix on the category name, like 'vtopic'... so a topic which would be displayed as "Stuff and Things" would have the page name "Category:vtopic:Stuff and Things".

Probably going to abandon the numeric topics, and have aliases. Old-style number-topics will be redirected to new-style names. Aliases and alternate spellings will be redirected the same way.

So, for example: topics/1367/ (subject -> dates):

  • looks up a page called Category:vtopic:1367
  • that page contains "#redirect [[Category:dates]]"
  • [[Category:dates]] contains... (to be defined)

Tables

Relevant bits of existing MediaWiki tables:

page

page_id Autonumber
page_namespace int 14 = categories
page_title str name of page, not including namespace prefix
page_restrictions flags
page_counter int possibly number of edits?
page_is_redirect flag includes #redirect
page_is_new flag
page_random float used for "Random page"
page_touched date/time when page last saved?
page_latest
page_len

pagelinks

pl_from int
pl_namespace int index to hard-coded namespaces array
pl_title string name of target page?