Commit graph

32 commits

Author SHA1 Message Date
Tim Starling
e185e2b9b3 * Fix for r60163: in RC/RCL, hash together all the options, not just namespace, in order to form the cache key.
* Removed Crb from the credits since none of his code remains.
* Fixed two bugs which both broke feed links on RCL: $this->mTargetTitle not initialised when setTopText() is called, and $out->setFeedAppendQuery() in setBottomText() overridden by a subsequent call to setSyndicated(). Fixed both by rearranging data flow, using memoized accessors instead of setup functions to eliminate bugs due to execution order.
* Renamed a few variables which were unclear ($feed and $feedObj).
2010-02-10 04:13:43 +00:00
Platonides
60c0474ca8 (bug 19226) First line renders differently on many UI messages
Added newlines before $1 to wrapWikiMsgs of <div>s

Also fixes r61052 utf-8 screw-up on RELEASE-NOTES.
2010-01-14 17:14:49 +00:00
Max Semenik
c668e71421 (bug 20256) Fixed SQL errors on Special:Recentchanges and Special:Recentchangeslinked on SQLite backend 2009-10-17 12:23:23 +00:00
Alexandre Emsenhuber
7d9261ce1e * (bug 20131) PHP Notice: Undfined index: page_latest in includes/ChangesList.php on line 476
Special:Recentchangeslinked now also selects the 'page_latest' field for users having the 'rollback' right, as Special:Recentchanges does
2009-08-08 20:47:11 +00:00
Andrew Garrett
776b4aa829 Fix for bug 19887, make sure tagfilter form option is "consumed" (whatever that means), prevents old value from being propagated through the form. 2009-07-27 10:45:18 +00:00
Siebrand Mazeland
9bea1536e2 (bug 14866) 'recentchangeslinked' should be split into individual messages
* Copy 'recentchangeslinked' to 'recentchangeslinked-feed' and 'recentchangeslinked-toolbox' to allow more fine grained customisation of the UI.
2009-06-03 23:56:42 +00:00
Niklas Laxström
d3b61fea7c Escaping fixes 2009-05-22 09:35:48 +00:00
Jure Kajzer
95f953b5c3 Preparations for Oracle database abstraction update. Take II.
Replaced hardcoded LIMIT clauses with database function (except in maintenance).
Created unionQueries in Database and overloaded it in DatabaseOracle (not commited yet).
Replaced all UNION clauses with function calls (except in maintenance).
2009-05-19 16:58:56 +00:00
Aryeh Gregor
57fa8aba4c Partial revert of r50478 "Preparations for Oracle database abstraction update."
Syntax error in RecentChangesLinked with MySQL 5.0: "1248: Every derived
table must have its own alias (localhost)".  Also likely to fail in
MySQL 4.0 even with an alias added, since subqueries don't work.
2009-05-11 14:05:21 +00:00
Jure Kajzer
45758df495 Preparations for Oracle database abstraction update.
Replaced a few hardcoded LIMIT clauses with database function.
Wrapped UNION statement in SpecialRecentchangeslinked for Oracle compatibility.
2009-05-11 12:38:45 +00:00
Chad Horohoe
b40301cad4 rm stray $wgUser 2009-04-06 14:22:54 +00:00
Aaron Schulz
a9c3676502 Fixed fatal from r49068. Removed verbose formatting :) 2009-03-31 15:57:13 +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
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
Aaron Schulz
c4b92206fc * Added 'target' param to changesfeed to fix total breakage of RCL feed. They were all using the same cache so the feed for page X sometimes showed the feed for page Y.
* Removed extra constant cache key params
* Added feed comments
* Fixed tab space
2009-01-17 18:44:28 +00:00
Brion Vibber
a7a6cb9ea9 Revert r45165 "Pretty up WLH form slightly"
'Linked to this page instead' is even less comprehensible to me than 'Show changes to pages linked to the given page instead'
2008-12-31 21:12:01 +00:00
Aaron Schulz
f4e6b2174c Pretty up WLH form slightly 2008-12-29 21:57:34 +00:00
Ilmari Karonen
34fb6297cd Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).
This is a global search and replace of NS_IMAGE and NS_IMAGE_TALK with NS_FILE and NS_FILE_TALK respectively in all core files, excluding those already updated in step 1 (r44004).
2008-12-01 17:14:30 +00:00
Aaron Schulz
5b1c1c94f6 (bug 13179) Allow transclusion of Special:RecentChangesLinked 2008-10-08 21:31:09 +00:00
Ilmari Karonen
ad254e9ddc Make sure no outgoing links are listed for nonexistent pages. Used to look for links from article 0, which could produce confusing results if the database contained any (broken) records that actually matched such a query. 2008-09-14 04:28:16 +00:00
Alexandre Emsenhuber
9cf2b8cdf0 (bug 15482) Special:Recentchangeslinked has no longer two submit buttons 2008-09-04 21:20:16 +00:00
Alexandre Emsenhuber
61301fbfe2 Fixes for r38707:
* $wgOut is already passed to the function in the $out param
* Don't throw a fatal error if the target param is set but to an invalid/empty title (Fatal error: Call to a member function getPrefixedText() on a non-object in ./includes/specials/SpecialRecentchangeslinked.php on line 169)
2008-08-06 17:35:19 +00:00
Raimond Spekking
9e7d843185 * Consistency tweaks with other special pages like move/protect/delete:
** Add a backlink subtitle
** Remove 1 hardcoded '<' backlink and 1 '>' backlink
2008-08-06 12:49:16 +00:00
Alexandre Emsenhuber
add351a262 $res is a ResultWrapper object 2008-07-26 08:42:29 +00:00
Ilmari Karonen
9dc2b29fb5 Make Special:Recentchangeslinked display changes to transcluded pages (templatelinks table) and embedded images (imagelinks table). This should help a bit against the recent spate of template vandalism on enwiki.
Also make the "Show changes to pages linked" button work for categories.

