Difference between revisions of "Template:PublicRevision"

From Organic Design wiki
m
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{message|icon=[[Image:Text-x-generic.svg|40px]]|text=This page shows an old version of the article intended for public consumption. Editing will allow you to edit the most recent version. You can then choose to make private revisions or make the article revision public.<br/>
+
<noinclude>
*[[Talk:Extension:PublicRevision.php|More information.]]}}
+
{{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.