[wiki/macro] WikiNinjas.py
This commit is contained in:
parent
193c20cca1
commit
eca424500e
1 changed files with 1 additions and 1 deletions
|
@ -23,6 +23,6 @@ def macro_WikiNinjas(macro, args):
|
|||
# select random page
|
||||
page = random.choice(all_pages)
|
||||
|
||||
macro.request.http_redirect("%s/%s?action=show&redirect=%s" % (macro.request.script_root, page, wikiutil.url_quote_plus(self.page_name, '') ))
|
||||
macro.request.http_redirect("%s/%s?action=show&redirect=WikiNinja" % (macro.request.script_root, page))
|
||||
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue