You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Christian Brenninkmeijer <an...@apache.org> on 2015/01/14 14:03:52 UTC

CMS diff: Test Page

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://taverna.apache.org/websiteMigration%2Ftest.md

Christian Brenninkmeijer

Index: trunk/content/websiteMigration/test.md
===================================================================
--- trunk/content/websiteMigration/test.md	(revision 1651543)
+++ trunk/content/websiteMigration/test.md	(working copy)
@@ -30,3 +30,11 @@
 | Content Cell  | Content Cell |
 | Content Cell  | Content Cell |
  
+Edit
+----
+To edit a page 
+<a href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))">edit of this page</a>
+
+If you add this link as a bookmark them it will work from any apache page.
+
+Note: An <code>@apache.org</code> account is required.
\ No newline at end of file


Re: CMS diff: Test Page

Posted by Stian Soiland-Reyes <st...@apache.org>.
https://github.com/apache/incubator-taverna-site

..has now been created (mirror from svn), so the Edit page could mention
the possibility of creating github pull requests as well.

The markdown renders well (except for exposing the license header):

https://github.com/apache/incubator-taverna-site/blob/trunk/content/edit.md

We would still have to do manual patching to accept changes from such pull
requests, but I guess there won't be hundreds of them.
On 14 Jan 2015 21:42, "Christian Brenninkmeijer" <br...@cs.man.ac.uk>
wrote:

> You can also make it a normal bookmark. Using the javascript as the
> location.
> It does not have to be on the toolbar to work from any page.
>
> The  login page is unavoidable but most browsers will remember you so it
> does not happen too often.
>
> On 14/01/2015 14:54, Stian Soiland-Reyes wrote:
>
>> .. but you intend to add it back in, with a link to /edit instead?
>> I'm OK with that.. I didn't personally find the bookmarklet as useful
>> as the direct link (as I never have the bookmark toolbar turned on),
>> but I can agree that it can be confusing due to it popping up HTTP
>> Basic Auth login. I also felt that it was an unnecessary and
>> old-fashioned stumbling block that would make it look like "Just don't
>> try to edit this page".
>>
>>

Re: CMS diff: Test Page

Posted by Christian Brenninkmeijer <br...@cs.man.ac.uk>.
You can also make it a normal bookmark. Using the javascript as the 
location.
It does not have to be on the toolbar to work from any page.

The  login page is unavoidable but most browsers will remember you so it 
does not happen too often.

On 14/01/2015 14:54, Stian Soiland-Reyes wrote:
> .. but you intend to add it back in, with a link to /edit instead?
> I'm OK with that.. I didn't personally find the bookmarklet as useful
> as the direct link (as I never have the bookmark toolbar turned on),
> but I can agree that it can be confusing due to it popping up HTTP
> Basic Auth login. I also felt that it was an unnecessary and
> old-fashioned stumbling block that would make it look like "Just don't
> try to edit this page".
>

Re: CMS diff: Test Page

Posted by Stian Soiland-Reyes <so...@cs.manchester.ac.uk>.
The template used to include 'Feel free to edit' automatically from

https://svn.apache.org/repos/asf/incubator/taverna/site/trunk/templates/skeleton.html


I see you just removed it:

commit 85a0898e6ecf7add056d3b54ee20a42c41476864
Author: brenninc <br...@13f79535-47bb-0310-9956-ffa450edef68>
Date:   Wed Jan 14 14:24:27 2015 +0000

    Removed Edit from every page

    git-svn-id:
https://svn.apache.org/repos/asf/incubator/taverna/site/trunk@1651679
13f79535-47bb-0310-9956-ffa450edef68

.. but you intend to add it back in, with a link to /edit instead?
I'm OK with that.. I didn't personally find the bookmarklet as useful
as the direct link (as I never have the bookmark toolbar turned on),
but I can agree that it can be confusing due to it popping up HTTP
Basic Auth login. I also felt that it was an unnecessary and
old-fashioned stumbling block that would make it look like "Just don't
try to edit this page".



