Greg Sabino Mullane [Sun, 10 Feb 2008 16:59:44 +0000 (16:59 +0000)]
Delete from oldimage, then image, to account for possible foreign keys. Bug 12520. ISAKA Yoji.
Greg Sabino Mullane [Sun, 10 Feb 2008 16:50:38 +0000 (16:50 +0000)]
Fixes for 8.3 compatibility, addresses bug 12784.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:48:06 +0000 (15:48 +0000)]
Make Postgres 8.3 compatible.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:38:48 +0000 (15:38 +0000)]
Override replaceVars, other changes to support 8.3 install.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:36:13 +0000 (15:36 +0000)]
Oops, need to quote that define call.
Shinjiman [Sun, 10 Feb 2008 14:55:09 +0000 (14:55 +0000)]
tweak the Chinese message for the 'editinginterface' into the BetaWiki homepage in localised text
Greg Sabino Mullane [Sun, 10 Feb 2008 14:48:50 +0000 (14:48 +0000)]
Make the test table name a bit more descriptive.
Tim Starling [Sun, 10 Feb 2008 14:29:17 +0000 (14:29 +0000)]
Fixed total breakage of the local message cache since r30437
Greg Sabino Mullane [Sun, 10 Feb 2008 13:33:36 +0000 (13:33 +0000)]
We're stating CommandLineMode is true, but Exception.php won't know what STDERR is.
Huji [Sun, 10 Feb 2008 11:39:39 +0000 (11:39 +0000)]
Adding ParserFirstCallInit to the documentation
Siebrand Mazeland [Sun, 10 Feb 2008 10:05:49 +0000 (10:05 +0000)]
* fix Strict Standards: Declaration of NewPagesPage::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in SpecialNewpages.php
* remove EOL whitespace
Siebrand Mazeland [Sun, 10 Feb 2008 09:59:19 +0000 (09:59 +0000)]
* fix Strict Standards: Declaration of SpecialMostlinkedtemplates::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in SpecialMostlinkedtemplates.php
* remove EOL whitespace
River Tarnell [Sat, 9 Feb 2008 23:59:26 +0000 (23:59 +0000)]
the correct magic for PDF is "%PDF"
Siebrand Mazeland [Sat, 9 Feb 2008 22:13:44 +0000 (22:13 +0000)]
Update
Thomas Bleher [Sat, 9 Feb 2008 21:48:41 +0000 (21:48 +0000)]
A few trivial changes:
* Update some URLs (pages moved from meta to mw.org)
* Update and fix some comments
* Fix indentation and whitespace in phase3/includes/filerepo/ICRepo.php
Ilmari Karonen [Sat, 9 Feb 2008 20:39:32 +0000 (20:39 +0000)]
(bug 12815) Signature timestamps are now given in the time zone specified by
$wgLocaltimezone. Formerly the timestamp itself was always in UTC, while the
timezone code in parentheses came from $wgLocaltimezone or, if unset, from
the server environment.
Niklas Laxström [Sat, 9 Feb 2008 20:36:20 +0000 (20:36 +0000)]
* Plural for Welsh
Siebrand Mazeland [Sat, 9 Feb 2008 20:10:19 +0000 (20:10 +0000)]
Localisation updates for core messages from Betawiki (2008-02-09 21:01 CET)
Bertrand Grondin [Sat, 9 Feb 2008 19:21:33 +0000 (19:21 +0000)]
update skins, aliases, space names message from betawiki.
Niklas Laxström [Sat, 9 Feb 2008 16:24:09 +0000 (16:24 +0000)]
* Use full path (for example for apc.filters)
Bryan Tong Minh [Sat, 9 Feb 2008 13:40:16 +0000 (13:40 +0000)]
Add RepoGroup::getRepoByName, which gets a repo by its name as opposed to its index.
Rotem Liss [Sat, 9 Feb 2008 12:40:20 +0000 (12:40 +0000)]
Fix.
Rotem Liss [Sat, 9 Feb 2008 12:40:02 +0000 (12:40 +0000)]
Basic compatibility between tables: When deleting the old redirect (when moving over redirect), deleting its links records and revisions.
Bryan Tong Minh [Sat, 9 Feb 2008 12:32:32 +0000 (12:32 +0000)]
New hooks: LinksUpdate, LinksUpdateComplete. Add function getTitle to LinksUpdate.
Rotem Liss [Sat, 9 Feb 2008 11:45:53 +0000 (11:45 +0000)]
Fixing message cache updates for MediaWiki messages moves: article ID is now properly set in the Title objects while moving. Removing the direct use of LinkCache in favor of the Title::resetArticleID function. Also updating the cache of the old article.
Tim Starling [Sat, 9 Feb 2008 10:01:35 +0000 (10:01 +0000)]
Reset the message cache on action=purge of a MediaWiki namespace page. Delete the sidebar cache *after* the message cache is updated, not before. If you delete it before then the same version might get cached again.
Tim Starling [Sat, 9 Feb 2008 09:11:45 +0000 (09:11 +0000)]
Configurable expiry time for the sidebar cache
Huji [Sat, 9 Feb 2008 08:31:30 +0000 (08:31 +0000)]
Bumping style version number.
Huji [Sat, 9 Feb 2008 08:24:16 +0000 (08:24 +0000)]
Moving the RTL fixes to monobook. Adding documentation. Minimizing the effect on non-Gecko browsers.
Aryeh Gregor [Fri, 8 Feb 2008 20:27:32 +0000 (20:27 +0000)]
Fix typos from r30716. text-aling is not a recognized CSS property. :) Syntax highlighting is good for catching this kind of thing.
Huji [Fri, 8 Feb 2008 17:20:04 +0000 (17:20 +0000)]
* Image caption elements are now styled using a linked CSS (fixes bug 12869)
* A bug with Gecko browsers is fixed (lists were not floated correctly in RTL).
Siebrand Mazeland [Fri, 8 Feb 2008 15:12:55 +0000 (15:12 +0000)]
Localisation updates for core messages from Betawiki (2008-02-08 16:01 CET)
Rotem Liss [Fri, 8 Feb 2008 14:30:12 +0000 (14:30 +0000)]
Update.
Tim Starling [Fri, 8 Feb 2008 07:12:38 +0000 (07:12 +0000)]
Add an X-Vary-Options header, as per my proposed squid patch
Shinjiman [Fri, 8 Feb 2008 04:11:33 +0000 (04:11 +0000)]
better wording for the Cantonese and Old Time Chinese / Late Time Chinese translations
Shinjiman [Fri, 8 Feb 2008 04:06:48 +0000 (04:06 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
* Re-adding Chinese fallbacks for the extension messages
Siebrand Mazeland [Thu, 7 Feb 2008 22:06:25 +0000 (22:06 +0000)]
Localisation updates for core messages from Betawiki (2008-02-07 22:52 CET)
Siebrand Mazeland [Thu, 7 Feb 2008 21:50:32 +0000 (21:50 +0000)]
Escape a few apostrophs
Siebrand Mazeland [Thu, 7 Feb 2008 21:48:50 +0000 (21:48 +0000)]
Update 'editinguser'. Clearer message, more information.
Suggested by: SPQRobin
River Tarnell [Thu, 7 Feb 2008 16:39:41 +0000 (16:39 +0000)]
format the sitesub, site notice and usermessage boxes into a single box with footer-grad border. this gives a consistent look to all of them, clearly divided from the content. when no boxes are displayed, the containing div has no height and the gradient doesn't show
Roan Kattouw [Thu, 7 Feb 2008 15:58:53 +0000 (15:58 +0000)]
API: Updating credits to reflect my having replaced Yuri as de facto API lead developer, and referring to mediawiki-api and Bugzilla for questions/suggestions
Siebrand Mazeland [Thu, 7 Feb 2008 15:24:19 +0000 (15:24 +0000)]
Change fallback to Spanish
Roan Kattouw [Thu, 7 Feb 2008 15:17:42 +0000 (15:17 +0000)]
(bug 12944) Filter categorymembers by timestamp
Roan Kattouw [Thu, 7 Feb 2008 12:21:48 +0000 (12:21 +0000)]
(bug 12953) prop=imageinfo should only set query-continue when there is only one title; trying to overwrite a previously set query-continue causes a fatal error
Huji [Thu, 7 Feb 2008 10:25:18 +0000 (10:25 +0000)]
Adding/updating Persian translations
Huji [Thu, 7 Feb 2008 09:54:12 +0000 (09:54 +0000)]
(bug 12952) Using Nosuchusershort instead of Nosuchuser when account creatio is disabled
Aryeh Gregor [Wed, 6 Feb 2008 23:26:35 +0000 (23:26 +0000)]
And $wgStyleVersion.
Aryeh Gregor [Wed, 6 Feb 2008 23:25:33 +0000 (23:25 +0000)]
(bug 12857) Patrol link on new pages should clear floats
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