-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.3.0
- Loading branch information
Showing
21 changed files
with
434 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:projects/controller/internal/actionHelper.dart'; | ||
import 'package:projects/style/textStyles.dart' as customStyles; | ||
import 'package:projects/style/unorderedListWidget.dart'; | ||
|
||
class LicenseGuide extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Text("License Guide"), | ||
), | ||
body: Center( | ||
child: ListView( | ||
padding: EdgeInsets.all(16), | ||
children: [ | ||
Text("Acceptable licenses", style: customStyles.headerText), | ||
Divider(), | ||
Text( | ||
"A copyright license is a formal permission stating who may use a copyrighted work and how they may use it. A license can only be granted by the copyright holder, which is usually the author (photographer, painter or similar). ", | ||
style: customStyles.articleText, | ||
), | ||
Text( | ||
'All copyrighted material on Commons (not in the public domain) must be licensed under a free license that specifically and irrevocably allows anyone to use the material for any purpose; simply writing that "the material may be used freely by anyone" or similar is not sufficient. In particular, the license must meet the following conditions: ', | ||
style: customStyles.articleText, | ||
), | ||
UnorderedList([ | ||
"Republication and distribution must be allowed.", | ||
"Publication of derivative work must be allowed.", | ||
"Commercial use of the work must be allowed.", | ||
"The license must be perpetual (non-expiring) and non-revocable.", | ||
"Acknowledgment of all authors/contributors of a work may be required.", | ||
"Publication of derivative work under the same license may be required.", | ||
"For digital distribution, use of open file formats free of digital restrictions management (DRM) may be required." | ||
], customStyles.articleText), | ||
Text("Licenses supported by Commons Uploader", | ||
style: customStyles.headerText), | ||
Divider(), | ||
Text( | ||
"In Commons Uploader, you can select one of the five most commonly used licenses for uploading Media to Wikimedia Commons. These include: ", | ||
style: customStyles.articleText, | ||
), | ||
UnorderedList([ | ||
"CC0", | ||
"Attribution 3.0", | ||
"Attribution-ShareAlike 3.0", | ||
"Attribution 4.0", | ||
"Attribution-ShareAlike 4.0", | ||
], customStyles.articleText), | ||
Text( | ||
"The main similarity between all these licenses is that they allow others distribute, remix, adapt, and build upon your work, even commercially, as long as they credit you for the original creation. The only exception to this is the CCO license, where the author does not need to be credited.", | ||
style: customStyles.articleText, | ||
), | ||
Padding(padding: EdgeInsets.only(bottom: 8)), | ||
TextButton( | ||
child: Text("Read more"), | ||
onPressed: () async { | ||
String url = | ||
"https://commons.wikimedia.org/wiki/Commons:Licensing"; | ||
ActionHelper().launchUrl(url); | ||
}, | ||
) | ||
], | ||
)), | ||
); | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.