Page MenuHomePhabricator

Scribunto: using `mw.title.getCurrentTitle()` counts as a self-transclusion in Special:WhatLinksHere
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Create a Lua module that calls mw.title.getCurrentTitle() example
  • Invoke that module (example)
  • Go to Special:WhatLinksHere for the page that invokes the module

What happens?:
the page that invokes the module now has an incoming link from itself counting as transclusion. link

What should have happened instead?:

This should not have counted as a transclusion

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

This came up in an enwiki discussion about a database report for redirects with incoming links, which erroneously reports redirects that use templates that use scribunto functions to get page title.