This is rather an easy easy hack: There are many code snippets and scripts posted in the wiki providing help for developers and maintainers. These code snippets should be highlighted by using the wiki-internal syntax highlight with the <source> tag. Posted source code is mostly using the <pre> tags or whitespace in front of the code. Example edit: https://wiki.documentfoundation.org/index.php?title=Development/Accessibility&curid=13458&diff=95116&oldid=95113 A list of supported languages can be found at https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages
Hey, I'd like to work on this bug. But which all wiki pages i need to edit ? Can a list of links be provided? I have read the example edit and understood what needs to be done.
Well, that's the tricky part of that "EasyHack": we simply don't have a list. We simply cannot search for <pre> in mediawikis own search engine nor we are able to search for it using google (Or at least as far as I know). The only solution would be to get a list of pages by a scan of a database dumb (by using e.g. AWB). If you find an extension or any other possibility, I might install anything if that helps. Otherwise this task includes much manual searching... :-(
Haha. Sweet ! Okay, I would like to try this manually then. What about the privileges to edit the wiki page? Will you grant them ?
simply create an account at https://wiki.documentfoundation.org/index.php?title=Special:UserLogin&type=signup and you have edit rights. You might get (because of our actual configuration) warnings about getting blocked if you create too many edits in a too short time. Ignore that and wait e.g. a day if hitting these warnings too often. ;-)
Ohh. Okay. I have got the list of all the pages , and there a lot of them. I'll start editing and respond back when all pages are done. Thanks.
What should be the source language of the script which is being displayed on git. for example: https://wiki.documentfoundation.org/WikiAction/edit/QA/HowToBibisect has a pre tag , what will be the source tage for these types?
(In reply to sehgalvibhor from comment #6) > What should be the source language of the script which is being displayed on > git. for example: > https://wiki.documentfoundation.org/WikiAction/edit/QA/HowToBibisect > has a pre tag , what will be the source tage for these types? good question. The git output in the pre tags is actually not "converable" to use highlight. the lines like > git bisect log can be transformed to <syntaxhighlight language="bash"> git bisect log </syntaxhighlight>
another example just found: https://wiki.documentfoundation.org/Development/lode
ticket moved to redmine https://redmine.documentfoundation.org/issues/1347
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillInfra TopicWiki) [NinjaEdit]