Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
213 bytes removed ,  14:34, 26 January 2014
don't sort strange usage category in mainspace, as mainspace doesn't have subpages so can't be categorised
>Mr. Stradivarius
(change makeEndBoxExperimentBlurb to makeExperimentBlurb - simpler)
>Mr. Stradivarius
(don't sort strange usage category in mainspace, as mainspace doesn't have subpages so can't be categorised)
Line 936: Line 936:
and (subpage == message('doc-subpage') or subpage == message('testcases-subpage'))
and (subpage == message('doc-subpage') or subpage == message('testcases-subpage'))
then
then
-- Generate the strange usage category link. This category is sorted by namespace.
ret = ret .. makeCategoryLink(message('strange-usage-category'))
local sort = (title.namespace == 0 and message('strange-usage-category-mainspace-sort') or '')
.. title.prefixedText
ret = ret .. makeCategoryLink(message('strange-usage-category'), sort)
end
end
return ret
return ret
Anonymous user

Navigation menu