Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 10:17 PM
Size
1 KB
Referenced Files
None
Subscribers
None
--- C:\Users\Nathan\Desktop\Trunk\mediawiki-1.13.2\config\index.php Thu Oct 2 11:10:46 2008
+++ C:\Users\Nathan\Desktop\mediawiki-1.13.2\mediawiki-1.13.2\config\index.php Sat Nov 1 15:15:13 2008
@@ -689,6 +689,11 @@
$conf->RightsText = "GNU Free Documentation License 1.2";
$conf->RightsCode = "gfdl";
$conf->RightsIcon = '${wgScriptPath}/skins/common/images/gnu-fdl.png';
+} elseif( $conf->License == "public domain" ) {
+ $conf->RightsUrl = "http://en.wikipedia.org/wiki/Public_domain";
+ $conf->RightsText = "the laws governing public domain works";
+ $conf->RightsCode = "public domain";
+ $conf->RightsIcon = '${wgScriptPath}/skins/common/images/public_domain.png';
} elseif( $conf->License == "none" ) {
$conf->RightsUrl = $conf->RightsText = $conf->RightsCode = $conf->RightsIcon = "";
} else {
@@ -1180,6 +1185,7 @@
<ul class="plain">
<li><?php aField( $conf, "License", "No license metadata", "radio", "none" ); ?></li>
+ <li><?php aField( $conf, "License", "Public domain", "radio", "public domain" ); ?></li>
<li><?php aField( $conf, "License", "GNU Free Documentation License 1.2 (Wikipedia-compatible)", "radio", "gfdl" ); ?></li>
<li><?php
aField( $conf, "License", "A Creative Commons license - ", "radio", "cc" );
@@ -1588,7 +1594,7 @@
# Add slashes to strings for double quoting
$slconf = array_map( "escapePhpString", get_object_vars( $conf ) );
- if( $conf->License == 'gfdl' ) {
+ if( ($conf->License == 'gfdl') || ($conf->License == 'public domain')) {
# Needs literal string interpolation for the current style path
$slconf['RightsIcon'] = $conf->RightsIcon;
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4622
Default Alt Text
PDPatch (1 KB)

Event Timeline