Search results
Appearance
There is a page named "Module:Sort title" on Wikipedia
- getSortKey(title, firstWord) local sortKey = title if (isFirstWordAnArticle(firstWord) and firstWord ~= title) then title = getTitleWithoutFirstWord(title)...3 KB (415 words) - 19:15, 20 May 2020
- getSortKey(title, firstWord) local sortKey = title if (isFirstWordAnArticle(firstWord) and firstWord ~= title) then title = getTitleWithoutFirstWord(title)...3 KB (408 words) - 02:28, 11 April 2023
- Module:Sort title is used to create sortkeys for pages. The module preforms the following checks: If the first word of the title is an article, it moves...2 KB (178 words) - 11:11, 1 May 2023
- tests for [[Module:Sort title]]. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_1_1_titles_live() ...6 KB (868 words) - 19:28, 17 July 2019
- function which "Module:Sort title" to retrieve a sortkey and set it as the default sortkey. --]] local function getDefaultSortKey() local sortkeyModule...4 KB (422 words) - 11:23, 6 May 2024
- local function getDefaultSortKey(frame) local sortkeyModule = require("Module:Sort title") local sortkey = sortkeyModule._getSortKey() return frame:preprocess{text...8 KB (896 words) - 18:00, 26 June 2024
- cat_unambiguous_to = 'Category:Redirects from sort names by article title', cat_ambiguous_from = 'Category:Redirects from ambiguous sort names', cat_ambiguous_to = 'Category:Redirects...2 KB (218 words) - 17:14, 12 January 2022
- function which "Module:Sort title" to retrieve a sortkey and set it as the default sortkey. --]] local function getDefaultSortKey() local sortkeyModule...4 KB (423 words) - 06:52, 6 May 2024
- require('strict'); local content = mw.title.getCurrentTitle():getContent() or ''; -- get the content of the list page --[[--------------------------<...2 KB (247 words) - 21:00, 23 October 2022
- local function getDefaultSortKey(frame) local sortkeyModule = require("Module:Sort title") local sortkey = sortkeyModule._getSortKey() return frame:preprocess{text...8 KB (896 words) - 06:53, 6 May 2024
- of sort key ) or cat ) --Check category existance only if on the template page (i.e. stub documentation) if page then if not mw.title.new('Category:'...12 KB (1,824 words) - 05:19, 19 August 2021
- local p = {} local data_title = mw.title.new( 'Template:COVID-19 data/data' ) local data_content = data_title:getContent() local data = mw.text...10 KB (1,388 words) - 22:10, 28 March 2024
- (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort) end...18 KB (2,440 words) - 22:54, 2 September 2023
- local p = {} local data_title = mw.title.new( 'Template:COVID-19 data/data' ) local data_content = data_title:getContent() local data = mw.text...10 KB (1,388 words) - 22:08, 28 March 2024
- [[Template:Deletion sorting]]: ' .. msg) end function p.multi(frame) local args = {} local rootpage = '[[Wikipedia:WikiProject Deletion sorting' local sig...1 KB (205 words) - 02:27, 19 February 2022
- result = {}; -- sorted and formatted section end up here local temp, temp2 = {}, {}; local content = mw.title.new('Module:Footnotes/whit...6 KB (898 words) - 15:26, 14 October 2023
- {{DEFAULTSORT}} variable. No input (sorts the pages title): {{subst:#invoke:SortName|sortname}} With input: {{subst:#invoke:SortName|sortname|input string}}...659 bytes (95 words) - 22:36, 13 February 2020
- (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort) end...18 KB (2,441 words) - 05:19, 13 June 2024
- Italicize the series name in the category title. Add the {{Redirect category}} header. Add a DEFAULTSORT sort key to the category. Add {{CatAutoTOC}} to...4 KB (315 words) - 19:23, 17 March 2024
- field == 'title' then accessor = function (article) return article:getTitle() end else error(string.format("'%s' is not a valid sort field", field)...10 KB (1,360 words) - 00:24, 16 December 2023
- table.insert(sorted_title_table, sorted_part .. disambig) end defsortKey = table.concat(sorted_title_table, '/') if defsortKey == title then defsortKey
- function p.name(title) if type(title) == 'string' then title = mw.title.new(title) if not title then error("invalid title in parameter #1 of
- function p.name(title) if type(title) == 'string' then title = mw.title.new(title) if not title then error("invalid title in parameter #1 of