Hello and thanks for the feedback!

so to "package" urls like so

site.net/<namespace>/<title[/subpage][?params]

there are two parts that need to be done:

1) have MW somehow respond to these urls
2) output urls in that format

For 1) it can be done either by
    (a) modifying MW url processor and
    (b) - by rewrite rules - not sure here how to handle a case of no
namespace
        - I guess that with no namespace it will be maybe simpler to insert
        "main" namespace explicitly

For 2) you'll either have to
    (a) post-process all MW output through some filter outside MW
    (b) modify the "url renderer" inside MW

Where should I look inside MW code to find incoming url parser and url
renderer?

I'll appreciate any suggestions, will post a patch on github too.

Evgeny.
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to