Last modified: 2010-05-15 14:35:53 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
*** Bug 827 has been marked as a duplicate of this bug. ***
See also: [[:en:User talk:IMSoP#Information managment]] (including addendum)
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)
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.
Will this go into CVS HEAD now ?
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 ?
> 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?
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.
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.
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.
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.
Yes, please (soon, if possible). This patch is really great and useful.
Created attachment 143 [details]
Patch as merged to REL1_4; with proper SQL escaping
*** Bug 4442 has been marked as a duplicate of this bug. ***