Hello,
I'm trying I get the list of all pages that link to http://en.wikipedia.org/wiki/PAX9, but minus the pages that only link through a commonly-transcluded template (http://en.wikipedia.org/wiki/Template:Transcription_factors). For example this query:
http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl... X9&bllimit=500&blnamespace=0
returns http://en.wikipedia.org/wiki/P53_%28protein%29 as the first entry, but "[[PAX9]]" does not occur anywhere in this page's source, only as a link from the transcluded template above.
Any suggestions on how to remove (or identify) backlinks which are resulting from template transclusions?
Thanks,
-andrew
On Tue, Mar 4, 2008 at 5:58 PM, Andrew Su asu@gnf.org wrote:
Hello,
I'm trying I get the list of all pages that link to http://en.wikipedia.org/wiki/PAX9, but minus the pages that only link through a commonly-transcluded template (http://en.wikipedia.org/wiki/Template:Transcription_factors). For example this query:
http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl...
returns http://en.wikipedia.org/wiki/P53_%28protein%29 as the first entry, but "[[PAX9]]" does not occur anywhere in this page's source, only as a link from the transcluded template above.
Any suggestions on how to remove (or identify) backlinks which are resulting from template transclusions?
Thanks,
-andrew _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
As far as I am aware this is not possible.
Bryan
Use DPL. <DPL> linksto=PAX9 notuses=Template:Transcription factors </DPL>
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Bryan Tong Minh wrote:
On Tue, Mar 4, 2008 at 5:58 PM, Andrew Su asu@gnf.org wrote:
Hello,
I'm trying I get the list of all pages that link to http://en.wikipedia.org/wiki/PAX9, but minus the pages that only link through a commonly-transcluded template (http://en.wikipedia.org/wiki/Template:Transcription_factors). For example this query:
http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl...
returns http://en.wikipedia.org/wiki/P53_%28protein%29 as the first entry, but "[[PAX9]]" does not occur anywhere in this page's source, only as a link from the transcluded template above.
Any suggestions on how to remove (or identify) backlinks which are resulting from template transclusions?
Thanks,
-andrew _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
As far as I am aware this is not possible.
Bryan
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Thanks for the pointer. Unfortunately, it doesn't look like Wikipedia has the DPL extension installed (http://en.wikipedia.org/wiki/Special:Version). Any other ideas would certainly be welcome.
-andrew
________________________________
From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of DanTMan Sent: Tuesday, March 04, 2008 12:36 PM To: MediaWiki API announcements & discussion Subject: Re: [Mediawiki-api] backlinks minus transcluded templates
Use DPL. <DPL> linksto=PAX9 notuses=Template:Transcription factors </DPL>
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Bryan Tong Minh wrote:
On Tue, Mar 4, 2008 at 5:58 PM, Andrew Su asu@gnf.org mailto:asu@gnf.org wrote:
Hello, I'm trying I get the list of all pages that link to http://en.wikipedia.org/wiki/PAX9, but minus the pages that only link through a commonly-transcluded template (http://en.wikipedia.org/wiki/Template:Transcription_factors). For example this query: http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl... X9&bllimit=500&blnamespace=0 returns http://en.wikipedia.org/wiki/P53_%28protein%29 as the first entry, but "[[PAX9]]" does not occur anywhere in this page's source, only as a link from the transcluded template above. Any suggestions on how to remove (or identify) backlinks which are resulting from template transclusions? Thanks, -andrew _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
As far as I am aware this is not possible.
Bryan
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org