Aaron Schulz [Fri, 5 Sep 2008 04:14:15 +0000 (04:14 +0000)]
Add begin() for good housekeeping
Tim Starling [Fri, 5 Sep 2008 03:46:07 +0000 (03:46 +0000)]
In wfDebugLog(): log the hostname if $wgShowHostnames is true. Cache the hostname.
Chad Horohoe [Fri, 5 Sep 2008 03:41:31 +0000 (03:41 +0000)]
Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I just don't know what they do.
Tim Starling [Fri, 5 Sep 2008 03:32:09 +0000 (03:32 +0000)]
In wfShellExec(), log return code 127 to a special log file, to check for missing executables on the Wikimedia cluster.
Chad Horohoe [Fri, 5 Sep 2008 01:36:51 +0000 (01:36 +0000)]
Better test name for test 13. Like test 12, we should say *what* about wfTime() we're checking.
Alexandre Emsenhuber [Thu, 4 Sep 2008 23:25:53 +0000 (23:25 +0000)]
(bug 15292) New message notification for unregistred users now works again
Alexandre Emsenhuber [Thu, 4 Sep 2008 22:20:32 +0000 (22:20 +0000)]
missing svn:keywords property
Roan Kattouw [Thu, 4 Sep 2008 21:53:43 +0000 (21:53 +0000)]
(bug 15466) Added action=purge to the API. Modified patch by ^demon
Alexandre Emsenhuber [Thu, 4 Sep 2008 21:20:16 +0000 (21:20 +0000)]
(bug 15482) Special:Recentchangeslinked has no longer two submit buttons
Siebrand Mazeland [Thu, 4 Sep 2008 20:59:09 +0000 (20:59 +0000)]
Localisation updates for core from Betawiki
Siebrand Mazeland [Thu, 4 Sep 2008 20:50:29 +0000 (20:50 +0000)]
Localisation updates for core messages from Betawiki (2008-09-04 22:41 CEST)
Alexandre Emsenhuber [Thu, 4 Sep 2008 20:38:08 +0000 (20:38 +0000)]
* Document OutputPageCheckLastModified hook
* Added includes/diff/ to the list of paths in maintenance/findhooks.php
Aaron Schulz [Thu, 4 Sep 2008 20:14:12 +0000 (20:14 +0000)]
More EditPage cleanup, mainly coding/whitespace tweaks. Also note that from previous commit, showDeletionLog() is called regardless of special intros.
Roan Kattouw [Thu, 4 Sep 2008 19:48:48 +0000 (19:48 +0000)]
(bug 15479) action=login no longer sets wait parameter when result="Throttled"; regression from r40054
Aaron Schulz [Thu, 4 Sep 2008 19:32:58 +0000 (19:32 +0000)]
Clean up showIntro():
* Tweak code style
* Move exists() check to deletion log function
* Document this fucking code
Roan Kattouw [Thu, 4 Sep 2008 15:52:23 +0000 (15:52 +0000)]
Oops
Roan Kattouw [Thu, 4 Sep 2008 15:17:51 +0000 (15:17 +0000)]
* Split patrol code
** Backend code moved to RecentChange::reallyMarkPatrolled() and doMarkPatrolled()
** Adapted Article::markpatrolled()
* (bug 15466) Added action=patrol to the API. Modified patch by Soxred93
* Added rctoken=patrol to list=recentchanges
* Detect duplicate warnings in ApiBase::setWarning()
Daniel Friesen [Thu, 4 Sep 2008 13:57:52 +0000 (13:57 +0000)]
Revert r40251 by aaron. Broke &editintro= bug15455.
Roan Kattouw [Thu, 4 Sep 2008 13:42:22 +0000 (13:42 +0000)]
(bug 15471) Fix regression from r40088 which caused apprefix=Main_Page/ to fail because Main Page/. is not a valid title
Roan Kattouw [Thu, 4 Sep 2008 13:40:33 +0000 (13:40 +0000)]
(bug 15473) Correcting Doxygen comment for ApiEditPage
Tim Starling [Thu, 4 Sep 2008 07:45:52 +0000 (07:45 +0000)]
Clarify documentation
Aaron Schulz [Thu, 4 Sep 2008 07:28:48 +0000 (07:28 +0000)]
Avoid string '::' call in $wgSpecialPageCacheUpdates
Tim Starling [Thu, 4 Sep 2008 06:37:51 +0000 (06:37 +0000)]
Ignore invalid titles in $out->getLanguageLinks().
Tim Starling [Thu, 4 Sep 2008 06:19:27 +0000 (06:19 +0000)]
Fix for bug 13770, second attempt. Tested with a conflicting install of both dom and domxml, as per the report.
Chad Horohoe [Thu, 4 Sep 2008 04:15:27 +0000 (04:15 +0000)]
No more icky mkdir() calls. Grepping for mkdir() now returns nothing :)
Tim Starling [Thu, 4 Sep 2008 03:23:42 +0000 (03:23 +0000)]
Work around database corruption reported on WP:VPT -- unlinked title instead of PHP error. Break long lines.
Tim Starling [Thu, 4 Sep 2008 03:22:26 +0000 (03:22 +0000)]
Documentation
Brion Vibber [Thu, 4 Sep 2008 03:13:55 +0000 (03:13 +0000)]
* (bug 2889) MediaWiki:Print.css applies to the printable version
MediaWiki:Handheld.css and MediaWiki:Print.css now available (handheld only if $wgHandheldStyle is configured).
Alexandre Emsenhuber [Thu, 4 Sep 2008 01:29:24 +0000 (01:29 +0000)]
No need to wrap it in a ResultWrapper object as Database::query() already returns a ResultWrapper object
David McCabe [Wed, 3 Sep 2008 22:57:26 +0000 (22:57 +0000)]
Made ChangesList::insertUserRelatedLinks public for use by hooks.
Alexandre Emsenhuber [Wed, 3 Sep 2008 22:47:34 +0000 (22:47 +0000)]
fix XHTML error
David McCabe [Wed, 3 Sep 2008 22:13:03 +0000 (22:13 +0000)]
Added OldChangesListRecentChangesLine hook for customizing RC messages in OldChangesList mode. TODO: Customize other ChangesList implementations.
Siebrand Mazeland [Wed, 3 Sep 2008 21:28:24 +0000 (21:28 +0000)]
Localisation updates for core messages from Betawiki (2008-09-03 23:15 CEST)
Chad Horohoe [Wed, 3 Sep 2008 18:01:51 +0000 (18:01 +0000)]
Parser test for bug 15453
Chad Horohoe [Wed, 3 Sep 2008 17:30:20 +0000 (17:30 +0000)]
Add @ingroup definitions to these. Created new group HTTP for web-related things (cookies, headers, HTTP requests, etc).
Chad Horohoe [Wed, 3 Sep 2008 15:47:42 +0000 (15:47 +0000)]
Implement 'thumbDir' configuration parameter for local and foreign repos. Replaces apiThumbCacheDir as it's redundant. Also allows for customization of the default '/thumb/' path on local repos.
Roan Kattouw [Wed, 3 Sep 2008 14:47:49 +0000 (14:47 +0000)]
(bug 15448) YAML output returns empty strings instead of 0. Surprisingly, this was not caused by PHP's "helpful" 0=='' ; research shows this was a regression from r32485 that no one ever noticed
Roan Kattouw [Wed, 3 Sep 2008 14:26:41 +0000 (14:26 +0000)]
(bug 15444) API: Throwing a regular 'unknownerror' rather than ('unknownerror', AS_END) when EditPage::AS_END is returned, for consistency with other write modules.
Aryeh Gregor [Wed, 3 Sep 2008 14:02:32 +0000 (14:02 +0000)]
Fix for r40379, allow commas again
Chad Horohoe [Wed, 3 Sep 2008 13:50:37 +0000 (13:50 +0000)]
+docs
Aryeh Gregor [Wed, 3 Sep 2008 13:45:10 +0000 (13:45 +0000)]
Use ECMAScript standard, section 9.3, to decide what's a number
r40348 was kind of broken, in terms of considering strings like "e" to be numbers. The version before that would also act incorrectly for strings like ".".
Aaron Schulz [Wed, 3 Sep 2008 04:43:17 +0000 (04:43 +0000)]
fix case
Aaron Schulz [Wed, 3 Sep 2008 04:17:20 +0000 (04:17 +0000)]
Move doMassUserBlock() to core
Tim Starling [Wed, 3 Sep 2008 04:07:14 +0000 (04:07 +0000)]
Removed useless ss_row_id condition. Fixed "$activeUsers === -1", comparison fails because it's actually the string "-1", no doubt because it's a BIGINT which is too big for PHP to represent with an numeric type.
Tim Starling [Wed, 3 Sep 2008 03:54:38 +0000 (03:54 +0000)]
Minus one is plural in English.
Tim Starling [Wed, 3 Sep 2008 03:19:18 +0000 (03:19 +0000)]
Temporarily reverted SpecialUpload.php to r37968, before Bryan's changes, pending resolution of issues described by private email, specifically:
* No means for an extension to add extra upload sources
* initialize() method not generic
* stashSession() not generic enough for conceivable alternate UIs
* UploadFromUrl still uses $wgOut
* Not enough comments
Tim Starling [Wed, 3 Sep 2008 02:32:01 +0000 (02:32 +0000)]
This part of r40323 is useful.
Tim Starling [Wed, 3 Sep 2008 02:28:41 +0000 (02:28 +0000)]
Reverting r40323, as per comments on wikitech-l. Deprecated doesn't mean removed. It doesn't even mean it'll be removed in the future. It just means you shouldn't use it.
Aryeh Gregor [Wed, 3 Sep 2008 00:18:11 +0000 (00:18 +0000)]
Style: use local variable, use else if
Aryeh Gregor [Wed, 3 Sep 2008 00:16:43 +0000 (00:16 +0000)]
(bug 15422) Sort more types of numbers in sortable tables
Patch based on one by Mike Horvath.
Aryeh Gregor [Tue, 2 Sep 2008 22:59:58 +0000 (22:59 +0000)]
(bug 15436) Support more currency types for sortable tables
Patch by Mike Horvath.
Aaron Schulz [Tue, 2 Sep 2008 21:38:42 +0000 (21:38 +0000)]
Add ampersand to hook
Aaron Schulz [Tue, 2 Sep 2008 21:29:22 +0000 (21:29 +0000)]
Make getLatestRevID faster
Chad Horohoe [Tue, 2 Sep 2008 15:15:54 +0000 (15:15 +0000)]
Fully deprecate $wgProxyKey. Has been marked as deprecated since 1.4, but never seems to have been done. Sites with $wgProxyKey set will continue to use the setting (added a fallback in Setup). Fixes bugs 9258 and 12089.
Aryeh Gregor [Tue, 2 Sep 2008 02:11:50 +0000 (02:11 +0000)]
Remove unused and uninitialized variable in wikibits.js
Pointed out by Mike Horvath on bug 15399.
Ryan Schmidt [Mon, 1 Sep 2008 21:58:05 +0000 (21:58 +0000)]
* fixing error causing a PHP E_NOTICE.
Aryeh Gregor [Mon, 1 Sep 2008 19:53:36 +0000 (19:53 +0000)]
(bug 15405) Sort yen correctly in sortable tables
Patch by Mike Horvath.
Rotem Liss [Mon, 1 Sep 2008 19:46:58 +0000 (19:46 +0000)]
Localization update.
Aaron Schulz [Mon, 1 Sep 2008 19:22:28 +0000 (19:22 +0000)]
* Remove mysql var and move field init to updaters.inc
Aryeh Gregor [Mon, 1 Sep 2008 19:15:04 +0000 (19:15 +0000)]
(bug 15399) Disable odd/even classes for sortable tables
These might or might not be useful, but if they are useful they should be added in PHP, not JavaScript. There have been reports of significant slowness for large tables due to the row numbering. This also fixes a bug where setting ts_alternate_row_colors = false would only work until the user tried sorting the table.
Patch by Mike Horvath.
Ryan Schmidt [Mon, 1 Sep 2008 18:49:14 +0000 (18:49 +0000)]
* $wgAllowExternalImagesFrom may now be an array of multiple strings.
* Added an on-wiki external image whitelist. Items in this whitelist are
treated as regular expression fragments to match for when possibly
displaying an external image inline. Controlled by $wgEnableImageWhitelist
(true by default)
Tim Starling [Mon, 1 Sep 2008 15:05:25 +0000 (15:05 +0000)]
Fix r40194, which was obviously incorrect. There's no reason $sectionTitle should be valid, so you should probably check to see if Title::newFromText() succeeded, rather than checking the validity of some unrelated variable. Also: use the new three-parameter Title::makeTitleSafe(), instead of cloning and setting mFragment directly.
Rotem Liss [Mon, 1 Sep 2008 12:02:49 +0000 (12:02 +0000)]
Localization update.
Tim Starling [Mon, 1 Sep 2008 08:09:16 +0000 (08:09 +0000)]
Rename UploadFromBase to UploadBase. It's best to use English rather than inventing our own language.
Tim Starling [Mon, 1 Sep 2008 06:39:22 +0000 (06:39 +0000)]
Fix spelling MIN_LENGHT_PARTNAME
Tim Starling [Mon, 1 Sep 2008 04:32:36 +0000 (04:32 +0000)]
header() replaces by default, there's no need to pass a second parameter
Siebrand Mazeland [Sun, 31 Aug 2008 21:40:53 +0000 (21:40 +0000)]
Localisation updates for core messages from Betawiki (2008-08-31 23:26 CEST)
Aaron Schulz [Sun, 31 Aug 2008 19:29:37 +0000 (19:29 +0000)]
* Maintain active user count for Special:Statistics (bug 13585)
* Add a global to add update functions to updateSpecialPages.php
Bryan Tong Minh [Sun, 31 Aug 2008 17:11:22 +0000 (17:11 +0000)]
* (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
Tim Starling [Sun, 31 Aug 2008 13:03:30 +0000 (13:03 +0000)]
Make it a lot harder to unprotect the MediaWiki namespace. In response to cs.wikinews.org screwup.
Antoine Musso [Sun, 31 Aug 2008 12:59:45 +0000 (12:59 +0000)]
Add css classes to the Pager just like our QueryPages
Antoine Musso [Sun, 31 Aug 2008 12:58:14 +0000 (12:58 +0000)]
Wrap content in class="mw-spcontent"
Siebrand Mazeland [Sun, 31 Aug 2008 08:16:36 +0000 (08:16 +0000)]
Localisation updates. Import from az.wikipedia.org
Bryan Tong Minh [Sat, 30 Aug 2008 22:07:59 +0000 (22:07 +0000)]
Fix a few undeclared variables in upload warning code.
Bryan Tong Minh [Sat, 30 Aug 2008 21:55:50 +0000 (21:55 +0000)]
$this->mLocalFile; not $file
Siebrand Mazeland [Sat, 30 Aug 2008 18:03:59 +0000 (18:03 +0000)]
Update RELEASE-NOTES with added languages
Siebrand Mazeland [Sat, 30 Aug 2008 17:54:08 +0000 (17:54 +0000)]
Localisation updates for extension messages from Betawiki (2008-08-30 19:05 CEST)
Shinjiman [Sat, 30 Aug 2008 13:33:05 +0000 (13:33 +0000)]
* Added support of piped wikilinks using double-width brackets
patch by PhiLiP
Siebrand Mazeland [Sat, 30 Aug 2008 10:29:35 +0000 (10:29 +0000)]
Localisation updates for core messages from Betawiki (2008-08-30 12:18 CEST)
Shinjiman [Sat, 30 Aug 2008 10:15:49 +0000 (10:15 +0000)]
Update the Chinese conversion tables
Shinjiman [Sat, 30 Aug 2008 10:12:19 +0000 (10:12 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Sat, 30 Aug 2008 00:29:46 +0000 (00:29 +0000)]
* Small performance tweak by switching check order
* Tweak comments
Bryan Tong Minh [Fri, 29 Aug 2008 21:49:36 +0000 (21:49 +0000)]
Fix for my previous commit: Filter out null values
Bryan Tong Minh [Fri, 29 Aug 2008 21:09:18 +0000 (21:09 +0000)]
Add a function to require one and only one parameter of a list.
Victor Vasiliev [Fri, 29 Aug 2008 20:27:25 +0000 (20:27 +0000)]
As Raymond points out, there is a mw-submit class
Victor Vasiliev [Fri, 29 Aug 2008 20:16:29 +0000 (20:16 +0000)]
* Add class='mw-input' to the input row
* Move submit button to the table
Siebrand Mazeland [Fri, 29 Aug 2008 19:19:13 +0000 (19:19 +0000)]
Removed 'log-search-legend' and 'log-search-submit'. Introduced in r20746 and reverted a few weeks later in r21380. Thanks to SPQRobin for spotting this.
Aaron Schulz [Fri, 29 Aug 2008 19:12:56 +0000 (19:12 +0000)]
clean up addLinkObj()
Huji [Fri, 29 Aug 2008 18:40:53 +0000 (18:40 +0000)]
Localisation updates: Adding/updating Persian translations
Siebrand Mazeland [Fri, 29 Aug 2008 13:46:06 +0000 (13:46 +0000)]
Fix breakage of Live preview (patch by dantman himself)
Rotem Liss [Fri, 29 Aug 2008 13:40:47 +0000 (13:40 +0000)]
Fixing HTML escaping.
Rotem Liss [Fri, 29 Aug 2008 13:17:12 +0000 (13:17 +0000)]
* Fixing a wrong count of succeeding file undeletions when private files are undeleted: private files are not moved, and thus are not counted by storeBatch and should be added to the success count manually. This showed a bougs error when only private files were undeleted.
* Removing an outdated note in Special:Undelete: Restrictions on file revisions do not seem to be lost upon restoration.
Rotem Liss [Fri, 29 Aug 2008 12:28:26 +0000 (12:28 +0000)]
Respect file restrictions in the file history list. This is done by adding oi_deleted to the list of selected fields in OldLocalFile.
Rotem Liss [Fri, 29 Aug 2008 12:15:17 +0000 (12:15 +0000)]
+1 credit.
Rotem Liss [Fri, 29 Aug 2008 12:11:45 +0000 (12:11 +0000)]
Fixing comment.
Rotem Liss [Fri, 29 Aug 2008 12:01:54 +0000 (12:01 +0000)]
Adding some recent contributors to core translation to the list of translators. This should be completed by a list of BetaWiki translators.
Rotem Liss [Fri, 29 Aug 2008 11:55:55 +0000 (11:55 +0000)]
Fixing release notes item.
Rotem Liss [Fri, 29 Aug 2008 11:54:34 +0000 (11:54 +0000)]
Show thumbnails in the file history list. The dimensions are the same as in the default image gallery. Patch by User:Agbad, rewritten by me.
Meno25 [Fri, 29 Aug 2008 11:52:37 +0000 (11:52 +0000)]
Update file
Rotem Liss [Fri, 29 Aug 2008 10:25:24 +0000 (10:25 +0000)]
Fixing a fatal error on upload page:
Fatal error: Call to a member function isAllowed() on a non-object in /home/rotemliss/Server/wiki/source/trunk/phase3/includes/specials/SpecialUpload.php on line 125
The old code (introduced in r40190) used a $this->mUpload object, which does not exist on GET requests to Special:Upload. The new code uses direct User::isAllowed check in such cases.