User talk:Shokora/Archive 10: Difference between revisions

Line 1,135: Line 1,135:
::I don't think it's a bad idea. But I'd prefer if some magic words prevented the "time remaining" from appearing if the user was blocked indefinitely (i.e. either specified as the "length" parameter, or when no "length" parameter is entered at all). {{User:Shokora/sig}} 17:32, 31 December 2016 (EST)
::I don't think it's a bad idea. But I'd prefer if some magic words prevented the "time remaining" from appearing if the user was blocked indefinitely (i.e. either specified as the "length" parameter, or when no "length" parameter is entered at all). {{User:Shokora/sig}} 17:32, 31 December 2016 (EST)
:::I don't see how that would be necessary. One could click to see if the indefinite block is legitimate and not someone just spamming {{tem|block}} or if someone made a mistake with how to use {{tem|block}}. However, it can be easily done if the length parameter is specified with the help of [[mediawiki.org:Help:Extension:ParserFunctions|Parser Functions]] (ie <code><nowiki>{{#if:{{{length|}}}| and [[Special:BlockList/{{BASEPAGENAME}}|block time remaining]]}}</nowiki></code>). --{{User:Wildgoosespeeder/sig}} 18:43, 31 December 2016 (EST)
:::I don't see how that would be necessary. One could click to see if the indefinite block is legitimate and not someone just spamming {{tem|block}} or if someone made a mistake with how to use {{tem|block}}. However, it can be easily done if the length parameter is specified with the help of [[mediawiki.org:Help:Extension:ParserFunctions|Parser Functions]] (ie <code><nowiki>{{#if:{{{length|}}}| and [[Special:BlockList/{{BASEPAGENAME}}|block time remaining]]}}</nowiki></code>). --{{User:Wildgoosespeeder/sig}} 18:43, 31 December 2016 (EST)
::::I mean, "time remaining" wouldn't need to be displayed if the user was blocked indefinitely. And the regular block log may still tell you whether the template was legitimately placed or not. Anyway, if your proposed coding is ready, feel free to take this to a talk page proposal. {{User:Shokora/sig}} 19:02, 31 December 2016 (EST)