AgileApps Support Wiki Pre Release

User:Aeric/Copyright Notices

From AgileApps Support Wiki

Notes

General:

  • LJ Copyright range is 2003-current
  • AA copyright range is 2013-current
  • In the LJ wikis, the plan is to show "Copyright and Legal Notices" in the footer for LJ, AT&T and ISV skins.
    That text will link to the Copyrights page. (Awaiting approval.)

Javadocs:

  • Cannot regenerate LJ javadocs, due to new and removed APIs.
    Need to do a global search & replace to fix them.
  • In consequence, any time an LJ wiki is created in a new year, the global search & replace needs to be performed.
  • In the LJ Javadoc footers:
  • The link could point to the copyrights page in the current wiki version (AA or LJ), but it would take a 8.1 user, say, to the 10.0 wiki. Searching from there would lead to the wrong material.
  • The link could point to the copyright in the corresponding version of the wiki, but it's harder to keep up to date, and is one more thing to get correct each time a LJ wiki is released in a new year. (Something that is highly likely to happen to give new features to ISVs.)
  • THE ONLY VIABLE OPTION: The copyright link points directly to http://documentation/softwareag.com/legal
 

Affected Pages and Files

97 operations, in total.

Modify Settings

Edit files in FileZilla & post to server, using the #Settings for AA and LJ.

Page / Wiki aadev aa100 aawiki ljwiki lj100 lj90 lj82 lj81 rn63
LocalSettings.php (footer link) X X X X X X X X X
skins/lj7monobook.php (footer entries) X X X X X X X X n/a
skins/isvMonoBook.php n/a n/a n/a X X X X X n/a
skins/att.php n/a n/a n/a X X X X X n/a
skins/rnmonobook.php n/a n/a n/a n/a n/a n/a n/a n/a X
  • Fix needed to activate 81 lj skin:
BOGUS ERROR:
The problem was that My Preferences > Skin was set to use the custom skin.
(Sadly, there does not seem to be a setting that says, "None of the above. Use the default.")
  • Additional fixes to activate footers in ATT & ISV skins
Problem:
Footer-list code was included in an HTML comment-block
Solution: Moved HTML end-comment from after footer list (</ul>) to before start (<ul>)
Problem:
Files saved in BeyondCompare were in some format that had CR with no LF.
When read as a PHP script, the line that set the footer was attached to the comment line above.
Solution: Open in NotePad++ and fix Line Endings (Edit > EOL Conversion > Unix format)

 

Modify Wiki Pages

Page / Wiki aadev aa100 aawiki ljwiki lj100 lj90 lj82 lj81 rn63
MediaWiki:Copyright (adds non-link text) X X X X X X X X X
Copyrights (legal text) X X X X X X X X X

 

Fix AA Javadocs

  • Modify build file to set Javadoc date and insert it into Javadocs footer
<syntaxhighlight lang="xml" enclose="div">

<tstamp>

 <format property="YEAR" pattern="yyyy" />

</tstamp>

 ...

<bottom><![CDATA[<a href="http://agileappscloud.info/wiki/Copyrights" target="_blank">Copyright © 2003-${YEAR} Software AG</a>]]></bottom> </syntaxhighlight>

  • Regenerate
Wiki: aadev aawiki aa100
Post X X X

 

Add copyright notices to AA PDFs (/articles)

  1. Add copyright notice and details to:
    • 2013- Build an App
    • 2013- Customizing ServiceDesk
    • 2014- Intro to DCM
  2. Post to aadev.
  3. Publish aadev to aawiki.
  4. In aa100:
    x-Publish the separate articles from SVN.
    x-Copy the article index page from aadev.
    x-Change the link on the Welcome page to point to the index-page.
Page / Wiki aadev aawiki aa100
Customizing Service Desk X X
Build an App X X
Intro to DCM X X

 

Fix LJ Javadocs

2003-current

  • Cannot regenerate these, due to Access Profile and other APIs that do not apply to LJ.
  • Regular expression find: <i>Copyright .*</i>
  • Replace with:
    <font size="-1"><a href="http://lj.platformatyourservice.com/wiki/Copyrights" target="_blank">Copyright and Legal Notices</a></font>
  • Process needs to be repeated for a new wiki in a new year
Wiki: ljwiki lj100 lj90 lj82 lj81 rn63
Zip and download X X X X X n/a
Global search & replace X X X X X n/a
Rezip, upload, unpack X n/a

 

Add copyright notices to LJ PDFs (/whitepapers)

Add copyright notice and details:

  • 2011- ljAgile Dev and Test
  • 2011- ljCollaborative Development
  • 2011- ljHosting Infrastructure
  • 2011- ljOperational Policies
  • 2011- ljSecurity Features

Regenerate and upload to wikis:

Page / Wiki add notice gen PDF ljwiki lj100 lj90 lj82 lj81
ljAgile Dev and Test X X X X X X X
ljCollaborative Development X X
ljHosting Infrastructure X X
ljOperational Policies X X
ljSecurity Features X X
 

Settings

AA WIKIs

LocalSettings.php
Add:
$YEAR = date('Y');
line 139:
$wgRightsPage = "Copyrights"; # Title of a wiki page that describes licenses and copyrights
$wgRightsUrl = "";            # -OR- Title of an external URL that does the same
$wgRightsText = "Copyright &copy; 2003-$YEAR Software AG"; 
                              # Text of the link created for the above
$wgRightsIcon = "";           # Image to place at left side of footer
MediaWiki:Copyright
$1.

LJ WIKIs

LocalSettings.php (line 139)
$wgRightsPage = "Copyrights"; # Title of a wiki page that describes licenses and copyrights
$wgRightsUrl = "";            # -OR- Title of an external URL that does the same
$wgRightsText = "Copyright and Legal Notices"; # Text of the link created for the above
$wgRightsIcon = "";           # Image to place at left side of footer
MediaWiki:Copyright
$1.
Javadocs footer:
<font size="-1"><a href="http://lj.platformatyourservice.com/wiki/Copyrights">Copyright and Legal Notices</a></font>

Skins

  • skins/lj7MonoBook.php, line 345
  • skins/ATT.php, line 655
  • skins/IsvMonoBook.php, line 547
//Generate additional footer links
// removed  'numberofwatchingusers', 'credits', 'privacy', 'about', 'tagline'
$footerlinks = array('copyright', 'lastmod', 'viewcount');
Notes:
  • Conditional tests for skin-names don't work inside MediaWiki:Copyright
  • Template transclusions DO work, but conditional tests inside those templates do NOT work
  • Solution: The logo is at the top of the page, so use "Copyright and Legal Notices" for LJ, ATT, and ISV skins

Copyrights Page

Copyrights - text supplied by legal
Copyright © 2003-{{CURRENTYEAR}} Software AG, Darmstadt, Germany and/or Software 
AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its 
affiliates and/or their licensors.

The name Software AG and all Software AG product names are 
either trademarks or registered trademarks of Software AG and/or 
Software AG USA Inc. and/or its subsidiaries and/or its affiliates 
and/or their licensors. Other company and product names mentioned 
herein may be trademarks of their respective owners. 

Detailed information on trademarks and patents owned by 
Software AG and/or its subsidiaries is located at
http://documentation.softwareag.com/legal/.

This software may include portions of third-party products. For 
third-party copyright notices and license terms, please refer to 
"License Texts, Copyright Notices and Disclaimers of Third Party 
Products". This document is part of the product documentation, 
located at http://documentation.softwareag.com/legal/ and/or in 
the root installation directory of the licensed product(s).