*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*
* @author Evan Prodromou <evan@wikitravel.org>
* @package MediaWiki
}
/**
- * @access private
+ * @private
*/
function rdfSetup() {
global $wgOut, $_SERVER;
}
/**
- * @access private
+ * @private
*/
function dcPrologue($url) {
global $wgOutputEncoding;
}
/**
- * @access private
+ * @private
*/
function dcEpilogue() {
print "
}
/**
- * @access private
+ * @private
*/
function dcBasics($article) {
global $wgContLanguageCode, $wgSitename;
}
/**
- * @access private
+ * @private
*/
function ccPrologue() {
global $wgOutputEncoding;
}
/**
- * @access private
+ * @private
*/
function ccSubPrologue($type, $url) {
$url = htmlspecialchars( $url );
}
/**
- * @access private
+ * @private
*/
function ccSubEpilogue($type) {
echo " </cc:{$type}>\n";
}
/**
- * @access private
+ * @private
*/
function ccLicense($terms) {
}
/**
- * @access private
+ * @private
*/
function ccTerm($term, $name) {
print " <cc:{$term} rdf:resource=\"http://web.resource.org/cc/{$name}\" />\n";
}
/**
- * @access private
+ * @private
*/
function ccEpilogue() {
echo "</rdf:RDF>\n";
}
/**
- * @access private
+ * @private
*/
function dcElement($name, $value) {
$value = htmlspecialchars( $value );
}
/**
- * @access private
+ * @private
*/
function dcDate($timestamp) {
return substr($timestamp, 0, 4) . '-'
}
/**
- * @access private
+ * @private
*/
function dcReallyFullUrl($title) {
return $title->getFullURL();
}
/**
- * @access private
+ * @private
*/
function dcPageOrString($name, $page, $str) {
$nt = Title::newFromText($page);
}
/**
- * @access private
+ * @private
*/
function dcPage($name, $title) {
dcUrl($name, dcReallyFullUrl($title));
}
/**
- * @access private
+ * @private
*/
function dcUrl($name, $url) {
$url = htmlspecialchars( $url );
}
/**
- * @access private
+ * @private
*/
function dcPerson($name, $id, $user_name='', $user_real_name='') {
global $wgContLang;
/**
* Takes an arg, for future enhancement with different rights for
* different pages.
- * @access private
+ * @private
*/
function dcRights($article) {
}
/**
- * @access private
+ * @private
*/
function ccGetTerms($url) {
global $wgLicenseTerms;
}
/**
- * @access private
+ * @private
*/
function getKnownLicenses() {