Content deleted Content added
Adithyak1997 (talk | contribs) |
→Displaying in article page: reply |
||
Line 58:
:You'll need to modify the part that starts with <code>if not title.isTalkPage then</code>. [[User:Huon|Huon]] ([[User talk:Huon|talk]]) 18:47, 28 August 2018 (UTC)
::@[[User:Huon|Huon]], I have removed lines 213 to 224 of the module from malayalam version but the warning "This template is misplaced. It belongs on the talk page" is shown. How can that be removed?[[User:Adithyak1997|Adithyak1997]] ([[User talk:Adithyak1997|talk]]) 15:03, 29 August 2018 (UTC)
:::I don't know Lua in general nor the Wikipedia-specific parameters used in this module and thus have to guess, but I'd try <code>if not title.isArticle then</code> or something like that, something that, instead of checking whether you're off a talk page, checks whether you're off an article. If you can't guess the correct word, you can remove that entire <code>if</code> clause outright, but then your template can be placed anywhere, talk page, article, wherever. You may also want to take a look at the next <code>if</code> clause which makes sure the template appears on the talk page of the article to be moved. To me that one seems as if only the text of the message might need changing; otherwise it also could be removed outright if you don't mind losing a little more functionality. [[User:Huon|Huon]] ([[User talk:Huon|talk]]) 18:56, 29 August 2018 (UTC)
|