How we can get language template in mediawiki - mediawiki

I am studying mediawiki, but i don't know how to translate created and existing pages. I have search in internet some others told like, give the syntax {{languages}} in your page, but i couldn't get Language template in wiki page, i don't know anyone help for me. How to translate the wiki page. Please any one give the instruction step-by-step for this.

I'm not sure I understand what you are asking for, but did you check the Translate extension?

Related

Can I communicate with another website with <script>?

I am working on a project where it communicates with a sites servers with a couple lines of HTML code, so I need a piece of code that sends a query or just does something with the separate website .
What have I tried? Well I have tried looking online but I didn't really find anything. And the code? I didn't try anything, I have no idea how to do it.
My code:
I said I didn't know how to do it, so there is no code.
Thanks for answering if you answered!
(If there are other programming languages involved, I don't mind)
I think you need to API from website which you want to use in your project.

Apple Help Book – Linking styles and Scripts like

I wondering whether there are some starting of templates for Apple help book.
As I am not a professional programmer, however, I have come across making apple help book. First of all, I was surprised by the apple help documentation quality. The author of Jekyll Apple Help called it Byzantine which was exactly my first impression. However, I was able to learn the basic concept.
When I have checked the way how Apple does tutorials for their applications I have realised that they use only simple HTML files without any JS and CSS.
So the question is:
How to do it like Apple?
Is it something which magically happens in apple help viewer?
Is there some hidden way how the styles and scripts are linked elsewhere?
If this is something which has to made manually
If I have to take care of JS and CSS – how to do that? Is it something which has to be programmed in x-code?
Or eventually, can somebody provide us with a documented help book template?
Apple does use Javascript. And a lot of it. For example if you look into their Pages.app help bundle you'll find at least 3 javascript files. It seems that these javascript files take care of loading and displaying the HTML files. So you won't find any javascript inside those.
Having said that, you don't actually need to use javascript unless you want the TOC button on the HelpViewer window to work. If you do, the Jekyll Apple Help project you mentioned already has the javascript required to make this work.
You should file a radar asking for updated documentation and sample code. I certainly did so when I was building my app's help book.

"Mark as favourite" feature for a web page

(I'm quite new to programming so forgive me for any incorrect terms! HTML and CSS are my strenghts.)
I'm currently working on a Joomla website for a music festival. One of its pages contains a schedule with a list of performing acts.
My ambitious goal is to build a feature that makes my website's users able to mark certain acts as their favourites. In practice, clicking an icon would give it a visual highlight or something like that. The ideal situation would be that the user shouldn't have to sign in to save one's choises. I guess the solution would have something to do with the browser's local storage?
Here's one example for what I mean. (This is NOT my site, just an example of something I'm looking for).
Can anyone help me to get started? Thanks in advance!
This extension, http://extensions.joomla.org/extension/my-shortlist , should help with little or no modifications to the template.
If the above doesn't help, then you can the JED (the Joomla Extensions Directory) for an extension that is better suited to your needs.

How to repeat a menu without using iFrames or PHP in simple HTML/CSS or XML?

sorry for this ultimately newb question. I want to create a menu and not have to repeat the code of the menu on every single web page. I have done this with iframes in the past, but I know they aren't recommended. I have a pretty decent knowledge of HTML & CSS but I feel like I am missing something big here.
I am also not looking for the PHP solution which I believe is represented by:
<?php include("navigation.html"); ?>
Is there a good tutorial I can follow? I've heard this can be done with XML but I haven't been able to find what I am looking for exactly, and don't have any knowledge with it in the past.
In what I think is a related problem, I want to be able to place my google analytics code on just my index page and have it reference the entire website of pages, not just the index. Again, what am I missing here? Do I need to be using a content management system of some sort to pull off this slightly dynamic task? I don't think so...
Thanks for your help and please let me know if I can clarify my question any better!
Why don't you want to use PHP? It can be done with JavaScript (using AJAX), but you need to provide search engines with a way to crawl your site if you go that route.
Using includes in PHP to achieve this is simple and requires extremely little knowledge. Much easier and more efficient than doing it with JS. Also, I don't see how XML would be of any help here unless you read it in with JS (in which you'd have the same issue mentioned above.)
Use server side includes as mentioned already. They are support by pretty much all major webservers so php is not even required.
Check out the following articles:
http://en.wikipedia.org/wiki/Server_Side_Includes
http://httpd.apache.org/docs/1.3/howto/ssi.html (from apache, note no php needed)
http://www.boutell.com/newfaq/creating/include.html
Good Luck
I'm not really sure what options you have other than a .php include. I'm not sure of why you would be avoiding PHP unless the server didn't support it, as it's very simple to do an include (you really don't even need to know PHP to do this except for the include statement).
For your analytics code, you could put this in a .js file and just include it on every page:
<script type="text/javascript" src="analytics.js"></script>
Hope this was at least slightly helpful.
How about javascript? You could write a Javascript file that is included on each page that you wish to display the menu. The javascript could read an XML that contains your menu items and generates HTML to display the menu.
Parse and XML document with JS
http://www.w3schools.com/Xml/xml_parser.asp
jQuery menu solutions
http://speckyboy.com/2010/12/01/15-super-simple-jquery-menu-and-navigation-plugins/

Flash parser for html

As I was working on this project for a friend of mine who is terrified of changing from HTML to flash, I realized that maybe there could be a bridge between them. So I started working on a flash project that would grab the HTML from his page and parse it to display it in flash. Although I am sure there are resources available for this already, I figured that the experts on SO might be willing to suffer through the logic of one user trying to develop this script.
So basically, I am not asking for an answer, I am asking for some step-by-step direction that could be posted so other people could see the logic behind breaking down this project. I think it would be really useful (not just for me, but for anyone wanting to learn more about objects and oop).
So, much like the thread between primarily Senocular and Rampage, this would be a thread where I would be the student asking the questions in a logical step-by-step manner and someone else (or someones else) could provide guidance.
Let me know if you are interested and I can start by posting what I have already written. We can go from there and I am sure it will prove insightful to anyone who reads it. If no one is interested, or no one has the time or inclination, no problem.
Best wishes,
Jase
Who in their right mind would change from html to flash for displaying a simple website? I don't see the logic behind it, it's more like you are trying too hard. Flash has its function in the web, as well as html does. If it's just for simple displaying, using flash is just the wrong way and won't make your website any better but worse because its loading time will be too long.
Goole Search retrieved these:
HTMLWrapper
Groe.org HTMLParser
There is an article about the 1st on *drawlogic. I think the seconds' home is on sourceforge here.
Thing is, browsers already do a fine job at parsing html code. Having the flash player parse html files not only does away with any accessibility advantage your markup can offer but it also feels like reinventing the wheel. If you need to display html content, leave it to the browser.
Slightly offtopic - Flashpaper can convert most HTML pages into swf format.
Given properly "disciplined" HTML, you can use the XML parser in the player for the basic parsing. Are you really talking about writing an HTML renderer in Flash though? Or just being able to pull information from HTML dynamically?