Roan Kattouw [Fri, 18 Jan 2008 16:01:31 +0000 (16:01 +0000)]
API: Unifying "the ... parameter must be set" messages into one ('missingparam'), expanding $1 in error codes as well.
Roan Kattouw [Fri, 18 Jan 2008 15:54:59 +0000 (15:54 +0000)]
Whoops, we should check for move *and* edit permissions.
Roan Kattouw [Fri, 18 Jan 2008 15:52:40 +0000 (15:52 +0000)]
Core:
* Using getUserPermissionsErrors() rather than userCan() in Title::isValidMoveOperation()
* Removing blocked check from Article::doRollback(): Title::getUserPermissionsErrors() checks for that already
API:
* Refactoring ApiMove to use new messages system
* Adding more messages to ApiBase::$messageMap
* Removing unused parameter to 'notanarticle' in ApiDelete::execute()
Siebrand Mazeland [Fri, 18 Jan 2008 15:29:24 +0000 (15:29 +0000)]
Fix srn UI display name
Roan Kattouw [Fri, 18 Jan 2008 14:34:14 +0000 (14:34 +0000)]
API:
* Refactored ApiDelete to use the new dieUsageMsg() system
* Adding some more messages to ApiBase::$messageMap
* Also using dieUsageMsg() for API-related errors in ApiRollback
* Removing 'lo' prefix for ApiLogout as it doesn't have any parameters anyway
Roan Kattouw [Fri, 18 Jan 2008 14:27:15 +0000 (14:27 +0000)]
Fixing parser bug that broke API rollback: use $this->mTitle instead of $wgTitle (the latter is NULL in API calls).
Huji [Fri, 18 Jan 2008 12:09:24 +0000 (12:09 +0000)]
Added Persian translations
Siebrand Mazeland [Fri, 18 Jan 2008 08:58:03 +0000 (08:58 +0000)]
Localisation updates for core messages from Betawiki (2008-01-18 9:45 CET)
Siebrand Mazeland [Thu, 17 Jan 2008 21:18:58 +0000 (21:18 +0000)]
Localisation updates for core messages from Betawiki
* adding messages imported from av.wikipedia
Siebrand Mazeland [Thu, 17 Jan 2008 21:06:53 +0000 (21:06 +0000)]
Localisation updates for core messages from Betawiki (2008-01-17 22:50 CET)
Shinjiman [Thu, 17 Jan 2008 18:40:59 +0000 (18:40 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
Siebrand Mazeland [Thu, 17 Jan 2008 17:58:34 +0000 (17:58 +0000)]
Localisation updates. Output of import from te.wikipedia.
Tim Starling [Thu, 17 Jan 2008 12:33:35 +0000 (12:33 +0000)]
Make Title::newFromIDs() work properly when given an empty array.
Tim Starling [Thu, 17 Jan 2008 12:31:54 +0000 (12:31 +0000)]
On edit, purge the cache of pages redirecting to the page in question. Obvious perhaps, but apparently never done.
Bertrand Grondin [Thu, 17 Jan 2008 12:00:06 +0000 (12:00 +0000)]
Localisation updates for extensions from Betawiki (2008-01-17 12:00 UTC)
Bertrand Grondin [Thu, 17 Jan 2008 11:25:19 +0000 (11:25 +0000)]
Undoing change committed in r29836 return to r 29817
Siebrand Mazeland [Thu, 17 Jan 2008 09:45:20 +0000 (09:45 +0000)]
Localisation updates for core messages from Betawiki (2008-01-17 09:50 CET)
Tim Starling [Thu, 17 Jan 2008 08:58:24 +0000 (08:58 +0000)]
Added ParserFirstCallInit hook. Deferred function registration in ParserFunctions until this hook is called.
Siebrand Mazeland [Thu, 17 Jan 2008 08:13:03 +0000 (08:13 +0000)]
Update recently added messages.
Rotem Liss [Thu, 17 Jan 2008 07:52:24 +0000 (07:52 +0000)]
Update.
Tim Starling [Thu, 17 Jan 2008 04:02:57 +0000 (04:02 +0000)]
It was a bit too early to remove OnlyIncludeReplacer... still used by Parser_OldPP.
Tim Starling [Thu, 17 Jan 2008 03:23:07 +0000 (03:23 +0000)]
* Fixed "Morwen/13" from meta.wikimedia.org/w/index.php?title=Migration_to_the_new_preprocessor&oldid=837845 . The fix is heuristic, to avoid infinite backtracking or "alternate-reality" style branching in the preprocessToDom stack. Some edit section links will go missing despite my best efforts.
* Split the PPD stack out to its own class. Verified with a differential fuzz test.
* Added parser tests for Morwen/13 (including new heuristic behaviour) and bug 5678.
Brion Vibber [Thu, 17 Jan 2008 00:29:05 +0000 (00:29 +0000)]
Slap some prettier warnings on too-big deletions.
Siebrand Mazeland [Thu, 17 Jan 2008 00:10:09 +0000 (00:10 +0000)]
Localisation updates for core messages from Betawiki
* added Kotava/avk
Brion Vibber [Wed, 16 Jan 2008 23:08:19 +0000 (23:08 +0000)]
Quick hack in: $wgDeleteRevisionsLimit and 'bigdelete' permission.
Should keep us from the couple-of-times-yearly "oops someone deleted the sandbox" fun.
Brion Vibber [Wed, 16 Jan 2008 22:37:19 +0000 (22:37 +0000)]
Put image redirects behind $wgFileRedirects config option for now (defaulting off).
Several issues off the top of my head:
* Redirect behavior doesn't match between the image and the page.
* Upload form doesn't appear to pick up conflicts with existing redirects; this leads to confusion when after the upload you see a page showing the already-present redirect target, but the newly uploaded file is what you get when you use the name.
* [[Image:]] link to a redirect to a non-image page links to Special:Upload with the redirect name; [[Image:]] link to a redirect to a non-existent image page just links to the redirect page... behavior seems very hard to predict.
* Caching issues; pages using the redirected image don't appear to get invalidated when the redirect page is deleted
* Upload permissions can't be matched easily to creating-redirect permissions, which may be an issue (eg, create a billion redirects to Image:Goatse.jpg with innocent names)
Brion Vibber [Wed, 16 Jan 2008 21:54:52 +0000 (21:54 +0000)]
Please keep site-specific temporary directories out of svn -- they're supposed to be locally created, so they have proper permissions and they need to not interfere with live behavior
Brion Vibber [Wed, 16 Jan 2008 20:59:24 +0000 (20:59 +0000)]
Add an explicit Cache-control: no-cache header on external edit; possible reports that our caches are aggressively caching these, though they shouldn't in an ideal world.
Huji [Wed, 16 Jan 2008 20:59:06 +0000 (20:59 +0000)]
Added Persian translations
Victor Vasiliev [Wed, 16 Jan 2008 18:49:41 +0000 (18:49 +0000)]
Fix call to non-static method
Victor Vasiliev [Wed, 16 Jan 2008 18:31:00 +0000 (18:31 +0000)]
Forgot to commit this file
Victor Vasiliev [Wed, 16 Jan 2008 18:27:43 +0000 (18:27 +0000)]
* Support redirects in image namespace
Now doesn't require schema change
Victor Vasiliev [Wed, 16 Jan 2008 18:03:52 +0000 (18:03 +0000)]
* Add DBA-caching to installer
Aryeh Gregor [Wed, 16 Jan 2008 17:42:46 +0000 (17:42 +0000)]
Improve sanity check on site name a bit: ban '#' (number sign). There are undoubtedly several other characters that should be checked for, e.g., ':'.
Siebrand Mazeland [Wed, 16 Jan 2008 16:10:48 +0000 (16:10 +0000)]
Localisation updates for core messages from Betawiki (2008-01-16 16:44 CET)
* added Gagauz/gag
River Tarnell [Wed, 16 Jan 2008 10:38:54 +0000 (10:38 +0000)]
use label.htmlFor=... instead of label.setAttribute('for', ...): the former works in IE7, Firefox, Safari and Opera, while the latter does not work in IE7
River Tarnell [Wed, 16 Jan 2008 07:49:15 +0000 (07:49 +0000)]
adjust footer padding and left portlet header size
Tim Starling [Wed, 16 Jan 2008 07:46:27 +0000 (07:46 +0000)]
#tag changes as per #wikimedia-tech committee
Bertrand Grondin [Wed, 16 Jan 2008 06:56:01 +0000 (06:56 +0000)]
Localisation updates for extensions from Betawiki (2008-01-16 06:55 UTC)
River Tarnell [Wed, 16 Jan 2008 05:06:33 +0000 (05:06 +0000)]
styling for toc, categories
River Tarnell [Wed, 16 Jan 2008 04:32:36 +0000 (04:32 +0000)]
plainlinks
River Tarnell [Wed, 16 Jan 2008 04:28:35 +0000 (04:28 +0000)]
import image styling from monobook
River Tarnell [Wed, 16 Jan 2008 04:15:57 +0000 (04:15 +0000)]
increase line-height slightly in navigation
River Tarnell [Wed, 16 Jan 2008 04:06:48 +0000 (04:06 +0000)]
rearrange the content area so clear'd elements don't shift the navigation out of whack
River Tarnell [Wed, 16 Jan 2008 02:59:30 +0000 (02:59 +0000)]
print stylesheet
River Tarnell [Wed, 16 Jan 2008 02:51:58 +0000 (02:51 +0000)]
styling for prefs form, external links
Tim Starling [Wed, 16 Jan 2008 02:47:31 +0000 (02:47 +0000)]
* Strip fragments from $parser->mTitle to avoid having them show up in odd places, like section edit links. Potential fix for a bug which is reproducible on test.wikipedia.org but not locally.
* Identifiable heading for limit report
Tim Starling [Wed, 16 Jan 2008 02:20:49 +0000 (02:20 +0000)]
Respect $wgEnableParserCache
River Tarnell [Wed, 16 Jan 2008 02:15:06 +0000 (02:15 +0000)]
new skin: modern
Aryeh Gregor [Wed, 16 Jan 2008 00:06:42 +0000 (00:06 +0000)]
* Rollback should not work if the wiki is read-only
* Spacing, 80-char lines, adjust some comments
Siebrand Mazeland [Wed, 16 Jan 2008 00:01:23 +0000 (00:01 +0000)]
Localisation updates for core messages from Betawiki (2008-01-16 0:44 CET)
Roan Kattouw [Tue, 15 Jan 2008 21:33:08 +0000 (21:33 +0000)]
API:
* Removing action=render module (which was deprecated) in favor of action=parse
* Added prop parameter to action=parse so certain parts of the output can be left out
* action=parse&prop=text behaves pretty much exactly like action=render used to
Roan Kattouw [Tue, 15 Jan 2008 21:09:44 +0000 (21:09 +0000)]
Limiting image history listings to 500 for now. A hard-coded limit sucks, but an alternative isn't really available as the File handling code doesn't allow it (see also bug 12645). Besides, very few image histories are that long.
Roan Kattouw [Tue, 15 Jan 2008 20:45:58 +0000 (20:45 +0000)]
Fixing hinky indentation in ApiQueryImageInfo.php
Roan Kattouw [Tue, 15 Jan 2008 20:23:50 +0000 (20:23 +0000)]
Whoops, removed one check too many.
Roan Kattouw [Tue, 15 Jan 2008 20:21:16 +0000 (20:21 +0000)]
API:
* Introducing ApiBase::dieUsageMsg() function which outputs the error associated with a certain message key
* Updating rollback module to use dieUsageMsg(). Other modules will follow.
Roan Kattouw [Tue, 15 Jan 2008 17:31:07 +0000 (17:31 +0000)]
Large refactoring of rollback code:
* DB code is now in Article::commitRollback(), permissions checks in Article::doRollback()
* doRollback() no longer returns named constants but an OutputPage::showPermissionsErrorPage() compatible array
Roan Kattouw [Tue, 15 Jan 2008 16:08:21 +0000 (16:08 +0000)]
API: Adding wlshow parameter to list=watchlist to allow for filtering (non-)minor, (non-)bot and (non-)anon edits
Roan Kattouw [Tue, 15 Jan 2008 16:04:50 +0000 (16:04 +0000)]
Reverting r29798 on the committer's request, part 1 of 2
ThomasV [Tue, 15 Jan 2008 15:53:09 +0000 (15:53 +0000)]
fix for IE
Roan Kattouw [Tue, 15 Jan 2008 15:38:30 +0000 (15:38 +0000)]
(bug 12585) Added a bunch of parameters to the revertpage message (rollback summary). These parameters currently aren't used in the default message, but custom messages could use them.
$3: revid of the revision reverted to
$4: timestamp of the revision reverted to
$5: revid of the revision reverted from
$6: timestamp of the revision reverted from
Roan Kattouw [Tue, 15 Jan 2008 15:23:27 +0000 (15:23 +0000)]
API: Adding cascade flag to prop=info&inprop=protection
Aryeh Gregor [Tue, 15 Jan 2008 15:02:36 +0000 (15:02 +0000)]
Adjust some function definitions for abstract classes to stop annoying PHP strict warnings. Also moved some @public notices to the public keyword.
Rotem Liss [Tue, 15 Jan 2008 14:49:17 +0000 (14:49 +0000)]
Update for he.
Aryeh Gregor [Tue, 15 Jan 2008 14:48:24 +0000 (14:48 +0000)]
(bug 12202) Strict standards: mark static methods static.
Raimond Spekking [Tue, 15 Jan 2008 10:56:57 +0000 (10:56 +0000)]
Localisation updates German
Raimond Spekking [Tue, 15 Jan 2008 07:51:01 +0000 (07:51 +0000)]
Another fix for r29765: Avoid PHP notices
Thanks to ialex
Raimond Spekking [Tue, 15 Jan 2008 07:27:16 +0000 (07:27 +0000)]
Fix for r9765:
* Readd 'userrights-available-remove', still in use
* Update messages.inc
Brion Vibber [Tue, 15 Jan 2008 01:55:48 +0000 (01:55 +0000)]
* (bug 12567) Fix for misformatted read-only messages on edit, protect.
Also added proper read-only checks to several special pages.
Have removed read-only checks from the general user permission framework
since it doesn't belong there; user authorization is independent from
the database's read-only state, and the way we check and present error
conditions is necessarily different. Further, as a detail it was formatting
the actual message incorrectly as an inline message when historically it's a
big block message with tables and images and stuff.
Brion Vibber [Tue, 15 Jan 2008 01:20:12 +0000 (01:20 +0000)]
Remove default 'deleted' directory; gets in the way and makes it impossible to delete images in a default install unless you then go on to figure out what's wrong and fix the permissions. A fresh directory will be created when needed.
River Tarnell [Mon, 14 Jan 2008 23:57:43 +0000 (23:57 +0000)]
* $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
themselves from specified groups via Special:Userrights.
Brion Vibber [Mon, 14 Jan 2008 23:36:36 +0000 (23:36 +0000)]
* (bug 12617) Decimal and thousands separators for Romanian
Brion Vibber [Mon, 14 Jan 2008 20:17:05 +0000 (20:17 +0000)]
Revert r29705. Simply provide rollback permission if you want people to be able to use rollback.
Otherwise you're going to end up with the restricted portions of it incorrectly allowed when they're not meant to be by accident, which seems pretty senseless.
Victor Vasiliev [Mon, 14 Jan 2008 18:52:55 +0000 (18:52 +0000)]
Autopromotion:
* Add APCOND_INGROUPS
* Fix comment
* Don't use array_unique() since we have groups as *keys* of $wgAutopromote
Victor Vasiliev [Mon, 14 Jan 2008 18:48:57 +0000 (18:48 +0000)]
Update README
Victor Vasiliev [Mon, 14 Jan 2008 18:46:31 +0000 (18:46 +0000)]
Tweak profileinfo.php:
* Added average calls per request column
* Added time % column
Victor Vasiliev [Mon, 14 Jan 2008 18:44:29 +0000 (18:44 +0000)]
* Add caching to the AJAX search
Victor Vasiliev [Mon, 14 Jan 2008 18:42:39 +0000 (18:42 +0000)]
* (bug 12536) User should be able to get MediaWiki version from any page
* (bug 12622) A JavaScript constant to declare whether api.php is available
Aryeh Gregor [Mon, 14 Jan 2008 18:12:43 +0000 (18:12 +0000)]
(bug 12614) Prevent logging of null change on Userrights . . . for real this time.
Raimond Spekking [Mon, 14 Jan 2008 16:04:08 +0000 (16:04 +0000)]
Localisation updates. Specific German messages for formal address only.
Raimond Spekking [Mon, 14 Jan 2008 15:20:54 +0000 (15:20 +0000)]
Localisation updates.
Set fallback to 'de'. Specific formal address messages follows soon.
Raimond Spekking [Mon, 14 Jan 2008 15:02:38 +0000 (15:02 +0000)]
Localisation updates. Introduce formal address of German ("Sie")
See next commit too.
Raimond Spekking [Mon, 14 Jan 2008 14:22:32 +0000 (14:22 +0000)]
Localisation updates Kazakh translations
(bug 12145) Patch by AlefZet
Victor Vasiliev [Mon, 14 Jan 2008 13:57:40 +0000 (13:57 +0000)]
Revert accidentally commited image moving stuff
Victor Vasiliev [Mon, 14 Jan 2008 13:50:55 +0000 (13:50 +0000)]
* Introduce getUserPermissionsErrorsExpensive hook
Domas Mituzas [Mon, 14 Jan 2008 12:50:20 +0000 (12:50 +0000)]
Cleanup for Special:Randompage and Special: Randomredirect after r29725 - bugzilla.wikimedia.org/show_bug.cgi?id=12624
Thanks to: alex.emsenhuber
Rotem Liss [Mon, 14 Jan 2008 12:47:15 +0000 (12:47 +0000)]
Update for he.
Raimond Spekking [Mon, 14 Jan 2008 12:02:33 +0000 (12:02 +0000)]
* Updates German
Siebrand Mazeland [Mon, 14 Jan 2008 12:01:14 +0000 (12:01 +0000)]
Localisation updates for core messages from Betawiki (2008-01-14 12:52 CET)
Raimond Spekking [Mon, 14 Jan 2008 11:13:51 +0000 (11:13 +0000)]
* Updates German
Patch by Tim 'avatar' Bartel
Domas Mituzas [Mon, 14 Jan 2008 10:23:48 +0000 (10:23 +0000)]
* Shortcutted Title::userCanRead() for public wikis
* Moved redirects code in OutputPage before skins and ajax stuff, to handle likely scenario better
* Stripped off lots of fat (like... 30-50% of execution time) from Special:Randompage - mwahaha... ha... hahaha...
Huji [Mon, 14 Jan 2008 09:26:36 +0000 (09:26 +0000)]
(bug 12608) (in continuation of r29719) Unifying the spelling of getDBkey() in the code.
Huji [Mon, 14 Jan 2008 09:13:04 +0000 (09:13 +0000)]
(bug 12608) Unifying the spelling of getDBkey() in the code.
Tim Starling [Mon, 14 Jan 2008 06:59:20 +0000 (06:59 +0000)]
* Fixed loop detection in LST
* Renamed some LST parser tests
* Fixed <gallery> caption behaviour .It should not generate <pre> when there are spaces at the start. Used recursiveTagParse() instead of parse(), to avoid generation of a limit report, among other things.
* Refactored template loop check
* Updated a couple of parser tests
Shinjiman [Mon, 14 Jan 2008 05:43:20 +0000 (05:43 +0000)]
* Update Cantonese translations
Tim Starling [Mon, 14 Jan 2008 03:43:14 +0000 (03:43 +0000)]
* Fix heading immediately after comment-on-own-line
* Fix ===== on own line
Siebrand Mazeland [Sun, 13 Jan 2008 22:46:51 +0000 (22:46 +0000)]
Localisation updates for core messages from Betawiki (2008-01-13 23:37 CET)
Aryeh Gregor [Sun, 13 Jan 2008 22:26:08 +0000 (22:26 +0000)]
Tweak tweaks.
Aryeh Gregor [Sun, 13 Jan 2008 22:23:36 +0000 (22:23 +0000)]
Random small fixes: formatting/whitespace, comments, fix inexplicably misleading profiling name in getUserPermissionsErrorsInternal.
Aryeh Gregor [Sun, 13 Jan 2008 21:36:08 +0000 (21:36 +0000)]
The 'rollback' permission now only affects whether rollback is made available through the interface. Users without the rollback permission can still use it by generating the proper token through a script. This does nothing but allow automated rollback scripts to generate less load on both the client and the server, without allowing them to do anything extra. This was inspired by an anti-vandal bot operator on enwiki who showed me his server load dropping in half when his bot switched from manual reverts to rollback.