Hi there.

I've made some modifications to MediaWiki 1.17.0 that others might be 
interested in. I'd be flattered if some or all of them made it into the 
official MediaWiki release.

Firstly, I've added links to the W3C HTML validation service hosted by 
MIT. These show up as 'W3C HTML 5.0' icons next to the 'Powered by 
MediaWiki' icon at the bottom of the page, and link the user to the HTML 
validation service. I've found having this feature invaluable in helping 
me to get my wiki text that includes HTML valid. Unfortunately I've had 
to disable some features of MediaWiki in order for the validation 
service to pass the generated HTML. You can read about how I modified 
MediaWiki for W3C HTML validation at:

  http://www.progclub.org/wiki/Pcwiki#W3C_validation_icon

Secondly, and more importantly I feel, I've added extended links to the 
'section edit' links section. In addition to showing an 'edit' link, I 
include a 'link' link, and a 'top' link. 'top' just links to #top, 
nothing remarkable there. 'link' provides a link to the canonical URL 
for that section. My web-site is available via several domain names, 
www.progclub.org, progclub.org, progclub.info, etc. I have nominated 
'www.progclub.org' as the 'canonical' domain name to be used when 
publishing links, and nominated 'http' (rather than 'https') as the 
'canonical' scheme. In order to support canonical section links I had to 
make a few changes to the settings files, and update the linker, etc., 
as explained at:

  http://www.progclub.org/wiki/Pcwiki#Extended_edit_links

Anyway, that's it. Thought some of you might like to know. If you like 
the ideas but don't like the implementation, then please feel free to 
BYO implementation. Mine's a little bit less than perfect owing to no 
i18n support and me not knowing the best file to put my functions in. 
So, I'd be happy if someone else gave my code a spruce up.

Thanks!

John.








_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to