Content deleted Content added
hmm |
: |
||
Line 6:
-- check if the current page is cascade-protected
-- XXX: unfortunately there is no other way; title.protectionLevels does not report cascading protection status
mw.title.getCurrentTitle()
if frame:preprocess "{{CASCADINGSOURCES}}" == "" then
table.insert(output, '<strong class="warning">Warning: this page (' .. mw.title.getCurrentTitle().fullText .. ') is not cascade-protected.</strong>')
|