Commit graph

112 commits

Author SHA1 Message Date
Aaron Schulz
d43c8027f5 (bug 17060) Renders edit comments the same for all users wrt to revdelete 2009-05-19 19:19:41 +00:00
Aaron Schulz
8432c504c3 Tweaks to r50567:
* Improved exception handling
* Removed redundant ls_log_id cond
* Added log_type to getLogQueryCond()
* Don't show duplicate rows in log results
* populateLogSearch now handles an older log_param format
2009-05-14 19:49:33 +00:00
Aaron Schulz
a69fb48274 [schema change] Use new log_search table to replace ugly code from r48839. Maintenance script added to populate the table with revisiondelete log items. 2009-05-13 22:03:32 +00:00
Aryeh Gregor
8a9a059949 Update docs to note what passing empty string does
See r50128.
2009-05-04 13:30:57 +00:00
Tim Starling
1824453461 (bug 18657) Workaround for MySQL optimiser bug. Replaces Domas's live patch. 2009-05-04 09:31:34 +00:00
Aaron Schulz
07146c4b3a Fixed dropdown selector display and other log type issues due to string -> array conversion 2009-05-02 14:34:45 +00:00
Aaron Schulz
2eaa5161b1 Fixed total log breakage due to type safety issues 2009-05-02 13:42:51 +00:00
Chad Horohoe
fdbb1752ab Kill a bunch of unused $wgUser 2009-04-28 03:03:48 +00:00
Aryeh Gregor
419d75cadf Fix variable name in comment 2009-04-24 17:22:10 +00:00
Aryeh Gregor
a1f8c5acb1 (bug 16950) Show move log when recreating a page
Showing the move log as well as delete log helps with pages that were
moved with no redirect, or moved and then the redirect deleted with a
confusing message.  Previously, such pages would appear to have never
existed to a user trying to create them.

