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).
Huji [Sat, 1 Mar 2008 08:29:31 +0000 (08:29 +0000)]
* Adding/updating Persian translations
Rotem Liss [Sat, 1 Mar 2008 07:39:33 +0000 (07:39 +0000)]
Update.
Raimond Spekking [Sat, 1 Mar 2008 05:20:26 +0000 (05:20 +0000)]
Localisation updates German
Ryan Schmidt [Fri, 29 Feb 2008 22:56:17 +0000 (22:56 +0000)]
* (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded
Alexandre Emsenhuber [Fri, 29 Feb 2008 19:58:50 +0000 (19:58 +0000)]
* Document ParserMakeImageParams hook
* Fix capitalization of @addtogroup in RepoGroup.php
* Fix comment in SpecialRevisiondelete.php, replace xml functions from wf* to Xml::* and use __METHOD__ instead of hardcoded function name
Huji [Fri, 29 Feb 2008 13:59:11 +0000 (13:59 +0000)]
Making the empty space to the sides and the bottom of the category box equal in size, for monobook skin.
Brion Vibber [Fri, 29 Feb 2008 01:10:52 +0000 (01:10 +0000)]
* (bug 13031) Add links to usepages in e-mail form
Brion Vibber [Fri, 29 Feb 2008 00:55:45 +0000 (00:55 +0000)]
* (bug 13174) __HIDDENCAT__ now applies only to category pages
Roan Kattouw [Thu, 28 Feb 2008 21:41:06 +0000 (21:41 +0000)]
(bug 12575) Prevent duplicate patrol log entries from being created
Daniel Cannon [Thu, 28 Feb 2008 17:25:33 +0000 (17:25 +0000)]
API: Couplt problems with ApiQueryDeletedRevs
* $limit undefined, was doing limit checking against null
* Bring limit=max behavior in line with r31258
Roan Kattouw [Thu, 28 Feb 2008 13:32:10 +0000 (13:32 +0000)]
(Bug 13175) Added example for list=blocks
Siebrand Mazeland [Thu, 28 Feb 2008 09:09:09 +0000 (09:09 +0000)]
Localisation updates for core messages from Betawiki
Siebrand Mazeland [Thu, 28 Feb 2008 08:53:35 +0000 (08:53 +0000)]
Localisation updates for core messages from Betawiki (2008-02-28 09:40 CET)
Anders Wegge Jakobsen [Thu, 28 Feb 2008 08:14:49 +0000 (08:14 +0000)]
Make the category browser actually work
Brion Vibber [Thu, 28 Feb 2008 00:47:00 +0000 (00:47 +0000)]
* (bug 13130) Moved edit token and autosummary fields above edit tools to
reduce broken form submissions
Siebrand Mazeland [Thu, 28 Feb 2008 00:20:38 +0000 (00:20 +0000)]
Cleanup
* Updated a few URLs
* Removed entries where site was unreachable or target was no longer an active site (~6 months)
* Added some comments for next pass.
Brion Vibber [Thu, 28 Feb 2008 00:04:02 +0000 (00:04 +0000)]
* (bug 13112) Added Special:RelatedChanges alias to Special:Recentchangeslinked
Brion Vibber [Wed, 27 Feb 2008 23:59:21 +0000 (23:59 +0000)]
* (bug 13135) Special:Userrights now passes IDs through form submission
to allow functionality on not-quite-right usernames
Greg Sabino Mullane [Wed, 27 Feb 2008 21:51:13 +0000 (21:51 +0000)]
Table page_props needed in tests after all.
Roan Kattouw [Wed, 27 Feb 2008 10:28:03 +0000 (10:28 +0000)]
(bug 12394) Adding rctitles parameter to list=recentchanges to facilitate easier retrieval of rcid. Also changing RELEASE-NOTES entries to be more consistent with each other
Tim Starling [Wed, 27 Feb 2008 07:06:32 +0000 (07:06 +0000)]
Partial solution (quick hack) for bug 12970.
Ivan Lanin [Wed, 27 Feb 2008 07:02:32 +0000 (07:02 +0000)]
Indonesian (id) localisation updates for core messages.
Tim Starling [Wed, 27 Feb 2008 06:19:09 +0000 (06:19 +0000)]
Replaced maintenance/dumpHTML.php with a message pointing to the DumpHTML extension. Deleted subsidiary files.
Tim Starling [Wed, 27 Feb 2008 06:09:51 +0000 (06:09 +0000)]
Bug 11980: don't complain on rollback of non-transactional tables. Not sure how to reproduce it, but this should fix it in any case.
Raimond Spekking [Wed, 27 Feb 2008 05:47:23 +0000 (05:47 +0000)]
Add new message from r31337 to the maintenances scripts.
Brion Vibber [Wed, 27 Feb 2008 04:56:29 +0000 (04:56 +0000)]
Tweak up last commit about opensearch desc to be nicer. Cleaner message name, use wfMsgForContent, remove an obsolete line.
Brion Vibber [Wed, 27 Feb 2008 04:53:24 +0000 (04:53 +0000)]
* (bug 12723) OpenSearch description name now uses more compact language code
to avoid passing the length limit as often, is customizable per site via
'opensearch-shortname' message.
Note that the spec actually says ShortName should be trimmed to *16* chars,
which is pretty awful -- 'Wikimedia Commons' doesn't even fit. I haven't
changed the current trimming (to 24 characters).
Note that Firefox uses the longer 'Description' field for its 'add' menu
item, but the ShortName for the actual item once you add it to the menu.
Possibly should have separate description and shortname thingies and do some
smarter trimming. Sigh.
Ryan Schmidt [Wed, 27 Feb 2008 00:01:25 +0000 (00:01 +0000)]
updating spinner.gif image to work with non-white backgrounds
Brion Vibber [Tue, 26 Feb 2008 22:47:39 +0000 (22:47 +0000)]
* (bug 13086) Trackbacks were returning invalid XML (extra whitespace)
Roan Kattouw [Tue, 26 Feb 2008 22:40:59 +0000 (22:40 +0000)]
(bug 13100) Added 'preloadtitle' parameter to action=edit§ion=new that pre-fills the section title field. Patch by Mike Dillon
Brion Vibber [Tue, 26 Feb 2008 22:33:04 +0000 (22:33 +0000)]
* (bug 13139, 13074) Fix request data for parameters with numeric names
Rotem Liss [Tue, 26 Feb 2008 20:41:21 +0000 (20:41 +0000)]
(bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
* Replacing the fix for (bug 12716) Unprotecting a non-protected page leaves a log entry
Siebrand Mazeland [Tue, 26 Feb 2008 19:55:10 +0000 (19:55 +0000)]
Localisation updates for core messages from Betawiki (2008-02-26 20:45 CET)
Tim Starling [Tue, 26 Feb 2008 17:48:21 +0000 (17:48 +0000)]
catlinks is not a single paragraph anymore
Aryeh Gregor [Tue, 26 Feb 2008 17:22:22 +0000 (17:22 +0000)]
RELEASE-NOTES
Aryeh Gregor [Tue, 26 Feb 2008 17:20:39 +0000 (17:20 +0000)]
Add new hook ImageBeforeProduceHTML, per request on Wikitech-l. If it sucks or is broken, please revert or fix. :)
Roan Kattouw [Tue, 26 Feb 2008 16:56:08 +0000 (16:56 +0000)]
(bug 13157) Adding ucuserprefix parameter to list=usercontribs