Alexandre Emsenhuber [Sat, 8 Mar 2008 19:11:31 +0000 (19:11 +0000)]
Some cleanup :
* DB_READ -> DB_SLAVE
* DB_WRITE -> DB_MASTER
Siebrand Mazeland [Sat, 8 Mar 2008 16:36:33 +0000 (16:36 +0000)]
Localisation updates for core messages from Betawiki (2008-03-08 17:03 CET)
Huji [Sat, 8 Mar 2008 16:32:08 +0000 (16:32 +0000)]
* Adding/updating Persian translations
Alexandre Emsenhuber [Sat, 8 Mar 2008 16:22:05 +0000 (16:22 +0000)]
Withespaces fixes.
Rotem Liss [Sat, 8 Mar 2008 10:49:59 +0000 (10:49 +0000)]
Fixes.
Rotem Liss [Sat, 8 Mar 2008 10:46:51 +0000 (10:46 +0000)]
Adding the fix for lists in RTL wikis to more skins, and fixing the image toc.
Brion Vibber [Fri, 7 Mar 2008 23:30:19 +0000 (23:30 +0000)]
use wfLocalFile for file import -- any uploads will be local
Brion Vibber [Fri, 7 Mar 2008 23:14:30 +0000 (23:14 +0000)]
experimental --uploads option on importDump
Aryeh Gregor [Fri, 7 Mar 2008 22:26:29 +0000 (22:26 +0000)]
Typo
Anders Wegge Jakobsen [Fri, 7 Mar 2008 22:12:34 +0000 (22:12 +0000)]
Fix for 13281: Normalize header names as per RFC 2616
Aryeh Gregor [Fri, 7 Mar 2008 19:31:17 +0000 (19:31 +0000)]
Add colons to all messages due to change in r31676, using sed (except for French, where I added nbsp's manually, to be nice :) ).
Raimond Spekking [Fri, 7 Mar 2008 14:05:51 +0000 (14:05 +0000)]
Localisation updates German
Niklas Laxström [Fri, 7 Mar 2008 14:02:12 +0000 (14:02 +0000)]
* Parse MediaWiki message translations with a correct language setting on preview
Rotem Liss [Fri, 7 Mar 2008 13:09:09 +0000 (13:09 +0000)]
Update.
Niklas Laxström [Fri, 7 Mar 2008 10:35:19 +0000 (10:35 +0000)]
* Let's remove hardcoding together
Raimond Spekking [Fri, 7 Mar 2008 09:50:25 +0000 (09:50 +0000)]
* Replace hard coded colon with the new colon separator message
* Whitespaces
Rotem Liss [Thu, 6 Mar 2008 20:15:21 +0000 (20:15 +0000)]
Update.
Siebrand Mazeland [Thu, 6 Mar 2008 19:17:35 +0000 (19:17 +0000)]
Localisation updates for core messages from Betawiki (2008-03-06 20:03 CET)
Raimond Spekking [Thu, 6 Mar 2008 19:05:07 +0000 (19:05 +0000)]
* Add a nice fieldset to the input form to be consistent with other forms.
* Fix indention
Aryeh Gregor [Thu, 6 Mar 2008 19:01:13 +0000 (19:01 +0000)]
Mark new message as optional.
Aryeh Gregor [Thu, 6 Mar 2008 18:55:25 +0000 (18:55 +0000)]
Remove a couple of superfluous spaces.
Aryeh Gregor [Thu, 6 Mar 2008 18:54:22 +0000 (18:54 +0000)]
Replace last two check-ins, which were reverted (somehow I couldn't get svn diff -c or svn merge to work, kept asking for my passphrase repeatedly and did nothing). They made the colon and space part of the category link. Instead, use a colon-separator message. Really I'd like to have per-use messages for punctuation like this, since colons are used in lots of different contexts, but others don't seem to like that.
Raimond Spekking [Thu, 6 Mar 2008 18:51:52 +0000 (18:51 +0000)]
Revert r31627/r31630 by request of Simetrical
Yaron Koren [Thu, 6 Mar 2008 18:23:30 +0000 (18:23 +0000)]
Added new hook, 'BrokenLink'
Aryeh Gregor [Thu, 6 Mar 2008 17:59:34 +0000 (17:59 +0000)]
Fix hidden-categories too; thanks to Raymond. Didn't change the message key here, since it's so new and it already follows our standards.
Aryeh Gregor [Thu, 6 Mar 2008 17:53:29 +0000 (17:53 +0000)]
* (bug 13273) "Categories:" message at the bottom of the page shouldn't have hardcoded colon or space (changed message name 'pagecategories' to 'page-categories')
* Updated French translation so that the added spaces actually work
Raimond Spekking [Thu, 6 Mar 2008 17:27:35 +0000 (17:27 +0000)]
fix typo in message name.
Raimond Spekking [Thu, 6 Mar 2008 16:52:10 +0000 (16:52 +0000)]
* (bug 13274) Change links for messages to ucfirst (relevant for case-sensitive wikis)
Rotem Liss [Thu, 6 Mar 2008 15:48:34 +0000 (15:48 +0000)]
Update.
Aryeh Gregor [Thu, 6 Mar 2008 15:09:01 +0000 (15:09 +0000)]
Use shared.css for what it's supposed to be used for. If Chick really doesn't want this (was this just an oversight or was it intentional?), it can override it manually. RTL is still overduplicated.
Aryeh Gregor [Thu, 6 Mar 2008 15:01:45 +0000 (15:01 +0000)]
More typos
Aryeh Gregor [Thu, 6 Mar 2008 15:00:38 +0000 (15:00 +0000)]
Spelling
Raimond Spekking [Thu, 6 Mar 2008 14:59:28 +0000 (14:59 +0000)]
* Add links to page and file deletion forms to edit predefined delete reasons
This makes the forms a bit more consistent to special:blockip
Alexandre Emsenhuber [Thu, 6 Mar 2008 14:45:27 +0000 (14:45 +0000)]
(bug 13012) Use content messages for block options when generating the rc entry
Brion Vibber [Thu, 6 Mar 2008 07:24:29 +0000 (07:24 +0000)]
Some preliminary work on upload support for the XML importer.
Beginning some refactoring on the general xml code (icky!), with some basic upload support stubbed out.
Rotem Liss [Thu, 6 Mar 2008 07:24:13 +0000 (07:24 +0000)]
Update.
Andrew Garrett [Thu, 6 Mar 2008 04:49:02 +0000 (04:49 +0000)]
Fix errors in example for EditPage API module (referred to old names of parameters)
Brion Vibber [Thu, 6 Mar 2008 01:07:00 +0000 (01:07 +0000)]
* regression fix: make dumpUploads.php work again
* dumpUploads.php options now actually supported
* wfRelativePath() no longer includes spurious ".." when base path is "/"
* wfRelativePath() now returns full path for differing Windows drives
Brion Vibber [Wed, 5 Mar 2008 22:16:40 +0000 (22:16 +0000)]
Rearrange the updaters into chronological order, instead of four separate
groups by type with weird ordering within them.
This should make it a lot easier to avoid regressions due to unnoticed
dependencies, like the one we had in 1.11 which broke upgrades from 1.4 or
below, when someone didn't realize there was an ordering problem and moved
one of the updates for aesthetic grouping reasons. :) (r24608)
It also makes it easier to see when past updates were added, since they're
now grouped by version.
Extension updates are still using the 'add table', 'add field', 'add index'
grouping.
I also removed the special-case checks for whether to do updates to the user
table. This was presumably meant for shared-db situations to avoid running
updates multiple times, but there's no need for it as the updates all check
if they've been previously applied.
Huji [Wed, 5 Mar 2008 20:45:14 +0000 (20:45 +0000)]
* Adding/updating Persian translations
Brion Vibber [Wed, 5 Mar 2008 19:08:48 +0000 (19:08 +0000)]
Revert back to r31589. I really don't like this hardcoded special page template; definitely not something I want to see, even if it were properly localized. It feels ugly, fragile, and likely to cause massive confusion and inability to navigate sites consistently, never mind extensibility problems with extensions and new languages.
Alexandre Emsenhuber [Wed, 5 Mar 2008 17:54:44 +0000 (17:54 +0000)]
Update french (fr) localization
Rotem Liss [Wed, 5 Mar 2008 17:29:36 +0000 (17:29 +0000)]
Update.
Raimond Spekking [Wed, 5 Mar 2008 17:20:58 +0000 (17:20 +0000)]
Tweak to avoid duplication of special pages list into every language file.
Raimond Spekking [Wed, 5 Mar 2008 16:42:56 +0000 (16:42 +0000)]
Two fixes, thanks to Simetrical
Raimond Spekking [Wed, 5 Mar 2008 15:44:31 +0000 (15:44 +0000)]
* (bug 10457) Reorganize Special:Specialpages.
Customizable by editing [[MediaWiki:specialpages-tpl]]
Aryeh Gregor [Wed, 5 Mar 2008 15:21:17 +0000 (15:21 +0000)]
Typo
Alexandre Emsenhuber [Wed, 5 Mar 2008 13:50:17 +0000 (13:50 +0000)]
(bug 13110) Don't show "Permission error" page but "Rollback failed" if the edit is allready rolled back when using rollback or the user is the only author of the page. Also show the 'editcomment' message (like before) with the last edit comment if the last author changed.
Alexandre Emsenhuber [Wed, 5 Mar 2008 11:58:44 +0000 (11:58 +0000)]
replacing some calls from deprecated global functions to new modularized functions
Aryeh Gregor [Wed, 5 Mar 2008 04:01:13 +0000 (04:01 +0000)]
Note this too
Aryeh Gregor [Wed, 5 Mar 2008 03:50:12 +0000 (03:50 +0000)]
Add --old-redirects-only option to maintenance/refreshLinks.php, to add old redirects to the redirect table. This may be worth trying out on at least some of the smaller wikis. It seems to work correctly, and pretty quickly for a couple thousand redirects to fix, although truncating the redirect table and running it inevitably gives a different number (probably due to incorrect redirect table entries to start with). With the limit options, it might be tried on bigger wikis too.
Tim Starling [Wed, 5 Mar 2008 01:07:47 +0000 (01:07 +0000)]
Fix bug 13253: <NOINCLUDE>foo</NOINCLUDE> causes exception
Brion Vibber [Wed, 5 Mar 2008 00:28:33 +0000 (00:28 +0000)]
* (bug 13247) Prettified ISBN links
Brion Vibber [Wed, 5 Mar 2008 00:08:34 +0000 (00:08 +0000)]
Add some debugging notes to User::isValidUserName() rejections
Siebrand Mazeland [Tue, 4 Mar 2008 22:52:09 +0000 (22:52 +0000)]
Localisation updates for core messages from Betawiki (2008-03-04 23:40 CET)
Alexandre Emsenhuber [Tue, 4 Mar 2008 21:27:23 +0000 (21:27 +0000)]
* Removing some hardcoded 'edit' and 'move' restrict and replaced it $wgRestrictionTypes
* Withespaces fixes in Title.php
Huji [Tue, 4 Mar 2008 18:59:48 +0000 (18:59 +0000)]
* Adding/updating Persian translations
* Moving 'editinguser' to user-rights section, as it has nothing to do with editing
Rotem Liss [Tue, 4 Mar 2008 17:47:03 +0000 (17:47 +0000)]
Update.
Raimond Spekking [Tue, 4 Mar 2008 17:36:44 +0000 (17:36 +0000)]
* (bug 13019) Message cache for some extensions not loaded at time of editing
Bryan Tong Minh [Tue, 4 Mar 2008 17:29:05 +0000 (17:29 +0000)]
Show whether the WriteApi is enabled in meta=siteinfo.
Raimond Spekking [Tue, 4 Mar 2008 10:58:28 +0000 (10:58 +0000)]
Removed message 'intl', unused since ages.
Aryeh Gregor [Tue, 4 Mar 2008 03:22:08 +0000 (03:22 +0000)]
All skins should have the "mediawiki" class on the body element
Brion Vibber [Tue, 4 Mar 2008 02:03:52 +0000 (02:03 +0000)]
Some experimental support for including upload data in XML export, as specced. Usable with --uploads option on dumpBackups.php
Some issues:
* doesn't respond to the current v full-history modes
* won't pick up file entries with no corresponding page
* on default config, you may end up with 'localhost' in URLs :P
* synchronization and mutability problems
** DB lookups are made in the middle of the dump and may not be in sync with state at the beginning of the dump.
** URL to current version at time of dump could point to a different, future version in future
Bryan Tong Minh [Mon, 3 Mar 2008 22:19:03 +0000 (22:19 +0000)]
(bug 11401) Added xmldoublequote to xml formatter
Brion Vibber [Mon, 3 Mar 2008 19:54:22 +0000 (19:54 +0000)]
Revert r31505, r31510 (secureAndSplit hook).
This hook doesn't seem well thought out; a hook isn't given clean access to the various possible fields it's likely to want to manipulate, and generally feels a bit rushed.
Alexandre Emsenhuber [Mon, 3 Mar 2008 19:34:11 +0000 (19:34 +0000)]
setting property svn:keywords Id to api files that don't have it, for use in getVersion()
Alexandre Emsenhuber [Mon, 3 Mar 2008 18:19:52 +0000 (18:19 +0000)]
setting svn:eol-style native on ApiEditPage.php
Roan Kattouw [Mon, 3 Mar 2008 18:08:40 +0000 (18:08 +0000)]
API: Adding action=edit module
Bertrand Grondin [Mon, 3 Mar 2008 17:06:17 +0000 (17:06 +0000)]
Localisation updates for core and Special:Magic messages from Betawiki submitted by Borislav
Roan Kattouw [Mon, 3 Mar 2008 16:40:42 +0000 (16:40 +0000)]
APIEDIT_VODAFONE BRANCH MERGE:
* Adding EditPage::wasDeletedSinceLastEdit() to replace code in EditPage::edit() to avoid duplicating it in internalAttemptSave().
* Adding $wgTitle === null check to showEditForm() as some extensions (like ConfirmEdit) call it. For further explanation see comment.
Roan Kattouw [Mon, 3 Mar 2008 16:38:16 +0000 (16:38 +0000)]
Tweaking r31505 so changing $dbkey actually changes something.
Bertrand Grondin [Mon, 3 Mar 2008 16:29:45 +0000 (16:29 +0000)]
revert revision 31500. not tested enough
Alexandre Emsenhuber [Mon, 3 Mar 2008 16:22:40 +0000 (16:22 +0000)]
removed some unneeded spaces
Roan Kattouw [Mon, 3 Mar 2008 16:22:36 +0000 (16:22 +0000)]
(bug 13166) Adding TitleSecureAndSplit hook. Modified patch by Joshua Bacher
Bertrand Grondin [Mon, 3 Mar 2008 15:25:13 +0000 (15:25 +0000)]
Update Special magic messages core from BETAWIKi
Roan Kattouw [Mon, 3 Mar 2008 11:29:49 +0000 (11:29 +0000)]
API: Adding $wgAPIUCUserPrefixMinLength config variable to close a DOS window
Roan Kattouw [Mon, 3 Mar 2008 10:08:55 +0000 (10:08 +0000)]
API: Make spaces in ucuserprefix actually work
Brion Vibber [Mon, 3 Mar 2008 05:45:37 +0000 (05:45 +0000)]
Safety fixes for API:
* drop user credentials for JSON callback output
* anticipating future changes, don't report anon edit tokens in JSON callback output
Brion Vibber [Mon, 3 Mar 2008 02:48:38 +0000 (02:48 +0000)]
Correction to r31475 -- works with PHP 5.1 now.
Brion Vibber [Mon, 3 Mar 2008 02:19:21 +0000 (02:19 +0000)]
update a bunch of test cases for action=edit&redlink=1
Brion Vibber [Mon, 3 Mar 2008 02:17:28 +0000 (02:17 +0000)]
Revert r31473 -- causes fatal errors.
Brion Vibber [Mon, 3 Mar 2008 01:53:45 +0000 (01:53 +0000)]
* (bug 13211) Don't break edit buttons when Image namespace includes apostrophe
Huji [Sun, 2 Mar 2008 22:34:51 +0000 (22:34 +0000)]
* (bug 13214) <gallery> doesn't resize images which are smaller than 120*120
Alexandre Emsenhuber [Sun, 2 Mar 2008 21:51:58 +0000 (21:51 +0000)]
* Fix comment in Title::getUserPermissionsErrors() and Title::getUserPermissionsErrorsInternal(), missing $user parameter
* Remove unused global declaration of $wgUser in Title::getUserPermissionsErrors()
Brion Vibber [Sun, 2 Mar 2008 21:19:44 +0000 (21:19 +0000)]
Follow-up for bug 12723 -- use the opensearch-desc message for the link as well as the final xml
Alexandre Emsenhuber [Sun, 2 Mar 2008 20:16:42 +0000 (20:16 +0000)]
(bug 12430 and lists.wikimedia.org/pipermail/mediawiki-l/2008-March/026443.html) Fix call to private method LinkFilter::makeRegex() fatal error in maintenance/cleanupSpam.php.
Huji [Sun, 2 Mar 2008 19:26:59 +0000 (19:26 +0000)]
Partially reverting r31247:
* With that, it was possible to transclude a page in a protected pag with with cascading option selected, thus making the transcluded page protected.. without having protect rights :(
* I'm keeping the editproected permission there in DefaultSettings.php, because it will be used in the "correct" solution to this bug.
* Thanks for ialex for pointing out what I just missed.
Roan Kattouw [Sun, 2 Mar 2008 19:00:50 +0000 (19:00 +0000)]
API: Added watch and unwatch parameters to action=move and action=delete
Siebrand Mazeland [Sun, 2 Mar 2008 17:50:36 +0000 (17:50 +0000)]
Fall back to Russian
Greg Sabino Mullane [Sun, 2 Mar 2008 16:42:24 +0000 (16:42 +0000)]
Make sequence names explicit for future porting ease.
Greg Sabino Mullane [Sun, 2 Mar 2008 16:41:29 +0000 (16:41 +0000)]
Don't CASCADE on TRUNCATE, not available in old versions of Postgres.
Roan Kattouw [Sun, 2 Mar 2008 14:14:43 +0000 (14:14 +0000)]
(bug 12542) Adding a bunch of hooks to SpecialListusers.php, modified patch by Daniel Friesen
Roan Kattouw [Sun, 2 Mar 2008 13:57:56 +0000 (13:57 +0000)]
* (bug 13218) Fix inclusion of " character in hyperlinks
* Using preg_replace rather than ereg_replace in formatHTML() (faster according to php.net)
* Correcting grammatical error in Title::userIsWatching() description
Bertrand Grondin [Sun, 2 Mar 2008 11:11:54 +0000 (11:11 +0000)]
Localisation updates for extensions messages from Betawiki
Siebrand Mazeland [Sun, 2 Mar 2008 01:02:18 +0000 (01:02 +0000)]
Localisation updates for core messages from Betawiki (2008-03-02 01:40 CET)
Alexandre Emsenhuber [Sat, 1 Mar 2008 20:39:45 +0000 (20:39 +0000)]
doc tweaks
Alexandre Emsenhuber [Sat, 1 Mar 2008 15:54:07 +0000 (15:54 +0000)]
(bug 11561) Fix fatal error when calling action=revert to non-image page
Alexandre Emsenhuber [Sat, 1 Mar 2008 15:08:49 +0000 (15:08 +0000)]
* Update docs/memcached.txt
* Kill call to $wgUseMemCached in includes/ProxyTools.php
Bryan Tong Minh [Sat, 1 Mar 2008 13:35:01 +0000 (13:35 +0000)]
Fix description for UploadComplete hook. New hooks: FileDeleteComplete, FileUndeleteComplete
Roan Kattouw [Sat, 1 Mar 2008 09:45:52 +0000 (09:45 +0000)]
Fixing bug 13100 by removing a redundant line in EditPage::initialiseForm() ($this->summary is empty by default).