Last modified: 2013-06-18 16:24:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19970, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17970 - {{PROTECTIONLEVEL}} should be able to return the status for pages besides the one it's on
{{PROTECTIONLEVEL}} should be able to return the status for pages besides the...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Pavel Selitskas [wizardist]
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-13 19:43 UTC by Rocket000
Modified: 2013-06-18 16:24 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rocket000 2009-03-13 19:43:29 UTC
For example: {{PROTECTIONLEVEL:action|Some other page}} would return some value depending on the protection status of "Some other page".
Comment 1 Alex Z. 2009-05-13 19:31:23 UTC
I considered doing them when implementing it initially, but wasn't sure how useful it would actually be. This would also make it an "expensive" parser function.
Comment 2 Martin 2009-05-13 20:30:34 UTC
I think it would be useful, especially on the talk page where it would allow conditional display of protection templates, and also allow more efficient ways to deal with editprotected requests. (Quite often people add the template to unprotected or semiprotected pages.)
Comment 3 Pavel Selitskas [wizardist] 2013-01-18 19:05:07 UTC
(In reply to comment #1)
> I considered doing them when implementing it initially, but wasn't sure how
> useful it would actually be. This would also make it an "expensive" parser
> function.

We have a static cache for titles. Anyway, here is the patch in Gerrit change #44683.
Comment 4 Jesús Martínez Novo (Ciencia Al Poder) 2013-01-18 19:07:26 UTC
> here is the patch in Gerrit change
> #44683.

trying to fix link... Gerrit change #44683
Comment 5 Pavel Selitskas [wizardist] 2013-01-18 20:13:14 UTC
(In reply to comment #4)
> > here is the patch in Gerrit change
> > #44683.
> 
> trying to fix link... Gerrit change #44683

Thank you! Merged in I4c60a5f2.
Comment 6 db [inactive,noenotif] 2013-02-10 13:34:37 UTC
Some one should look at bug 34039, which can decrease the usability of this new feature.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links