Would it be smart to request git-svn mirroring to say
http://github.com/apache/incubator-taverna-site/ ? Then you can say
".. or raise a pull request" and just link to Github - editing pure
Markdown files in Github is straight forward even in the web
interface. (I've called them (.md rather than .Markdown) so that they
render in Github - For example:

 https://github.com/stain/incubator-taverna-site
 https://github.com/stain/incubator-taverna-site/blob/master/content/code/index.md

(somewhat predictable URIs there)


I raised  https://issues.apache.org/jira/browse/INFRA-9015


Example of existing Apache sites in Github:

https://github.com/apache/struts-site
https://github.com/apache/incubator-aurora-website

(most of these do not use the CMS, but require a manual build+publish
step by committers)


On 14 January 2015 at 13:32, Christian Brenninkmeijer
<br...@cs.man.ac.uk> wrote:
> Hi All,
>
> This email was autogenerated by the https://cms.apache.org when I did a test
> edit logged in as anonymous@apache.org
>
> (In my typical style when I see a big red button I push it to see what it
> does!)
>
> When I got to the commit stage instead of being allowed to commit it asked
> me to email a committer to approve the change.
> The default email for Taverna was this mailing list.
> The email was then first sent to the moderators of this mailing list for
> approval.
>
> Note: I have intentionally not yet done commit on the page linked to so
> others can see what that page looks ike.
>
> In Apache all committers to any project can commit to every project. This
> includes editting any webpage of any Apache project. So any Apache account
> (not just the Taverna ones) can edit any of our pages.
>
> However having looked at several other incubator webpages I see none of them
> have the "feel free to edit of this page
> <javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))>"
> link on every page.
>
> I will remove it and replace it with
> http://taverna.incubator.apache.org/edit where I will place some hints on
> how to edit the website.
>
> Christian
>
>
>
> On 14/01/2015 13:21, Christian Brenninkmeijer wrote:
>>
>> Clone URL (Committers only):
>>
>> https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://taverna.apache.org/websiteMigration%2Ftest.md
>>
>> Christian Brenninkmeijer
>>
>> Index: trunk/content/websiteMigration/test.md
>> ===================================================================
>> --- trunk/content/websiteMigration/test.md      (revision 1651543)
>> +++ trunk/content/websiteMigration/test.md      (working copy)
>> @@ -30,3 +30,11 @@
>>   | Content Cell  | Content Cell |
>>   | Content Cell  | Content Cell |
>>    +Edit
>> +----
>> +To edit a page
>> +<a
>> href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))">edit
>> of this page</a>
>> +
>> +If you add this link as a bookmark them it will work from any apache
>> page.
>> +
>> +Note: An <code>@apache.org</code> account is required.
>> \ No newline at end of file
>>
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718

Re: CMS diff: Test Page

Posted by Christian Brenninkmeijer <br...@cs.man.ac.uk>.
Hi All,

This email was autogenerated by the https://cms.apache.org when I did a 
test edit logged in as anonymous@apache.org

(In my typical style when I see a big red button I push it to see what 
it does!)

When I got to the commit stage instead of being allowed to commit it 
asked me to email a committer to approve the change.
The default email for Taverna was this mailing list.
The email was then first sent to the moderators of this mailing list for 
approval.

Note: I have intentionally not yet done commit on the page linked to so 
others can see what that page looks ike.

In Apache all committers to any project can commit to every project. 
This includes editting any webpage of any Apache project. So any Apache 
account (not just the Taverna ones) can edit any of our pages.

However having looked at several other incubator webpages I see none of 
them have the "feel free to edit of this page 
<javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))>" 
link on every page.

I will remove it and replace it with 
http://taverna.incubator.apache.org/edit where I will place some hints 
on how to edit the website.

Christian


On 14/01/2015 13:21, Christian Brenninkmeijer wrote:
> Clone URL (Committers only):
> https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://taverna.apache.org/websiteMigration%2Ftest.md
>
> Christian Brenninkmeijer
>
> Index: trunk/content/websiteMigration/test.md
> ===================================================================
> --- trunk/content/websiteMigration/test.md	(revision 1651543)
> +++ trunk/content/websiteMigration/test.md	(working copy)
> @@ -30,3 +30,11 @@
>   | Content Cell  | Content Cell |
>   | Content Cell  | Content Cell |
>    
> +Edit
> +----
> +To edit a page
> +<a href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))">edit of this page</a>
> +
> +If you add this link as a bookmark them it will work from any apache page.
> +
> +Note: An <code>@apache.org</code> account is required.
> \ No newline at end of file
>