Patch by church of emacs, with trivial modifications by me.
2009-04-24 17:20:48 +00:00
Aaron Schulz
ec0dd5b272 (bug 18361) Suppression log should be in the UI language, not content language 2009-04-10 20:01:10 +00:00
Aaron Schulz
bec5902090 Hide show/hide links for NO_ACTION_LINK 2009-04-04 17:00:01 +00:00
Aaron Schulz
723b73dd54 RevisionDelete log extract query optimizations 2009-04-03 12:58:39 +00:00
Andrew Garrett
da05879656 Fix tag filtering by adding a FORCE INDEX to the relevant queries 2009-03-31 13:01:05 +00:00
Aaron Schulz
c70e19343d Don't show unclickable show/hide links for suppression log 2009-03-27 20:34:16 +00:00
Aaron Schulz
f43688d76a Fix r48837: Add target param back, still needed in some places 2009-03-27 10:20:53 +00:00
Aaron Schulz
1046aee39e Fix url params for multi-item deletion by converting to CVS 2009-03-25 17:52:40 +00:00
Jack Phoenix
aad2850eff prefix two input IDs on Special:Log with 'mw-log-' to avoid too generic IDs 2009-03-22 16:36:37 +00:00
Aaron Schulz
b1a07c99cb Added diff links to revision delete log items 2009-03-22 01:07:42 +00:00
Aaron Schulz
3b6712b831 Don't apply DELETED_USER restriction on query for users with 'suppressrevision' 2009-03-20 04:29:49 +00:00
Aaron Schulz
020cc6ef33 minor tweak: revisiondelete id url param is an array 2009-03-10 19:15:27 +00:00
Aaron Schulz
76b9c5d1d2 * Only show private logs on specific request
* Tweak suppress log header to be more like oversight
2009-03-03 23:47:16 +00:00
Andrew Garrett
95b59edea3 Partial revert of r47192 (* removed DefaultQuery cruft) -- That cruft was kinda important. 2009-02-18 04:49:25 +00:00
Aaron Schulz
1f1fc5e1bc Follow-up to r47192: do the same for PageHistory 2009-02-12 19:23:14 +00:00
Aaron Schulz
1e06acb820 * consolidated getDateMenu duplication into xml.php
* made filter settings carry over when pressing "go"
* made filter links a bit smaller
* removed DefaultQuery cruft
* updated docs
2009-02-12 19:02:14 +00:00
Alexandre Emsenhuber
1d2b359dbe Oops, accidentally reverted r47053 in m last commit 2009-02-10 13:10:43 +00:00
Alexandre Emsenhuber
44f78fbb13 Allow entities so that the " " in pipe-separator are not escaped twice 2009-02-10 13:04:18 +00:00
Siebrand Mazeland
be805f47bc Replace hard coded pipe separators with locale based 2009-02-09 21:47:00 +00:00
Siebrand Mazeland
a130b5b8fa * Update message 'pipe-separator' to have leading and trailing space for English and Occitan, to be able to remove some hard coded spaces
* Take out some hard coded pipe characters. Replace by message or Language::pipeList
* Take out a hard coded comma list SpecialIpblocklist.php. Replace by Language::commaList
2009-02-09 09:13:30 +00:00
Aaron Schulz
b3614f4a87 (bug 17342) Prevent deleted log item leaking (via slow brute-force) 2009-02-04 18:54:59 +00:00
Siebrand Mazeland
62732def2b (bug 17283) Remove double URL escaping in show/hide links for log entries and RevisionDeleteForm::__construct. Patch contributed by Mormegil. 2009-02-02 16:29:51 +00:00
Andrew Garrett
dc77abf286 Don't show tag filter boxes if no tags are defined. To support this change without bringing down servers, cache the list of valid tags in the object cache. 2009-01-30 23:24:29 +00:00
Andrew Garrett
9a3c1fcede Branch merge of change-tagging branch with trunk
-- Introduce tagging of individual changes (revisions, logs, and on recentchanges). The tags are customisable, and currently settable by the Abuse Filter and by the TorBlock extension. The tags can be styled on the various pages on which they appear.
-- Introduces a schema change, three new tables (valid_tag, change_tag, and tag_summary).
2009-01-28 19:08:18 +00:00
Alex Z
b5d624f1c0 (bug 17055) Use a CSS class ('mw-revdelundel-link') for RevisionDelete "(show/hide)" links rather than hardcoded <tt><small>, reduce some code duplication by creating Linker::revDeleteLink() to make the links. 2009-01-18 21:07:09 +00:00
Raimond Spekking
1413bfd983 Add a linebreak per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45052#c1221 2009-01-12 19:51:49 +00:00
Aaron Schulz
25022f0d66 (bug 16045) Pagination links break on Special:Log/Username 2009-01-02 21:55:10 +00:00
Brion Vibber
b3b3280c0b Cleanup to r44994 -- use __METHOD__ rather than __FUNCTION__ in wfDeprecated() calls in constructors for deprecated classes. __FUNCTION__ will return only "__construct" which ain't quite what we want. :) 2008-12-30 18:53:56 +00:00
Raimond Spekking
7f0ea5f62e * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to 'li' elements 2008-12-26 12:34:03 +00:00
Raimond Spekking
0202aeec2c * Special:Log: Add 'change protection' link for unprotected pages too
* For protection log lines: Change format '(hist) (change)' to '(hist | change)'
* Precache 'pipe-separator'
2008-12-26 12:07:42 +00:00
Aaron Schulz
847a92ac9e Whitespace/line breaks to keep this decent looking 2008-12-24 00:09:19 +00:00
Raimond Spekking
539cc3beb8 * (bug 16760) Add CSS-class to action links of Special:Log 2008-12-22 19:52:49 +00:00
Andrew Garrett
d2bd3be2e3 Fix broken and double escaping in r44657. 2008-12-17 00:00:55 +00:00
Aaron Schulz
a45494196f *Add missing 'reblock' check and message setting
*Move right checks to typeAction to make the code prettier
2008-12-16 19:20:35 +00:00
Alexandre Emsenhuber
a50f6322f8 Fix for r44657: correct usage of SpecialPage::getTitleFor() 2008-12-16 11:41:51 +00:00
Raimond Spekking
2f49fc8f46 * Add a 'change block' link to Special:IPBlockList und Special:Log 2008-12-16 08:51:56 +00:00
Alexandre Emsenhuber
6f81a31fd6 Fix doxygen warnings 2008-12-07 19:56:02 +00:00
Siebrand Mazeland
0a9af4a884 Consistent casing for addHTML() 2008-11-06 22:20:29 +00:00
Tim Starling
25a4c93ad2 Escaping once is enough. 2008-11-04 00:43:39 +00:00
Tim Starling
88ce2bf36c Fixes for r42642:
* Fix excessively abbreviated variable names $y and $m
* Don't use empty() unless you want to suppress warnings
* More documentation for $wgFilterLogTypes
* hide_patrol_log instead of hidepatrollog, camelCase for variable and function names, hyphens for message names
* More spaces, break long lines
2008-11-04 00:33:09 +00:00
Aaron Schulz
0afe9be72d Visibility housekeeping 2008-10-27 14:03:05 +00:00