Bug 700065

Summary: the wiki produces invalid XHTML
Product: [openSUSE] openSUSE.org Reporter: Christopher Yeleighton <giecrilj>
Component: WikiAssignee: Christian Boltz <suse-beta>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Minor    
Priority: P5 - None CC: bwiedemann, chcao, douglas.demaio, forgotten_V2M21rbu_F, giecrilj, suse-beta, tschmidt
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christopher Yeleighton 2011-06-15 12:37:00 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

The wiki pages are declared to be XHTML 1.0 Transitional.  A script inserted into every HEAD violates this declaration.


Reproducible: Always

Steps to Reproduce:
  1. Validate <URL: http://en.opensuse.org/Main_Page >.
  2. Inspect the document source.

Actual Results:  
  1. Line 21, Column 16: required attribute "type" not specified
  2. <script>

Expected Results:  
  1. No errors
  2. <script type="text/javascript" >
Comment 1 Thomas Schmidt 2011-06-27 09:34:11 UTC
It seems to come from 
<?php $this->html('headscripts') ?> 
maybe a mediawiki bug.
Comment 2 Christopher Yeleighton 2011-06-27 09:45:15 UTC
The MediaWiki home page does not have this bug (it is still invalid but for a different reason).
Comment 3 Forgotten User V2M21rbu_F 2012-10-09 18:36:25 UTC
Re-assigning to Connor Boyack in E-Marketing.
Comment 4 Connor Boyack 2012-10-11 17:15:19 UTC
I don't have access to the site, so hopefully this can be directed to whoever is responsible.

As noted in the opening post, the <script> tag being generated in the header does not have the attribute type="text/javascript" -- this needs to be added to validate, as the <script> tag can only be attribute-free in HTML5, which this site is not.

Connor
Comment 5 Connor Boyack 2012-10-11 17:16:16 UTC
Assigning back to Scott to determine who best to route this to.
Comment 6 Forgotten User V2M21rbu_F 2012-10-11 17:48:23 UTC
Re-submitting to Queue to be picked up by the responsible party.
Comment 7 Chenzi Cao 2015-04-06 08:09:03 UTC
Hi, would you please kindly help to double check whether this issue still exist? If it doesn't exist, would you mind helping to close this issues? Thank you!
Comment 8 Christopher Yeleighton 2015-05-23 21:42:47 UTC
The main page is still invalid, this time it is the STYLE element missing the TYPE attribute.
Comment 9 Bernhard Wiedemann 2015-05-25 14:36:37 UTC
It seems, there are more errors:
https://validator.w3.org/check?uri=https%3A%2F%2Fen.opensuse.org

https://github.com/openSUSE/wiki has the sources.
Comment 10 Chenzi Cao 2015-06-18 10:21:34 UTC
Hi Thomas, would you please help to have a look at here? Thank you!
Comment 11 Thomas Schmidt 2015-06-18 11:12:01 UTC
Sorry, I cannot work on the wiki right now.
Comment 12 Douglas DeMaio 2018-05-27 11:28:49 UTC
Issue has been fixed.