Hi @all,
can somebody tell me how to change the "default fallback language"?
I tried to replace the 'en' language-code in the following lines (Language.php)
to realise it. But seems there are more changes to do.
if ( $code != 'en' ) {
$fallback = 'en';
} else {
$fallback = false;
}
This leads to the following warning-message on the one hand:
Warning: array_slice() [function.array-slice]: The first argument should be an
array in F:\xampp\htdocs\mediawiki-1.11.0\languages\Language.php on line 1153
and to a incorrect output of the 'edit'-links like this on the other hand:
<editsection-brackets>
Hi All,
I have the entire page-articles dump in MySQL database now. I understand
that all the text is supposed to be in the "text" table, but I can only
find redirections there.
How do I get the actual text?
How do I get the info boxes?
How do I work with the database to get any information in general?
Where can I find extraction from MySQL examples?
Thanks
Osnat
P Please consider the environment before printing this e-mail
Hi @all,
I used this line of code to get the content of an article within version 1.7.1
Now I did a upgrade to 1.11.0, and it doesn't work anymore?
Where's the problem?
Petr,
> Date: Mon, 29 Oct 2007 20:26:12 +0100
> From: "Petr Kadlec" <petr.kadlec(a)gmail.com>
> Subject: Re: [Wikitech-l] Special:Upload - where to find preset text
> for description/source field?
>
> On 29/10/2007, Uwe Baumbach <U.Baumbach(a)web.de> wrote:
> > can one help and tell me where to set/change preset text for the
> > description/source field (wpUploadDescription) in Special:Upload ??
>
> AFAIK there is currently no such functionality built into MediaWiki
> (although it would be trivial) and the only way to prefill the field
> is using JavaScript, which is exactly what is done on de:wp: (and
> other wikis including Commons) ? see
> http://de.wikipedia.org/wiki/MediaWiki:Onlyifuploading.js (referenced
> in http://de.wikipedia.org/wiki/MediaWiki:Monobook.js)
Thank You!!
This was the info I needed.
[[MediaWiki:Onlyifuploading.js]] is not on the [[Special:Allmessages]] - so I did not see it - not even the reference in Monobbok.js - bad eyes!!
THX again and Ahoi!
--
Ich freue mich auf Deine/Ihre Antwort!
Uwe (Baumbach)
U.Baumbach(a)web.de
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
An automated run of parserTests.php showed the following failures:
This is MediaWiki version 1.12alpha (r27046).
Reading tests from "maintenance/parserTests.txt"...
Reading tests from "extensions/Cite/citeParserTests.txt"...
Reading tests from "extensions/Poem/poemParserTests.txt"...
Reading tests from "extensions/LabeledSectionTransclusion/lstParserTests.txt"...
17 still FAILING test(s) :(
* URL-encoding in URL functions (single parameter) [Has never passed]
* URL-encoding in URL functions (multiple parameters) [Has never passed]
* Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html) [Has never passed]
* Link containing double-single-quotes '' (bug 4598) [Has never passed]
* message transform: <noinclude> in transcluded template (bug 4926) [Has never passed]
* message transform: <onlyinclude> in transcluded template (bug 4926) [Has never passed]
* BUG 1887, part 2: A <math> with a thumbnail- math enabled [Has never passed]
* HTML bullet list, unclosed tags (bug 5497) [Has never passed]
* HTML ordered list, unclosed tags (bug 5497) [Has never passed]
* HTML nested bullet list, open tags (bug 5497) [Has never passed]
* HTML nested ordered list, open tags (bug 5497) [Has never passed]
* Inline HTML vs wiki block nesting [Has never passed]
* Mixing markup for italics and bold [Has never passed]
* dt/dd/dl test [Has never passed]
* Images with the "|" character in the comment [Has never passed]
* Parents of subpages, two levels up, without trailing slash or name. [Has never passed]
* Parents of subpages, two levels up, with lots of extra trailing slashes. [Has never passed]
Passed 527 of 544 tests (96.88%)... 17 tests failed!
First of all i would apologize if this question is not related to this
community.
I am trying to run the following query on the Wikipedia data and this
query is running for the last 36 hours now. Can anyone please tell me
is this normal time for such queries on Wikipedia data?
Another questions is: Do we have some service where we can query
offline wikipedia data and get our desired results?
select rev_page, rev_user, rev_user_text, count(rev_user)
from revision
where
rev_user IN
(
select r1.rev_user
from revision r1, revision r2
where r1.rev_user <> r2.rev_user and r1.rev_user <> 0 and r2.rev_user
<> 0 and r1.rev_page = r2.rev_page
group by r1.rev_user
)
group by rev_user
order by rev_page, rev_user;
--
Fawad Nazir
http://www.geocities.com/nazir_fawad/
On 10/29/07, gmaxwell(a)svn.wikimedia.org <gmaxwell(a)svn.wikimedia.org> wrote:
> Revision: 27025
> Author: gmaxwell
> Date: 2007-10-29 20:38:58 +0000 (Mon, 29 Oct 2007)
>
> Log Message:
> -----------
> Resolve bug 1405 (http://bugzilla.wikimedia.org/show_bug.cgi?id=1405). New option $wgUseNPPatrol allows for patrolling of new pages for projects where the overall editing rate is too high to make patrolling useful in the general case. This change is based on the patch by Thue Janus Kristensen.
>
> Modified Paths:
> --------------
> trunk/phase3/includes/Article.php
> trunk/phase3/includes/DefaultSettings.php
> trunk/phase3/includes/SpecialNewpages.php
> trunk/phase3/languages/messages/MessagesEn.php
I guess let me be the first to remind you: remember the RELEASE-NOTES! :)
Hi,
I try to display just a part of the content in an article, by using attributes
within a tag extension.
The non-matched content isn't displayed indeed, but it leeds to empty space in
the middle of the article.
Is it maybe possible to cut of the matched content in some way, so that these
gaps disappear?
greets...demagggus
hello,
the pywikipedia subversion repository was damaged and contained revisions with
invalid properties like 'svn:executable *.txt', which caused the svn client
to give errors and not work. i have repaired it by manually renaming these
broken properties.
- river.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
can one help and tell me where to set/change preset text for the
description/source field (wpUploadDescription) in Special:Upload ??
In de.wikipedia.org that is:
{{Information
|Beschreibung =
|Quelle =
|Urheber =
|Datum =
|Genehmigung =
|Andere Versionen =
|Anmerkungen =
}}
We want to use "our" preset text.
Uwe (Baumbach)
U.Baumbach(a)web.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJieaFEbayCH8zXkRAnw5AJ9fiyHHSLKGmuGpWU3wIMEvlCPrMQCbBpiH
OevaqloWVT3rRtjzJO+Tdl8=
=x5ax
-----END PGP SIGNATURE-----