|
Main sidebar
|
PITS /
00365Summary: Wrap RecentChanges output with a DIV tag
Created: 2005-03-06 13:04
Status: Closed - declined
Category: Feature
From: V Krishn
Assigned:
Priority: 4
Version: 2.x
OS:
Description: Request to wrap RecentChanges output with a DIV tag. Suggestion: This would help skin designers to beautify the output of the recentchanges via css. Sorry, but RecentChanges is just a normal wiki page -- there's not really a way to differentiate RecentChanges from other pages, nor should it be different (at least not in the default distribution). However, a skin designer can easily create custom CSS for recent changes in the skin.php file: if (substr($pagename, -13) == "RecentChanges") {
In particular, one can then style all of the div's and elements in the RecentChanges output, including div.wikitext. --Pm Hmm.. Yes thats right :) I did not think it that way. <div id='PITSRecentChanges'>
<ul>
<li><a class='wikilink' href='some/wiki/link'>link</a>
. . . March 05, 2005, at 07:24 AM by ? </li>
<li><a class='wikilink' href='some/wiki/link'>link2</a>
. . . March 05, 2005, at 05:20 AM by ? </li>
<li><a class='wikilink' href='some/wiki/link'>link3</a>
. . . March 04, 2005, at 01:15 AM by ? </li>
</ul>
</div>
My idea was to include the RecentChanges page in some other page.
(:table width=150px align=right border=1 style="background-color:beige; font-size: 10px;":) (:cell:)Top 10 Recent Changes [[<<]] (:include Main.AllRecentChanges lines=10:) (:tableend:) Thanks for the above piece of code, it gave me another idea :)). |