Link in Wiki Source Box - mediawiki

I have an internal wiki I am using powered by MediaWiki. I am trying to add link within a
<source lang="c"></source>
area. Is this possible? If so, how?

This question is probably about the SyntaxHighlight GeSHi extension, that is bundled with newer versions of MediaWiki (so some users might not think of it as an extension). In that case, the answer is no.
The extension generates a <pre> element, that can, by definition, not include links.

Related

Which extension/skin Wikipedia uses from mobile? How can I mimic in my MediaWiki?

I've already tried a few times to understand which extension of MediaWiki is used by Wikipedia. Any hint?
https://en.wikipedia.org/wiki/Help:Mobile_access
The MinervaNeue skin and the MobileFrontend extension.

How to include jsfiddle (or equivalent) in github markdown?

I'm looking for a way to embed some html in my .md markdown files.
Actually, I would like to embed jsfiddle resource in my markdown.
Is there a way to accomplish this ?
It looks like current markdown specs does not provide a way to embed external html, even in github flavored markdown.
I have found the following project, from 2012, which is all about this, but I think it's only a kind of improvement proposal.
Extending Markdown/MarkdownSharp for jsFiddle embedding
Note that the previous article references similar discussions but targeting SO instead of GitHub ( Custom jsFiddle for Stack Overflow, Auto-embed jsFiddle into questions )
I checked the following references from GitHub without finding what I'm looking for ( Mastering Markdown, Writing on GitHub )
Is the feature voluntarily not supported in GitHub markdown, would it be in a near future ?
JSFiddle fiddles can be embedded using an <iframe>, and Markdown has always supported embedded HTML.
However for security reasons it is common for only a subset of HTML to be permitted. GitHub's whitelist doesn't include the <iframe> tag. I'm not aware of any way to do what you want that is compatible with GitHub's tag whitelist.
Simple answer: you can't. I tried using the <iframe> and the <script> tag in Markdown and it simply doesn't work.

Wrap long line of HTML doc in GitHub diff viewer?

This answer to a similar question mentions a recent feature addition that enables soft-wrapping for "prose". It seems that "prose" means markdown files. Anyone know how to enable wrapping for HTML documentation diffs?
While GitHub has soft-wrapping on prose diffs, there is no current support for auto-wrapping of HTML. GitHub support responded:
This is not possible currently, but we might add it in the future. Thanks for the suggestion, I'll add it to the Feature Request Listâ„¢ so the team can see it.
Looking forward to seeing this feature. I don't know if they have community voting set up for features.

How do you use Chrome Extensions to change CSS of a web site?

I'm looking to create an extension for personal and possibly personal friend usage as well that simply changes a few colors that are displayed on a website I visit. I use Reddit Enhancement Suite, which has options for 'Night mode' that completely changes the color appearance of Reddit.
I would like to know how to edit or inject CSS code to this website so that the colors used in the website are what I would like them to be when I view the page. Mind you, this is of course just in my browser or in another Chrome browser using my extension.
You can do exactly as you said: you can inject a CSS file or code into the page.
The easiest way is through the manifest (look at the CSS property).
You only need to complete your manifest.json in order for Chrome to know in which pages it has to insert your CSS file into.
If you want to decide programatically when to insert the CSS, you can use chrome.tabs.insertCSS(), where you can insert a CSS file or just the code as a string.
Instead of an extension, you could also do it in a user script. Then you can simply use GM_addStyle, just like with Greasemonkey scripts. It's much simpler to write and more lightweight in terms of memory usage.
There are already extensions made for this. The one I use is called Stylish, which only modifies appearance using CSS3 only, and not html. There are other extensions as well, do some google searches and you will find a few more.

Is there a way of including HTML pages without needing any javascript or server-side code, only HTML

Is there a way of including HTML pages without needing any javascript or server-side code, only HTML.
Basically I can't be sure if the server supports server side includes. I don't want to use javascript and I don't want to use any PHP or other server side functionality.
Is there any way to do this. At the moment I suspect not, but would be very interested if it were possible.
Use some frames in your page
HTML frames allow authors to present
documents in multiple views, which may
be independent windows or subwindows.
<iframe></iframe> is the tag you need to include inline floating frames.
Quick tip with iframes: Be sure you open and close the tag explicitly, if not some browsers will complain
You can use framesets.
HTML imports, part of HTML Components, aims to do exactly this.
HTML5rocks offers a great tutorial to get started with HTML imports.
According to can I use, only Chrome is supporting HTML imports today.