Aaron Schulz [Tue, 13 May 2008 21:03:57 +0000 (21:03 +0000)]
E_STRICT
Aaron Schulz [Tue, 13 May 2008 20:02:25 +0000 (20:02 +0000)]
Actually, page not always selected. Add this only when needed.
Aaron Schulz [Tue, 13 May 2008 19:58:12 +0000 (19:58 +0000)]
Actually specify page_id=rev_page to avoid cartesian join bringing the site down again
Raimond Spekking [Tue, 13 May 2008 19:05:13 +0000 (19:05 +0000)]
Localisation updates German
Rotem Liss [Tue, 13 May 2008 19:04:50 +0000 (19:04 +0000)]
Update.
Raimond Spekking [Tue, 13 May 2008 19:02:32 +0000 (19:02 +0000)]
* Localisation updates German
* Update messages.inc per r34751
Brion Vibber [Tue, 13 May 2008 18:59:18 +0000 (18:59 +0000)]
Cleanup r34661 (bug 14063 -- <label> for powersearch redirect checkbox)
Got rid of the old weird messages that combined localization with layout. Layout's now in nice clean code, with localization in nice clean messages. Yay!
Raimond Spekking [Tue, 13 May 2008 18:51:46 +0000 (18:51 +0000)]
Do not add an empty class=''
Brion Vibber [Tue, 13 May 2008 17:40:56 +0000 (17:40 +0000)]
* (bug 14111) Similar filename warning links now lead to correct page
A title object was getting created without the Image namespace, so lead to wrong links when used in fileexists-extension warning message. For consistency, using target name with namespace in both spots on that message now as well.
Aaron Schulz [Tue, 13 May 2008 16:06:31 +0000 (16:06 +0000)]
If no current revision, cache as dead link
Raimond Spekking [Tue, 13 May 2008 15:59:29 +0000 (15:59 +0000)]
Add CSS classes to allow easier hiding of elements.
Per request of the German screenreader project 'BIENE'
Roan Kattouw [Tue, 13 May 2008 14:56:51 +0000 (14:56 +0000)]
Oops
Roan Kattouw [Tue, 13 May 2008 14:41:35 +0000 (14:41 +0000)]
Actually this *should* be a LEFT JOIN, or we'll be dropping log entries
Roan Kattouw [Tue, 13 May 2008 14:01:40 +0000 (14:01 +0000)]
Force the pl_from/tl_from index here, as there are reasons to believe MySQL 4 selects the wrong index here (see bug 14102)
Aaron Schulz [Tue, 13 May 2008 13:24:52 +0000 (13:24 +0000)]
Remove unused tableNamesN() call
Raimond Spekking [Tue, 13 May 2008 11:28:07 +0000 (11:28 +0000)]
Localisation updates German
Roan Kattouw [Tue, 13 May 2008 10:53:12 +0000 (10:53 +0000)]
$token is a parameter, so it's set by extractRequestParams()
Roan Kattouw [Tue, 13 May 2008 10:51:12 +0000 (10:51 +0000)]
Technical, behind-the-scenes changes with no user-observed change don't belong in RELEASE-NOTES
Bryan Tong Minh [Tue, 13 May 2008 10:42:32 +0000 (10:42 +0000)]
ApiQueryRevisions now uses the Revision backend. This allows a more proper handling of rev_deleted. Also in case rev_size is filled on demand (bug 12188) there is only need to do this in one place.
Roan Kattouw [Tue, 13 May 2008 10:39:01 +0000 (10:39 +0000)]
(bug 14012) prop=templates filesorts under some conditions
Roan Kattouw [Tue, 13 May 2008 10:21:56 +0000 (10:21 +0000)]
Making INNER JOIN implicit
Bryan Tong Minh [Tue, 13 May 2008 09:03:23 +0000 (09:03 +0000)]
(bug 13829) Expose parse tree via action=expandtemplates
Aaron Schulz [Tue, 13 May 2008 06:39:55 +0000 (06:39 +0000)]
Comment
Niklas Laxström [Tue, 13 May 2008 06:20:03 +0000 (06:20 +0000)]
* Lets fix the other one too :)
Aaron Schulz [Tue, 13 May 2008 05:54:23 +0000 (05:54 +0000)]
Utilize r34708 tweak. Various performance tweaks. For results in one non-main namespace, use the new_name_timestamp index so it doesn't take 50 seconds doing "anon edits in NS_MEDIAWIKI"
Aran Dunkley [Tue, 13 May 2008 05:11:33 +0000 (05:11 +0000)]
Remove obsolete commen
Aaron Schulz [Tue, 13 May 2008 04:56:14 +0000 (04:56 +0000)]
Split of query from query text generation. This makes creating sql statements for UNIONs much easier.
Aaron Schulz [Tue, 13 May 2008 04:29:54 +0000 (04:29 +0000)]
INNER JOIN
Aaron Schulz [Tue, 13 May 2008 03:59:42 +0000 (03:59 +0000)]
* Fix undefined variable error
* Clean up query stuff
Aran Dunkley [Tue, 13 May 2008 00:03:05 +0000 (00:03 +0000)]
oops, interwiki inserts were commented out
Aran Dunkley [Tue, 13 May 2008 00:01:00 +0000 (00:01 +0000)]
remove licence etc to make same as the other DB includes
Aran Dunkley [Mon, 12 May 2008 23:59:06 +0000 (23:59 +0000)]
remove licence etc to make same as the other DB includes
Brion Vibber [Mon, 12 May 2008 23:46:42 +0000 (23:46 +0000)]
Revert r34619, r34622 and do it right. :)
* $extensionsList is a local variable, not a global, so there is no actual register_globals danger -- just annoying E_NOTICE spam.
* Setting $extensionList won't help with warnings about unset $extensionsList ;)
* Cleaner to set it in the fallback case near where it's set otherwise, rather than at the top of the function far, far away from its use
Brion Vibber [Mon, 12 May 2008 23:37:51 +0000 (23:37 +0000)]
Revert r34559 and fix r34542 -- include rightclickedit.js for 'edit on right click' pref, must have forgot to finish it up before commit :D
Brion Vibber [Mon, 12 May 2008 23:09:30 +0000 (23:09 +0000)]
Revert r34585: "Normalise also special page names (in addition to namespace)"
Unclear what it's meant to accomplish, but it appears to break at least the AJAX search on special page list. Unable to get it to jump through the list properly, probably due to being impossible to work with a Title object with an arbitrary name, so it's impossible to jump partway into the list.
Brion Vibber [Mon, 12 May 2008 22:01:44 +0000 (22:01 +0000)]
apply live hacks from wikimedia site:
* fix $wgDBadminuser/pass usage with new load balancer
* some test.wikipedia check... yay hardcoded crap :D
* hardcoded wikimedia PMTPA check, yay
Siebrand Mazeland [Mon, 12 May 2008 21:13:09 +0000 (21:13 +0000)]
Partial revert of r12145. Bug 12145 Kazakh message updates did not mention/motivate these changes.
Siebrand Mazeland [Mon, 12 May 2008 20:55:47 +0000 (20:55 +0000)]
Localisation updates for core messages from Betawiki (2008-05-12 22:45 CEST)
Alexandre Emsenhuber [Mon, 12 May 2008 20:30:57 +0000 (20:30 +0000)]
(bug 12145) Kazakh message updates
Bryan Tong Minh [Mon, 12 May 2008 17:47:51 +0000 (17:47 +0000)]
Add a link to viewvc
Leon Weber [Mon, 12 May 2008 15:44:12 +0000 (15:44 +0000)]
(bug 12145) Kazakh localisation updates. Patch 4894 by AlefZet
Huji [Mon, 12 May 2008 15:37:33 +0000 (15:37 +0000)]
* Adding/updating Persian translations
Rotem Liss [Mon, 12 May 2008 14:39:06 +0000 (14:39 +0000)]
Update.
Huji [Mon, 12 May 2008 14:28:09 +0000 (14:28 +0000)]
(bug 14063) Power search form missing <label> for redirects check
Bryan Tong Minh [Mon, 12 May 2008 14:12:51 +0000 (14:12 +0000)]
(bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
Aryeh Gregor [Mon, 12 May 2008 13:56:21 +0000 (13:56 +0000)]
Tweaks to Special:ListGroupRights:
* Have the internally-used permission key in parentheses after the descriptive text, since a primary purpose of the page is for sysadmins' convenience.
* Make sure to use the word "rollback" in rollback-related messages -- that's the name of the button, after all.
* Adjust the wording of a couple of other messages so they sound better or are clearer.
Aaron Schulz [Mon, 12 May 2008 04:35:08 +0000 (04:35 +0000)]
* Add user_text index to filearchives (for renames at least)
* Remove useless, incomplete, deleted_user index
Shinjiman [Mon, 12 May 2008 02:08:14 +0000 (02:08 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Niklas Laxström [Sun, 11 May 2008 21:55:43 +0000 (21:55 +0000)]
* Forget the offset in the form also
Niklas Laxström [Sun, 11 May 2008 21:43:16 +0000 (21:43 +0000)]
* Code cleanup
Bryan Tong Minh [Sun, 11 May 2008 21:07:33 +0000 (21:07 +0000)]
Refactor SpecialEmailUser.php to split outputting from other stuff so that a to be written API module can easily use the existing code.
Siebrand Mazeland [Sun, 11 May 2008 21:02:26 +0000 (21:02 +0000)]
Localisation updates for core messages from Betawiki (2008-05-11 22:57 CEST)
Greg Sabino Mullane [Sun, 11 May 2008 20:39:43 +0000 (20:39 +0000)]
Refactor duplicated code into one area.
Remove unneeded parens in regexes, don't set matches array if not needed.
Add warning about odd gmmktime() behavior.
Aaron Schulz [Sun, 11 May 2008 20:24:15 +0000 (20:24 +0000)]
Tweak doc
Aaron Schulz [Sun, 11 May 2008 20:22:49 +0000 (20:22 +0000)]
GAID_FOR_UPDATE
Greg Sabino Mullane [Sun, 11 May 2008 20:22:25 +0000 (20:22 +0000)]
Clean up date formatting per bug 14067, remove assumptions that things like
20051300000000 will work. It's fine for dates-as-integers, but goes horribly
wrong when fed to $dbr->timestamp(), which calls gmmktime(). The latter function
has a bug/feature causing any 0s in the month or day field to cause a month
or day's *subtraction*. We might want to modify timestamp() to handle that, as
I can imagine any MW code would want to rely on such a feature, but that's not
this patch.
Also set a limit for Y2K38 problems, as gmmktime() doesn't like that very much either.
Bryan Tong Minh [Sun, 11 May 2008 19:49:08 +0000 (19:49 +0000)]
Put code to view redirect page in new method Article::viewRedirect in order to allow displaying redirects on foreign file repos.
Robert Leverington [Sun, 11 May 2008 17:31:38 +0000 (17:31 +0000)]
Avoid possible register_globals issue.
Robert Leverington [Sun, 11 May 2008 17:21:10 +0000 (17:21 +0000)]
Remove paramter that only appears to illustrate the fact more parameters can be added and causes an E_STRICT level error.
Robert Leverington [Sun, 11 May 2008 17:15:15 +0000 (17:15 +0000)]
Notice: Undefined variable: extensionsList in includes/SpecialUpload.php on line 1081
Huji [Sun, 11 May 2008 16:12:36 +0000 (16:12 +0000)]
* Adding/updating Persian translations
Aaron Schulz [Sun, 11 May 2008 14:54:45 +0000 (14:54 +0000)]
Consistent type
Aran Dunkley [Sun, 11 May 2008 11:23:52 +0000 (11:23 +0000)]
pages can render, but many operations break it
Aran Dunkley [Sun, 11 May 2008 06:12:07 +0000 (06:12 +0000)]
replace with newly generated version
Aran Dunkley [Sun, 11 May 2008 02:20:19 +0000 (02:20 +0000)]
add some dev notes and other info
Aaron Schulz [Sat, 10 May 2008 23:31:52 +0000 (23:31 +0000)]
Add $flags
Aran Dunkley [Sat, 10 May 2008 22:52:20 +0000 (22:52 +0000)]
gets thru installation procedure but fails on article access
Siebrand Mazeland [Sat, 10 May 2008 20:48:53 +0000 (20:48 +0000)]
Localisation updates. Rebuilt all language files, removing obsolete messages
Siebrand Mazeland [Sat, 10 May 2008 20:48:08 +0000 (20:48 +0000)]
Fix typo
Siebrand Mazeland [Sat, 10 May 2008 20:43:23 +0000 (20:43 +0000)]
Localisation updates for core messages from Betawiki (2008-05-08 22:30 CEST)
Victor Vasiliev [Sat, 10 May 2008 19:22:14 +0000 (19:22 +0000)]
* Fix image redirect caching so it doesn't break image redirects on shared repositories
Ryan Schmidt [Sat, 10 May 2008 18:31:05 +0000 (18:31 +0000)]
Fix for bug 13677
Alexandre Emsenhuber [Sat, 10 May 2008 17:41:17 +0000 (17:41 +0000)]
E_STRICT
Huji [Sat, 10 May 2008 17:29:21 +0000 (17:29 +0000)]
* Adding/updating Persian translations
* Rebuilding MessagesFa and MessagesEn
Leon Weber [Sat, 10 May 2008 16:41:35 +0000 (16:41 +0000)]
(bug 12145) Kazakh localisation updates, patch 4893 by AlefZet
Rotem Liss [Sat, 10 May 2008 16:29:19 +0000 (16:29 +0000)]
For compatibility (DefaultSettings.php currently crashes when LocalSettings.php doesn't exist).
Roan Kattouw [Sat, 10 May 2008 16:25:49 +0000 (16:25 +0000)]
Fixing grammar in error message
Niklas Laxström [Sat, 10 May 2008 15:14:39 +0000 (15:14 +0000)]
* Normalise also special page names (in addition to namespace)
Bryan Tong Minh [Sat, 10 May 2008 14:19:25 +0000 (14:19 +0000)]
Don't call wfFindFile twice when it's not necessary.
Rotem Liss [Sat, 10 May 2008 13:58:55 +0000 (13:58 +0000)]
Update.
Niklas Laxström [Sat, 10 May 2008 13:46:05 +0000 (13:46 +0000)]
* Consistent case and autoloader
Niklas Laxström [Sat, 10 May 2008 13:44:25 +0000 (13:44 +0000)]
* Added code two commonly needed use cases: separate label and input, and select
Aaron Schulz [Sat, 10 May 2008 13:42:07 +0000 (13:42 +0000)]
Just use @ here too
Aaron Schulz [Sat, 10 May 2008 13:38:07 +0000 (13:38 +0000)]
Pass in $join_conds
Niklas Laxström [Sat, 10 May 2008 12:55:59 +0000 (12:55 +0000)]
* Use local cache as well, this might be called a lot in certain circumstances
Aran Dunkley [Sat, 10 May 2008 12:17:45 +0000 (12:17 +0000)]
Change binary's to varchar's and allow NULL's
Niklas Laxström [Sat, 10 May 2008 11:56:02 +0000 (11:56 +0000)]
* Use Xml:: and so
Niklas Laxström [Sat, 10 May 2008 11:21:16 +0000 (11:21 +0000)]
* Use addScriptFile
Bryan Tong Minh [Sat, 10 May 2008 11:12:53 +0000 (11:12 +0000)]
(bug 13943) Fix image redirect behaviour on image pages:
* Confused redirect source with target
* Don't check for article existence if the target is a foreign image page
Niklas Laxström [Sat, 10 May 2008 11:00:19 +0000 (11:00 +0000)]
* typo
Shinjiman [Sat, 10 May 2008 10:53:56 +0000 (10:53 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Roan Kattouw [Sat, 10 May 2008 10:49:26 +0000 (10:49 +0000)]
* Re-applying r34449, r34500 and r34518 which Brion reverted by accident
* Adding ApiQueryBase::addJoinConds() as wrapper for Database::select()'s $join_conds parameter
* Migrating query modules to addJoinConds()
* Using implicit join rather than INNER JOIN in ApiQueryBacklinks
* Using FORCE INDEX (times) on logging table in ApiQueryLogEvents; although MySQL 4 seems to pick this index automatically (evidenced by the fact the WMF servers are still alive), MySQL 5 doesn't and filesorts
* Replacing LEFT JOIN with implicit (inner) join in ApiQueryContributions: revisions without a corresponding page table entry shouldn't be shown anyway
Roan Kattouw [Sat, 10 May 2008 10:31:57 +0000 (10:31 +0000)]
Allow an array as ON clause. There are quite a few queries out there that JOIN on title and namespace.
Niklas Laxström [Sat, 10 May 2008 10:10:52 +0000 (10:10 +0000)]
* Use Xml:: functions and remove the huge warning about escaping
Niklas Laxström [Sat, 10 May 2008 09:52:51 +0000 (09:52 +0000)]
* Automatic edit summaries can be turned of with $wgUseAutomaticEditSummaries
Roan Kattouw [Sat, 10 May 2008 09:49:21 +0000 (09:49 +0000)]
E_NOTICE: $options['USE_INDEX'] might not be set
Niklas Laxström [Sat, 10 May 2008 09:48:03 +0000 (09:48 +0000)]
* Typo in comment
Niklas Laxström [Sat, 10 May 2008 09:40:26 +0000 (09:40 +0000)]
* Partly revert 34542, broke my section editing
Niklas Laxström [Sat, 10 May 2008 09:34:27 +0000 (09:34 +0000)]
* Use full path
Niklas Laxström [Sat, 10 May 2008 09:31:47 +0000 (09:31 +0000)]
* cy date formats..