https://bugzilla.wikimedia.org/show_bug.cgi?id=59200

--- Comment #2 from Technical 13 <technical...@yahoo.com> ---
(In reply to comment #1)
> What if the code on the page was something like:
> 
> {{#ifexist:{{FULLPAGENAME}}|create 
> pages|{{#ifeq:{{PROTECTIONLEVEL:edit|{{FULLPAGENAME}}}}|sysop|create this 
> page}}}}
> 
> So that only pages that do not exist but are sysop protected (implicitly 
> create
> protected) show "create this page" and the rest show "create pages".  Would
> that be too hacky?

Okay, so I played with this idea on [[testwiki:]]
(https://test.wikipedia.org/w/index.php?title=MediaWiki:Action-createpage&action=history)
and came up with:

{{#ifeq:{{PROTECTIONLEVEL:create|{{FULLPAGENAME}}}}|sysop|create this
page|create pages}}


This works.  Maybe this is something that should be fixed in core at some
point, but this works for me for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to