Derk-Jan Hartman [Thu, 24 Jun 2010 22:13:11 +0000 (22:13 +0000)]
Add a \n to the debug of the HTTP functions, so my debug log is readable.
Raimond Spekking [Thu, 24 Jun 2010 20:23:20 +0000 (20:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-24 20:00:00 UTC)
Platonides [Thu, 24 Jun 2010 13:44:50 +0000 (13:44 +0000)]
Follow up r68491.
Perform doAllQuotes before external links.
Added test case from http://es.wikipedia.org/w/index.php?title=Pablo_Picasso&action=edit§ion=5&oldid=
38079844
Platonides [Thu, 24 Jun 2010 12:44:21 +0000 (12:44 +0000)]
Follow up r54225. DumpRenderer::handleRevision needs to be public in order to be called from WikiImporter.
Follow up r66267. Make WikiImporter use isset instead of is_callable, so errors like the above aren't silently ignored..
Remove wrong $this->stderr
Platonides [Thu, 24 Jun 2010 12:19:42 +0000 (12:19 +0000)]
Follow up r66267.
The length of strings is given by strlen, not count.
It's strange that this worked before. Although for big files it gave a String size overflow fatal error.
Niklas Laxström [Thu, 24 Jun 2010 12:10:08 +0000 (12:10 +0000)]
Whitespace & documentation fix
Niklas Laxström [Thu, 24 Jun 2010 06:20:11 +0000 (06:20 +0000)]
Apply patch from bug 24104 by John Du Hart for allowing custom port.
Also updated the function documentation while at it.
Platonides [Wed, 23 Jun 2010 23:29:54 +0000 (23:29 +0000)]
Disable pretty italics inside links. Now the italics inside a link alternate text will be handled on its own scope but if they come from the page title, they won't be parsed at all. This is a middle way solution to bug 4598. Now all bug 4598 tests pass.
Pretty italics mean that italics go across links: ''Some [[Link|pretty ''italics'' and stuff]]! -> ''Some [[Link|pretty ''italics'' and stuff]]! -> <i>Some <a>pretty <i>italics</i> and stuff</a>!</i>
This also fixes bug 24093, where interface messages saying '''[[$1]]''' has been deleted/renamed/links here were being bitten by this feature.
The best resolution would be to make pretty italics still work inside alternates, feel free to do so, but doesn't seem worth at this point. The right solution should be to rewrite the quotes handling so it takes its scope into account.
Sam Reed [Wed, 23 Jun 2010 19:49:02 +0000 (19:49 +0000)]
Minor followup to r68482, fix the fail I introduced
+ 1 minor improvement to reused method
Sam Reed [Wed, 23 Jun 2010 19:36:26 +0000 (19:36 +0000)]
* (bug 23473) - Give description of properties on all modules
Commit patch by John Du Hart with a few minor tweaks/fixes
Raimond Spekking [Wed, 23 Jun 2010 19:23:47 +0000 (19:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-23 19:10:00 UTC)
Max Semenik [Wed, 23 Jun 2010 18:59:46 +0000 (18:59 +0000)]
Converting MySQL's ENUM to SQLite BLOB doesn't make sense, changed it to TEXT. Also fixed a bug in conversion regex
Siebrand Mazeland [Wed, 23 Jun 2010 18:18:14 +0000 (18:18 +0000)]
Follow-up r68409: shut up PHP Strict Standards notices about "Declaration of Blah::getThumbType() should be compatible with that of MediaHandler::getThumbType()"
Max Semenik [Wed, 23 Jun 2010 16:06:34 +0000 (16:06 +0000)]
Fixes for r66013: fixed syntax, switched interwiki.list to use more customary comments starting with #
Sam Reed [Wed, 23 Jun 2010 12:35:54 +0000 (12:35 +0000)]
Move bug 19910 / r68374 RELEASE-NOTES
Sam Reed [Wed, 23 Jun 2010 12:34:59 +0000 (12:34 +0000)]
* (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied
Patch by John Du Hart
Add a couple of missing braces
Mark A. Hershberger [Wed, 23 Jun 2010 01:08:34 +0000 (01:08 +0000)]
* Adapt install.php to a more “traditional” maintenance-style script so it can extend and use Maintenance class convenience methods.
* Add CliInstaller class and put it in the autoloads.
Mark A. Hershberger [Wed, 23 Jun 2010 01:02:36 +0000 (01:02 +0000)]
remove todo tag now that its done.
Raimond Spekking [Tue, 22 Jun 2010 20:07:49 +0000 (20:07 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-22 19:30:00 UTC)
Daniel Kinzler [Tue, 22 Jun 2010 16:01:54 +0000 (16:01 +0000)]
passing thumbnail params to getThumbType, as suggested by TimStarling in a comment to bug 23258
Sam Reed [Tue, 22 Jun 2010 12:10:26 +0000 (12:10 +0000)]
Resolve fixme of r66539
Move getWatchlistUser to ApiBase
Sam Reed [Tue, 22 Jun 2010 06:05:20 +0000 (06:05 +0000)]
Fix typo (and change wrong variable)
Conrad Irwin [Tue, 22 Jun 2010 00:14:06 +0000 (00:14 +0000)]
(bug 21475) Add \mathtt and \textsf to compliment \mathsf and \texttt in <math>
Conrad Irwin [Mon, 21 Jun 2010 23:22:22 +0000 (23:22 +0000)]
(bug 11641) support \dots[cmio] in <math>
Thanks to Brian Foley for the patch.
Conrad Irwin [Mon, 21 Jun 2010 22:09:05 +0000 (22:09 +0000)]
(bug 21477) Add \& to texvc
Conrad Irwin [Mon, 21 Jun 2010 20:33:07 +0000 (20:33 +0000)]
(bug 19910) Preprocess headings of the form "===+\s+" in the same way as Parser::doHeadings()
Alexandre Emsenhuber [Mon, 21 Jun 2010 20:02:33 +0000 (20:02 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Mon, 21 Jun 2010 19:42:03 +0000 (19:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-21 19:25:00 UTC)
Conrad Irwin [Mon, 21 Jun 2010 14:08:46 +0000 (14:08 +0000)]
(bug 18431) Remove initial whitespace from fragment in Title::secureAndSplit()
Derk-Jan Hartman [Mon, 21 Jun 2010 13:55:55 +0000 (13:55 +0000)]
Add a copyright line for myself to SpecialComparePages
Rotem Liss [Mon, 21 Jun 2010 13:51:27 +0000 (13:51 +0000)]
Localization update for he.
Derk-Jan Hartman [Mon, 21 Jun 2010 13:16:32 +0000 (13:16 +0000)]
Correct the address of the FSF in some of the GPL headers
59 Temple Place -> 51 Franklin Street
Follow up to r68351
Derk-Jan Hartman [Mon, 21 Jun 2010 13:13:32 +0000 (13:13 +0000)]
Correct the address of the FSF in some of the GPL headers
59 Temple Place -> 51 Franklin Street
Sam Reed [Mon, 21 Jun 2010 12:59:04 +0000 (12:59 +0000)]
GPL Headers for all!
Siebrand Mazeland [Mon, 21 Jun 2010 11:15:06 +0000 (11:15 +0000)]
Follow-up r68324: Add usage of PLURAL to message 'file-info-png-repeat'. Code already supports PLURAL (wfMsgExt with parseinline).
Conrad Irwin [Mon, 21 Jun 2010 01:17:36 +0000 (01:17 +0000)]
(bug 22784) Fix normalization of whitespace in autocomment links
put this specific normalisation into Sanitizer::normalizeSectionNameWhitespace
instead of repeating it three times.
Conrad Irwin [Sun, 20 Jun 2010 23:43:39 +0000 (23:43 +0000)]
(bug 17857) Make {{anchorencode}} work in a manner more similar to the way that
section links are created by the parser. Also useful for (bug 18431).
Derk-Jan Hartman [Sun, 20 Jun 2010 22:24:47 +0000 (22:24 +0000)]
Follow up r66566. Rename uploadLink() to getUploadLink() per Bryan's comments
Derk-Jan Hartman [Sun, 20 Jun 2010 22:21:33 +0000 (22:21 +0000)]
Follow up r68279. epub is 'not' an opc archive
Raimond Spekking [Sun, 20 Jun 2010 18:58:27 +0000 (18:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-20 18:40:00 UTC)
Sam Reed [Sun, 20 Jun 2010 18:52:46 +0000 (18:52 +0000)]
Do ApiQueryAllUsers per r68337 (was using while (true)..)
Sam Reed [Sun, 20 Jun 2010 18:48:34 +0000 (18:48 +0000)]
Per mediawiki.org/wiki/Special:Code/MediaWiki/66168#c7252 switch while ( $row = $db->fectchObject( $res ) ) to foreach ( $res as row )
On ApiQueryUsers switch $r to row, and remove nested brackets
Chad Horohoe [Sun, 20 Jun 2010 17:54:07 +0000 (17:54 +0000)]
Delete r68326. Too many fixmes and I don't care right now.
Sam Reed [Sun, 20 Jun 2010 17:48:21 +0000 (17:48 +0000)]
Nuke $db->freeResult() from Api stuffs
Sam Reed [Sun, 20 Jun 2010 17:30:23 +0000 (17:30 +0000)]
Followup r68157 and r68161 per Bryans comment (anons aren't in the group user)
Raimond Spekking [Sun, 20 Jun 2010 16:35:37 +0000 (16:35 +0000)]
Follow-up r68324: Fix syntax error
Derk-Jan Hartman [Sun, 20 Jun 2010 16:17:19 +0000 (16:17 +0000)]
Follow up to r68324. Fix undefined constant.
Derk-Jan Hartman [Sun, 20 Jun 2010 16:15:20 +0000 (16:15 +0000)]
Follow up r68324.
Init PNG info array before we use it. Much cleaner.
Chad Horohoe [Sun, 20 Jun 2010 16:15:00 +0000 (16:15 +0000)]
Fun little script to destroy your wiki
Derk-Jan Hartman [Sun, 20 Jun 2010 16:13:24 +0000 (16:13 +0000)]
Don't override the default Bitmap.php information in the longDescription() for GIF images, simply append.
Derk-Jan Hartman [Sun, 20 Jun 2010 16:09:12 +0000 (16:09 +0000)]
Add a new PNG parser in order to recognize APNG (animated PNG) images.
Rotem Liss [Sun, 20 Jun 2010 15:42:57 +0000 (15:42 +0000)]
Localization update for he.
Chad Horohoe [Sun, 20 Jun 2010 15:41:38 +0000 (15:41 +0000)]
Skip PHP warnings for mkdir() call. We throw our own and having essentially duplicate warnings is annoying
Chad Horohoe [Sun, 20 Jun 2010 15:32:54 +0000 (15:32 +0000)]
Check return value from wfMkdirParents() rather than proceeding and probably failing
Matěj Grabovský [Sun, 20 Jun 2010 14:48:36 +0000 (14:48 +0000)]
Follow-up r68307: ContribsPager now accepts array of options as one parameter insted of one parameter for each option
Shinjiman [Sun, 20 Jun 2010 13:50:06 +0000 (13:50 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Matěj Grabovský [Sun, 20 Jun 2010 11:37:07 +0000 (11:37 +0000)]
(bug 4597) Provide support in Special:Contributions to show only "current" contributions
Rotem Liss [Sun, 20 Jun 2010 08:47:42 +0000 (08:47 +0000)]
Localization update for he, and whitespace fixes in en.
Siebrand Mazeland [Sat, 19 Jun 2010 22:31:24 +0000 (22:31 +0000)]
Follow-up r68291: also remove 'ajax-category' from $wgBlockComments
Siebrand Mazeland [Sat, 19 Jun 2010 22:22:48 +0000 (22:22 +0000)]
Follow-up r59446 (removal of JS2 work): remove messages that were added in r56032, too.
Raimond Spekking [Sat, 19 Jun 2010 21:51:11 +0000 (21:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-19 21:35:00 UTC)
Derk-Jan Hartman [Sat, 19 Jun 2010 21:17:42 +0000 (21:17 +0000)]
(bug 23621) New Special:ComparePages to compare (diff) two articles.
Siebrand Mazeland [Sat, 19 Jun 2010 19:00:42 +0000 (19:00 +0000)]
Add {{int:savearticle}} to 'missingcommentheader'
Derk-Jan Hartman [Sat, 19 Jun 2010 18:47:34 +0000 (18:47 +0000)]
Bug 23642. Best effort mime detection for OpenXML files
OpenXML files are Open Package Convention files. Internally, we use the custom mime application/x-opc+zip for these files. In the database, we store the 'proper' mime, which we gu
ess from the file extension, or if not supported, application/zip. All OPC files are blacklisted by $wgMimeTypeBlacklist by default, just as other zip files.
Derk-Jan Hartman [Sat, 19 Jun 2010 13:40:05 +0000 (13:40 +0000)]
The rendering of autosummary in History and Diff pages did not properly escape the URI fragment before creating the link.
This was causing inconsistencies between anchors in editsummaries and those actually used in pages.
See also bug 18431
Derk-Jan Hartman [Sat, 19 Jun 2010 11:49:26 +0000 (11:49 +0000)]
Use the helper function Title::newMainPage() instead of newFromTitle().
Patch by User:Umherirrender
Rotem Liss [Sat, 19 Jun 2010 10:26:19 +0000 (10:26 +0000)]
Localization update for he.
Shinjiman [Sat, 19 Jun 2010 10:25:57 +0000 (10:25 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Fri, 18 Jun 2010 23:31:39 +0000 (23:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-18 23:20:00 UTC)
Raimond Spekking [Fri, 18 Jun 2010 23:19:18 +0000 (23:19 +0000)]
Follow-up r68224: Update maintenance script
Priyanka Dhanda [Fri, 18 Jun 2010 23:07:25 +0000 (23:07 +0000)]
Test commit. No Changes.
Trevor Parscal [Fri, 18 Jun 2010 23:03:47 +0000 (23:03 +0000)]
Added new line at end of file (just testing a commit for pdhanda)
Alexandre Emsenhuber [Fri, 18 Jun 2010 21:04:49 +0000 (21:04 +0000)]
Fixed some doxygen warnings
Bryan Tong Minh [Fri, 18 Jun 2010 20:09:20 +0000 (20:09 +0000)]
(bug 23465) Don't ignore the predefined destination filename on Special:Upload after following a red link
Bryan Tong Minh [Fri, 18 Jun 2010 20:00:27 +0000 (20:00 +0000)]
(bug 23666) FileRepo: Moved File::isLocal() to FileRepo::isLocal(). Patch by Umherirrender
Max Semenik [Fri, 18 Jun 2010 19:39:08 +0000 (19:39 +0000)]
Fixed hit counter on SQLite
Daniel Kinzler [Fri, 18 Jun 2010 19:21:04 +0000 (19:21 +0000)]
follop-up to 68230: forgot to commit the styles needed for layout grids
Daniel Kinzler [Fri, 18 Jun 2010 19:17:17 +0000 (19:17 +0000)]
let mode="grid" on a wiki table trigger output as div soup instead of a html table. this should get rid of "layout tables" that confuse screen readers etc. this is very experimental - feel free to revert, i just want to have this diff in the repository, to play with...
Roan Kattouw [Fri, 18 Jun 2010 18:00:54 +0000 (18:00 +0000)]
Followup to r67554: move getAcceptLang() to WebRequest for general use, per CR.
Roan Kattouw [Fri, 18 Jun 2010 17:36:54 +0000 (17:36 +0000)]
Followup to r68177: per CR, move SimpleSearch preference to core.
Sam Reed [Fri, 18 Jun 2010 11:52:24 +0000 (11:52 +0000)]
RELEASE-NOTES for r68211
Roan Kattouw [Fri, 18 Jun 2010 09:30:38 +0000 (09:30 +0000)]
(bug 24016) API: Handle parameters specified in simple string syntax ( 'paramname' => 'defaultval' ) correctly when outputting help. Patch by Brad Jorsch.
Mark A. Hershberger [Thu, 17 Jun 2010 22:28:06 +0000 (22:28 +0000)]
Organise sub-dirs in AutoLoader.php
Raimond Spekking [Thu, 17 Jun 2010 19:11:20 +0000 (19:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-17 18:50:00 UTC)
Roan Kattouw [Thu, 17 Jun 2010 19:01:50 +0000 (19:01 +0000)]
(bug 23520) Add preference for SimpleSearch so users can disable it, and make it obey the "Disable AJAX suggestions" preference
Roan Kattouw [Thu, 17 Jun 2010 09:39:07 +0000 (09:39 +0000)]
Followup to r68157: simplify ApiQueryUsers::getAutoGroups()
Alexandre Emsenhuber [Thu, 17 Jun 2010 09:13:32 +0000 (09:13 +0000)]
* (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws a fatal error
Sam Reed [Thu, 17 Jun 2010 08:15:56 +0000 (08:15 +0000)]
Rem whitespace, function comment for r68158
Sam Reed [Thu, 17 Jun 2010 08:00:42 +0000 (08:00 +0000)]
Minor followup to r68156, add "user" as implicit group
Refactor out and reuse in ApiQueryUserInfo
Add couple more braces to SpecialUserrights
Sam Reed [Thu, 17 Jun 2010 07:39:31 +0000 (07:39 +0000)]
* (bug 24009) Include implicit groups in action=query&list=users&usprop=groups
Add some whitespace, fix some braces in ApiQueryUsers
Add a few braces to SpecialUserrights.php, change or to || and and to &&
Raimond Spekking [Thu, 17 Jun 2010 07:32:39 +0000 (07:32 +0000)]
Add the current limit (manually changed by a user) from the query string to avoid that the limit is lost after clicking Go next time
Aaron Schulz [Thu, 17 Jun 2010 05:59:32 +0000 (05:59 +0000)]
Removed unused mTouchTmplLinks var
Chad Horohoe [Wed, 16 Jun 2010 21:48:31 +0000 (21:48 +0000)]
Return boolean, not a file object
Ariel Glenn [Wed, 16 Jun 2010 20:12:29 +0000 (20:12 +0000)]
distinguish failed text retrieval from empty text, consolidate text retrieval retry code, die after maxConsecutiveFailedTextRetrievals (of separate revisions)
Raimond Spekking [Wed, 16 Jun 2010 19:38:46 +0000 (19:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-16 19:30:00 UTC)
Alexandre Emsenhuber [Wed, 16 Jun 2010 19:02:12 +0000 (19:02 +0000)]
* Modified Special:Undelete to extend SpecialPage instead of using wfSpecialUndelete()
* Changed SpecialPage::getTitleFor( 'Undelete' ) to $this->getTitle()
Mark A. Hershberger [Wed, 16 Jun 2010 18:26:47 +0000 (18:26 +0000)]
* Create new DatabaseSqlite::checkForEnabledSearch() and use it from SearchSqlite::fulltextSearchSupported() instead of querying the updatelog table. This was the only use of updatelog under the non-maint code.
* Add the searchindex table to the list of tables to preserve for testing.
* Adapt SearchEngineTest to work with Sqlite.
* Add fulltext setup for SQLite to the new installer code.
* TODO: SqliteInstaller::setupSearchIndex() should not be using addHtml()
Chad Horohoe [Wed, 16 Jun 2010 17:24:32 +0000 (17:24 +0000)]
Kill off another AjaxFunction. The only thing that ever used this was Configure, and it hasn't used it in a long time (r44266)
Tim Starling [Wed, 16 Jun 2010 00:26:20 +0000 (00:26 +0000)]
In wfGetAllCallers(): Added a limit to the stack depth, omit wfGetAllCallers itself from the list, added articles to the documentation.
Adam Miller [Tue, 15 Jun 2010 22:29:06 +0000 (22:29 +0000)]
Complimetary CSS changes for r68108. Changes here pertaining to consistency in rendering. Removing the line height, and ensuring the text input doesn't decide to render lower than it should.