Commit graph

18294 commits

Author SHA1 Message Date
Raimond Spekking
481f3df101 Do not add an empty class='' 2008-05-13 18:51:46 +00:00
Brion Vibber
a4f9b72a62 * (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.
2008-05-13 17:40:56 +00:00
Aaron Schulz
9568cafcf5 If no current revision, cache as dead link 2008-05-13 16:06:31 +00:00
Raimond Spekking
44abdfff1d Add CSS classes to allow easier hiding of elements.
Per request of the German screenreader project 'BIENE'
2008-05-13 15:59:29 +00:00
Roan Kattouw
d8e56e6352 Oops 2008-05-13 14:56:51 +00:00
Roan Kattouw
717fd5b102 Actually this *should* be a LEFT JOIN, or we'll be dropping log entries 2008-05-13 14:41:35 +00:00
Roan Kattouw
ba0f2974df Force the pl_from/tl_from index here, as there are reasons to believe MySQL 4 selects the wrong index here (see bug 14102) 2008-05-13 14:01:40 +00:00
Aaron Schulz
46360f6f12 Remove unused tableNamesN() call 2008-05-13 13:24:52 +00:00
Raimond Spekking
db09d7aa48 Localisation updates German 2008-05-13 11:28:07 +00:00
Roan Kattouw
22bab7ac08 $token is a parameter, so it's set by extractRequestParams() 2008-05-13 10:53:12 +00:00
Roan Kattouw
3a655b831f Technical, behind-the-scenes changes with no user-observed change don't belong in RELEASE-NOTES 2008-05-13 10:51:12 +00:00
Bryan Tong Minh
c316a2d6d3 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. 2008-05-13 10:42:32 +00:00
Roan Kattouw
3ca55a03ad (bug 14012) prop=templates filesorts under some conditions 2008-05-13 10:39:01 +00:00
Roan Kattouw
d470d9800d Making INNER JOIN implicit 2008-05-13 10:21:56 +00:00
Bryan Tong Minh
0006103d40 (bug 13829) Expose parse tree via action=expandtemplates 2008-05-13 09:03:23 +00:00
Aaron Schulz
df921ab0b9 Comment 2008-05-13 06:39:55 +00:00
Niklas Laxström
cc3b6374c3 * Lets fix the other one too :) 2008-05-13 06:20:03 +00:00
Aaron Schulz
d7bbb89668 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" 2008-05-13 05:54:23 +00:00
Aran Dunkley
f35262a4b2 Remove obsolete commen 2008-05-13 05:11:33 +00:00
Aaron Schulz
dbfd693607 Split of query from query text generation. This makes creating sql statements for UNIONs much easier. 2008-05-13 04:56:14 +00:00
Aaron Schulz
7d7aa13638 INNER JOIN 2008-05-13 04:29:54 +00:00
Aaron Schulz
86efd5a765 * Fix undefined variable error
* Clean up query stuff
2008-05-13 03:59:42 +00:00
Aran Dunkley
dc059c3b16 oops, interwiki inserts were commented out 2008-05-13 00:03:05 +00:00
Aran Dunkley
844a9e580f remove licence etc to make same as the other DB includes 2008-05-13 00:01:00 +00:00
Aran Dunkley
97e6aea0a0 remove licence etc to make same as the other DB includes 2008-05-12 23:59:06 +00:00
Brion Vibber
044dca14bc 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
2008-05-12 23:46:42 +00:00
Brion Vibber
610b660d8e Revert r34559 and fix r34542 -- include rightclickedit.js for 'edit on right click' pref, must have forgot to finish it up before commit :D 2008-05-12 23:37:51 +00:00
Brion Vibber
651eff1627 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.
2008-05-12 23:09:30 +00:00
Brion Vibber
92aecd02c1 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
2008-05-12 22:01:44 +00:00
Siebrand Mazeland
17577bf7b4 Partial revert of r12145. Bug 12145 Kazakh message updates did not mention/motivate these changes. 2008-05-12 21:13:09 +00:00
Siebrand Mazeland
a1d4537ec9 Localisation updates for core messages from Betawiki (2008-05-12 22:45 CEST) 2008-05-12 20:55:47 +00:00
Alexandre Emsenhuber
5b38740bc1 (bug 12145) Kazakh message updates 2008-05-12 20:30:57 +00:00
Bryan Tong Minh
3adb5d6daf Add a link to viewvc 2008-05-12 17:47:51 +00:00
Leon Weber
e04ae6d540 (bug 12145) Kazakh localisation updates. Patch 4894 by AlefZet 2008-05-12 15:44:12 +00:00
Huji
78a9522501 * Adding/updating Persian translations 2008-05-12 15:37:33 +00:00
Rotem Liss
2bc431bc01 Update. 2008-05-12 14:39:06 +00:00
Huji
2e4fba38f4 (bug 14063) Power search form missing <label> for redirects check 2008-05-12 14:28:09 +00:00
Bryan Tong Minh
b3aaa8e4a6 (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation 2008-05-12 14:12:51 +00:00
Aryeh Gregor
3274b66a6d 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.
2008-05-12 13:56:21 +00:00
Aaron Schulz
bb81c98d44 * Add user_text index to filearchives (for renames at least)
* Remove useless, incomplete, deleted_user index
2008-05-12 04:35:08 +00:00
Shinjiman
fea4a5dfa8 Localisation updates Cantonese, Chinese and Old/Late Time Chinese 2008-05-12 02:08:14 +00:00
Niklas Laxström
e2d506a27b * Forget the offset in the form also 2008-05-11 21:55:43 +00:00
Niklas Laxström
9df08aabb8 * Code cleanup 2008-05-11 21:43:16 +00:00
Bryan Tong Minh
b47c418a67 Refactor SpecialEmailUser.php to split outputting from other stuff so that a to be written API module can easily use the existing code. 2008-05-11 21:07:33 +00:00
Siebrand Mazeland
2152d0c8bc Localisation updates for core messages from Betawiki (2008-05-11 22:57 CEST) 2008-05-11 21:02:26 +00:00
Greg Sabino Mullane
dfbb03c690 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.
2008-05-11 20:39:43 +00:00
Aaron Schulz
dbad34cb69 Tweak doc 2008-05-11 20:24:15 +00:00
Aaron Schulz
75cd7536b0 GAID_FOR_UPDATE 2008-05-11 20:22:49 +00:00
Greg Sabino Mullane
f6a93e08b8 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.
2008-05-11 20:22:25 +00:00
Bryan Tong Minh
3c9536652a Put code to view redirect page in new method Article::viewRedirect in order to allow displaying redirects on foreign file repos. 2008-05-11 19:49:08 +00:00