Wikimedia

Pywikibot: weblinkchecker should ignore {{fullurl:..}}

weblinkchecker.py extracts URLs from wikitext. It incorrectly extracts http://*.books.google.com from {{fullurl:Special:LinkSearch|target=http://*.books.google.com}}.

{{fullurl:...}} should be skipped.

See https://phabricator.wikimedia.org/T124141 for more information.

Pywikibot is a Python-based framework to write bots for MediaWiki. See https://www.mediawiki.org/wiki/Manual:Pywikibot for more information. Patches can be submitted via Gerrit (you need a MediaWiki.org account). More documentation on Gerrit can be found at https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit. After you have successfully claimed this task on this site please do use the task in Phabricator for communication instead of this site. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l and the #pywikibot IRC channel (see https://www.mediawiki.org/wiki/MediaWiki_on_IRC).

Task tags

  • python
  • wikitext
  • regexp
  • http
  • mediawiki

Students who completed this task

MtDu

Task type

  • code Code
close

2015