[Mediawiki-l] how to change html namespaces?
Daniel Hernández
daniel at degu.cl
Sat Nov 5 00:44:27 UTC 2011
Thanks a lot!
On Sat, 2011-11-05 at 00:02 +0100, Platonides wrote:
> El 04/11/11 23:06, Daniel Hernández escribió:
> > Hello,
>
> You can configure that in LocalSettings.php
>
>
> > But I want to change the DOCTYPE and the namespaces to:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
>
> I don't think there's an option to show the xml prolog, but it's optional.
>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
> > "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
>
> Change $wgDocType
>
> > <html xmlns="http://www.w3.org/1999/xhtml"
> > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
> > xmlns:owl="http://www.w3.org/2002/07/owl#"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
> > xmlns:foaf="http://xmlns.com/foaf/0.1/"
> > xmlns:dc="http://purl.org/dc/terms/" xml:lang="es">
>
> Register them in $wgXhtmlNamespaces
>
> > Maybe I need to change a file, where is it?
> >
> > Thanks!
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list