revert r107006
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 4 Jan 2012 09:08:16 +0000 (09:08 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 4 Jan 2012 09:08:16 +0000 (09:08 +0000)
(bug 23427) Introduced {{PAGEID}} variable to expose page.page_id
[patch by Waldir]

RELEASE-NOTES-1.19
includes/MagicWord.php
includes/parser/Parser.php
languages/messages/MessagesEn.php

index 11297ca..8edb4ae 100644 (file)
@@ -109,7 +109,6 @@ production.
 * (bug 32512) Include 'associated namespace' checkbox on Special:Contributions
 * Added $wgSend404Code, true by default, which can be set to false to send a 
   200 status code instead of 404 for nonexistent articles.
-* (bug 23427) Introduced {{PAGEID}} variable to expose page.page_id.
 * (bug 33447) Link to the broken image tracking category from Special:Wantedfiles.
 * (bug 27724) Add timestamp to job queue.
 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by default, due to
index 57cf4af..563d3a5 100644 (file)
@@ -67,7 +67,6 @@ class MagicWord {
                'numberoffiles',
                'numberofedits',
                'articlepath',
-               'pageid',
                'sitename',
                'server',
                'servername',
index 2949dcc..2faf860 100644 (file)
@@ -2817,8 +2817,6 @@ class Parser {
                                break;
                        case 'articlepath':
                                return $wgArticlePath;
-                       case 'pageid':
-                               return $this->getTitle()->getArticleId();
                        case 'sitename':
                                return $wgSitename;
                        case 'server':
index fd4644c..2c36bfe 100644 (file)
@@ -287,7 +287,6 @@ $magicWords = array(
        'localurl'               => array( 0,    'LOCALURL:'              ),
        'localurle'              => array( 0,    'LOCALURLE:'             ),
        'articlepath'            => array( 0,    'ARTICLEPATH'            ),
-       'pageid'                 => array( 0,    'PAGEID'                 ),
        'server'                 => array( 0,    'SERVER'                 ),
        'servername'             => array( 0,    'SERVERNAME'             ),
        'scriptpath'             => array( 0,    'SCRIPTPATH'             ),