mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
mediawiki: Allow shortcut to be publicly visible on front page
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f2ca4d8556
commit
b01430ff08
@ -95,7 +95,7 @@ def add_shortcut():
|
|||||||
"""Helper method to add a shortcut to the frontpage."""
|
"""Helper method to add a shortcut to the frontpage."""
|
||||||
frontpage.add_shortcut('mediawiki', name,
|
frontpage.add_shortcut('mediawiki', name,
|
||||||
short_description=short_description,
|
short_description=short_description,
|
||||||
url='/mediawiki', login_required=True)
|
url='/mediawiki', login_required=False)
|
||||||
|
|
||||||
|
|
||||||
def is_enabled():
|
def is_enabled():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user