Aaron Schulz [Thu, 27 May 2010 15:13:30 +0000 (15:13 +0000)]
(bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibilitySet
Niklas Laxström [Thu, 27 May 2010 14:24:34 +0000 (14:24 +0000)]
Get rid of wfMsg() in Language
Tim Starling [Thu, 27 May 2010 07:30:34 +0000 (07:30 +0000)]
Fixed severe breakage of non-JS upload, presumably introduced in the 1.16 upload rewrite. If the user doesn't enter a destination filename, it's meant to use the name of the source file. Untested code "$wgRequest->getText('wpUploadFile')" did not work, you need to fetch from $_FILES not $_REQUEST. Code to propagate the relevant default to UploadForm was missing, readded here.
Apologies for the nodata hack, but I want to backport this to 1.16, so I don't want to make any HTMLForm.php changes if I can avoid it.
Tim Starling [Thu, 27 May 2010 07:19:03 +0000 (07:19 +0000)]
Fixed complete breakage of Special:Upload due to r66913. Fatal JS error "summary is null".
Aryeh Gregor [Thu, 27 May 2010 00:42:39 +0000 (00:42 +0000)]
Remove ‌ and   from trunk
See r66254 for context. I'm doing this separately because I need to
manually add comments, since I don't want to insert Unicode literals
that are just whitespace. Only one instance of each.
Siebrand Mazeland [Wed, 26 May 2010 21:22:12 +0000 (21:22 +0000)]
Allow use of GENDER in 'noemail' message.
Siebrand Mazeland [Wed, 26 May 2010 21:14:11 +0000 (21:14 +0000)]
Update 'filerevert-comment' and 'undeletecomment' to "Reason:".
Alexandre Emsenhuber [Wed, 26 May 2010 20:39:43 +0000 (20:39 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Wed, 26 May 2010 19:08:50 +0000 (19:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-26 18:30:00 UTC)
Chad Horohoe [Wed, 26 May 2010 15:36:54 +0000 (15:36 +0000)]
Revert r66923. People have differing opinions on versioning schemes, will discuss on wikitech or something
Chad Horohoe [Wed, 26 May 2010 14:51:16 +0000 (14:51 +0000)]
I've gone and done something naughty. I've just bumped $wgVersion
to 2.0alpha.
*waiting for the gasps to quiet*
The subject's been broached before, and honestly, there's no compelling
reason not to bump it at this point. The comment's been made that we
should've done it after 1.9, but that didn't happen. So we're doing it now.
Max Semenik [Wed, 26 May 2010 14:29:53 +0000 (14:29 +0000)]
follow-up to r66892: fix update SQL on on SQLite
Brian Wolff [Wed, 26 May 2010 09:10:56 +0000 (09:10 +0000)]
(bug 22967) Use javascript to make the maxlength of the edit summary field work properly for multibyte characters.
Previously the edit summary was set to 200 characters, however with multibyte characters, you could end up with more than 255 bytes which
is the db field limit. This adds javascript to enforce the limit more reliably.
Siebrand Mazeland [Wed, 26 May 2010 08:30:00 +0000 (08:30 +0000)]
Update fallback for Uighur from ug-latn to ug-arab.
Andrew Garrett [Wed, 26 May 2010 06:22:36 +0000 (06:22 +0000)]
Fix r66858 -- reassign classes in the AutoLoader
Andrew Garrett [Wed, 26 May 2010 05:52:43 +0000 (05:52 +0000)]
Fix conflict in r66907 (follow-up r66793) accidentally partially reverting r66858
Andrew Garrett [Wed, 26 May 2010 05:50:20 +0000 (05:50 +0000)]
Fix bug in r66793
Mark A. Hershberger [Wed, 26 May 2010 04:32:17 +0000 (04:32 +0000)]
Make tests more portable. Prepping for initial CI use.
* Use wfTempDir for writing files to avoid permission errors
* Skip search engine tests on non-mysql DBs.
* Make title tests more portable
Chad Horohoe [Wed, 26 May 2010 00:50:46 +0000 (00:50 +0000)]
Add getCookie(). Stuff should use this now instead of accessing $_COOKIE directly
Sam Reed [Tue, 25 May 2010 21:48:09 +0000 (21:48 +0000)]
Update description of ApiQueryIWBacklinks as per IRC with Roan
Follow up r66891
Sam Reed [Tue, 25 May 2010 21:36:56 +0000 (21:36 +0000)]
Attempt at changing postgres as per r66892
OverlordQ or someone, can you review please?
Sam Reed [Tue, 25 May 2010 21:17:08 +0000 (21:17 +0000)]
Fixup fail from r66892 - Had added it to the sqlite section
/me facepalm
Rotem Liss [Tue, 25 May 2010 21:11:56 +0000 (21:11 +0000)]
Localization update for he.
Sam Reed [Tue, 25 May 2010 21:07:13 +0000 (21:07 +0000)]
Fixup index to add from r66892
Sam Reed [Tue, 25 May 2010 20:46:09 +0000 (20:46 +0000)]
Remove arrays from getDescription where we are only using 1 line
Sam Reed [Tue, 25 May 2010 20:37:20 +0000 (20:37 +0000)]
Followup to r65105 after discussion with Roan
Make the non-unique index index all fields
Patches updated, patch created to update index. Table.sql also updated
Sam Reed [Tue, 25 May 2010 19:50:20 +0000 (19:50 +0000)]
* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to track inline interwiki link usage
Addition of IWBacklinks... That should be the bug done
Raimond Spekking [Tue, 25 May 2010 18:58:10 +0000 (18:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-25 18:30:00 UTC)
Sam Reed [Tue, 25 May 2010 18:37:55 +0000 (18:37 +0000)]
Followup to r66873
If title valid, append URL to parse output
Alexandre Emsenhuber [Tue, 25 May 2010 18:34:15 +0000 (18:34 +0000)]
Fixed some doxygen warnings
Sam Reed [Tue, 25 May 2010 18:34:11 +0000 (18:34 +0000)]
Followup r66872
Use title to make interwiki
Max Semenik [Tue, 25 May 2010 17:32:18 +0000 (17:32 +0000)]
New test for SQLite that checks tables.sql conversion as a whole
Happy-melon [Tue, 25 May 2010 17:04:57 +0000 (17:04 +0000)]
Follow-up r66878 per CR.
Happy-melon [Tue, 25 May 2010 16:40:02 +0000 (16:40 +0000)]
(bug 23641) refactor code around Article::doEdit(), and restored access to watch/unwatch settings to ArticleSaveComplete hook, removed in r14834 AFAICT. Patch by Tisane.
Alexandre Emsenhuber [Tue, 25 May 2010 15:39:22 +0000 (15:39 +0000)]
Fix for r66548: Output page -> OutputPage
Sam Reed [Tue, 25 May 2010 13:47:22 +0000 (13:47 +0000)]
Part of bug 23254 - Add interwiki links to parse output
Sam Reed [Tue, 25 May 2010 13:33:24 +0000 (13:33 +0000)]
bug 23524 - &url for ApiQueryIWLinks to expand full URL
Chad Horohoe [Tue, 25 May 2010 13:25:37 +0000 (13:25 +0000)]
(bug 23648) PHP yells about using objects in implode(). Would be nice if __toString() was called like it should. (Supposedly was fixed in PHP6, meh)
Sam Reed [Tue, 25 May 2010 12:43:04 +0000 (12:43 +0000)]
Remove &redirects from example
Rob Lanphier [Tue, 25 May 2010 00:39:23 +0000 (00:39 +0000)]
Using "latest revision" instead of "current revision" (part of FlaggedRevs, see bug 23623)
Sam Reed [Mon, 24 May 2010 23:32:05 +0000 (23:32 +0000)]
Try r66856 again - Less fail this time
Part of bug 23332
Move everything that isn't the SpecialRevisionDelete class out of specials/SpecialRevisiondelete.php into RevisionDelete.php
Sam Reed [Mon, 24 May 2010 23:28:00 +0000 (23:28 +0000)]
Revert r66856, due to the complete rubbish commit summary (dupe of another revision)
Sam Reed [Mon, 24 May 2010 23:24:17 +0000 (23:24 +0000)]
bug 18608 done in a fashion much closer to how I should've done it originally.
Latching onto bug 22061 output
Following up r62195 and r61125Part of bug 23332
Move everything that isn't the SpecialRevisionDelete class out of specials/SpecialRevisiondelete.php into RevisionDelete.php
Platonides [Mon, 24 May 2010 20:01:40 +0000 (20:01 +0000)]
Follow up r66835. Some people use direct urls in MediaWiki:Sidebar instead of -url messages (eg. {{FULLURL:Special:RecentChanges|translations=only&trailer=/{{UILANGCODE}}}}).
Raimond Spekking [Mon, 24 May 2010 18:36:06 +0000 (18:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-24 18:20:00 UTC)
Aaron Schulz [Mon, 24 May 2010 18:15:52 +0000 (18:15 +0000)]
* Removed leftover token check of unhide=1 that was removed elsewhere
* Diff doc tweak
Platonides [Mon, 24 May 2010 16:38:08 +0000 (16:38 +0000)]
Follow up r62958. addToSidebar() was added in r59215, we still can redesign it and avoid legacy functions.
Sam Reed [Mon, 24 May 2010 16:35:23 +0000 (16:35 +0000)]
bug 18608 done in a fashion much closer to how I should've done it originally.
Latching onto bug 22061 output
Following up r62195 and r61125
Raimond Spekking [Mon, 24 May 2010 15:23:39 +0000 (15:23 +0000)]
Follow-up r66823: Add new message keys to maintenance script
Alexandre Emsenhuber [Mon, 24 May 2010 14:12:42 +0000 (14:12 +0000)]
Cosmetic in head scripts
* add a new line before including wikibits.js
* don't add a new line between getHeadScripts() and getHeadItems()
Aaron Schulz [Mon, 24 May 2010 14:05:24 +0000 (14:05 +0000)]
(bug 23593) Made revision/date links enabled at history/contribs for deleted revs
Max Semenik [Mon, 24 May 2010 13:35:16 +0000 (13:35 +0000)]
rm fixme from r65104, everything works fine on SQLite
Alexandre Emsenhuber [Mon, 24 May 2010 12:52:26 +0000 (12:52 +0000)]
removed unused variable
Andrew Garrett [Mon, 24 May 2010 12:47:30 +0000 (12:47 +0000)]
Add messages for r66793
Andrew Garrett [Mon, 24 May 2010 12:31:30 +0000 (12:31 +0000)]
Fix index creation
Andrew Garrett [Mon, 24 May 2010 12:30:09 +0000 (12:30 +0000)]
Remove wayward comma
Niklas Laxström [Mon, 24 May 2010 09:55:46 +0000 (09:55 +0000)]
Make getUserPermissionsErrors(Expensive) actually handle $result as documented
Fatal errors was caused by nesting the results one level too deep
Raimond Spekking [Sun, 23 May 2010 21:12:35 +0000 (21:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-23 20:40:00 UTC)
Alexandre Emsenhuber [Sun, 23 May 2010 19:25:07 +0000 (19:25 +0000)]
Fixed some doxygen warnings and documented a bit
Chad Horohoe [Sun, 23 May 2010 15:14:13 +0000 (15:14 +0000)]
(bug 23616) Spaces in interwiki.sql entries break postgres, link doesn't get inserted
Chad Horohoe [Sun, 23 May 2010 15:12:07 +0000 (15:12 +0000)]
Use new comment syntax here.
Andrew Garrett [Sun, 23 May 2010 14:24:52 +0000 (14:24 +0000)]
Add bug # for r66793
Andrew Garrett [Sun, 23 May 2010 14:19:20 +0000 (14:19 +0000)]
Ugly temporary fix for bug 21279:
* When a revision cannot be found in the revision table, look for it in the archive table.
* If both deleted and undeleted revisions are covered by the same log entry, show two links (see bug 23663)
Sam Reed [Sat, 22 May 2010 16:50:39 +0000 (16:50 +0000)]
Stylize maintenance folder..
Alexandre Emsenhuber [Sat, 22 May 2010 16:14:28 +0000 (16:14 +0000)]
Fixed some doxygen warnings
Jack Phoenix [Sat, 22 May 2010 12:18:22 +0000 (12:18 +0000)]
*coding style cleanup (added braces, spacing tweaks etc.)
*removed some unused globals
Jack Phoenix [Sat, 22 May 2010 11:47:56 +0000 (11:47 +0000)]
trim trailing spaces
Rotem Liss [Sat, 22 May 2010 08:53:38 +0000 (08:53 +0000)]
Localization fix for he.
Rotem Liss [Fri, 21 May 2010 21:10:42 +0000 (21:10 +0000)]
Localization update for he.
Chad Horohoe [Fri, 21 May 2010 21:08:05 +0000 (21:08 +0000)]
Typo in comment
Raimond Spekking [Fri, 21 May 2010 19:22:53 +0000 (19:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-21 18:35:00 UTC)
Sam Reed [Fri, 21 May 2010 19:18:04 +0000 (19:18 +0000)]
Change text to Users for bug 23620
Sam Reed [Fri, 21 May 2010 19:15:35 +0000 (19:15 +0000)]
Add missing {$p}
Derk-Jan Hartman [Fri, 21 May 2010 15:59:01 +0000 (15:59 +0000)]
Bug 22541. Support image redirects on Commons for ForeignAPIRepo
getImageInfo() now requires fetchImageQuery() results as input.
Derk-Jan Hartman [Fri, 21 May 2010 14:02:15 +0000 (14:02 +0000)]
Bug 23580. Add two new jquery events, LivePreviewPrepare and LivePreviewDone.
Scripts like Navigation Popups can use this to bind to these events so they can
setup their code to work with the previews.
Patch by User:Amalthea
Chad Horohoe [Fri, 21 May 2010 12:57:26 +0000 (12:57 +0000)]
Use __METHOD__ in a few places
Tim Starling [Fri, 21 May 2010 05:20:36 +0000 (05:20 +0000)]
Pivot the interpretation of expiry time at 10 years (1980) instead of 1 month.
Mark A. Hershberger [Fri, 21 May 2010 00:57:46 +0000 (00:57 +0000)]
re r66675 fix typo
Mark A. Hershberger [Fri, 21 May 2010 00:52:07 +0000 (00:52 +0000)]
re r66702 Use wfMsgForContent instead of wfMsg
Chad Horohoe [Thu, 20 May 2010 22:24:46 +0000 (22:24 +0000)]
Show/hide memcached server field based on radio selection. Typical flaw of hiding info in JS-disabled browsers, but somebody can fix that :)
Siebrand Mazeland [Thu, 20 May 2010 21:56:48 +0000 (21:56 +0000)]
Mark 'usermessage-template' optional.
Alexandre Emsenhuber [Thu, 20 May 2010 20:36:12 +0000 (20:36 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Thu, 20 May 2010 20:29:31 +0000 (20:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-20 19:30:00 UTC)
Raimond Spekking [Thu, 20 May 2010 19:02:45 +0000 (19:02 +0000)]
Follow-up r66698: Fix syntax error (missing ;)
Mark A. Hershberger [Thu, 20 May 2010 18:47:13 +0000 (18:47 +0000)]
* Add formatting for user messages.
** First, try a hook for the user messages
** Next, check for a template
** Otherwise, do something sane.
Raimond Spekking [Thu, 20 May 2010 18:24:53 +0000 (18:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-20 17:45:00 UTC)
Raimond Spekking [Thu, 20 May 2010 13:38:41 +0000 (13:38 +0000)]
Bug 23608: " " not followed by a semicolon in diffs
Roan Kattouw [Thu, 20 May 2010 07:09:07 +0000 (07:09 +0000)]
Fix r66646: gotta be careful with search&replace
Mark A. Hershberger [Thu, 20 May 2010 02:12:04 +0000 (02:12 +0000)]
* Since it makes sense (to me :) to make the arguments for the two UserMessage hooks more uniform, do it.
* Document these hooks in doc/hooks.txt
Platonides [Wed, 19 May 2010 23:59:05 +0000 (23:59 +0000)]
Follow up r66646 for monobook.
Roan Kattouw [Wed, 19 May 2010 20:43:18 +0000 (20:43 +0000)]
Fix r66646: #simpleSearch is a div, not an input, oops
Raimond Spekking [Wed, 19 May 2010 19:25:55 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-19 19:15:00 UTC)
Roan Kattouw [Wed, 19 May 2010 19:01:19 +0000 (19:01 +0000)]
(bug 23597) Make a number of ID selectors more specific (basically #foo -> div#foo) so they don't accidentally affect headings inserted by users. Skipped IDs that look like they wouldn't be commonly used as headings or that I know exist in Monobook as well.
Raimond Spekking [Wed, 19 May 2010 08:48:44 +0000 (08:48 +0000)]
Transclude message of the submit button per {{int:}} into the explaination message to keep text in sync.
Per suggestion of "User:The Evil IP address" at translatewiki
Mark A. Hershberger [Wed, 19 May 2010 05:33:27 +0000 (05:33 +0000)]
* remove function_exists calls for things that functions that always
exist under supported versions of PHP
** assert() is always defined for DifferenceEngine()
** mail() is always defined for UserMailer()
** is_executable() is defined for Windows from PHP 5.0.0 on
Mark A. Hershberger [Wed, 19 May 2010 02:12:59 +0000 (02:12 +0000)]
* Remove compatibility code for pre-5.1 versions of PHP
* Re-connect to db after error in strencode()
Derk-Jan Hartman [Wed, 19 May 2010 00:40:48 +0000 (00:40 +0000)]
Repair makeThumbLink2() getUnscaledThumb() to pass along the handlerparams to transform()
Fixes bug 23577
Ilmari Karonen [Wed, 19 May 2010 00:03:54 +0000 (00:03 +0000)]
bug 23588: properly colon-escape links used to replace transclusions if post-expand include size is too large
Roan Kattouw [Tue, 18 May 2010 21:38:06 +0000 (21:38 +0000)]
Revert r64426: caused bug 23581 (CollapsibleTabs breakage) for reasons noted in CR comments
Alexandre Emsenhuber [Tue, 18 May 2010 20:59:14 +0000 (20:59 +0000)]
Fixed some doxygen warnings and documented a bit