Pengguna:Borgx/Terjemahan WikiCharts
Tampilan
<? // Names of the namespaces. // left are hardcoded values - right specific lang values ;-) $nsNames = array( "0" => "articles", "all" => "all", "Talk" => "Talk", "User" => "User", "User_talk" => "User_talk", "Project" => "Wikipedia", "Project_talk" => "Wikipedia_talk", "Image" => "Image", "Image_talk" => "Image_talk", "MediaWiki" => "MediaWiki", "MediaWiki_talk" => "MediaWiki_talk", "Template" => "Template", "Template_talk" => "Template_talk", "Help" => "Help", "Help_talk" => "Help_talk", "Category" => "Category", "Category_talk" => "Category_talk", "Portal" => "Portal", "Portal_talk" => "Portal_talk", "Special" => "Special" ); // the mysql table $sqlTable = "wikicharts_cur_idwiki"; // the old table $oldTable = "wikicharts_old_idwiki"; $lang = array( "days" => "days", "disclaimer" => "This tool is still being tested. Some of the results may be false or misleading!", "entries" => "entries", "go" => "Go!", "infoboxheadline" => "Information", "infoboxtext" => "<p>This page shows the most viewed articles of wikimedia projects.</p> <h3>How it works</h3> <p>WikiCharts makes the user's browser send http requests to the toolserver. This is done using javascript (<a href='/~leon/source/rawview.php/wikicharts/site-javascript.js'>source</a>).<br /> A java program (<a href='/~leon/source/rawview.php/dab/Wikistats/'>source</a>, written by DaB.) is called every 15 minutes, which reads the apache log file and inserts the requests into a MySQL database.<br /> Now, users want to access the stats, so the third part is an output script, which you're viewing.<br /> It's written in PHP, and of course you may also see <a href='/~leon/source/rawview.php/wikicharts/index.php'>the source</a>. </p> <p>More detailed information can be found <a href='http://meta.wikimedia.org/wiki/WikiCharts'>on meta</a>.</p> <h3>Contact</h3> <ul> <li>Please report bugs or whishes to <a href='/cgi-bin/bugzilla/index.cgi'>Toolserver's Bugzilla</a>.</li> <li>If you'd like to have another wiki added, contact me in the irc. My nick is LeonWP.</li> <li>For other questions, use the irc, <a href='http://de.wiki-indonesia.club/wiki/Benutzer_Diskussion:LeonWeber'>my talk page</a> or send an email to leon@hemlock.knams.wikimedia.org.</li> </ul>", "links" => "Links", "othermodes" => "Other modes:", "othermonths" => "Other months:", "othernamespaces" => "Other namespaces:", "otherwikis" => "Other wikis:", "percent" => "Percent", "requestsperday" => "Views per day", "showfirst" => "Show the first", "statsrunningfornew" => "Statistics have been running <span style='font-weight:bold;'>$1</span> days.", "statsrunningfornewsing" => "Statistics have been running for <span style='font-weight:bold;'>$1</span> day.", "thistoolshows" => "This tool shows the articles from the English Wikipedia that are viewed most.", "title" => "Title", "top" => "Top" ); $articlePath = "http://wiki-indonesia.club/wiki/"; $start = array( "month" => 10, "day" => 18, "year" => 2006 ); ?>