Alexandre Emsenhuber [Wed, 23 Sep 2009 11:35:51 +0000 (11:35 +0000)]
*STAB* Fix for r56806: remove debugging code
Alexandre Emsenhuber [Wed, 23 Sep 2009 11:31:52 +0000 (11:31 +0000)]
* (bug 16310) Credits page now lists IP addresses rather than saying the number of anonymous users that edited the page
* Some whitespaces fixes
Siebrand Mazeland [Wed, 23 Sep 2009 07:09:50 +0000 (07:09 +0000)]
Remove a few language codes that were 'supported' without any localisation. Have no known projects that use localisation for them. Language support could be re-added if a sufficient localisation level would be reached in translatewiki.net.
* Ladin (lld) (added in r17267)
* Laz (lzz) (added in r17267)
* Megleno-Romanian (Greek script) (added in r30519)
Also removed trailing whitespace from file.
Aaron Schulz [Wed, 23 Sep 2009 03:42:18 +0000 (03:42 +0000)]
Missing commit for r56798
Aaron Schulz [Wed, 23 Sep 2009 00:34:57 +0000 (00:34 +0000)]
missing wfProfileOut() calls
Brion Vibber [Tue, 22 Sep 2009 23:44:32 +0000 (23:44 +0000)]
Workaround for bugs with Commonist (mwapi-based) and other upload bots.
The upload form recently started checking for wpEditToken, but this is only actually needed when we do uploads by URL -- file uploads can't be injected by a CSRF script. Now skipping the token check if the token was empty and we're doing a regular file upload.
Confirmed that Commonist current JNLP release can upload to Wikimedia Commons with this patch.
Aaron Schulz [Tue, 22 Sep 2009 22:56:54 +0000 (22:56 +0000)]
Set right-deletedcontent msg
Aaron Schulz [Tue, 22 Sep 2009 22:30:09 +0000 (22:30 +0000)]
* Split out 'deletedcontent' from 'undelete' right (bug 19199/bug 9884)
* Don't blue-link unviewable hidden revisions
Siebrand Mazeland [Tue, 22 Sep 2009 21:57:33 +0000 (21:57 +0000)]
Localisation updates for core messages from translatewiki.net 2009-09-22 21:29 UTC)
Happy-melon [Tue, 22 Sep 2009 20:05:28 +0000 (20:05 +0000)]
Allow extra buttons and hidden fields to be included in HTMLForm. Accessible either before Form construction (as HTMLFormField subclasses that can be passed in the Descriptor array as for other input) or after (as methods addHiddenField() and addButton(), respectively).
Michael Dale [Tue, 22 Sep 2009 19:22:26 +0000 (19:22 +0000)]
added missing json function in stand alone usage
Aryeh Gregor [Tue, 22 Sep 2009 17:41:34 +0000 (17:41 +0000)]
Fix "Invalid argument for foreach()" in Html
Reported by Nikerabbit on IRC to happen on Preferences, although I
couldn't reproduce immediately. The change should be helpful for this
kind of thing anyway.
Alexandre Emsenhuber [Tue, 22 Sep 2009 16:52:40 +0000 (16:52 +0000)]
* (bug 20631) Preview of personal JavaScript and CSS pages now works again
* introduced SkinTemplate::$useHeadElement as switch for backward compatibility for extension skins using the old way of generating the <head> element:
** false (default): no change from previous version
** true: <head> specific items set in SkinTemplate::outputPage() are no longer generated (avoid double execution of some functions) and the result of OutputPage::headElement() is stored in the 'headelement' item
* updated all core skin to use this new method, some extensions using MonoBookTemplate but not extending SkinMonoBook (or for other core skins) will need to set $useHeadElement to true to work properly though
* Made Skin::userCanPreview() public since it's needed in OutputPage::getHeadScripts()
* Pass the Skin object from OutputPage::headElement() to OutputPage::getHeadScripts() rather than getting it from $wgUser
Brion Vibber [Tue, 22 Sep 2009 16:50:09 +0000 (16:50 +0000)]
add ProofreadPage.sql
(todo: move this whole script out of core!)
Brion Vibber [Tue, 22 Sep 2009 16:41:04 +0000 (16:41 +0000)]
Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB updates
Alexandre Emsenhuber [Tue, 22 Sep 2009 11:13:41 +0000 (11:13 +0000)]
* (bug 20702) Parser functions can now be used correctly in MediaWiki:Missing-article
Siebrand Mazeland [Tue, 22 Sep 2009 10:42:20 +0000 (10:42 +0000)]
Follow-up to r56746: prevent notices by adding global $wgJsMimeType
Michael Dale [Tue, 22 Sep 2009 01:00:06 +0000 (01:00 +0000)]
* (bug 20720) moved userjs and sitejs to after core scripts and before all extension code.
* removed setupSkinUserJs (not called anywhere) same functionality in getHeadScripts
* moved Skin::getHeadScripts() to outputPage::getHeadScripts()
** ( part of an effort to clean up scripts insertion to OutputPage )
** Standard skin was the only skin that implemented the getHeadScripts method. Has been merged into a skin::OutputPage method.
Alex Z [Mon, 21 Sep 2009 23:40:42 +0000 (23:40 +0000)]
Add the user_properties table to the default for $wgSharedTables
Siebrand Mazeland [Mon, 21 Sep 2009 22:17:50 +0000 (22:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-21 21:55 UTC)
Alexandre Emsenhuber [Mon, 21 Sep 2009 20:31:33 +0000 (20:31 +0000)]
Fix for r56551: Added missing "</li>" when reducing indentation, passed validation with HTML 5, but not XHTML 1.0 Transitional :)
Alexandre Emsenhuber [Mon, 21 Sep 2009 20:06:28 +0000 (20:06 +0000)]
Just a little cosmetic change, removed empty line in <head> since OutputPage::headElement() already adds a new line to separate this from OutputPage::buildCssLinks()
Chad Horohoe [Mon, 21 Sep 2009 19:50:16 +0000 (19:50 +0000)]
(bug 20353) wfShellExec() malfunctioning on NT builds 6002 and above. Patch by Jimmy Xu.
Tobias [Mon, 21 Sep 2009 19:21:12 +0000 (19:21 +0000)]
New configuration variable $wgShowPageOnRedlink that can be set to show the page instead of an edit interface when visiting a red link. The value can be specified for specific usergroups and namespaces.
Andrew Garrett [Mon, 21 Sep 2009 17:34:24 +0000 (17:34 +0000)]
Use slave for unbuffered reading in cleanupTable.inc, leaving the master for buffered writing
Andrew Garrett [Mon, 21 Sep 2009 16:41:09 +0000 (16:41 +0000)]
Merge r56715 from wmf-deployment (Moved unbuffered-ness to below count query to fix brokenness)
Brion Vibber [Mon, 21 Sep 2009 16:33:42 +0000 (16:33 +0000)]
* (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
Reverts r49997; link is now using the checkout revision which makes pathrev work properly again for branches, so we don't need to use the (apparently non-functional) revision parameter instead.
Andrew Garrett [Mon, 21 Sep 2009 16:15:07 +0000 (16:15 +0000)]
Use unbuffered queries in cleanupTable maintenance scripts. Prevents OOM issues.
Rotem Liss [Mon, 21 Sep 2009 14:50:24 +0000 (14:50 +0000)]
Localization update.
Happy-melon [Mon, 21 Sep 2009 14:19:24 +0000 (14:19 +0000)]
Follow-up to r56684 - fix message parameters for Login::ILLEGAL
Happy-melon [Mon, 21 Sep 2009 14:18:26 +0000 (14:18 +0000)]
Follow-up to r56683 - unnecessary abstraction
Happy-melon [Mon, 21 Sep 2009 13:53:58 +0000 (13:53 +0000)]
Follow-up to r56684 - set message keys in Login.php, and readd the ExternalUser check that got lost somewhere in the branch merge.
Happy-melon [Mon, 21 Sep 2009 11:58:29 +0000 (11:58 +0000)]
Follow-up to r56684 - stop people registering invalid usernames.
Chad Horohoe [Mon, 21 Sep 2009 11:37:19 +0000 (11:37 +0000)]
Followup r56684: Add new message 'createaccounterror' for errors on account creation page. Doesn't make much sense to say "Login error" here :)
Happy-melon [Mon, 21 Sep 2009 10:57:06 +0000 (10:57 +0000)]
Follow-up to r56684; fix newuser log.
Chad Horohoe [Mon, 21 Sep 2009 01:33:06 +0000 (01:33 +0000)]
(bug 20751) ForeignApiRepo does not urldecode filenames. Based on patch by Marcin Cieślak.
Siebrand Mazeland [Sun, 20 Sep 2009 23:35:04 +0000 (23:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)
Siebrand Mazeland [Sun, 20 Sep 2009 23:17:35 +0000 (23:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-20 23:06 UTC)
Siebrand Mazeland [Sun, 20 Sep 2009 23:05:52 +0000 (23:05 +0000)]
Add 'noemailcreate'
Siebrand Mazeland [Sun, 20 Sep 2009 22:33:52 +0000 (22:33 +0000)]
Consistency fix
Happy-melon [Sun, 20 Sep 2009 22:14:09 +0000 (22:14 +0000)]
(bug16979) Add tracking categories for __INDEX__ and __NOINDEX__.
Tobias [Sun, 20 Sep 2009 22:07:44 +0000 (22:07 +0000)]
Follow-up on r55909: showLogExtract can now tell Pager to ignore wgRequest offset. Needed for block notice on SpecialContributions. Also small fix for SpecialBlockip (after r56420)
Happy-melon [Sun, 20 Sep 2009 21:24:48 +0000 (21:24 +0000)]
Follow-ups to r56684: add a member function for extensions to add header text cleanly, and tweak variable names in api/ApiLogin.php.
Alexandre Emsenhuber [Sun, 20 Sep 2009 20:39:48 +0000 (20:39 +0000)]
* (bug 20726) Title::getLatestRevID's documentation now says that the function returns false if the page doesn't exist
Happy-melon [Sun, 20 Sep 2009 20:28:27 +0000 (20:28 +0000)]
Merge in Login rewrite, second time lucky.
Happy-melon [Sun, 20 Sep 2009 18:53:17 +0000 (18:53 +0000)]
New function for ExternalUser to get the local User corresponding to the external one.
Happy-melon [Sun, 20 Sep 2009 18:50:38 +0000 (18:50 +0000)]
Document and tidy HTMLForm.php. :P
Aaron Schulz [Sun, 20 Sep 2009 14:10:50 +0000 (14:10 +0000)]
bug 20745 Query error in Special:ListUsers
Siebrand Mazeland [Sun, 20 Sep 2009 10:36:02 +0000 (10:36 +0000)]
Localisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sun, 20 Sep 2009 10:31:53 +0000 (10:31 +0000)]
Localisation updates for special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 20 Sep 2009 10:28:42 +0000 (10:28 +0000)]
Localisation updates for core namespaces from translatewiki.net
Chad Horohoe [Sun, 20 Sep 2009 08:47:12 +0000 (08:47 +0000)]
Installer spewing warnings due to disable_functions
Benjamin Lees [Sun, 20 Sep 2009 07:15:19 +0000 (07:15 +0000)]
Follow up to r56323: fix the broken grant syntax (which I should have tested before committing).
Siebrand Mazeland [Sat, 19 Sep 2009 20:48:17 +0000 (20:48 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-19 20:29 UTC)
Siebrand Mazeland [Sat, 19 Sep 2009 20:10:10 +0000 (20:10 +0000)]
Add some newlines in messages
Rotem Liss [Sat, 19 Sep 2009 16:47:50 +0000 (16:47 +0000)]
Localization update for he.
Bryan Tong Minh [Sat, 19 Sep 2009 16:39:51 +0000 (16:39 +0000)]
wfMsgExt, instead of wfMsg
Aaron Schulz [Sat, 19 Sep 2009 16:28:25 +0000 (16:28 +0000)]
bug 20739: fix call to missing function
Bryan Tong Minh [Sat, 19 Sep 2009 15:49:54 +0000 (15:49 +0000)]
Follow up to r56639: Remove some existence check duplication and fix ApiUpload for changed return format of getExistsWarning.
Bryan Tong Minh [Sat, 19 Sep 2009 15:42:06 +0000 (15:42 +0000)]
Fix several messages generated by SpecialUpload::getExistsWarning which were malformatted. Also removed all HTML generation from that function.
Siebrand Mazeland [Sat, 19 Sep 2009 13:08:10 +0000 (13:08 +0000)]
Update formatting
Happy-melon [Sat, 19 Sep 2009 12:54:23 +0000 (12:54 +0000)]
Follow-up to r56635 - remove messages associated with Login rewrite that crept into other commit... they'll be back :D
Happy-melon [Sat, 19 Sep 2009 12:50:00 +0000 (12:50 +0000)]
Implement a 'root' permission, which grants all other permissions. Useful for debugging and administration.
Happy-melon [Sat, 19 Sep 2009 12:46:51 +0000 (12:46 +0000)]
Fix User::idFromName to actually return null on failure, as the doc suggests.
Rotem Liss [Sat, 19 Sep 2009 12:39:54 +0000 (12:39 +0000)]
Localization update.
Shinjiman [Sat, 19 Sep 2009 10:57:09 +0000 (10:57 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Bryan Tong Minh [Sat, 19 Sep 2009 09:01:37 +0000 (09:01 +0000)]
Fix overwrite permission checking for users without reupload-shared right.
Nimish Gautam [Fri, 18 Sep 2009 23:48:15 +0000 (23:48 +0000)]
fixes bug #20708, where tables containing colspans greater than 1 are still sortable by the last column
Siebrand Mazeland [Fri, 18 Sep 2009 23:01:41 +0000 (23:01 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-18 22:12 UTC)
Nimish Gautam [Fri, 18 Sep 2009 22:02:14 +0000 (22:02 +0000)]
Fixes bug #20698, unnecessary space in divs and JS messages
Raimond Spekking [Fri, 18 Sep 2009 21:50:10 +0000 (21:50 +0000)]
Add $wgRCMaxAge to the message 'activeusers-count' because people are asking "how long is 'recent'?"
FormatNum/CommaList for some expressions
Simplify getPageHeader(), use more Xml/Html::functions.
Bryan Tong Minh [Fri, 18 Sep 2009 20:43:12 +0000 (20:43 +0000)]
Set wpSourceType to file by default for backwards compatibility with user scripts.
Niklas Laxström [Fri, 18 Sep 2009 20:10:25 +0000 (20:10 +0000)]
Use Html:: functions
Tomasz Finc [Fri, 18 Sep 2009 17:34:56 +0000 (17:34 +0000)]
bumping version number as new xsd r54472 was approved. fixing spacing
Aryeh Gregor [Fri, 18 Sep 2009 15:28:46 +0000 (15:28 +0000)]
Tighten up unquoted attribute output
Only affects wikis with $wgWellFormedXml = false. In principle, the old
behavior might have permitted XSS in IE if that setting is false (which
is not the default), but I haven't checked. See
<http://code.google.com/p/html5lib/issues/detail?id=92>.
Roan Kattouw [Fri, 18 Sep 2009 15:24:00 +0000 (15:24 +0000)]
* API: (bug 20700) Add amprop=default to list default messages in list=allmessages. This adds default="defaultmessagecontent" or defaultmissing="" to customized messages; non-customized messages get no extra attribute.
* Don't parse magic words in messages returned by meta=allmessages , but output the message contents verbatim
Aaron Schulz [Fri, 18 Sep 2009 14:55:42 +0000 (14:55 +0000)]
typecast $attribs to an array to avoid on-site notices
Roan Kattouw [Fri, 18 Sep 2009 14:38:59 +0000 (14:38 +0000)]
Partial revert of r56602: remove what is probably accidentally committed debugging code.
Andrew Garrett [Fri, 18 Sep 2009 14:30:05 +0000 (14:30 +0000)]
Force changedfilter parameter to integer on Special:AbuseFilter.
Resolves bug 20496
Aryeh Gregor [Fri, 18 Sep 2009 14:19:34 +0000 (14:19 +0000)]
Don't drop default attrib values in non-HTML5
Some attributes that have defaults in HTML5 don't have defaults in
XHTML1, particularly type="" on scripts and styles (bug 20713). There's
not much point in trying to maintain two separate sets of defaults,
so I've just kept the HTML5 ones and haven't tried to strip any defaults
in XHTML1 mode.
Andrew Garrett [Fri, 18 Sep 2009 14:05:07 +0000 (14:05 +0000)]
Remove double catlinks on edit page.
Resolves bug 20718.
Niklas Laxström [Fri, 18 Sep 2009 13:57:13 +0000 (13:57 +0000)]
Shut up warnings from r56420 that have annoyed us few days :o
Siebrand Mazeland [Fri, 18 Sep 2009 12:49:27 +0000 (12:49 +0000)]
Revert functional change from r56594. That broke more than it tried to fix somehow.
Siebrand Mazeland [Fri, 18 Sep 2009 12:43:55 +0000 (12:43 +0000)]
* use wfMsgExt with escapenoentities instead of wfMsgHtml (line 679)
* break long lists of parameters
* remove trailing whitespace
Siebrand Mazeland [Fri, 18 Sep 2009 11:51:00 +0000 (11:51 +0000)]
* process messages with escapenoentities instead of escape to allow use of for example • (line 55)
* change string explode to array (lines 53-54)
* break long lists of parameters
* remove trailing whitespace
Tim Starling [Fri, 18 Sep 2009 05:23:10 +0000 (05:23 +0000)]
Assorted tweaks.
Tim Starling [Fri, 18 Sep 2009 04:27:28 +0000 (04:27 +0000)]
Was too slow. Trying different approach.
Tim Starling [Fri, 18 Sep 2009 04:26:30 +0000 (04:26 +0000)]
Use STDERR instead of fopen('php://stderr') when possible
Tim Starling [Fri, 18 Sep 2009 03:34:34 +0000 (03:34 +0000)]
Script to produce a merged $wgExtensionMessagesFiles for the case where a wiki farm uses different messages for different wikis.
Aaron Schulz [Fri, 18 Sep 2009 01:06:00 +0000 (01:06 +0000)]
Follow up r56486: revert RELEASE-NOTES (which was incomplete anyway)
Alex Z [Thu, 17 Sep 2009 23:04:54 +0000 (23:04 +0000)]
Fix for r55393, put the padding:0 on the td's rather than the tables
Nimish Gautam [Thu, 17 Sep 2009 22:54:05 +0000 (22:54 +0000)]
increased size of side bar and personal links, fixes bug #20686
Alexandre Emsenhuber [Thu, 17 Sep 2009 21:52:40 +0000 (21:52 +0000)]
Only set "unserialize_callback_func" if we use it, otherwise it can throw warning saying that __autoload() is not defined
Siebrand Mazeland [Thu, 17 Sep 2009 21:28:07 +0000 (21:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-17 21:11 UTC)
Aaron Schulz [Thu, 17 Sep 2009 20:20:45 +0000 (20:20 +0000)]
bug 20701: fixed strange breakage from r53173
Philip Tzou [Thu, 17 Sep 2009 19:53:49 +0000 (19:53 +0000)]
Follow up on r56560. Typo.
Philip Tzou [Thu, 17 Sep 2009 19:51:33 +0000 (19:51 +0000)]
Follow up on r55415 and r56458. Use another way to disable variants. Server admins could disable some variants using a global variable.
Roan Kattouw [Thu, 17 Sep 2009 19:39:34 +0000 (19:39 +0000)]
API: Per CR comments on r56091, make the timeout for the API help cache configurable
Michael Dale [Thu, 17 Sep 2009 19:33:31 +0000 (19:33 +0000)]
* minor fix to uploadFromChunks in case its initialized with a real path instead of a virtual path
Bryan Tong Minh [Thu, 17 Sep 2009 19:27:19 +0000 (19:27 +0000)]
Resolving virtual url of temp path for stashed files, unbreaking stashed uploads.