Difference between revisions of "Issue:Redirects=include fails with hashmark"

From FollowTheScore
Jump to: navigation, search
(Problem)
(Problem)
Line 9: Line 9:
 
== Problem ==
 
== Problem ==
  
This example outputs no article text for redirects (that is, articles that contain #REDIRECT and a category tag):
+
This example outputs no article text for redirects:
  
 
  <nowiki><dpl>
 
  <nowiki><dpl>
Line 17: Line 17:
 
  </dpl></nowiki>
 
  </dpl></nowiki>
  
You get the article name in the bullet, but no article text follows it. If "redirects=include" really works, you should get the initial text from the target article.
+
That is, for articles of the form:
 +
 
 +
<nowiki>#REDIRECT [[foo]]
 +
[[Category:Whatever]]</nowiki>
 +
 
 +
You get the article name in the bullet, but no article text from "foo". If "redirects=include" really works, you should get the initial text from the target article.
  
 
It works if you use "include=%0[100]", so there's something special (and wrong) about "#".
 
It works if you use "include=%0[100]", so there's something special (and wrong) about "#".
  
 
== Reply ==
 
== Reply ==

Revision as of 17:50, 4 June 2008

Description: "redirects=include" fails with "include=#": no article text
Extension / Version: DPL   /   1.7.4
Type / Status: Bug   /   open

Problem

This example outputs no article text for redirects:

<dpl>
 category = Whatever
 include = #
 redirects = include
 </dpl>

That is, for articles of the form:

#REDIRECT [[foo]]
 [[Category:Whatever]]

You get the article name in the bullet, but no article text from "foo". If "redirects=include" really works, you should get the initial text from the target article.

It works if you use "include=%0[100]", so there's something special (and wrong) about "#".

Reply