Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5059
PDPatch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:17 PM
2014-11-21 22:17:54 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
PDPatch
View Options
--- 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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4622
Default Alt Text
PDPatch (1 KB)
Attached To
Mode
T17125: Include a radio button on the installation screen allowing the wiki's contents to be licensed from the get-go as public domain
Attached
Detach File
Event Timeline
Log In to Comment