r108002 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108001‎ | r108002 | r108003 >
Date:09:08, 4 January 2012
Author:hashar
Status:ok
Tags:
Comment:
revert r107006

(bug 23427) Introduced {{PAGEID}} variable to expose page.page_id
[patch by Waldir]
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/includes/MagicWord.php (modified) (history)
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
@@ -109,7 +109,6 @@
110110 * (bug 32512) Include 'associated namespace' checkbox on Special:Contributions
111111 * Added $wgSend404Code, true by default, which can be set to false to send a
112112 200 status code instead of 404 for nonexistent articles.
113 -* (bug 23427) Introduced {{PAGEID}} variable to expose page.page_id.
114113 * (bug 33447) Link to the broken image tracking category from Special:Wantedfiles.
115114 * (bug 27724) Add timestamp to job queue.
116115 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by default, due to
Index: trunk/phase3/includes/parser/Parser.php
@@ -2817,8 +2817,6 @@
28182818 break;
28192819 case 'articlepath':
28202820 return $wgArticlePath;
2821 - case 'pageid':
2822 - return $this->getTitle()->getArticleId();
28232821 case 'sitename':
28242822 return $wgSitename;
28252823 case 'server':
Index: trunk/phase3/includes/MagicWord.php
@@ -67,7 +67,6 @@
6868 'numberoffiles',
6969 'numberofedits',
7070 'articlepath',
71 - 'pageid',
7271 'sitename',
7372 'server',
7473 'servername',
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -287,7 +287,6 @@
288288 'localurl' => array( 0, 'LOCALURL:' ),
289289 'localurle' => array( 0, 'LOCALURLE:' ),
290290 'articlepath' => array( 0, 'ARTICLEPATH' ),
291 - 'pageid' => array( 0, 'PAGEID' ),
292291 'server' => array( 0, 'SERVER' ),
293292 'servername' => array( 0, 'SERVERNAME' ),
294293 'scriptpath' => array( 0, 'SCRIPTPATH' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107006* (bug 23427) Introduced {{PAGEID}} variable to expose page.page_id [patch by...danny_b23:19, 21 December 2011

Status & tagging log