Example #1
0
    url(r'^/needs-review/?',
        'list_documents_for_review',
        name='wiki.list_review'),
    url(r'^/localization-tag/(?P<tag>[^/]+)$',
        'list_documents_with_localization_tag',
        name='wiki.list_with_localization_tag'),
    url(r'^/localization-tag/?',
        'list_documents_with_localization_tag',
        name='wiki.list_with_localization_tags'),
    url(r'^/category/(?P<category>\d+)$',
        'list_documents',
        name='wiki.category'),

    # Feeds
    url(r'^/feeds/(?P<format>[^/]+)/all/?',
        DocumentsRecentFeed(),
        name="wiki.feeds.recent_documents"),
    url(r'^/feeds/(?P<format>[^/]+)/l10n-updates/?',
        DocumentsUpdatedTranslationParentFeed(),
        name="wiki.feeds.l10n_updates"),
    url(r'^/feeds/(?P<format>[^/]+)/tag/(?P<tag>[^/]+)',
        DocumentsRecentFeed(),
        name="wiki.feeds.recent_documents"),
    url(r'^/feeds/(?P<format>[^/]+)/category/(?P<category>[^/]+)',
        DocumentsRecentFeed(),
        name="wiki.feeds.recent_documents_category"),
    url(r'^/feeds/(?P<format>[^/]+)/needs-review/(?P<tag>[^/]+)',
        DocumentsReviewFeed(),
        name="wiki.feeds.list_review_tag"),
    url(r'^/feeds/(?P<format>[^/]+)/needs-review/?',
        DocumentsReviewFeed(),
Example #2
0
    url(r'^/top-level$', 'list_top_level_documents',
        name='wiki.top_level'),
    url(r'^/needs-review/(?P<tag>[^/]+)$', 'list_documents_for_review',
        name='wiki.list_review_tag'),
    url(r'^/needs-review/?', 'list_documents_for_review',
        name='wiki.list_review'),
    url(r'^/localization-tag/(?P<tag>[^/]+)$', 'list_documents_with_localization_tag',
        name='wiki.list_with_localization_tag'),
    url(r'^/localization-tag/?', 'list_documents_with_localization_tag',
        name='wiki.list_with_localization_tags'),
    url(r'^/category/(?P<category>\d+)$', 'list_documents',
    name='wiki.category'),

    # Feeds
    url(r'^/feeds/(?P<format>[^/]+)/all/?',
        DocumentsRecentFeed(), name="wiki.feeds.recent_documents"),
    url(r'^/feeds/(?P<format>[^/]+)/l10n-updates/?',
        DocumentsUpdatedTranslationParentFeed(), name="wiki.feeds.l10n_updates"),
    url(r'^/feeds/(?P<format>[^/]+)/tag/(?P<tag>[^/]+)',
        DocumentsRecentFeed(), name="wiki.feeds.recent_documents"),
    url(r'^/feeds/(?P<format>[^/]+)/category/(?P<category>[^/]+)',
        DocumentsRecentFeed(), name="wiki.feeds.recent_documents_category"),
    url(r'^/feeds/(?P<format>[^/]+)/needs-review/(?P<tag>[^/]+)',
        DocumentsReviewFeed(), name="wiki.feeds.list_review_tag"),
    url(r'^/feeds/(?P<format>[^/]+)/needs-review/?',
        DocumentsReviewFeed(), name="wiki.feeds.list_review"),
    url(r'^/feeds/(?P<format>[^/]+)/revisions/?',
        RevisionsFeed(), name="wiki.feeds.recent_revisions"),
    url(r'^/feeds/(?P<format>[^/]+)/files/?',
        AttachmentsFeed(), name="wiki.feeds.recent_files"),