* Non-working API to facilitate dev collaboration. Do not enable this yet in localset...
[lhc/web/wiklou.git] / includes / Metadata.php
index 3a939d1..af40ab2 100644 (file)
@@ -15,7 +15,7 @@
  *
  *  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
@@ -68,7 +68,7 @@ function wfCreativeCommonsRdf($article) {
 }
 
 /**
- * @access private
+ * @private
  */
 function rdfSetup() {
        global $wgOut, $_SERVER;
@@ -87,7 +87,7 @@ function rdfSetup() {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcPrologue($url) {
        global $wgOutputEncoding;
@@ -104,7 +104,7 @@ function dcPrologue($url) {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcEpilogue() {
        print "
@@ -114,7 +114,7 @@ function dcEpilogue() {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcBasics($article) {
        global $wgContLanguageCode, $wgSitename;
@@ -146,7 +146,7 @@ function dcBasics($article) {
 }
 
 /**
- * @access private
+ * @private
  */
 function ccPrologue() {
        global $wgOutputEncoding;
@@ -160,7 +160,7 @@ function ccPrologue() {
 }
 
 /**
- * @access private
+ * @private
  */
 function ccSubPrologue($type, $url) {
        $url = htmlspecialchars( $url );
@@ -168,14 +168,14 @@ function ccSubPrologue($type, $url) {
 }
 
 /**
- * @access private
+ * @private
  */
 function ccSubEpilogue($type) {
        echo "  </cc:{$type}>\n";
 }
 
 /**
- * @access private
+ * @private
  */
 function ccLicense($terms) {
 
@@ -202,21 +202,21 @@ 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 );
@@ -224,7 +224,7 @@ function dcElement($name, $value) {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcDate($timestamp) {
        return substr($timestamp, 0, 4) . '-'
@@ -233,14 +233,14 @@ function dcDate($timestamp) {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcReallyFullUrl($title) {
        return $title->getFullURL();
 }
 
 /**
- * @access private
+ * @private
  */
 function dcPageOrString($name, $page, $str) {
        $nt = Title::newFromText($page);
@@ -253,14 +253,14 @@ function dcPageOrString($name, $page, $str) {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcPage($name, $title) {
        dcUrl($name, dcReallyFullUrl($title));
 }
 
 /**
- * @access private
+ * @private
  */
 function dcUrl($name, $url) {
        $url = htmlspecialchars( $url );
@@ -268,7 +268,7 @@ function dcUrl($name, $url) {
 }
 
 /**
- * @access private
+ * @private
  */
 function dcPerson($name, $id, $user_name='', $user_real_name='') {
        global $wgContLang;
@@ -289,7 +289,7 @@ function dcPerson($name, $id, $user_name='', $user_real_name='') {
 /**
  * Takes an arg, for future enhancement with different rights for
  * different pages.
- * @access private
+ * @private
  */
 function dcRights($article) {
 
@@ -307,7 +307,7 @@ function dcRights($article) {
 }
 
 /**
- * @access private
+ * @private
  */
 function ccGetTerms($url) {
        global $wgLicenseTerms;
@@ -321,7 +321,7 @@ function ccGetTerms($url) {
 }
 
 /**
- * @access private
+ * @private
  */
 function getKnownLicenses() {