Remaining issues / things to do:
 - Test performance of the UNION query on a larger dataset than my test wiki.
 - Add some checkboxes to allow filtering the results like on Special:Whatlinkshere.
 - Try to think of some way to make the behavior for categories less klugy.
2008-07-22 22:37:55 +00:00
Alexandre Emsenhuber
29893ef98e One more tweak: double global declaration of $wgOut 2008-07-06 12:45:52 +00:00
Aaron Schulz
4c1545e6c0 Replace underscores in target 2008-07-01 15:35:21 +00:00
Alexandre Emsenhuber
c51e647554 Tweaks for r36682:
* output an error if an invalid title was given
* Don't allow interwiki links
* Removed unused global definition of $wgContLang in SpecialRecentchanges::makeOptionsLink()
2008-06-27 11:43:39 +00:00
Alexandre Emsenhuber
4611030ce9 Rewritten Special:Recentchangeslinked, now using a subclass of SpecialRecentchanges:
* (bugs 4832, 9481, 12890) Now has all options present in Special:Recentchanges (hide myself, bots, ...)
* Using "showlinkedto" on a template now uses the templatelinks table to fetch links instead of pagelinks
* [[Special:Recentchanges/0]] now works as expected, thanks to Nikerabbit for pointing this out
2008-06-26 19:12:52 +00:00
Brion Vibber
9624a035cf re-tweak filename: todo -- refactor this crap to use classes and the autoloader 2008-06-19 21:40:36 +00:00
Brion Vibber
660a5eb7aa Rename all the special page class files back to their proper names.
1) This keeps the filename the same as the classname, which is always nice
2) This avoids duplicate filenames (such as includes/Export.php and includes/specials/Export.php)
So I've at least got a chance of figuring out what file is what still...
2008-06-19 21:12:45 +00:00
Renamed from includes/specials/Recentchangeslinked.php (Browse further)