Wiki Web Service: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(trying to update this to the new scheme (Imported from MoinMoin))
(note on ThemeMacro (Imported from MoinMoin))
Line 22: Line 22:


The page about the (old) [[Wiki Docs Converter|WikiDocsConverter]] lists a couple of features that the web service will have to do now.
The page about the (old) [[Wiki Docs Converter|WikiDocsConverter]] lists a couple of features that the web service will have to do now.

Not that [[Moin Moin|MoinMoin]] has a [[MoinMoin:ThemesMacro|ThemesMacro]]. If you install that you can call a theme via the url like this [http://moinmoin.wikiwikiweb.de/ThemeMarket?action=theme&theme=matrix http://moinmoin.wikiwikiweb.de/ThemeMarket?action=theme&theme=matrix]. So if the [[WikiDocs Conversion|WikiDocsConversion]] starts to become complex, it might be a solution to do all this stuff with a theme, instead of with Perl meddling with html.
[[Category:To Be Reviewed]] [[Category:Development]]
[[Category:To Be Reviewed]] [[Category:Development]]

Revision as of 15:56, 26 October 2005

The WikiWebService is a component of the planned WikiDocs. This component will display pages from the MusicBrainzWiki as uneditable webpages within the normal header, footer, menubar etc. of the MusicBrainz website.

The webservice has to check, whether the requested page is listed in the ModeratedRevisionTable.

  • If it is, it pulls the last moderated revision from the MusicBrainzWiki and serves that inside a
    .
  • If it is not, it pulls the current revision of the page and serves that inside a
    .

Additionally the webservice has to do a lot of WikiDocsConversion stuff. Since that is quite complex, we will have to make very judicious usage of caching.

Old /wd/ Mechanism

MatthiasFriedrich explained me how the content of a MoinMoin wiki page is displayed on the MusicBrainz MainSite:

New /doc/ Meachnism

The page about the (old) WikiDocsConverter lists a couple of features that the web service will have to do now.

Not that MoinMoin has a ThemesMacro. If you install that you can call a theme via the url like this http://moinmoin.wikiwikiweb.de/ThemeMarket?action=theme&theme=matrix. So if the WikiDocsConversion starts to become complex, it might be a solution to do all this stuff with a theme, instead of with Perl meddling with html.