Difference between revisions of "Template:PublicRevision"
From Organic Design wiki
m |
m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | <noinclude> |
− | + | {{PublicRevision}} | |
− | + | <pre> | |
+ | {{PublicRevision}} | ||
+ | </pre> | ||
+ | This template shows a notice when there is an active Public Revision for the article. The notice is only shown to the ''staff'' group, so anon users and students (''user'') groups see a normal article. | ||
+ | ==Todo== | ||
+ | Hide the ''previous next'' links that show when ''oldid'' is used. | ||
+ | [[Category:Todo]] | ||
+ | </noinclude> | ||
+ | <includeonly>{{#ifgroup:staff| | ||
+ | {{#if: | ||
+ | {{#ifexist:PublicRevision:{{PAGENAME}}|{{PublicRevision:{{PAGENAME}}}}|}}| | ||
+ | {{Message|icon=[[Image:Text-x-generic.svg|40px]]|text='''Public Revision: You are viewing an old version of this page'''<br/>Editing will allow you to edit the most recent version.}} | ||
}} | }} | ||
+ | }}</includeonly> |
Latest revision as of 23:46, 11 October 2007
{{PublicRevision}}
This template shows a notice when there is an active Public Revision for the article. The notice is only shown to the staff group, so anon users and students (user) groups see a normal article.
Todo
Hide the previous next links that show when oldid is used.