Hi,
Is there somewhere a viewer for pages written with MediWiki syntax? As I do not plan the full install of MediaWiki on my laptop, I'm looking for a very simple viewer that would allow to see files edited offline in TextMate.
I've tried pmWiki, that works fine, but does not use the same syntax as MediaWiki.
Thanks in advance,
José Campos wrote:
Is there somewhere a viewer for pages written with MediWiki syntax?
As I do not plan the full install of MediaWiki on my laptop, I'm looking for a very simple viewer that would allow to see files edited offline in TextMate.
I've tried pmWiki, that works fine, but does not use the same syntax
as MediaWiki.
If you check the mediawiki bundle out from the subversion repository (look up bundles in the manual), there is now a mediawiki language grammar. It's not complete, but it should hit 80-90% of the syntax used in mediawiki pages. Notably, it's far from perfect for things like tables, templates, and parser functions. I'm working on it. :). Also, eventually the plan is to have some support for fetching/posting mediawiki pages. But that won't be finished for at least a couple of weeks, probably.
-Jacob
Jacob Rus jrus@hcs.harvard.edu wrote:
If you check the mediawiki bundle out from the subversion repository (look up bundles in the manual), there is now a mediawiki language grammar.
Thanks Jacob. I'm not that skilled to manage subversion, so I just installed the bundle manually. Works fine, nice job indeed. The only thing I miss is a "Preview" button, to see the result when working off-line.
Thanks again, have a nice day,
José Campos wrote:
Jacob Rus jrus@hcs.harvard.edu wrote:
If you check the mediawiki bundle out from the subversion repository (look up bundles in the manual), there is now a mediawiki language grammar.
Thanks Jacob. I'm not that skilled to manage subversion, so I just
installed the bundle manually. Works fine, nice job indeed. The only thing I miss is a "Preview" button, to see the result when working off-line.
It's not really possible to do a preview button for mediawiki. The "parser" is a few thousand lines of ugly PHP script which is completely tied into the rest of the program, not to mention that we need to do things such as template expansion, etc. which can completely change the appearance of text on the page, because templates can include tags which style the text between them, etc.
So, if you want a preview when working offline, pretty much the only solution is to clone the mediawiki site you're editing :p. I'm working on making some slick solutions when you're *online* though.
-Jacob
Jacob Rus jrus@hcs.harvard.edu wrote:
If you check the mediawiki bundle out from the subversion repository (look up bundles in the manual), there is now a mediawiki language grammar. It's not complete, but it should hit 80-90% of the syntax used in mediawiki pages.
Very nice work, in fact.
Will there be some days a special syntax (such as inverse video for example) for lines that begin with a blank (which will be displayed in MediaWiki as fixed font width)?
Have a nice day,
On 6/9/2006, at 6:52, José Campos wrote:
Will there be some days a special syntax (such as inverse video for example) for lines that begin with a blank (which will be displayed in MediaWiki as fixed font width)?
Try switch theme to Dawn in Preferences → Fonts & Colors, and it should show pre-formatted text with a colored background.
Allan Odgaard throw-away-1@macromates.com wrote:
Try switch theme to Dawn in Preferences ? Fonts & Colors, and it should show pre-formatted text with a colored background.
Works fine! Thanks a lot,