I am using [[File:example.jpg]] in my infobox, but it does not show, since I am writing for Serbian Wikipedia, and file is uploaded to Wikipedia in English. Is there a way to link to this file from other language Wikipedia?
It depends on. If you host your wiki and have access to the configuration of it, you could use $wgForeignFileRepos to point to the wiki where the file(s) is/are hosted. This basically allows anyone on your wiki to use images from the configured foreign wiki as if they were hosted on the same wiki.
However, if you're only the user of the wiki, you can not do that. MediaWiki does not allow to embed files from other wikis without the configuration change mentioned above.
Related
I have a webpage, actually a blog, posted with Github Pages. It's a simple HTML&CSS page. Normally, I create new files with my new posts in them and upload these files to my repository. However, I want to create an admin panel. Especially in order to post easily, and manage my blog (like adding tags, comments etc). I don't know where to start or what to use. I know how to program in C & C#, so it's not a problem if I have to learn a new language.
Any help would be appreciated.
You may be able to use a Headless CMS. These approaches normally are driven by git or some kind of API (you don't have to write any backend code) to add content to static sites such as yours. Although most of them work with markdown, so you may need some way to render the markdown into your HTML.
Headless CMS is normally used within Jamstack projects, so I'd suggest checking that out if that is something you're interested in.
I learned that I need server-side processing with languages like PHP or Phyton. However, Github Pages is a static site service and does not support dynamic web sites. So I will whether keep writing locally or consider another hosting services.
I built a blog with Jekyll , I write technical posts and something about my daily life. I want to make my technical posts available to anybody but posts about myself only available to my friends for privacy. How can I achieve this?
With Jekyll itself, you can’t (barring some arcane JavaScript client-side encryption). You can use your webserver’s access control settings, though. If you use Apache, you can use the .htaccess file to protect a certain folder with a password. And then you would need to set up Jekyll to output the protected posts into this folder only.
I want to use Boilerplate for my Adobe Business Catalyst Template. Every thing is fine but it(BC) do not allow .htaccess file as its an hosted solution. What alternatives are there to go without .htaccess file?
I also posted on official Business Catalyst Support Forum but all in vain.
Isn't Boilerplate just a HTML/CSS/JS framework? Why do you need access to .htaccess? You should just be able to FTP it across to your BC site and use it. By the way, BC doesn't allow access to .htaccess, but you don't need it in this case.
I am writing a web application (I am a newbie), where the markup is created by XSL and XML transformations and the style is declared by css files and also some use of JavaScript. I need to create a web page that part of its content is the information on files in a specific directory in the file system.
Any ideas?
Are you talking about the client's file system, or the server's?
If the client's, what you are asking is basically impossible for security reasons without some specific browser plugins/extensions (like a java applet with the right access) - you probably don't want to get into that.
If you are talking about the server file system, you will need some sort of server side language to read the file(s) and return them to browser requests. The sort of things that do that are PHP, ASP.NET, Ruby on Rails, etc...also look into Server Side Includes - that may be sufficient for your needs.
Do you mean the client's filesystem or the server's filesystem? If it's the client's, these tools are inadequate (as access to the client's OS is severely restricted for security purposes). I think most people go with a Java applet for stuff like that.
I need to
convert my Sandcastle Help File
Builder (SHFB) output that is a Web
site (HTML) to Media wiki format
Find a way to transfer/include the
converted pages directly into the
MediaWiki we have set up.
Any ideas? we have over 1000 pages of HTML files inthe Website (output of SHFB).
I thought of using a html2wiki converter ..I could think of looking around for a script to convert those 1000 pages into wiki format... that could take care of (1).
But I would still be left with the block in the last bit of the pipeline - how to feed converted pages directly into the Wiki?
Take a look at Help Server. It allows to publish .CHM / .HxS produced by any tool (including Sandcastle) on the web and provides URL-based integration API.
We use MediaWiki as well. A set of templates for it allows us to create links to class reference shared by Help Server. Some examples of such links can be found right on that page.
Note that DataObjects.Net Help web site is running on Help Server 2.X, but the newest one is 3.X (example web site is here).
I did some work with ingesting existing material from several sites into a comprehensive Wiki. It did not involve Sandcastle, but if you're dealing with HTML it shouldn't matter much. html2wiki extensions are out there, and from what I have read they can solve a lot of problems. I needed a little more control over each node in the DOM, so i used Simple HTML DOM Parser. It's in PHP and was easily dropped into Mediawiki's includes.
For creating the new pages, I ended up writing a small script that uses Mediawiki's Article class, specifically the doEdit function. this allows you to create new articles programatically, without user interaction. Of course, you'd want to be careful with this... The last thing you need is to create 1000 pages that are no good and have to be deleted. But perhaps this will help get you going.