144 Special:Recentchangeslinked for particular categories

Last modified: 2006-01-02 06:06:53 UTCFirst Last Prev Next No search results available


Details
: Special:Recentchangeslinked for particular categories
Bug#: 144
: MediaWiki
: Special pages
Status: RESOLVED
Resolution: FIXED
: All
: All
: unspecified
: enhancement

:
: fixed-in-cvs
:
: 943
Show dependency tree - Show dependency graph
People
Reporter: xmlizer <xmlizer@gmail.com>
Assigned To: Wikibugs <wikibugs-l@lists.wikimedia.org>
:

Attachments
Patch to allow related changes on categories. (1.20 KB, patch)
2004-11-20 00:37 UTC, Dan Keshet (English Wikipedia)
Details | Diff
Patch to allow related changes on all categories, ghost or otherwise (1.97 KB, patch)
2004-11-20 03:57 UTC, Dan Keshet (English Wikipedia)
Details | Diff
Final version: this time, use getDBKey() instead of partialURL() (1.94 KB, patch)
2004-11-21 02:43 UTC, Dan Keshet (English Wikipedia)
Details | Diff
Patch as merged to REL1_4; with proper SQL escaping (2.22 KB, patch)
2004-12-03 08:17 UTC, Brion Vibber
Details | Diff


Description:Opened: 2004-08-16 14:43 UTC
the Special:Recentchangeslinked page is very useful, but it will become
optimally useful if we can use it over a Category
You could see all the recent changes over the pages included in the category
------- Comment #1 From Rowan Collins [IMSoP] 2004-11-08 18:28:40 UTC -------
*** Bug 827 has been marked as a duplicate of this bug. ***
------- Comment #2 From lɛʁi לערי ריינהארט 2004-11-16 03:26:57 UTC -------
See also: [[:en:User talk:IMSoP#Information managment]] (including addendum)

Regards Reinhardt
------- Comment #3 From lɛʁi לערי ריינהארט 2004-11-16 03:34:05 UTC -------
Sorry about the wong link (before)!
- the starting colon was generating a "Bad title"
- space(s) in the "anchor" must be replaced with underschores

See also: [[en:User talk:IMSoP#Information_managment]] (including addendum)

Regards Reinhardt
------- Comment #4 From Dan Keshet (English Wikipedia) 2004-11-20 00:37:16 UTC -------
Created an attachment (id=128) [details]
Patch to allow related changes on categories.

This patch is very simple.  If the page is in the category namespace, instead
of showing related changes for pages the page links to, it shows related
changes for pages that link to that page.  It does not also show related
changes for pages linked to from the category.
------- Comment #5 From Tom Gries 2004-11-20 00:40:03 UTC -------
Will this go into CVS HEAD now ?
------- Comment #6 From Tom Gries 2004-11-20 01:51:26 UTC -------
Dan, 

I am unsure, if this patch really works. I have applied it to MediaWiki 1.3.7
(and adapted the FROM ...  in the select to the old statment layout), but it
does not give the wanted results.

Also when applied to CVS 1.4 it does not work, as the Category pages lack the
link "related changes" - instead a toolbox is shown. 

Dan, please can you repair this, too ?
------- Comment #7 From Dan Keshet (English Wikipedia) 2004-11-20 02:42:41 UTC -------
> I am unsure, if this patch really works. I have applied it to MediaWiki 1.3.7
> (and adapted the FROM ...  in the select to the old statment layout), but it
> does not give the wanted results.

As it's not a security feature, I assume it won't be accepted before 1.4 anyway.
 
> Also when applied to CVS 1.4 it does not work, as the Category pages lack the
> link "related changes" - instead a toolbox is shown. 

I composed and tested it on a fresh install from CVS.  Special:Version calls my
local version "1.4-prealpha".  

"Related Changes" is in the toolbox for pages in the category namespace on my
CVS install.  Are there plans to remove this?
------- Comment #8 From Dan Keshet (English Wikipedia) 2004-11-20 03:57:42 UTC -------
Created an attachment (id=129) [details]
Patch to allow related changes on all categories, ghost or otherwise

This is another version of the related changes patch.  This version uses the
categorylinks table instead of the links table.  It's probably a tad slower,
but you can see related changes on categories that have never been saved.  It
can be backported to 1.3, unlike the first patch.
------- Comment #9 From Dan Keshet (English Wikipedia) 2004-11-21 02:43:25 UTC -------
Created an attachment (id=130) [details]
Final version: this time, use getDBKey() instead of partialURL()

Final version, I promise.  This time, use getDBKey() instead of partialURL(). 
Now works for all legal categories.
------- Comment #10 From Tom Gries 2004-11-22 07:10:15 UTC -------
This patch is great, i like it.  I am using the mw1.3.7/1.3.8 version. 

You probably need to adjust the $days default value on your private wiki in
SpecialRelatedchanges.php to get a chance for the last recent changes of all
pages listed. For example, I have increased this value from 7 to 365.


Tom
------- Comment #11 From Brion Vibber 2004-12-03 07:53:25 UTC -------
Note: don't use the posted patch as is on a public server, as it contains an
SQL injection vulnerability.

I'll go ahead and merge a fixed version.
------- Comment #12 From Tom Gries 2004-12-03 07:58:27 UTC -------
Yes, please (soon, if possible). This patch is really great and useful.
------- Comment #13 From Brion Vibber 2004-12-03 08:17:51 UTC -------
Created an attachment (id=143) [details]
Patch as merged to REL1_4; with proper SQL escaping
------- Comment #14 From Zigger 2006-01-02 06:04:45 UTC -------
*** Bug 4442 has been marked as a duplicate of this bug. ***

Note

You need to log in before you can comment on or make changes to this bug.

Related actions
Votes: 5


First Last Prev Next No search results available
Personal tools