ਮੌਡਿਊਲ:Template redirect regex

About

For use within other modules.

Returns a table of regular expressions, sorted by descending popularity, for all redirects to a given template as of a certain date, or nil.

See also



local p = {}--returns a table of regular expressions, sorted by descending popularity, for all redirects to a given template as of a certain date, or nil--regex for the 1st pipe and surrounding whitespace are purposefully omitted to give the calling modules more flexibilityfunction p.main( template )--expand the following table as-needed, following the same formatlocal tCanonical_templates = {['Category redirect'] = { --the following 11 pages (6 condensed) redirect to [[Template:Category redirect]], as of 2022/9:'{{ *[Cc]ate?g?o?r?y?[ _]*[rR]edirect',--505+312+243+1 transclusions'{{ *[Cc]atr',--21'{{ *[Cc]at[ _]*[rR]edir',--5+3'{{ *[Cc]at[ _]*[rR]ed',--3+2'{{ *[Cc]at[ _]*[mM]ove',--1'{{ *[Cc]ategory[ _]*[mM]ove',--0},['Taxonbar'] = { --the following 6 pages (3 condensed) redirect to [[Template:Taxonbar]], as of 2023/8:'{{ *[Tt]axon?[ _-]?[bB]ar',--50+11+2+2 transclusions'{{ *[Tt]axon[Ii]ds',--45'{{ *[Tt]axon[ _]*[iI]dentifiers',--1},}return tCanonical_templates[template] or nilendreturn p
🔥 Top keywords: ਮੁੱਖ ਸਫ਼ਾਪੰਜਾਬ ਦੇ ਮੇਲੇ ਅਤੇ ਤਿਓੁਹਾਰਪੰਜਾਬੀ ਲੋਕ ਖੇਡਾਂਪੰਜਾਬੀ ਸੱਭਿਆਚਾਰਪੰਜਾਬ ਦੇ ਲੋਕ-ਨਾਚਭਾਈ ਵੀਰ ਸਿੰਘਪੰਜਾਬੀ ਕੱਪੜੇਗੁਰੂ ਨਾਨਕਸੁਰਜੀਤ ਪਾਤਰਖ਼ਾਸ:ਖੋਜੋਅੰਮ੍ਰਿਤਾ ਪ੍ਰੀਤਮਪੰਜਾਬ ਦੀਆਂ ਵਿਰਾਸਤੀ ਖੇਡਾਂਵਿਆਹ ਦੀਆਂ ਰਸਮਾਂਪੰਜਾਬੀ ਤਿਓਹਾਰਵਿਸਾਖੀਪੰਜਾਬੀ ਭਾਸ਼ਾਗੁਰੂ ਹਰਿਗੋਬਿੰਦਗੁਰੂ ਅਰਜਨਹਰਿਮੰਦਰ ਸਾਹਿਬਭਗਤ ਸਿੰਘਪੰਜਾਬੀ ਭੋਜਨ ਸੱਭਿਆਚਾਰਪੰਜਾਬ, ਭਾਰਤਛਪਾਰ ਦਾ ਮੇਲਾਪੰਜਾਬੀ ਰੀਤੀ ਰਿਵਾਜਗੁਰੂ ਅਮਰਦਾਸਹੇਮਕੁੰਟ ਸਾਹਿਬਵਹਿਮ ਭਰਮਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘਗੁਰੂ ਤੇਗ ਬਹਾਦਰਪੰਜਾਬੀ ਲੋਕ ਬੋਲੀਆਂਜਪੁਜੀ ਸਾਹਿਬਗੁਰੂ ਅੰਗਦਗੁਰੂ ਗ੍ਰੰਥ ਸਾਹਿਬਸ਼ਿਵ ਕੁਮਾਰ ਬਟਾਲਵੀਪੰਜਾਬੀ ਮੁਹਾਵਰੇ ਅਤੇ ਅਖਾਣਭੰਗੜਾ (ਨਾਚ)ਪੰਜਾਬੀ ਲਈ ਸਾਹਿਤ ਅਕਾਦਮੀ ਇਨਾਮ ਜੇਤੂਆਂ ਦੀ ਸੂਚੀਰਣਜੀਤ ਸਿੰਘਦਿਵਾਲੀ