Code

Opened 6 years ago

Closed 5 years ago

#8502 closed (fixed)

Trac reST parser is gone

Reported by: cjlesh Owned by: jacob
Component: *.djangoproject.com Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Maybe it is just me, but when I navigate to the following page in the wiki:

http://code.djangoproject.com/wiki/VersionOneRoadmap

I see 'raw' markup instead of rendered HTML.

Anyone else seeing this? The rest of the wiki pages look normal.

Attachments (0)

Change History (9)

comment:1 follow-up: Changed 6 years ago by programmerq

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

If you look at the source, it is apparent that this is intended.

This isn't a problem with Django itself, and doesn't belong in the ticket system.

However, thank you for taking the initiative to report what you thought was a problem!

comment:2 in reply to: ↑ 1 Changed 6 years ago by cjlesh

  • Resolution invalid deleted
  • Status changed from closed to reopened

Replying to programmerq:

If you look at the source, it is apparent that this is intended.

Care to point me in the right direction? It isn't obvious to me, but I'm slow. That page looks wrong, and it is linked to by multiple posts in the official blog. For example:
http://www.djangoproject.com/weblog/2008/aug/14/10-beta-1/

This isn't a problem with Django itself, and doesn't belong in the ticket system.

That's why I selected "Django Web site" as the component when I opened the ticket. I'm guessing since "Django Web site" exists as a choice, and I've reported problems with the site in the past using a ticket, you might be wrong.


However, thank you for taking the initiative to report what you thought was a problem!

You are welcome.

comment:3 Changed 6 years ago by kmtracey

The whole page has been wrapped in WikiFormatting's {{{ }}} since revision 1. That disables WikiFormatting. It appears to be a reStructedText-formatted document made available on the wiki in a quick-and-dirty fashion by just disabling the wiki formatting. The RST markup is designed to be easy-to-read even in source format, and I'd guess the wiki formatter doesn't understnad it, so just wrapping the doc in {{{ }}} makes it available on the wiki without having to do any processing/conversion.

comment:4 Changed 6 years ago by ubernostrum

  • Resolution set to invalid
  • Status changed from reopened to closed

This isn't a bug in Django. Please do not reopen this ticket.

comment:5 follow-up: Changed 6 years ago by jarrow

  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Summary changed from VersionOneRoadmap wiki page rendered as markup? to Trac reST parser is gone

The whole page has been wrapped in WikiFormatting's since revision 1.

That is not entirely correct ;) It is is using reST rendering since revision 1.

{{{
#!rst
}}}

And I remember that this page used to render correctly. I think the reST parser is gone. Maybe Jacob disabled it somehow while installing the doc refactor. James is going to kill me but I am reopening this as Yahoo still has the cached version:

http://cache.search.yahoo.net/search/cache?ei=UTF-8&p=Django+1.0+Roadmap+and+Schedule&fr=sfp&u=code.djangoproject.com/wiki/VersionOneRoadmap&w=django+1.0+roadmap+%22road+map%22+schedule+schedules&d=fyD_hBg5RTuo&icp=1&.intl=us

Good catch cjlesh!

comment:6 in reply to: ↑ 5 Changed 6 years ago by kmtracey

Replying to jarrow:

The whole page has been wrapped in WikiFormatting's since revision 1.

That is not entirely correct ;) It is is using reST rendering since revision 1.

Ah. I did think it was odd, and didn't realize how it was supposed to work. (But yeah, you may want to hide from James.)

comment:7 Changed 6 years ago by jacob

  • Owner changed from nobody to jacob
  • Status changed from reopened to new
  • Triage Stage changed from Unreviewed to Accepted

I think it has to do with upgrading docutils to the version that Sphinx needs; Trac is still an older version that looks like it doesn't support the new version of docutils. I'll get to this when I upgrade to Trac 0.11, but that might be some time yet.

comment:8 Changed 6 years ago by jacob

  • Status changed from new to assigned

comment:9 Changed 5 years ago by jacob

  • Resolution set to fixed
  • Status changed from assigned to closed

It actually works if you use #!text/x-rst instead of #!rst. Don't know why, but don't really care.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.