Raimond Spekking [Thu, 20 Dec 2007 18:26:52 +0000 (18:26 +0000)]
* (bug 12145) Update Kazakh translations
Patch by AlefZet
Raimond Spekking [Thu, 20 Dec 2007 18:19:09 +0000 (18:19 +0000)]
Add digit transformation for Kurdish - Arabic script (Sorani)
Rotem Liss [Thu, 20 Dec 2007 15:59:39 +0000 (15:59 +0000)]
Calculate the Hebrew calendar from the start of the year, not from passover.
Raimond Spekking [Thu, 20 Dec 2007 15:31:48 +0000 (15:31 +0000)]
* Updates German
Rotem Liss [Thu, 20 Dec 2007 06:03:46 +0000 (06:03 +0000)]
Typo.
Aaron Schulz [Thu, 20 Dec 2007 03:09:19 +0000 (03:09 +0000)]
Fix bug where message cache was not updated for page moves to MediaWiki namespace. If one wanted to make a custom message and made it under the wrong name, moving the page to correct one didn't register.
Brion Vibber [Thu, 20 Dec 2007 02:50:16 +0000 (02:50 +0000)]
Cleanup from r28400: avoid duplication between manually calling multiple passes of recent changes rebuild by giving them a nice wrapper function.
Brion Vibber [Thu, 20 Dec 2007 02:40:02 +0000 (02:40 +0000)]
Tweak to r28390:
Instead of disabling the 'Compare selected revisions' button when there's only one revision, just don't show it.
We don't show any radio buttons in this case either, so there's nothing to consider submitting if we wanted to; it's cleaner to just leave it out.
Brion Vibber [Thu, 20 Dec 2007 01:16:14 +0000 (01:16 +0000)]
Use addQuotes() consistently when building lists of group and user names.
Some were missing the quoting, using raw strencode(). This caused mysql errors at best, and hypothetically could be used for some kind of sql injection. :)
I'd recommend making further refactoring to use the query-building functions ($db->select, $db->update, etc) to avoid having to do these by hand.
Greg Sabino Mullane [Thu, 20 Dec 2007 00:39:40 +0000 (00:39 +0000)]
Minor tweak to support new format in parserTest
Siebrand Mazeland [Wed, 19 Dec 2007 23:58:48 +0000 (23:58 +0000)]
Localisation updates from Betawiki (2007-12-20 0:49 CET).
* an, ar, ast, bg, crh-cyrl, crh-latn, ext, haw, hr, hu, lb, nl, no, ru, sdc, sma
Siebrand Mazeland [Wed, 19 Dec 2007 23:40:44 +0000 (23:40 +0000)]
* fix typo
* rebuilt language file using rebuildLanguage.php
Rotem Liss [Wed, 19 Dec 2007 19:00:36 +0000 (19:00 +0000)]
Various cleanups and fixes.
Rotem Liss [Wed, 19 Dec 2007 18:01:21 +0000 (18:01 +0000)]
Fixing translation.
Rotem Liss [Wed, 19 Dec 2007 17:59:53 +0000 (17:59 +0000)]
Code style, avoiding warnings.
Rotem Liss [Wed, 19 Dec 2007 17:54:54 +0000 (17:54 +0000)]
Update.
Siebrand Mazeland [Wed, 19 Dec 2007 12:58:04 +0000 (12:58 +0000)]
Adding kri: Krio
Siebrand Mazeland [Wed, 19 Dec 2007 08:17:45 +0000 (08:17 +0000)]
* remove incorrect message from haw
* fix typos in hu
Siebrand Mazeland [Wed, 19 Dec 2007 07:51:39 +0000 (07:51 +0000)]
be, got (new), haw (new), ht, hu, ig (new), lb, nl, oc, sdc, to (new), wuu
Siebrand Mazeland [Wed, 19 Dec 2007 07:37:19 +0000 (07:37 +0000)]
Set fallback for Wu CHinese to Simplified Chinese
Raimond Spekking [Wed, 19 Dec 2007 07:34:32 +0000 (07:34 +0000)]
* Updates German
* Update messages.inc
Andrew Garrett [Wed, 19 Dec 2007 02:18:12 +0000 (02:18 +0000)]
Grammatical correction in RELEASE-NOTES.
Andrew Garrett [Wed, 19 Dec 2007 02:16:35 +0000 (02:16 +0000)]
* Update rollback RELEASE-NOTES.
* Add RELEASE-NOTES from last commit (somehow lost).
Andrew Garrett [Wed, 19 Dec 2007 02:05:48 +0000 (02:05 +0000)]
Userrights work. Changes:
* Behaviour of $wgAddGroups and $wgRemoveGroups changed. New behaviour:
* * Granting the userrights privilege allows arbitrary changing of rights.
* * Without the userrights privilege, a user will be able to add and/or remove the groups specified in $wgAddGroups and $wgRemoveGroups for any groups they are in.
* Merge interwiki code from the MakeSysop extension into core.
* New permission userrights-interwiki for changing user rights on foreign wikis.
Shinjiman [Wed, 19 Dec 2007 02:00:32 +0000 (02:00 +0000)]
link fix, per r28635
Brion Vibber [Wed, 19 Dec 2007 01:42:51 +0000 (01:42 +0000)]
Fix regression in 28274: autodiscovery feed links were linked with feed=rss regardless of actual type
Brion Vibber [Wed, 19 Dec 2007 01:33:44 +0000 (01:33 +0000)]
* Fix regression -- missing feed links in sidebar on Special:Recentchanges
Was removed in r26058 while adding default autodiscovery links to the whole
site, presumably without realizing that this would remove the sidebar links
when one is actually on RC.
Brion Vibber [Wed, 19 Dec 2007 00:10:08 +0000 (00:10 +0000)]
* (bug 12346) XML fix when body double-click and click handlers are present
Siebrand Mazeland [Tue, 18 Dec 2007 23:43:26 +0000 (23:43 +0000)]
Fix typo
Siebrand Mazeland [Tue, 18 Dec 2007 22:48:11 +0000 (22:48 +0000)]
Fixes
Raimond Spekking [Tue, 18 Dec 2007 21:22:16 +0000 (21:22 +0000)]
* Updates Kurdish (arabic script)
Brion Vibber [Tue, 18 Dec 2007 20:58:37 +0000 (20:58 +0000)]
* (bug 12296) Simplify cache epoch in default LocalSettings.php
Siebrand Mazeland [Tue, 18 Dec 2007 19:40:13 +0000 (19:40 +0000)]
Fixes
Siebrand Mazeland [Tue, 18 Dec 2007 18:59:48 +0000 (18:59 +0000)]
Link fix
Rotem Liss [Tue, 18 Dec 2007 17:19:50 +0000 (17:19 +0000)]
Add comment from messages.inc.
Aryeh Gregor [Tue, 18 Dec 2007 16:39:57 +0000 (16:39 +0000)]
Revert 28517 for now. Puts non-standards-compliant code in shared.css to work around a Firefox/IE bug, and consequently breaks display for Opera, Safari, Konqueror, and any other browser that behaves correctly here (probably also future versions of FF and IE). It fixes that in Monobook only, and only for a small subset of affected browsers (Opera 7 and KHTML). The correct code should be in shared.css, with workarounds for IE and Firefox for all skins.
Furthermore, it's not clear to me why 1.2em was chosen, and it doesn't always seem to work. See <http://encyclopedia.tw/wiki/%E8%AC%9B%E5%80%92%E7%B7%9A> for a page (non-Wikimedia, non-English) where the edit links are noticeably too high due, apparently, to this.
See also bug 12340, caused by this.
Greg Sabino Mullane [Tue, 18 Dec 2007 15:46:53 +0000 (15:46 +0000)]
Allow --record option if parserTests.php to work when using Postgres
Greg Sabino Mullane [Tue, 18 Dec 2007 15:44:18 +0000 (15:44 +0000)]
Add currentSequenceValue() function.
Greg Sabino Mullane [Tue, 18 Dec 2007 15:14:23 +0000 (15:14 +0000)]
Only create 'searchindex' table for parser tests if DB is MySQL. Per bug 585.
Siebrand Mazeland [Tue, 18 Dec 2007 13:51:05 +0000 (13:51 +0000)]
Remove message that should not have survived cleanup
Siebrand Mazeland [Tue, 18 Dec 2007 13:28:21 +0000 (13:28 +0000)]
Localisation updates from Betawiki (2007-12-18 14:09 CET).
* ast, fo, ja, kaa, lb, lt, sdc, sw (new), wo, wuu
Shinjiman [Tue, 18 Dec 2007 02:09:06 +0000 (02:09 +0000)]
adding comma-separator for Old Chinese / Late Time Chinese language, per discussion with ItsMine
Raimond Spekking [Mon, 17 Dec 2007 23:44:29 +0000 (23:44 +0000)]
* Rename new message 'filetype-separator' (r28530) to the more generic message name 'comma-separator'.
Can be useful for other still hardcoded comma separations.
Andrew Garrett [Mon, 17 Dec 2007 23:40:30 +0000 (23:40 +0000)]
Revert r28576 (by me). Violates the RfC spec on email (mailbox local-part is case-sensitive according to RfC2821)
Siebrand Mazeland [Mon, 17 Dec 2007 22:17:48 +0000 (22:17 +0000)]
Localisation updates from Betawiki (2007-12-17 23:09 CET).
* an, ar, ast, ca, el, hr, lb, sdc, stq, sv
Rotem Liss [Mon, 17 Dec 2007 19:28:20 +0000 (19:28 +0000)]
Update.
Rotem Liss [Mon, 17 Dec 2007 19:15:22 +0000 (19:15 +0000)]
Wording.
Huji [Mon, 17 Dec 2007 18:55:36 +0000 (18:55 +0000)]
Adding missing translations
Siebrand Mazeland [Mon, 17 Dec 2007 18:36:20 +0000 (18:36 +0000)]
Add comment for 'ipboptions'
Raimond Spekking [Mon, 17 Dec 2007 18:35:10 +0000 (18:35 +0000)]
* Updates German
Raimond Spekking [Mon, 17 Dec 2007 15:31:32 +0000 (15:31 +0000)]
* (bug 12145) Update Kazakh translations
Patch by AlefZet
Tim Starling [Mon, 17 Dec 2007 15:07:25 +0000 (15:07 +0000)]
* Strip comments early, before template expansion. This mimics the behaviour in the old parser. Added parser tests demonstrating the regression this fixes. The syntactic effect is fairly elegant, with comments taking effect at source level, as expected. The removeHTMLcomments() and preprocessToDom() passes could be merged at a later date.
* No need for comment stripping in Expr.php anymore
* Updated srvus() to roughly account for these changes
* Gave comment handling its own preprocessor tag, and split off comment handling from extensionSubstitution(). This only applies for the non-HTML modes, since in HTML mode, comments are stripped early.
* Strip comments from template argument names (PPFrame::newChild).
Thomas Bleher [Mon, 17 Dec 2007 12:24:16 +0000 (12:24 +0000)]
Find and fix places where globals were being used without declaring them.
All the places were found using a script, reproduced below, in case
anyone wants to reuse it.
But beware: The script produces a lot of false positives, because it
doesn't fully parse PHP and is fooled e.g. by javascript functions
inside of <<<HERE documents.
#!/usr/bin/perl -0777 -n
#
# find functions where variables starting with $wg are used without declaring them as globals
# should be given a list of files on the command line
#
# first remove all comments
# Warning: this may remove too much, e.g. if /* is inside a string
s,/\*.*?\*/,,sg; # remove multiline comments
s,#.*,,g; # remove single line comments starting with #
s,//.*,,g; # and the ones starting with //
s,(?<!\\)'.*?(?<!\\)',,g; # remove 'single quoted single-line strings'; may again remove too much
# now process each function one by one
# does not deal correctly with javascript functions embedded in <<HERE documents, unfortunately
#
while (/(^\s*)(?:(?:private|public|protected|static)\s+)*function\s+(\w+)\s*\((.*?)\)\s*\{(.*?)\1\}/msg) {
$fname = $2; $farg = $3; $fbody = $4;
%globals = ();
while ($farg =~ /(\$\w+)/g) { # treat arguments to functions as globals here
$globals{$1} = 1;
}
while ($fbody =~ /^\s*global\s+([^;]+?)\s*;/msg) { # find all global vars
for (split /\s*,\s*/, $1) {
$globals{$_} = 1;
}
}
while ($fbody =~ /(?<!\\)(\$wg\w+)\b/g) { # search for all variables starting with $wg and see if they are declared as globals
if (not $globals{$1}) {
print "Global $1 not declared in function $fname, file $ARGV\n";
$globals{$1} = 1; # warn only once
}
}
}
Niklas Laxström [Mon, 17 Dec 2007 08:41:18 +0000 (08:41 +0000)]
* Silence a warning of missing parameter
Siebrand Mazeland [Mon, 17 Dec 2007 08:16:56 +0000 (08:16 +0000)]
Localisation updates from Betawiki (2007-12-17 8:13 CET).
* an, arc, fi, wuu
Brion Vibber [Mon, 17 Dec 2007 05:17:24 +0000 (05:17 +0000)]
Update preferred URL for wikinfo interwiki
Shinjiman [Mon, 17 Dec 2007 03:44:52 +0000 (03:44 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Andrew Garrett [Mon, 17 Dec 2007 03:01:30 +0000 (03:01 +0000)]
* Ignore case in checking for a changed email address in Special:Preferences.
* Bug reported by MZMcBride.
Greg Sabino Mullane [Sun, 16 Dec 2007 23:35:14 +0000 (23:35 +0000)]
Yet more cleanup of the protected_titles stuff.
Siebrand Mazeland [Sun, 16 Dec 2007 23:26:03 +0000 (23:26 +0000)]
Localisation updates from Betawiki.
* an, ar, ast, br, ca, cs, el, fi, fr, gl, hsb, kn, la, lb, loz, nds, nl, oc, sdc, sk, sv
Siebrand Mazeland [Sun, 16 Dec 2007 22:15:40 +0000 (22:15 +0000)]
Adding languages to interface that will get conditional Wikimedia project approval.
Aryeh Gregor [Sun, 16 Dec 2007 21:27:57 +0000 (21:27 +0000)]
(bug 12314) r28417 kind of left out tables.sql . . . changed pt_by to pt_user and removed pt_user index from tables.sql. This fixes MySQL, PostgreSQL still needs to be fixed.
Aryeh Gregor [Sun, 16 Dec 2007 20:12:12 +0000 (20:12 +0000)]
That last commit needs RELEASE-NOTES.
Aryeh Gregor [Sun, 16 Dec 2007 20:01:04 +0000 (20:01 +0000)]
Error message is practically invisible among all the text. Added <strong class="error"> so it's noticeable.
Aryeh Gregor [Sun, 16 Dec 2007 19:57:40 +0000 (19:57 +0000)]
Moving pages seems to have been completely broken for unprotected titles; fixed that. Note that it doesn't seem as though it necessarily works properly for protected titles either (cursory test prohibited me as a sysop from moving over sysop protection), but I haven't looked too closely at that, I'm doing something else now.
Greg Sabino Mullane [Sun, 16 Dec 2007 19:04:14 +0000 (19:04 +0000)]
Add test for correct information in parserTests.inc
Greg Sabino Mullane [Sun, 16 Dec 2007 18:36:18 +0000 (18:36 +0000)]
Add exceptions for protected_titles table.
Aryeh Gregor [Sun, 16 Dec 2007 18:23:20 +0000 (18:23 +0000)]
Parser tests need to create a temporary protected_titles table to avoid errors.
Siebrand Mazeland [Sun, 16 Dec 2007 17:48:24 +0000 (17:48 +0000)]
* remove UI languages 'ninnan' and 'zh-cfr': unused duplicates
* fix 'mus' UI name
* update a few comments
* add message file for ik, ny, tk, ve (stub imported from Wikipedia projects)
* add message file with fallback 'it' for eml, lld, lmo
Greg Sabino Mullane [Sun, 16 Dec 2007 16:34:30 +0000 (16:34 +0000)]
Move initial connection checks into their own function.
Victor Vasiliev [Sun, 16 Dec 2007 15:46:27 +0000 (15:46 +0000)]
* Introduce new user preference: ajaxsearch
* Drop strange status bar message
Greg Sabino Mullane [Sun, 16 Dec 2007 15:39:24 +0000 (15:39 +0000)]
Make a note about the reserved word problem.
Greg Sabino Mullane [Sun, 16 Dec 2007 15:32:34 +0000 (15:32 +0000)]
Add protected_titles table.
Rotem Liss [Sun, 16 Dec 2007 15:08:36 +0000 (15:08 +0000)]
Update.
Rotem Liss [Sun, 16 Dec 2007 14:59:36 +0000 (14:59 +0000)]
Added link to the old title in Special:Movepage, change proposed by Agbad@hewiki.
Victor Vasiliev [Sun, 16 Dec 2007 13:32:10 +0000 (13:32 +0000)]
wfSajaxSearch cleanup:
* Normalize titles
* Support namespaces (including special pages)
* Hide empty results
* Other fixes
Siebrand Mazeland [Sun, 16 Dec 2007 12:15:58 +0000 (12:15 +0000)]
Add Eastern Yiddish as UI language
Victor Vasiliev [Sun, 16 Dec 2007 10:06:42 +0000 (10:06 +0000)]
Fix output of wfSajaxSearch:
* Escape all messages
* Use pretty output for terms instead of urlencoded one
Siebrand Mazeland [Sun, 16 Dec 2007 09:35:13 +0000 (09:35 +0000)]
Localisation updates from Betawiki.
* an, ar, cs, el, ext, fi, ja, kn, la, lb, loz, nl, no, oc, sdc, sq, sv, wuu
Victor Vasiliev [Sun, 16 Dec 2007 08:59:47 +0000 (08:59 +0000)]
* (bug 12321) API list=blocks reveals private data
Shinjiman [Sun, 16 Dec 2007 05:30:49 +0000 (05:30 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Aryeh Gregor [Sun, 16 Dec 2007 00:06:13 +0000 (00:06 +0000)]
* Special:Upload now lists permitted/prohibited file extensions.
* Split ambiguous filetype-badtype message into two new messages, filetype-unwanted-type and filetype-banned-type.
* Bits of minor code cleanup in SpecialUpload.php.
Andrew Garrett [Sat, 15 Dec 2007 23:51:54 +0000 (23:51 +0000)]
* Disallow moving to a title that has been protected with the protected titles functionality.
Niklas Laxström [Sat, 15 Dec 2007 21:30:41 +0000 (21:30 +0000)]
* Escape all output: (bug 12063) MediaWiki:Unusedimagestext is not wikified
Niklas Laxström [Sat, 15 Dec 2007 21:24:44 +0000 (21:24 +0000)]
* Escape all output
* Use semicolon-separator
Niklas Laxström [Sat, 15 Dec 2007 20:22:16 +0000 (20:22 +0000)]
* Cleaned up the code, and fixed the following bugs:
* (bug 12283) Special:Newpages forgets parameters
* (bug 12031) All namespaces doesn't work in Special:Newpages
Niklas Laxström [Sat, 15 Dec 2007 20:05:12 +0000 (20:05 +0000)]
* E_STRICT
Niklas Laxström [Sat, 15 Dec 2007 19:58:42 +0000 (19:58 +0000)]
* Typo in comment
Siebrand Mazeland [Sat, 15 Dec 2007 17:55:30 +0000 (17:55 +0000)]
Localisation updates from Betawiki.
* fr, fj (new), gd (new), hsb, nl, sdc
Leon Weber [Sat, 15 Dec 2007 16:28:38 +0000 (16:28 +0000)]
* (bug 11555) Make editsection links come after section seadlines. This has no visible effect to graphical browsers,
but fixes the issue that headlines look like "[edit] Headline" in text browsers.
Rotem Liss [Sat, 15 Dec 2007 14:35:15 +0000 (14:35 +0000)]
Adding xjt (to check the number of days in the Hebrew month), fixing methods order, cleaning up Hebrew calendar code and comments.
Rotem Liss [Sat, 15 Dec 2007 14:19:17 +0000 (14:19 +0000)]
Removing the link for clearing the watchlist.
Siebrand Mazeland [Sat, 15 Dec 2007 13:19:47 +0000 (13:19 +0000)]
* update RELEASE-NOTES
* set fallback for diq to tr
* update name for cbk-zam
Siebrand Mazeland [Sat, 15 Dec 2007 13:16:55 +0000 (13:16 +0000)]
Localisation updates from Betawiki.
* an, ar, ast, chr (new), crh-cyrl, crh-latn, cs, cy, diq (new), dsb, el, fr, hu, ja, lb, loz, lt, nl, no, qu, sah, sdc, su, tl, wo
Rotem Liss [Sat, 15 Dec 2007 12:39:50 +0000 (12:39 +0000)]
Update.
Shinjiman [Sat, 15 Dec 2007 11:10:02 +0000 (11:10 +0000)]
* housekeeping: marking 'image_sample' and 'media_sample' as optional
* Update Chinese translations
* Update Cantonese translations
Andrew Garrett [Sat, 15 Dec 2007 06:24:55 +0000 (06:24 +0000)]
* New special page: Special:Protectedtitles, which lists titles protected from creation.
* Requires schema change introduced in r28385, and perfected in later revisions.
Huji [Fri, 14 Dec 2007 19:18:12 +0000 (19:18 +0000)]
Improving the translation of some EXIF family messages.
Aryeh Gregor [Fri, 14 Dec 2007 19:14:12 +0000 (19:14 +0000)]
We want to be including MonoBook.php here, clearly, not Standard.php.
Siebrand Mazeland [Fri, 14 Dec 2007 11:02:43 +0000 (11:02 +0000)]
Localisation updates from Betawiki.
* an, ast, bg, ca, crh-cyrl, crh-latn, cs, cy, fr, hsb, hu, ja, kaa, la, lt, nl, oc, stq, sv, te, wuu, zh-hans