Jump to content

Topic on Extension talk:Include/Archive 2

Mediawiki magic words inside src-parameter

2
Expih (talkcontribs)

Is it possible to use Mediawiki magic words like PAGENAME inside the src-parameter? We are having a problem that the magic words aren't processed before the include is processed, which means that our php-page gets parameter PAGENAME instead of the true page name.

98.195.63.176 (talkcontribs)

Yes, I was able to get magicwords to work. For example: <include src="//www.mediawiki.org/w/search/{{#replace:{{#replace:Qtiko7f5vhwhmad4|.pdf|.txt}}||%20}}"/>

Reply to "Mediawiki magic words inside src-parameter"