Last modified: 2014-09-24 01:32:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4447, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2447 - Inclusion of special pages with parameters
Inclusion of special pages with parameters
Status: RESOLVED DUPLICATE of bug 15558
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.5.x
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php/Pr...
: patch, patch-need-review
Depends on: 813
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-18 18:42 UTC by lɛʁi לערי ריינהארט
Modified: 2014-09-24 01:32 UTC (History)
5 users (show)

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


Attachments
patch against double-include-problem (891 bytes, patch)
2006-05-28 12:57 UTC, jesus c. meyendriesch
Details

Description lɛʁi לערי ריינהארט 2005-06-18 18:42:02 UTC
Hallo!

http://test.leuksman.com/index.php/Project:Special_pages/inclusions#tests
and
http://test.leuksman.com/index.php/Project:Categories/inclusions#tests

are showing some inclusion test of pages in namespace category and special.

The parameters used in the URL's should be used accordingly. Parameter
conversion from special characters to {{PAGENAMEE}} style values should be done
automaticaly providing same results.

Regards Reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2005-06-19 13:12:46 UTC
not about inclusion of special pages, categories:
I thing it id fair enough not to list pages included trough special pages in
"Special:Whatlinkshere", "Special:Recentchangeslinked".
Comment 2 lɛʁi לערי ריינהארט 2005-12-23 00:57:48 UTC
*** Bug 4365 has been marked as a duplicate of this bug. ***
Comment 3 lɛʁi לערי ריינהארט 2005-12-23 00:59:36 UTC
*note*
bug 4365: Make Special:Contributions/Newbies includable
is not a duplicate only a subset of bug 2447
Comment 4 jesus c. meyendriesch 2006-05-28 12:57:16 UTC
Created attachment 1849 [details]
patch against double-include-problem

may this patch against the svn works
Comment 5 jesus c. meyendriesch 2006-05-31 13:06:32 UTC
Comment on attachment 1849 [details]
patch against double-include-problem

Index: includes/Parser.php
===================================================================
--- includes/Parser.php (revision 14494)
+++ includes/Parser.php (working copy)
@@ -2771,6 +2771,7 @@
			} else {
				# set $text to cached message.
				$text = $linestart .
$this->mTemplates[$piece['title']];
+				$noparse =
$this->mTemplatesParsed[$piece['title']];
			}
		}

@@ -2835,6 +2836,7 @@
				# modifiers such as RAW: produce separate cache
entries
				if( $found ) {
					$this->mTemplates[$piece['title']] =
$text;
+				       
$this->mTemplatesParsed[$piece['title']] = $noparse;
					$text = $linestart . $text;
				}
			}
Index: includes/SpecialPage.php
===================================================================
--- includes/SpecialPage.php	(revision 14494)
+++ includes/SpecialPage.php	(working copy)
@@ -311,7 +311,9 @@

			$profName = 'Special:' . $page->getName();
			wfProfileIn( $profName );
+			$saveit = $this->mStripState;
			$page->execute( $par );
+			$this->mStripState = $saveit;
			wfProfileOut( $profName );
			$retVal = true;
		}
Comment 6 lɛʁi לערי ריינהארט 2009-09-04 13:54:16 UTC
note: the original url is not valid any more.

If this bug is fix it would be very helpful to know the correct syntax.

How {{special:Listusers|uselang=en&limit=1&username={{BASEPAGENAMEE}}}} can be included?

Please see some tests at

http://test.wikipedia.org/wiki/User:Gangleri/bugzilla_002447

Thanks for every help! Kind regards [[user:gangleri]]
Comment 7 lɛʁi לערי ריינהארט 2009-09-13 16:55:46 UTC
reopened this bug because of missing replay at comment #6

Regards Reinhardt [[user:gangleri]]
Comment 8 p858snake 2011-04-30 00:09:58 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 9 db [inactive,noenotif] 2011-08-19 18:34:10 UTC
related: bug 15558
Comment 10 Sumana Harihareswara 2011-11-10 06:00:27 UTC
jesus c. meyendriesch, thanks for your patch and sorry for the wait.  I'm adding the "need-review" keyword here to indicate that your patch is still awaiting review.

Thanks.
Comment 11 LordAndrew 2011-11-10 17:18:40 UTC
This should be fixed in r93758. Special:ListUsers is not a includable special page, but special pages that are includable will accept parameters with the same syntax you would use for templates. If there are issues that haven't been addressed yet, please re-open.

*** This bug has been marked as a duplicate of bug 15558 ***

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


Navigation
Links