Siebrand Mazeland [Wed, 6 Feb 2008 21:01:37 +0000 (21:01 +0000)]
Localisation updates for core messages from Betawiki
* fi, nl specialPageAliases updated
Siebrand Mazeland [Wed, 6 Feb 2008 20:57:31 +0000 (20:57 +0000)]
Localisation updates for core messages from Betawiki
* sv specialPageAliases updated
Robert Leverington [Wed, 6 Feb 2008 20:06:47 +0000 (20:06 +0000)]
Alter constructor of Article object to no longer pass-by-reference, and instead use type hinting. This allows Title objects to be passed to the Article object as a construction parameter without first placing them in a variable, thus avoiding E_STRICT level errors.
Siebrand Mazeland [Wed, 6 Feb 2008 18:58:27 +0000 (18:58 +0000)]
Localisation updates for core messages from Betawiki (2008-02-06 19:31 CET)
Raimond Spekking [Wed, 6 Feb 2008 17:35:19 +0000 (17:35 +0000)]
Localisation updates German
Rotem Liss [Wed, 6 Feb 2008 17:21:50 +0000 (17:21 +0000)]
Update.
Tim Starling [Wed, 6 Feb 2008 16:53:21 +0000 (16:53 +0000)]
typo, thanks ialex
Tim Starling [Wed, 6 Feb 2008 15:56:25 +0000 (15:56 +0000)]
Allow a list of tags for settings fallback, in addition to wiki name, suffix and default. Committing for test on server.
Raimond Spekking [Wed, 6 Feb 2008 11:45:38 +0000 (11:45 +0000)]
* (bug 12239) Use different separators for autocomments
This avoids confusion if there was some text deleted (which is often marked as "- foobar" by contributors) or a normal comment.
Based on a patch of Danny B
Raimond Spekking [Wed, 6 Feb 2008 10:35:29 +0000 (10:35 +0000)]
Fix my british english slang from r30608: Licence -> License :) Thanks to Ialex.
Raimond Spekking [Wed, 6 Feb 2008 08:49:03 +0000 (08:49 +0000)]
* Prettify software section of [[Special:Version]] a bit
Raimond Spekking [Wed, 6 Feb 2008 06:01:58 +0000 (06:01 +0000)]
* (bug 12919) Use 'deletedrevision' message as content when deleting an old file version
Patch by Alexandre Emsenhuber
Raimond Spekking [Wed, 6 Feb 2008 05:50:24 +0000 (05:50 +0000)]
* (bug 12931) Fix wrong global variable in SpecialVersion
* Housekeeping RELEASE-NOTES: max line lenghts 80 chars.
Brion Vibber [Wed, 6 Feb 2008 01:23:12 +0000 (01:23 +0000)]
More file type checks...
* Switch XML type detection/validity check from dipping for XML processing instructions, doctypes, or subtags to just trying to parse it and checking the root element's name and namespace. This lets us properly handle SVG files which specify a namespace but no doctype, as well as rejecting files that aren't well-formed. (See http://meta.wikimedia.org/wiki/SVG_validity_checks for some samples of bad files I encountered.) Non-XML files will abort parsing pretty quickly, so this shouldn't be a big burden on other types that didn't hit a magic check.
* Fix Unicode unix script checks (er.... is that even right? :D), remove the iconv dependency
Ilmari Karonen [Wed, 6 Feb 2008 00:55:52 +0000 (00:55 +0000)]
Make the default robot policy a configurable option.
Also replace some odd hardcoded robot policies (for Special:Specialpages and for nonexistent images) with 'noindex,nofollow', which seems more
appropriate at least for the latter. I'm not quite sure _why_ Special:Specialpages was marked as 'index,nofollow' before; it's been that way since
r1284. It might be safe to just leave it at the default setting, but I don't really think it makes much difference either way.
Brion Vibber [Tue, 5 Feb 2008 23:13:17 +0000 (23:13 +0000)]
While we're in there, let's remove a dependency on iconv(). Do the UTF-16 to ASCII merging in the XML checks manually.
Siebrand Mazeland [Tue, 5 Feb 2008 22:51:13 +0000 (22:51 +0000)]
Localisation updates for core messages from Betawiki (2008-02-05 23:38 CET)
Brion Vibber [Tue, 5 Feb 2008 22:50:21 +0000 (22:50 +0000)]
More SVG detection fixes based on tests on files downloaded from commons...
* Make the autodetection work for UTF-16LE and UTF-16BE XML, which never worked before due to using the wrong string compare length
* Allow doctype strings to break over newlines
* Detect XML if there's a doctype even if there's no XML header (the xml header isn't required for UTF-8 files)
Brion Vibber [Tue, 5 Feb 2008 22:35:28 +0000 (22:35 +0000)]
Fix for XML type checks... don't look for the closing angle-brace on the root tag, as it may not be in the header chunk we read. Some SVGs have a lot of attributes on the root element!
Siebrand Mazeland [Tue, 5 Feb 2008 22:26:06 +0000 (22:26 +0000)]
Update URL to Betawiki. Now leads to a localised Main Page, if available.
Siebrand Mazeland [Tue, 5 Feb 2008 22:24:12 +0000 (22:24 +0000)]
Reorder arbitrary line breaks. No content changes.
Brion Vibber [Tue, 5 Feb 2008 22:11:36 +0000 (22:11 +0000)]
Make an initial stab at refactoring the mime type detection.
Adds magic header checks for the following types:
* MIDI
* Ogg
* PDF
* XCF
* DOS/Windows, Mach-O, and ELF executables
Locks down detection to prevent uploading different file types for the following extensions:
* mid, ogg, pdf, svg, wmf, xcf
This should now cover all the file types we have uploadable at Wikimedia public sites. (I've disabled the old StarOffice formats.)
Changed priority so our own checks happen in favor of the external checks, since we don't trust that stuff. Would like to see much further work here to replace it all.
Hopefully I haven't broken SVG files; I'm not 100% certain the built-in checks are correct.
Siebrand Mazeland [Tue, 5 Feb 2008 18:45:34 +0000 (18:45 +0000)]
Oops, committed before saving.
Siebrand Mazeland [Tue, 5 Feb 2008 18:44:44 +0000 (18:44 +0000)]
Change message 'prefs-watchlist-days' to "Days to show in watchlist:" (thanks to AlexSm)
Raimond Spekking [Tue, 5 Feb 2008 18:13:48 +0000 (18:13 +0000)]
Localisation updates German
Rotem Liss [Tue, 5 Feb 2008 15:59:50 +0000 (15:59 +0000)]
Update.
Siebrand Mazeland [Tue, 5 Feb 2008 15:48:50 +0000 (15:48 +0000)]
$specialPageAliases should remain absent for Russian, as this causes confusion instead of adding a better localised look and feel. Removed per discussion on Betawiki/irc.
Roan Kattouw [Tue, 5 Feb 2008 15:40:58 +0000 (15:40 +0000)]
(bug 12912) Made list=usercontribs' ucuser a multival. Concretely, this means you can grab contribs for multiple users at once (there is a catch, though, see comments on bug).
Raimond Spekking [Tue, 5 Feb 2008 13:48:09 +0000 (13:48 +0000)]
Localisation updates Thai
(bug 12921) patch by Anon Sricharoenchai
Rebuild message file
Siebrand Mazeland [Tue, 5 Feb 2008 13:03:00 +0000 (13:03 +0000)]
Fix incorrect file name
Raimond Spekking [Tue, 5 Feb 2008 12:40:41 +0000 (12:40 +0000)]
Remove useless brackets as we have a nice table since months
Document function a bit
Tim Starling [Tue, 5 Feb 2008 08:23:58 +0000 (08:23 +0000)]
* Added alternate preprocessor implementation "Preprocessor_Hash" which uses plain PHP hashtables for the underlying data structure. This removes the DOM dependence, avoids XML charset problems, and avoids the lack of memory accounting in DOM. It will hopefully serve as a better model for alternate language implementations than the DOM version. I haven't measured the preformance yet, but it should be comparable to Preprocessor_DOM. If the performance is good, this might be a better default than Preprocessor_DOM.
* Verified Preprocessor_Hash against Preprocessor_DOM with a differential fuzz test.
* Improved the utility of Parser_DiffTest by synchronising strip markers and allowing for loose object comparison.
* Abstracted PPDStack to make it usable in Preprocessor_Hash.
Aryeh Gregor [Tue, 5 Feb 2008 02:19:05 +0000 (02:19 +0000)]
Rephrase the somewhat confusing createaccount-text message, which solves bug 12660: When creating an account by e-mail, do not send the creator's IP address. Really we want to send the creator's username here, but that would involve a considerable amount of refactoring (which would probably be a good thing but not something I feel like doing at the moment).
Siebrand Mazeland [Mon, 4 Feb 2008 22:51:50 +0000 (22:51 +0000)]
Localisation updates for core messages from Betawiki (2008-02-04 23:35 CET)
Brion Vibber [Mon, 4 Feb 2008 22:37:33 +0000 (22:37 +0000)]
Not escaping strings makes me queasy, even if we're *pretty* sure that database timestamps will always format to a safe value!
Wrap an addQuotes around those timestamp calls...
Brion Vibber [Mon, 4 Feb 2008 21:57:50 +0000 (21:57 +0000)]
Revert r30537, 30539 (Special:API redirect)
Even if this has no security issues, it seems pretty broken and limited. The API likes to use characters which are illegal in page titles, so you couldn't pass them on from this special page. I don't recommend reapplying this.
Siebrand Mazeland [Mon, 4 Feb 2008 20:21:00 +0000 (20:21 +0000)]
add dummy language file for 'be-x-old'
Siebrand Mazeland [Mon, 4 Feb 2008 20:08:12 +0000 (20:08 +0000)]
* Remove the deprecated warning for 'als' again. String is used in interlanguage links and that would not look pretty.
* add dummy language file for 'simple'
Brion Vibber [Mon, 4 Feb 2008 19:53:21 +0000 (19:53 +0000)]
Reverting r30413 for now.
'parentpagename' seems to duplicate 'basepagename'; why?
Siebrand Mazeland [Mon, 4 Feb 2008 19:39:44 +0000 (19:39 +0000)]
Import from http://pih.wikipedia.org
Siebrand Mazeland [Mon, 4 Feb 2008 19:19:50 +0000 (19:19 +0000)]
Fix typo in comment
Siebrand Mazeland [Mon, 4 Feb 2008 19:11:20 +0000 (19:11 +0000)]
* more explicitly signal 'als', 'dk', and 'tp' are not being used
* add fall back for als: gsw
* add fall back for dk: da
* add fall back for nb: no
Siebrand Mazeland [Mon, 4 Feb 2008 18:50:18 +0000 (18:50 +0000)]
* update comment in Moldovan
* tp falls back to tokipona
* import from http://tokipona.wikia.com
Roan Kattouw [Mon, 4 Feb 2008 18:08:43 +0000 (18:08 +0000)]
Small esthetic fix
Huji [Mon, 4 Feb 2008 17:57:38 +0000 (17:57 +0000)]
(bug 12892) Poor tab indexing on "delete file" form
Roan Kattouw [Mon, 4 Feb 2008 17:53:07 +0000 (17:53 +0000)]
(bug 12905) Created [[Special:API]] which just 302s to $wgScriptPath/api.php
Greg Sabino Mullane [Mon, 4 Feb 2008 17:33:49 +0000 (17:33 +0000)]
When putting usernames in SQL comments, truncate using mb_ functions for utf usernames. Bug 12735.
Roan Kattouw [Mon, 4 Feb 2008 17:23:05 +0000 (17:23 +0000)]
Consistency
Roan Kattouw [Mon, 4 Feb 2008 16:58:51 +0000 (16:58 +0000)]
(bug 12898) imageusage and categorymembers lack consistency
Greg Sabino Mullane [Mon, 4 Feb 2008 16:45:09 +0000 (16:45 +0000)]
Bug 12768: make hasContraint schema aware. Thanks to Sven Klemm.
Greg Sabino Mullane [Mon, 4 Feb 2008 16:40:35 +0000 (16:40 +0000)]
Refactor Pl/Pgsql check so we can also attempt installing when connecting as superuser.
Siebrand Mazeland [Mon, 4 Feb 2008 14:57:05 +0000 (14:57 +0000)]
Add redirect from Moldovan to Romanian
Siebrand Mazeland [Mon, 4 Feb 2008 13:36:09 +0000 (13:36 +0000)]
Localisation updates for core messages from Betawiki (2008-02-04 14:06 CET)
Aaron Schulz [Mon, 4 Feb 2008 08:27:55 +0000 (08:27 +0000)]
At $time only
Aaron Schulz [Mon, 4 Feb 2008 08:18:55 +0000 (08:18 +0000)]
A file should be at $time
Victor Vasiliev [Mon, 4 Feb 2008 04:50:55 +0000 (04:50 +0000)]
Update some copyright dates to 2008
Victor Vasiliev [Mon, 4 Feb 2008 04:49:10 +0000 (04:49 +0000)]
Strip ?>'s
Victor Vasiliev [Mon, 4 Feb 2008 04:48:14 +0000 (04:48 +0000)]
* Use $wgScriptExtension for opensearch_desc.php
Shinjiman [Mon, 4 Feb 2008 04:29:40 +0000 (04:29 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Huji [Sun, 3 Feb 2008 22:16:27 +0000 (22:16 +0000)]
(bug 12888) Incorrect tranlation of messages pertaining unused categories in German.
Siebrand Mazeland [Sun, 3 Feb 2008 21:58:45 +0000 (21:58 +0000)]
Localisation updates for core messages from Betawiki (2008-02-03 22:50 CET)
River Tarnell [Sun, 3 Feb 2008 20:15:19 +0000 (20:15 +0000)]
bug #12894: missing css classes; new messages bar conflicts with tagline and subtitle; new messages bar should be less subtle
Bryan Tong Minh [Sun, 3 Feb 2008 19:29:59 +0000 (19:29 +0000)]
Added siprop=namespacealiases to meta=siteinfo
Roan Kattouw [Sun, 3 Feb 2008 19:03:01 +0000 (19:03 +0000)]
(bug 12875) Adding query-continue to prop=imageinfo. Patch by Bryan Tongh Minh.
Siebrand Mazeland [Sun, 3 Feb 2008 17:18:41 +0000 (17:18 +0000)]
Localisation updates for core messages from Betawiki
Siebrand Mazeland [Sun, 3 Feb 2008 15:14:40 +0000 (15:14 +0000)]
Localisation updates for core messages from Betawiki
* ml 'Wikipedia' confusion removed
River Tarnell [Sun, 3 Feb 2008 14:12:23 +0000 (14:12 +0000)]
bump wgStyleVersion for r30469
River Tarnell [Sun, 3 Feb 2008 14:10:05 +0000 (14:10 +0000)]
* add styling for <pre> blocks
* bug 12863: styling for new message box
Siebrand Mazeland [Sun, 3 Feb 2008 13:11:55 +0000 (13:11 +0000)]
Localisation updates for core messages from Betawiki
* nl magic words updated
Siebrand Mazeland [Sun, 3 Feb 2008 12:39:36 +0000 (12:39 +0000)]
Localisation updates for core messages from Betawiki (2008-02-03 13:34 CET)
Huji [Sun, 3 Feb 2008 09:27:13 +0000 (09:27 +0000)]
(bug 12887) No "name" attribute for TR tags.
Niklas Laxström [Sun, 3 Feb 2008 09:16:56 +0000 (09:16 +0000)]
* (bug 12885) Correction for Russian convertPlural function
Huji [Sun, 3 Feb 2008 09:16:09 +0000 (09:16 +0000)]
(bug 12876) Clear:both for footer in modern skin.
Aaron Schulz [Sun, 3 Feb 2008 08:43:58 +0000 (08:43 +0000)]
History should still look right when focusing on an old revision
Aaron Schulz [Sun, 3 Feb 2008 08:10:05 +0000 (08:10 +0000)]
Partial revert: invalid placeholder
Aaron Schulz [Sun, 3 Feb 2008 07:23:25 +0000 (07:23 +0000)]
Add time parameter here
Bryan Tong Minh [Sat, 2 Feb 2008 21:14:45 +0000 (21:14 +0000)]
In case the current image is not included return the correct amount of items.
Niklas Laxström [Sat, 2 Feb 2008 20:33:25 +0000 (20:33 +0000)]
* (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
Niklas Laxström [Sat, 2 Feb 2008 18:15:57 +0000 (18:15 +0000)]
* Refactor a little to reduce code duplication
* Check language code validity
Bryan Tong Minh [Sat, 2 Feb 2008 16:04:54 +0000 (16:04 +0000)]
Convert size, width and height to int, as before r29981
Siebrand Mazeland [Sat, 2 Feb 2008 15:43:57 +0000 (15:43 +0000)]
Localisation updates for core messages from Betawiki (2008-02-02 16:21 CET)
Niklas Laxström [Sat, 2 Feb 2008 14:05:13 +0000 (14:05 +0000)]
* Plural tweak for lt
Rotem Liss [Sat, 2 Feb 2008 11:49:18 +0000 (11:49 +0000)]
The comment of a time-limited protection now contains the date in the default format, rather than in the user's chosen format. Bug reported by User:Yonatan.
Rotem Liss [Sat, 2 Feb 2008 11:26:43 +0000 (11:26 +0000)]
Update.
Misza13 [Sat, 2 Feb 2008 00:56:41 +0000 (00:56 +0000)]
Adding {{ROOTPAGENAME}} (and {{ROOTPAGENAMEE}}) variables for accessing the page's root name (i.e. everything up to the first "/").
Also adding {{PARENTPAGENAME}} as an alias for {{BASEPAGENAME}}.
Brion Vibber [Sat, 2 Feb 2008 00:17:35 +0000 (00:17 +0000)]
Add a note about change in $wgTidyInternal behavior
Roan Kattouw [Fri, 1 Feb 2008 23:05:19 +0000 (23:05 +0000)]
API: Improving list=random. We now use the wrap-around from Title::getRandomTitle() to get enough pages anyway if we're unlucky, and check for duplicates.
Siebrand Mazeland [Fri, 1 Feb 2008 22:27:27 +0000 (22:27 +0000)]
Localisation updates for core messages from Betawiki (2008-02-01 23:18 CET)
Siebrand Mazeland [Fri, 1 Feb 2008 22:11:42 +0000 (22:11 +0000)]
* add message block comment in messages.inc for Filepath; was causing "Undefined index" errors on rebuildLanguage.php
* finish Filepath integration from r by adding Filepath messages from extension i18n file to MessagesXx.php files
* rebuildLanguage.php for touched files and removed obsolete messages
* mark Filepath OBSOLETE
* remove Filepath from Translate
Brion Vibber [Fri, 1 Feb 2008 20:39:09 +0000 (20:39 +0000)]
Work around {{urlencode:$1}} breakage in blockipsuccesstext (as on en.wikipedia.org) by doing parsing and message transform in one step.
Victor Vasiliev [Fri, 1 Feb 2008 20:05:20 +0000 (20:05 +0000)]
Merge Special:Filepath to the core
Roan Kattouw [Fri, 1 Feb 2008 19:26:58 +0000 (19:26 +0000)]
Changing UploadComplete hook call so it actually does what the docs say it does. Previous behavior made no sense whatsoever.
Roan Kattouw [Fri, 1 Feb 2008 14:46:46 +0000 (14:46 +0000)]
API: Adding uiprop=ratelimits to meta=userinfo. Note that this option only reveals rate limits applicable to the current user, not the entire $wgRateLimits array.
Roan Kattouw [Fri, 1 Feb 2008 14:40:14 +0000 (14:40 +0000)]
Removing unused global from User::pingLimiter()
Roan Kattouw [Fri, 1 Feb 2008 13:43:01 +0000 (13:43 +0000)]
API: Removing duplicate functionality from userinfo; it's implemented in list=users already. Probably forgot to commit this when introducing list=users
Bertrand Grondin [Fri, 1 Feb 2008 13:16:36 +0000 (13:16 +0000)]
Localisation updates for core and extended messages from Betawiki
Bertrand Grondin [Fri, 1 Feb 2008 11:00:19 +0000 (11:00 +0000)]
Localisation updates for core messages from Betawiki
Siebrand Mazeland [Fri, 1 Feb 2008 10:14:06 +0000 (10:14 +0000)]
Localisation updates for core messages from Betawiki (2008-02-01 11:04 CET)
River Tarnell [Fri, 1 Feb 2008 09:25:53 +0000 (09:25 +0000)]
missing images from monobook
Huji [Fri, 1 Feb 2008 07:53:26 +0000 (07:53 +0000)]
Adding/updating Persian translations