Last modified: 2010-05-15 14:35:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 144 - Special:Recentchangeslinked for particular categories
Special:Recentchangeslinked for particular categories
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 827 4442 (view as bug list)
Depends on:
Blocks: 943
  Show dependency treegraph
 
Reported: 2004-08-16 14:43 UTC by xmlizer
Modified: 2010-05-15 14:35 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


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

Description xmlizer 2004-08-16 14:43:50 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 Rowan Collins [IMSoP] 2004-11-08 18:28:40 UTC
*** Bug 827 has been marked as a duplicate of this bug. ***
Comment 2 lɛʁi לערי ריינהארט 2004-11-16 03:26:57 UTC
See also: [[:en:User talk:IMSoP#Information managment]] (including addendum)

Regards Reinhardt
Comment 3 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 Dan Keshet (English Wikipedia) 2004-11-20 00:37:16 UTC
Created attachment 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 T. Gries 2004-11-20 00:40:03 UTC
Will this go into CVS HEAD now ?
Comment 6 T. 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 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 Dan Keshet (English Wikipedia) 2004-11-20 03:57:42 UTC
Created attachment 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 Dan Keshet (English Wikipedia) 2004-11-21 02:43:25 UTC
Created attachment 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 T. 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 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 T. Gries 2004-12-03 07:58:27 UTC
Yes, please (soon, if possible). This patch is really great and useful.
Comment 13 Brion Vibber 2004-12-03 08:17:51 UTC
Created attachment 143 [details]
Patch as merged to REL1_4; with proper SQL escaping
Comment 14 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.


Navigation
Links