-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use title text in database to create template parent data
Previous code adds namespace prefix to the called template name in wikitext, this usually creates a lower case title like "Template:val". But Lua code could call "frame:getParent():getTitle()" and compare it with the actually page title, which might be upper case in Chinese Wiktionary and English Wikipedia. Example: https://en.wikipedia.org/wiki/Module:Arguments
- Loading branch information
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters