I want to create a MediaWiki template which shows different text depending on where it is on a page.
Specifically, it is before the first heading it should show text like, "this template is applicable to this whole page"
Alternatively, if it is within a section on a page (after a heading) it should show text like, "this template is spe...
Wikipedia stores all the information in the servers and the pages are presented by PHP. Is there a possible way to download and store the wikipedia content without actually crawling through the website. This way I save time and storage space, and later processing of the crawled data.
P.S. I know that the question formulation is bad but ...
I've installed Strong Password Extension for MediaWiki. However, in password changing page, when enter weak password, it just shows:
Your password is invalid or too short. It must have at least 6 characters and be different from your username.
I want to give the strong password rules in the message. Where can I modify the message? ...
The requirement is that I need to paste a long document in markdown format to a mediawiki site, which has no markdown extension installed.
All I can find about markdown, tools or modules/libraries, are in charge of converting markdown to HTML.
My question is: is there a convenient way to do the work from markdown to MediaWiki wikitext?
...
I'm using MediaWiki with mulitlingual subpages.
When I go to "english.com/Page_title" I want to load just that (which is the default)
When I go to "french.com/Page_title" I want to load the /fr subpage, which is "french.com/Page_title/fr"
and here's my current rules:
RewriteBase /
RewriteRule ^[^:]*\.(php|src|jpg|jpeg|png|gif|css|js...
I am trying to use unicode characters (Tibetan script, but similar issues must arise for Chinese, Devanagari, etc.) in MediaWiki software to create page names. However, after a certain number of Tibetan characters the system refuses to create a page because the settings in the underlying MySQL database allow for page titles to be only 25...
Hi,
I installed the MediaWiki-extension Semantic MediaWiki recently. In this extension you can define properties. They are like categories for values. If I define two properties like this:
[[StartYear::2000]] [[EndYear::2005]]
Is it possible to make calculations based on these properties if I do a semantic search. For example:
{{#a...
Hi Everyone,
I would like to convert a wikipedia content extracted with API to plain text.
Any tip??
...
Hello all,
I'm setting up a bunch of different language mediawiki's on one codebase. So far most of it is working, but I want to use a main page that looks different than the rest of the pages. To do this I originally just added some css rules that only applied to the main_page class:
body .page-Main_Page { <rules> }
The problem is t...
I have mediawiki 1.16 + fck editor (current snapshot).
If the wiki is set to english everything works fine but on hebrew and arabic the editor does not show, only the regular toolbar shows. Any ideas?
...
What would be easiest way to use MediaWiki cookies in some Python CGI scripts (on the same domain, ofc) for authentication (including MW's OpenID, especially)?
Access from python to MediaWiki database is possible, too.
...
I moderate a wiki where many users use the AutoWikiBrowser to rapidly edit. This is fine but it makes it harder to locate and deal with vandalism via the recent changes. Is there any way that I can create a custom edit flag to mark edits as semi-automated and allow users to hide them from the recent changes? Ideally this would come with ...
How does Wikipedia implement the "edit this section" feature for its articles, wherein a user can edit just a section of an article, rather than the whole article? I've tried crawling through mediawiki's code by myself, but it's a bit dense for me to understand. Here's my guess (but only a guess):
User click's on [edit] in an article....
URL:
http://en.wikipedia.org/w/api.php?action=parse&prop=text&page=Lost_(TV_series)&format=xml
this outputs something like:
<api><parse><text xml:space="preserve">text...</text></parse></api>
how do i get just the content between <text xml:space="preserve"> and </text>?
i used curl to fetch all the content from this ur...
I have Mediawiki install with big existing userbase, but i want to integrate it seamless in new Wordpress blog. If it is possible to integrate MediaWiki with Wordpress using existing Mediawiki's user database ?
...
I am looking for a tool for converting articles from PubMed's XML to MediaWiki format. Any pointers are appreciated. A prior discussion of the matter is at http://ff.im/qoDpM - with no workable solution in sight.
...
I need to use some PHP code inside of a MediaWiki form. Basically, I need to use some PHP date stuff and create a few infoboxes based on timeframes. Is there a way to use PHP to generate a "template" in the "edit" box?
I'm very new to developing with MediaWiki, so I'm not sure how MediaWiki exactly works, and this is a very small proj...
We could access all pages of Mediawiki by url ./wiki/Special:Allpages.
But there is not php file that named Special:Allpages. How does mediawiki implement it?
Thanks.
...
Hi,
I'm trying to integrate my mediawiki site with some custom python web apps. I have complete control over the mediawiki server, and am free to change the authentication plugin if needed. For the time being, I would like all users to login via a screen on the mediawiki page (or at least they should believe they are, the whole process ...
I have a mediawiki installation that I've customized with some of my own extensions. Here is the basic platform, pretty standard LAMP install.
Ubuntu Server
Apache 2
Mediawiki 1.15
PHP 5.2.6
MySQL 5.0.67
For the actual MW search I use Lucene (EzMwLucene). I also have custom extension that displays tabular data from a separate datab...