Page history
16 November 2019
24 June 2018
30 April 2018
1 February 2018
9 May 2017
23 June 2016
12 May 2016
5 May 2016
12 February 2016
29 January 2016
28 January 2016
sorry about that; we need to keep findNamespaceId around for other modules
−377
Reverted 1 edit by Mr. Stradivarius (talk): Error in module:main while using module:sports table. (TW)
+1,122
tidy up the code now that we are adding colons to all the links
−1,122
prefix all links with colons to allow interwiki links to work.
+158
16 January 2015
7 October 2014
23 May 2014
Undid revision 609825678 by SMcCandlish (talk) this change will have quite far-reaching consequences, so should be discussed first
−190
Adding ability to handle "inline" parameter; sandboxed this at Module:Hatnote/sandbox-inline and with Template:Hatnote-inline. I have big plans for this.
+190
5 May 2014
Protected Module:Hatnote: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))
madd a help link for the hatnote and formatLink functions
+122
add helpLink parameter to makeWikitextError
+249
4 May 2014
3 May 2014
don't categorise talk namespaces
+52
change the rellink class to the new "hatnote" class, and update the comments
+49
2 May 2014
use the blacklist from Module:Category handler in the makeWikitextError function
+276
fix function name
+2
29 April 2014
fix error category logic
move formatLink back to the underscore - that one is necessary
+4
make makeWikitextError use Module:Yesno to parse the demo parameter, and remove underscores from all the function names, as that's normally done for private functions, whereas these are public
+14
add type check for makeWikitextError
+55
add a demo parameter to makeWikitextError
+113
merge rellink into hatnote, use an options table to pass options to the hatnote function, and add a tracking category for errors
−129
26 April 2014
24 April 2014
add error check to _formatPageTables
+159
change format of _formatPageTables
−32
trim colons in findNamespaceId by default
+37
split main, see also, further and details out into their own templates, make formatLink available from #invoke, make other helper functions available from other Lua modules, and add type checks
−5,144
16 April 2014
fix typo in function name
mprevent categories escaped with the colon trick being displayed as "article"
+120
fix colon-removing pattern
+7
properly deal with links escaped using the colon trick
+68
15 April 2014
add Template:See also
+1,364
factor out some of the main code to a shared function
+199
format p._main to accept a list of page/display tables as input
+525
update main function description
+74
add Template:Main
+2,237
split out the namespace-detecting part of formatLink to a new function
+212
add Template:Further
+811
add Template:Details
+837
make a start on a module for making hatnotes
+4,257