Heroes Wiki:Sandbox: Difference between revisions
imported>MiamiVolts Example |
imported>MiamiVolts No edit summary |
||
| Line 11: | Line 11: | ||
This is a version using my template that uses sub to strip the search term. |
This is a version using my template that uses sub to strip the search term. |
||
{{ |
{{DPLSearch|result={{#dpl:|category=Issues|uses=Template:Graphic Novel sidebar|ordermethod=firstedit|include={Graphic Novel sidebar}:artby|includematch=/artby[^{{pipe}}]*Jason Badower/|format=,* ''[[%TITLE%]]''\n,,|}}|search=[[Jason Badower]]}} |
||
Revision as of 07:59, 19 December 2007
Art by Jason Badower
This method uses userformat mode, strips out the search and also trims off an extra comma and space from the end:
Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code><
This method uses inline mode, strips out the search and also trims off an extra comma and space from the beginning:
ion:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>
This is the original Hardvice got working, but using a fake template.
Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>
This is a version using my template that uses sub to strip the search term.
Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>