I'm +100 on this one, and I would like to see this also available in the "information" tab as well as being a "post-edit" proposal to the user.
Like adding at the top of the page.

"Thank you for your contribution, you can check the validity of your page using this link"

or something like that

We also need to review the "programming" right so that we also get some warnings / errors if user try to modify a page that would be affected by the change (like scripts needed programming right would now fail).
It's a bit off-topic but goes in the "verification" section.

Ludovic

Le 07/05/10 09:58, Vincent Massol a écrit :
On May 7, 2010, at 9:52 AM, Thomas Mortagne wrote:

On Fri, May 7, 2010 at 09:42, Sergiu Dumitriu<[email protected]>  wrote:
On 05/07/2010 09:14 AM, Vincent Massol wrote:
Hi,

Right now we check pages in our functional tests (xhtml validity, no error when 
executing the page, no failing macro).
I was wondering about the idea of having the checks done inside wiki pages so 
that we could provide a sanity check wiki page in the admin section for admins.
Then we would use that page from our junit test and people would also be able 
to run it too from inside their wiki.
Thus killing 2 birds with one stone
I think we're lacking such kind of tools for wiki admins and it could be 
interesting.
You mean some velocity/groovy script which checks things in the wiki,
like "does the document X exist, does the document Y have PR, does the
class Z exist", right? Yes, I like the idea.
No I think Vincent is talking about putting our XHTML/WCAG validity
tests inside the wiki instead of executed from junit tests during the
buid.

Current list:
- XHTML validity
- no failing macro
- no velocity warning (would require the ability to capture the console logs - 
we need that anyway, app logs should not go in the main xwiki logs and should 
accessible from the wiki itself)
-<add ideas here>

Note: For the "wanted links"/"broken links", it might be better to have it as a 
tab in the alldocs page IMO since this is useful not only to admins but also for users.

Thanks
-Vincent

But those tests would be useful yes.

Another idea would be to write selenium tests as HTML tables and run
them from the browser, this would allow to run the tests both from mvn
and from the running wiki.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs



--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

<<attachment: ludovic.vcf>>

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to